Definitions

# Analytic signal

In mathematics and signal processing, the analytic representation of a real-valued function or signal facilitates many mathematical manipulations of the signal. The basic idea is that the negative frequency components of the Fourier transform (or spectrum) of a real-valued function are superfluous, due to the Hermitian symmetry of such a spectrum. They can be discarded with no loss of actual information, if we are willing to deal with a complex-valued function instead. And that turns out to make certain attributes of the signal more accessible and facilitate the derivation of modulation and demodulation techniques, especially single-sideband. As long as the manipulated function has no negative frequency components (that is, it is still analytic), the conversion from complex back to real is just a matter of discarding the imaginary part. The analytic representation is a generalization of the phasor concept.

## Definition

If $x\left(t\right),$  is a real-valued signal with Fourier transform $X\left(f\right),,$  and $U\left(f\right),$  is a unit step function, then the function:


begin{align} X_mathrm{a}(f) & stackrel{mathrm{def}}{=} begin{cases} 2 X(f), & mbox{for } f > 0, X(f), & mbox{for } f = 0, 0, & mbox{for } f < 0, end{cases} &= X(f)cdot 2 U(f) end{align}

contains only the non-negative frequency components of $X\left(f\right).,$  And the operation is reversible, due to the Hermitian property of $X\left(f\right),$ :

$X\left(f\right) =$
begin{cases} {1 over 2} X_mathrm{a}(f), & mbox{for } f > 0, X^*(|f|), & mbox{for } f < 0. quad quad mbox{complex conjugate} end{cases}

The inverse Fourier transform of $X_mathrm\left\{a\right\}\left(f\right),$ is the analytic signal:


begin{align} x_mathrm{a}(t) &= mathcal{F}^{-1}{X(f)} * mathcal{F}^{-1}{2 U(f)} quad quad mbox{convolution} &= x(t) * left[delta(t) + jcdot {1 over pi t} right] &= x(t) + jcdot left[x(t) * {1 over pi t}right] &= x(t) + jcdot hat{x}(t), end{align}

where $hat\left\{x\right\}\left(t\right),$ is the Hilbert transform of $x\left(t\right),,$ and $j,$ is the imaginary unit.

Example 1:  $x\left(t\right) = cos\left(omega_0 t\right),$, for some parameter $omega_0 > 0,$

$hat\left\{x\right\}\left(t\right) = cos\left(omega_0 t -begin\left\{matrix\right\} frac\left\{pi \right\}\left\{2\right\} end\left\{matrix\right\}\right) = sin\left(omega_0 t\right),$
$x_mathrm\left\{a\right\}\left(t\right) = cos\left(omega_0 t\right) + jcdot sin\left(omega_0 t\right) = e^\left\{j omega_0 t\right\},$   (The 2nd equality is Euler's formula.)
This is a complex-valued signal with increasing phase (positive frequency).

It also follows from Euler's formula that $cos\left(omega_0 t\right) = begin\left\{matrix\right\} frac\left\{1\right\}\left\{2\right\} end\left\{matrix\right\}\left(e^\left\{j omega_0 t\right\}+e^\left\{-j omega_0 t\right\}\right).,$   So $x\left(t\right),$ comprises both positive and negative frequency components.  $x_mathrm\left\{a\right\}\left(t\right),$ is just the positive portion. When dealing with simple sinusoids or sums of sinusoids, we can deduce $x_mathrm\left\{a\right\}\left(t\right),$ directly, without determining $hat\left\{x\right\}\left(t\right)$ first.

Example 2:  $x\left(t\right) = cos\left(omega t+theta\right) = begin\left\{matrix\right\} frac\left\{1\right\}\left\{2\right\} end\left\{matrix\right\} \left(e^\left\{j \left(omega t+theta\right)\right\} + e^\left\{-j \left(omega t+theta\right)\right\}\right)$
$x_mathrm\left\{a\right\}\left(t\right) =$
begin{cases} e^{j |omega| t}cdot e^{jtheta} , & mbox{if} omega > 0, e^{j |omega| t}cdot e^{-jtheta} , & mbox{if} omega < 0. end{cases}

The removal of the negative frequency terms is also demonstrated in Example 3. We note that nothing prevents us from computing $x_mathrm\left\{a\right\}\left(t\right),$ for a complex-valued $x\left(t\right).,$  But it might not be a reversible representation, because the original spectrum is not symmetrical in general. So except for this example, the general discussion assumes real-valued $x\left(t\right).,$

Example 3:  $x\left(t\right) = e^\left\{-j omega_0 t\right\},$, for some parameter $omega_0 > 0,$

$hat\left\{x\right\}\left(t\right) = jcdot e^\left\{-j omega_0 t\right\},$
$x_mathrm\left\{a\right\}\left(t\right) = e^\left\{-j omega_0 t\right\} + j^2cdot e^\left\{-j omega_0 t\right\} = 0,$

Analytic signals are often shifted in frequency (down-converted) toward 0 Hz, which creates [non-symmetrical] negative frequency components. One motive is to allow lowpass filters with real coefficients to be used to limit the bandwidth of the signal. Another motive is to reduce the highest frequency, which reduces the minimum rate for alias-free sampling. A frequency shift does not undermine the mathematical tractability of the complex signal representation. So in that sense, the down-converted signal is still "analytic". However, restoring the real-valued representation is no longer a simple matter of just extracting the real component. Up-conversion is obviously required, and if the signal has been sampled (discrete-time), interpolation (upsampling) might also be necessary to avoid aliasing.

The complex conjugate of an analytic signal contains only negative frequency components. In that case also, there is no loss of information or reversibility by discarding the imaginary component. Obviously the real component of the complex conjugate is the same as the real component of the analytic signal. But in this case, its extraction restores the suppressed positive frequency components.

Another way to achieve a spectrum of negative frequencies is to frequency-shift the analytic signal sufficiently far in the negative direction. Extracting the real component again restores the positive frequencies. But in this case their order is reversed... the low-frequency component is now the high one. This can be used to demodulate a type of single sideband signal called lower sideband or inverted sideband.

## Applications

The analytic signal can also be expressed in terms of complex polar coordinates,  $x_mathrm\left\{a\right\}\left(t\right) = A\left(t\right)e^\left\{jphi\left(t\right)\right\},,$  where:

$A\left(t\right) = |x_mathrm\left\{a\right\}\left(t\right)| = sqrt \left\{ x^2\left(t\right) + hat\left\{x\right\}^2\left(t\right) \right\},$

$phi\left(t\right) = arg left\left\{ x_mathrm\left\{a\right\}\left(t\right) right\right\}.,$     (see arg function)

These functions are respectively called the amplitude envelope and instantaneous phase of the signal $x\left(t\right).,$  In the accompanying diagram, the blue curve depicts $x\left(t\right),,$ and the red curve depicts the corresponding $A\left(t\right).,$
The time derivative of the unwrapped instantaneous phase is called the instantaneous frequency:

$omega\left(t\right) stackrel\left\{mathrm\left\{def\right\}\right\}\left\{=\right\} phi \text{'}\left(t\right) = frac\left\{d\right\}\left\{dt\right\} phi\left(t\right).,$

The amplitude function, and the instantaneous phase and frequency are in some applications used to measure and detect local features of the signal. Another application of the analytic representation of a signal relates to demodulation of modulated signals. The polar coordinates conveniently separate the effects of amplitude modulation and phase (or frequency) modulation, and effectively demodulates certain kinds of signals.

The analytic signal can also be represented as:

 $x_mathrm\left\{a\right\}\left(t\right),$ $= left\left[A\left(t\right) e^\left\{jphi\left(t\right)\right\} e^\left\{-j omega_0 t\right\} right\right] e^\left\{j omega_0 t\right\}$ $= gamma \left(t\right)cdot e^\left\{j omega_0 t\right\},$

where

$gamma \left(t\right) = A\left(t\right)cdot e^\left\{j\left(phi\left(t\right) - omega_0 t\right)\right\} ,$

is the signal's complex envelope. The complex envelope is not unique; on the contrary, it is determined by an arbitrary $omega_0,$ assignment. This concept is often used when dealing with passband signals. If $x\left(t\right),$ is a modulated signal, $omega_0,$ is usually assigned to be a carrier frequency. In other cases it is selected to be somewhere in the middle of the frequency band. Sometimes $omega_0,$ is chosen to minimize

$int_\left\{0\right\}^\left\{+infty\right\}\left(omega-omega_0\right)^2|X_mathrm\left\{a\right\}\left(omega\right)|^2, domega.$

Alternatively , $omega_0,$ can be chosen to minimize the mean square error in linearly approximating the unwrapped instantaneous phase $phi\left(t\right),$:

$int_\left\{-infty\right\}^\left\{+infty\right\}\left(omega\left(t\right)-omega_0\right)^2 |x_mathrm\left\{a\right\}\left(t\right)|^2 , dt$

or another alternative (for some optimum $theta ,$):

$int_\left\{-infty\right\}^\left\{+infty\right\} left\left(phi\left(t\right)-\left(omega_0 t + theta\right) right\right)^2, dt.$.

## Extensions of the analytic signal to signals of multiple variables

The concept of analytic signal is well-defined for signals of a single variable which typically is time. For signals of two or more variables, an analytic signal can be defined in different ways, and two approaches are presented below.

### Multi-dimensional analytic signal based on an ad-hoc direction

A straightforward generalization of the analytic signal can be done for a multi-dimensional signal once it is established what is meant by negative frequencies for this case. This can be done by introducing a normalized vector $hat\left\{n\right\}$ in the Fourier domain and label any frequency vector $u$ as negative if $u cdot hat\left\{n\right\} < 0$. The analytic signal is then produced by removing all negative frequencies and multiply the result by $2$, in accordance to the procedure described for the case of one-variable signals. However, it should be noted that there is no particular direction for $hat\left\{n\right\}$ which must be chosen unless there are some additional constraints. Therefore, the choice of $hat\left\{n\right\}$ is ad-hoc, or application specific.

### The monogenic signal

The real and imaginary parts of the analytic signal correspond to the two elements of the vector-valued monogenic signal, as it is defined for one-variable signals. However, the monogenic signal can be extended to arbitrary number of variables in a straightforward manner, producing an $n + 1$ dimensional vector-valued function for the case of $n$ variable signals.

## Not to be confused with

In mathematics, particularly functions of a complex variable, an analytic function refers to a function which satisfies certain properties regarding differentiability. The concept of analytic signal should not be confused with analytic functions. See the analytic representation related to the Hilbert transform for a discussion about the relation between these two concepts.