# Analytic signal

In mathematics and signal processing, an **analytic signal** is a complex-valued function that has no negative frequency components.^{[1]} The real and imaginary parts of an analytic signal are real-valued functions related to each other by the Hilbert transform.

The **analytic representation** of a real-valued function is an *analytic signal*, comprising the original function and its Hilbert transform. This representation facilitates many mathematical manipulations. 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. These negative frequency components can be discarded with no loss of information, provided one is willing to deal with a complex-valued function instead. That makes certain attributes of the function more accessible and facilitates the derivation of modulation and demodulation techniques, such as 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:^{[2]} while the phasor is restricted to time-invariant amplitude, phase, and frequency, the analytic signal allows for time-variable parameters.

## Definition

If [math]\displaystyle{ s(t) }[/math] is a *real-valued* function with Fourier transform [math]\displaystyle{ S(f) }[/math], then the transform has Hermitian symmetry about the [math]\displaystyle{ f = 0 }[/math] axis:

- [math]\displaystyle{ S(-f) = S(f)^*, }[/math]

where [math]\displaystyle{ S(f)^* }[/math] is the complex conjugate of [math]\displaystyle{ S(f) }[/math]. The function:

- [math]\displaystyle{ \begin{align} S_\mathrm{a}(f) &\triangleq \begin{cases} 2S(f), &\text{for}\ f \gt 0,\\ S(f), &\text{for}\ f = 0,\\ 0, &\text{for}\ f \lt 0 \end{cases}\\ &= \underbrace{2 \operatorname{u}(f)}_{1 + \sgn(f)}S(f) = S(f) + \sgn(f)S(f), \end{align} }[/math]

where

- [math]\displaystyle{ \operatorname{u}(f) }[/math] is the Heaviside step function,
- [math]\displaystyle{ \sgn(f) }[/math] is the sign function,

contains only the *non-negative frequency* components of [math]\displaystyle{ S(f) }[/math]. And the operation is reversible, due to the Hermitian symmetry of [math]\displaystyle{ S(f) }[/math]:

- [math]\displaystyle{ \begin{align} S(f) &= \begin{cases} \frac{1}{2}S_\mathrm{a}(f), &\text{for}\ f \gt 0,\\ S_\mathrm{a}(f), &\text{for}\ f = 0,\\ \frac{1}{2}S_\mathrm{a}(-f)^*, &\text{for}\ f \lt 0\ \text{(Hermitian symmetry)} \end{cases}\\ &= \frac{1}{2}[S_\mathrm{a}(f) + S_\mathrm{a}(-f)^*]. \end{align} }[/math]

The **analytic signal** of [math]\displaystyle{ s(t) }[/math] is the inverse Fourier transform of [math]\displaystyle{ S_\mathrm{a}(f) }[/math]:

- [math]\displaystyle{ \begin{align} s_\mathrm{a}(t) &\triangleq \mathcal{F}^{-1}[S_\mathrm{a}(f)]\\ &= \mathcal{F}^{-1}[S (f)+ \sgn(f) \cdot S(f)]\\ &= \underbrace{\mathcal{F}^{-1}\{S(f)\}}_{s(t)} + \overbrace{ \underbrace{\mathcal{F}^{-1}\{\sgn(f)\}}_{j\frac{1}{\pi t}} * \underbrace{\mathcal{F}^{-1}\{S(f)\}}_{s(t)} }^\text{convolution}\\ &= s(t) + j\underbrace{\left[{1 \over \pi t} * s(t)\right]}_{\operatorname{\mathcal{H}}[s(t)]}\\ &= s(t) + j\hat{s}(t), \end{align} }[/math]

where

- [math]\displaystyle{ \hat{s}(t) \triangleq \operatorname{\mathcal{H}}[s(t)] }[/math] is the Hilbert transform of [math]\displaystyle{ s(t) }[/math];
- [math]\displaystyle{ * }[/math] is the binary convolution operator;
- [math]\displaystyle{ j }[/math] is the imaginary unit.

Noting that [math]\displaystyle{ s(t)= s(t)*\delta(t), }[/math] this can also be expressed as a filtering operation that directly removes negative frequency components**:**

- [math]\displaystyle{ s_\mathrm{a}(t) = s(t)*\underbrace{\left[\delta(t)+ j{1 \over \pi t}\right]}_{\mathcal{F}^{-1}\{2u(f)\}}. }[/math]

### Negative frequency components

Since [math]\displaystyle{ s(t) = \operatorname{Re}[s_\mathrm{a}(t)] }[/math], restoring the negative frequency components is a simple matter of discarding [math]\displaystyle{ \operatorname{Im}[s_\mathrm{a}(t)] }[/math] which may seem counter-intuitive. We can also note that the complex conjugate [math]\displaystyle{ s_\mathrm{a}^*(t) }[/math] comprises *only* the negative frequency components. And therefore [math]\displaystyle{ s(t) = \operatorname{Re}[s_\mathrm{a}^*(t)] }[/math] restores the suppressed positive frequency components. Another viewpoint is that the imaginary component in either case is a term that subtracts frequency components from [math]\displaystyle{ s(t). }[/math] The [math]\displaystyle{ \operatorname{Re} }[/math] operator removes the subtraction, giving the appearance of adding new components.

## Examples

### Example 1

- [math]\displaystyle{ s(t) = \cos(\omega t), }[/math] where [math]\displaystyle{ \omega \gt 0. }[/math]

Then:

- [math]\displaystyle{ \begin{align} \hat{s}(t) &= \cos\left(\omega t - \frac{\pi}{2}\right) = \sin(\omega t), \\ s_\mathrm{a}(t) &= s(t) + j\hat{s}(t) = \cos(\omega t) + j\sin(\omega t) = e^{j\omega t}. \end{align} }[/math]

The last equality is Euler's formula, of which a corollary is [math]\displaystyle{ \cos(\omega t) = \frac{1}{2} \left(e^{j\omega t} + e^{j (-\omega) t}\right). }[/math] In general, the analytic representation of a simple sinusoid is obtained by expressing it in terms of complex-exponentials, discarding the negative frequency component, and doubling the positive frequency component. And the analytic representation of a sum of sinusoids is the sum of the analytic representations of the individual sinusoids.

### Example 2

Here we use Euler's formula to identify and discard the negative frequency.

- [math]\displaystyle{ s(t) = \cos(\omega t + \theta) = \frac{1}{2} \left(e^{j (\omega t+\theta)} + e^{-j (\omega t+\theta)}\right) }[/math]

Then:

- [math]\displaystyle{ s_\mathrm{a}(t) = \begin{cases} e^{j(\omega t + \theta)} \ \ = \ e^{j |\omega| t}\cdot e^{j\theta} , & \text{if} \ \omega \gt 0, \\ e^{-j(\omega t + \theta)} = \ e^{j |\omega| t}\cdot e^{-j\theta} , & \text{if} \ \omega \lt 0. \end{cases} }[/math]

### Example 3

This is another example of using the Hilbert transform method to remove negative frequency components. We note that nothing prevents us from computing [math]\displaystyle{ s_\mathrm{a}(t) }[/math] for a complex-valued [math]\displaystyle{ s(t) }[/math]. 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 [math]\displaystyle{ s(t) }[/math].

- [math]\displaystyle{ s(t) = e^{-j\omega t} }[/math], where [math]\displaystyle{ \omega \gt 0 }[/math].

Then:

- [math]\displaystyle{ \begin{align} \hat{s}(t) &= je^{-j\omega t}, \\ s_\mathrm{a}(t) &= e^{-j\omega t} + j^2 e^{-j\omega t} = e^{-j\omega t} - e^{-j\omega t} = 0. \end{align} }[/math]

## Properties

### Instantaneous amplitude and phase

An analytic signal can also be expressed in polar coordinates:

- [math]\displaystyle{ s_\mathrm{a}(t) = s_\mathrm{m}(t)e^{j\phi(t)}, }[/math]

where the following time-variant quantities are introduced:

- [math]\displaystyle{ s_\mathrm{m}(t) \triangleq |s_\mathrm{a}(t)| }[/math] is called the
*instantaneous amplitude*or the*envelope*; - [math]\displaystyle{ \phi(t) \triangleq \arg\!\left[s_\mathrm{a}(t)\right] }[/math] is called the
*instantaneous phase*or*phase angle*.

In the accompanying diagram, the blue curve depicts [math]\displaystyle{ s(t) }[/math] and the red curve depicts the corresponding [math]\displaystyle{ s_\mathrm{m}(t) }[/math].

The time derivative of the unwrapped instantaneous phase has units of *radians/second*, and is called the *instantaneous angular frequency*:

- [math]\displaystyle{ \omega(t) \triangleq \frac{d\phi}{dt}(t). }[/math]

The *instantaneous frequency* (in hertz) is therefore:

- [math]\displaystyle{ f(t)\triangleq \frac{1}{2\pi}\omega(t). }[/math]
^{[3]}

The instantaneous amplitude, 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.

### Complex envelope/baseband

Analytic signals are often shifted in frequency (down-converted) toward 0 Hz, possibly creating [non-symmetrical] negative frequency components:
[math]\displaystyle{ {s_\mathrm{a}}_{\downarrow}(t) \triangleq s_\mathrm{a}(t)e^{-j\omega_0 t} = s_\mathrm{m}(t)e^{j(\phi(t) - \omega_0 t)}, }[/math]
where [math]\displaystyle{ \omega_0 }[/math] is an arbitrary reference angular frequency.^{[2]}

This function goes by various names, such as *complex envelope* and *complex baseband*. The complex envelope is not unique; it is determined by the choice of [math]\displaystyle{ \omega_0 }[/math]. This concept is often used when dealing with passband signals. If [math]\displaystyle{ s(t) }[/math] is a modulated signal, [math]\displaystyle{ \omega_0 }[/math] might be equated to its carrier frequency.

In other cases, [math]\displaystyle{ \omega_0 }[/math] is selected to be somewhere in the middle of the desired passband. Then a simple low-pass filter with real coefficients can excise the portion of interest. 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 may be required, and if the signal has been sampled (discrete-time), interpolation (upsampling) might also be necessary to avoid aliasing.

If [math]\displaystyle{ \omega_0 }[/math] is chosen larger than the highest frequency of [math]\displaystyle{ s_\mathrm{a}(t), }[/math] then [math]\displaystyle{ {s_\mathrm{a}}_{\downarrow}(t) }[/math] has no positive frequencies. In that case, extracting the real component restores them, but in reverse order; the low-frequency components are now high ones and vice versa. This can be used to demodulate a type of single-sideband signal called *lower sideband* or *inverted sideband*.

Other choices of reference frequency are sometimes considered:

- Sometimes [math]\displaystyle{ \omega_0 }[/math] is chosen to minimize [math]\displaystyle{ \int_0^{+\infty}(\omega - \omega_0)^2|S_\mathrm{a}(\omega)|^2\, d\omega. }[/math]
- Alternatively,
^{[4]}[math]\displaystyle{ \omega_0 }[/math] can be chosen to minimize the mean square error in linearly approximating the*unwrapped*instantaneous phase [math]\displaystyle{ \phi(t) }[/math]: [math]\displaystyle{ \int_{-\infty}^{+\infty}[\omega(t) - \omega_0]^2 |s_\mathrm{a}(t)|^2\, dt }[/math] - or another alternative (for some optimum [math]\displaystyle{ \theta }[/math]): [math]\displaystyle{ \int_{-\infty}^{+\infty}[\phi(t) - (\omega_0 t + \theta)]^2\, dt. }[/math]

In the field of time-frequency signal processing, it was shown that the analytic signal was needed in the definition of the Wigner–Ville distribution so that the method can have the desirable properties needed for practical applications.^{[5]}

Sometimes the phrase "complex envelope" is given the simpler meaning of the complex amplitude of a (constant-frequency) phasor;^{[lower-alpha 1]}^{[lower-alpha 2]}
other times the complex envelope [math]\displaystyle{ s_m(t) }[/math] as defined above is interpreted as a time-dependent generalization of the complex amplitude.^{[lower-alpha 3]} Their relationship is not unlike that in the real-valued case: varying envelope generalizing constant amplitude.

## 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 unit vector [math]\displaystyle{ \boldsymbol \hat{u} }[/math] in the Fourier domain and label any frequency vector [math]\displaystyle{ \boldsymbol \xi }[/math] as negative if [math]\displaystyle{ \boldsymbol \xi \cdot \boldsymbol \hat{u} \lt 0 }[/math]. 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, there is no particular direction for [math]\displaystyle{ \boldsymbol \hat{u} }[/math] which must be chosen unless there are some additional constraints. Therefore, the choice of [math]\displaystyle{ \boldsymbol \hat{u} }[/math] 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.

## See also

### Applications

## Notes

## References

- ↑ Smith, J.O. "Analytic Signals and Hilbert Transform Filters", in Mathematics of the Discrete Fourier Transform (DFT) with Audio Applications, Second Edition, https://ccrma.stanford.edu/~jos/r320/Analytic_Signals_Hilbert_Transform.html, or https://www.dsprelated.com/freebooks/mdft/Analytic_Signals_Hilbert_Transform.html, online book, 2007 edition, accessed 2021-04-29.
- ↑
^{2.0}^{2.1}Bracewell, Ron.*The Fourier Transform and Its Applications*. McGraw-Hill, 2000. pp. 361-362 - ↑ B. Boashash, "Estimating and Interpreting the Instantaneous Frequency of a Signal-Part I: Fundamentals", Proceedings of the IEEE, Vol. 80, No. 4, pp. 519–538, April 1992
- ↑ Justice, J. (1979-12-01). "Analytic signal processing in music computation".
*IEEE Transactions on Acoustics, Speech, and Signal Processing***27**(6): 670–684. doi:10.1109/TASSP.1979.1163321. ISSN 0096-3518. - ↑ B. Boashash, "Notes on the use of the Wigner distribution for time frequency signal analysis", IEEE Trans. on Acoustics, Speech, and Signal Processing, vol. 26, no. 9, 1987
- ↑ Hlawatsch, Franz; Auger, François (2013-03-01) (in en).
*Time-Frequency Analysis*. John Wiley & Sons. ISBN 9781118623831. https://books.google.com/books?id=tOeeJyP95IQC. - ↑ Driggers, Ronald G. (2003-01-01) (in en).
*Encyclopedia of Optical Engineering: Abe-Las, pages 1-1024*. CRC Press. ISBN 9780824742508. https://books.google.com/books?id=kxICp6t-CDAC&q=%2522complex%2520amplitude%2522%2520%2522complex%2520envelope%2522&pg=RA1-PA586. - ↑ Okamoto, Kenʼichi (2001-01-01) (in en).
*Global Environment Remote Sensing*. IOS Press. ISBN 9781586031015. https://books.google.com/books?id=tXQy5JdQyZoC.

## Further reading

- Leon Cohen,
*Time-frequency analysis*, Prentice Hall, Upper Saddle River, 1995. - Frederick W. King,
*Hilbert Transforms*, vol. II, Cambridge University Press, Cambridge, 2009. - B. Boashash,
*Time-Frequency Signal Analysis and Processing: A Comprehensive Reference*, Elsevier Science, Oxford, 2003.

## External links

Original source: https://en.wikipedia.org/wiki/Analytic signal.
Read more |