Convolution theorem
In mathematics, the convolution theorem states that under suitable conditions the Fourier transform of a convolution of two functions (or signals) is the pointwise product of their Fourier transforms. More generally, convolution in one domain (e.g., time domain) equals point-wise multiplication in the other domain (e.g., frequency domain). Other versions of the convolution theorem are applicable to various Fourier-related transforms.
Functions of a continuous variable
Consider two functions [math]\displaystyle{ u(x) }[/math] and [math]\displaystyle{ v(x) }[/math] with Fourier transforms [math]\displaystyle{ U }[/math] and [math]\displaystyle{ V }[/math]:
- [math]\displaystyle{ \begin{align} U(f) &\triangleq \mathcal{F}\{u\}(f) = \int_{-\infty}^{\infty}u(x) e^{-i 2 \pi f x} \, dx, \quad f \in \mathbb{R}\\ V(f) &\triangleq \mathcal{F}\{v\}(f) = \int_{-\infty}^{\infty}v(x) e^{-i 2 \pi f x} \, dx, \quad f \in \mathbb{R} \end{align} }[/math]
where [math]\displaystyle{ \mathcal{F} }[/math] denotes the Fourier transform operator. The transform may be normalized in other ways, in which case constant scaling factors (typically [math]\displaystyle{ 2\pi }[/math] or [math]\displaystyle{ \sqrt{2\pi} }[/math]) will appear in the convolution theorem below. The convolution of [math]\displaystyle{ u }[/math] and [math]\displaystyle{ v }[/math] is defined by:
- [math]\displaystyle{ r(x) = \{u*v\}(x) \triangleq \int_{-\infty}^{\infty} u(\tau) v(x-\tau)\, d\tau = \int_{-\infty}^{\infty} u(x-\tau) v(\tau)\, d\tau. }[/math]
In this context the asterisk denotes convolution, instead of standard multiplication. The tensor product symbol [math]\displaystyle{ \otimes }[/math] is sometimes used instead.
The convolution theorem states that:[1][2]:eq.8
[math]\displaystyle{ R(f) \triangleq \mathcal{F}\{r\}(f) = U(f) V(f). \quad f \in \mathbb{R} }[/math] |
|
( ) |
Applying the inverse Fourier transform [math]\displaystyle{ \mathcal{F}^{-1}, }[/math] produces the corollary:[2]:eqs.7,10
[math]\displaystyle{ r(x) = \{u*v\}(x) = \mathcal{F}^{-1}\{U\cdot V\}, \quad \scriptstyle \text{where } \displaystyle \cdot \scriptstyle \text{ denotes point-wise multiplication} }[/math] |
|
( ) |
The theorem also generally applies to multi-dimensional functions.
Multi-dimensional derivation of Eq.1
|
---|
Consider functions [math]\displaystyle{ u,v }[/math] in Lp-space [math]\displaystyle{ L^1(\mathbb{R}^n), }[/math] with Fourier transforms [math]\displaystyle{ U,V }[/math]:
where [math]\displaystyle{ f\cdot x }[/math] indicates the inner product of [math]\displaystyle{ \mathbb{R}^n }[/math]: [math]\displaystyle{ f\cdot x = \sum_{j=1}^{n} {f}_j x_j, }[/math] and [math]\displaystyle{ dx = \prod_{j=1}^{n} d x_j. }[/math] The convolution of [math]\displaystyle{ u }[/math] and [math]\displaystyle{ v }[/math] is defined by:
Also:
Hence by Fubini's theorem we have that [math]\displaystyle{ r\in L^1(\mathbb{R}^n) }[/math] so its Fourier transform [math]\displaystyle{ R }[/math] is defined by the integral formula:
Note that [math]\displaystyle{ |u(\tau)v(x-\tau)e^{-i 2\pi f \cdot x}|=|u(\tau)v(x-\tau)|, }[/math] Hence by the argument above we may apply Fubini's theorem again (i.e. interchange the order of integration):
|
This theorem also holds for the Laplace transform, the two-sided Laplace transform and, when suitably modified, for the Mellin transform and Hartley transform (see Mellin inversion theorem). It can be extended to the Fourier transform of abstract harmonic analysis defined over locally compact abelian groups.
Periodic convolution (Fourier series coefficients)
Consider [math]\displaystyle{ P }[/math]-periodic functions [math]\displaystyle{ u_{_P} }[/math] and [math]\displaystyle{ v_{_P}, }[/math] which can be expressed as periodic summations:
- [math]\displaystyle{ u_{_P}(x)\ \triangleq \sum_{m=-\infty}^{\infty} u(x-mP) }[/math] and [math]\displaystyle{ v_{_P}(x)\ \triangleq \sum_{m=-\infty}^{\infty} v(x-mP). }[/math]
In practice the non-zero portion of components [math]\displaystyle{ u }[/math] and [math]\displaystyle{ v }[/math] are often limited to duration [math]\displaystyle{ P, }[/math] but nothing in the theorem requires that.
The Fourier series coefficients are:
- [math]\displaystyle{ \begin{align} U[k] &\triangleq \mathcal{F}\{u_{_P}\}[k] = \frac{1}{P} \int_P u_{_P}(x) e^{-i 2\pi k x/P} \, dx, \quad k \in \mathbb{Z}; \quad \quad \scriptstyle \text{integration over any interval of length } P\\ V[k] &\triangleq \mathcal{F}\{v_{_P}\}[k] = \frac{1}{P} \int_P v_{_P}(x) e^{-i 2\pi k x/P} \, dx, \quad k \in \mathbb{Z} \end{align} }[/math]
where [math]\displaystyle{ \mathcal{F} }[/math] denotes the Fourier series integral.
- The pointwise product: [math]\displaystyle{ u_{_P}(x)\cdot v_{_P}(x) }[/math] is also [math]\displaystyle{ P }[/math]-periodic, and its Fourier series coefficients are given by the discrete convolution of the [math]\displaystyle{ U }[/math] and [math]\displaystyle{ V }[/math] sequences:
- [math]\displaystyle{ \mathcal{F}\{u_{_P}\cdot v_{_P}\}[k] = \{U*V\}[k]. }[/math]
- The convolution:
- [math]\displaystyle{ \begin{align} \{u_{_P} * v\}(x)\ &\triangleq \int_{-\infty}^{\infty} u_{_P}(x-\tau)\cdot v(\tau)\ d\tau\\ &\equiv \int_P u_{_P}(x-\tau)\cdot v_{_P}(\tau)\ d\tau; \quad \quad \scriptstyle \text{integration over any interval of length } P \end{align} }[/math]
is also [math]\displaystyle{ P }[/math]-periodic, and is called a periodic convolution.
Derivation of periodic convolution
|
---|
|
The corresponding convolution theorem is:
[math]\displaystyle{ \mathcal{F}\{u_{_P} * v\}[k] =\ P\cdot U[k]\ V[k]. }[/math] |
|
( ) |
Derivation of Eq.2
|
---|
|
Functions of a discrete variable (sequences)
By a derivation similar to Eq.1, there is an analogous theorem for sequences, such as samples of two continuous functions, where now [math]\displaystyle{ \mathcal{F} }[/math] denotes the discrete-time Fourier transform (DTFT) operator. Consider two sequences [math]\displaystyle{ u[n] }[/math] and [math]\displaystyle{ v[n] }[/math] with transforms [math]\displaystyle{ U }[/math] and [math]\displaystyle{ V }[/math]:
- [math]\displaystyle{ \begin{align} U(f) &\triangleq \mathcal{F}\{u\}(f) = \sum_{n=-\infty}^{\infty} u[n]\cdot e^{-i 2\pi f n}\;, \quad f \in \mathbb{R}, \\ V(f) &\triangleq \mathcal{F}\{v\}(f) = \sum_{n=-\infty}^{\infty} v[n]\cdot e^{-i 2\pi f n}\;, \quad f \in \mathbb{R}. \end{align} }[/math]
The § Discrete convolution of [math]\displaystyle{ u }[/math] and [math]\displaystyle{ v }[/math] is defined by:
- [math]\displaystyle{ r[n] \triangleq (u * v)[n] = \sum_{m=-\infty}^\infty u[m]\cdot v[n - m] = \sum_{m=-\infty}^\infty u[n-m]\cdot v[m]. }[/math]
The convolution theorem for discrete sequences is:[3][4]:p.60 (2.169)
[math]\displaystyle{ R(f) = \mathcal{F}\{u * v\}(f) =\ U(f) V(f). }[/math] |
|
( ) |
Periodic convolution
[math]\displaystyle{ U(f) }[/math] and [math]\displaystyle{ V(f), }[/math] as defined above, are periodic, with a period of 1. Consider [math]\displaystyle{ N }[/math]-periodic sequences [math]\displaystyle{ u_{_N} }[/math] and [math]\displaystyle{ v_{_N} }[/math]:
- [math]\displaystyle{ u_{_N}[n]\ \triangleq \sum_{m=-\infty}^{\infty} u[n-mN] }[/math] and [math]\displaystyle{ v_{_N}[n]\ \triangleq \sum_{m=-\infty}^{\infty} v[n-mN], \quad n \in \mathbb{Z}. }[/math]
These functions occur as the result of sampling [math]\displaystyle{ U }[/math] and [math]\displaystyle{ V }[/math] at intervals of [math]\displaystyle{ 1/N }[/math] and performing an inverse discrete Fourier transform (DFT) on [math]\displaystyle{ N }[/math] samples (see § Sampling the DTFT). The discrete convolution:
- [math]\displaystyle{ \{u_{_N} * v\}[n]\ \triangleq \sum_{m=-\infty}^{\infty} u_{_N}[m]\cdot v[n-m] \equiv \sum_{m=0}^{N-1} u_{_N}[m]\cdot v_{_N}[n-m] }[/math]
is also [math]\displaystyle{ N }[/math]-periodic, and is called a periodic convolution. Redefining the [math]\displaystyle{ \mathcal{F} }[/math] operator as the [math]\displaystyle{ N }[/math]-length DFT, the corresponding theorem is:[5][4]:p. 548
[math]\displaystyle{ \mathcal{F}\{u_{_N} * v\}[k] =\ \underbrace{\mathcal{F}\{u_{_N}\}[k]}_{U(k/N)} \cdot \underbrace{\mathcal{F}\{v_{_N}\}[k]}_{V(k/N)}, \quad k \in \mathbb{Z}. }[/math] |
|
( ) |
And therefore:
[math]\displaystyle{ \{u_{_N} * v\}[n] =\ \mathcal{F}^{-1}\{\mathcal{F}\{u_{_N}\} \cdot \mathcal{F}\{v_{_N}\}\}. }[/math] |
|
( ) |
Under the right conditions, it is possible for this [math]\displaystyle{ N }[/math]-length sequence to contain a distortion-free segment of a [math]\displaystyle{ u*v }[/math] convolution. But when the non-zero portion of the [math]\displaystyle{ u(n) }[/math] or [math]\displaystyle{ v(n) }[/math] sequence is equal or longer than [math]\displaystyle{ N, }[/math] some distortion is inevitable. Such is the case when the [math]\displaystyle{ V(k/N) }[/math] sequence is obtained by directly sampling the DTFT of the infinitely long § Discrete Hilbert transform impulse response.[upper-alpha 1]
For [math]\displaystyle{ u }[/math] and [math]\displaystyle{ v }[/math] sequences whose non-zero duration is less than or equal to [math]\displaystyle{ N, }[/math] a final simplification is:
[math]\displaystyle{ \{u_{_N} * v\}[n] =\ \mathcal{F}^{-1}\{\mathcal{F}\{u\} \cdot \mathcal{F}\{v\}\}. }[/math] |
|
( ) |
This form is often used to efficiently implement numerical convolution by computer. (see § Fast convolution algorithms and § Example)
As a partial reciprocal, it has been shown [6] that any linear transform that turns convolution into pointwise product is the DFT (up to a permutation of coefficients).
Derivations of Eq.4
|
---|
A time-domain derivation proceeds as follows:
A frequency-domain derivation follows from § Periodic data, which indicates that the DTFTs can be written as:
The product with [math]\displaystyle{ V(f) }[/math] is thereby reduced to a discrete-frequency function:
where the equivalence of [math]\displaystyle{ V(k/N) }[/math] and [math]\displaystyle{ \left(\scriptstyle{\rm DFT}\displaystyle\{v_{_N}\}[k]\right) }[/math] follows from § Sampling the DTFT. Therefore, the equivalence of (5a) and (5b) requires:
|
Convolution theorem for inverse Fourier transform
There is also a convolution theorem for the inverse Fourier transform:
Here, "[math]\displaystyle{ \cdot }[/math]" represents the Hadamard product, and "[math]\displaystyle{ * }[/math]" represents a convolution between the two matrices.
- [math]\displaystyle{ \begin{align} &\mathcal{F}\{u*v\} = \mathcal{F}\{u\} \cdot \mathcal{F}\{v\}\\ &\mathcal{F}\{u \cdot v\}= \mathcal{F}\{u\}*\mathcal{F}\{v\} \end{align} }[/math]
so that
- [math]\displaystyle{ \begin{align} &u*v= \mathcal{F}^{-1}\left\{\mathcal{F}\{u\}\cdot\mathcal{F}\{v\}\right\}\\ &u \cdot v= \mathcal{F}^{-1}\left\{\mathcal{F}\{u\}*\mathcal{F}\{v\}\right\} \end{align} }[/math]
Convolution theorem for tempered distributions
The convolution theorem extends to tempered distributions. Here, [math]\displaystyle{ v }[/math] is an arbitrary tempered distribution:
- [math]\displaystyle{ \begin{align} &\mathcal{F}\{u*v\} = \mathcal{F}\{u\} \cdot \mathcal{F}\{v\}\\ &\mathcal{F}\{\alpha \cdot v\}= \mathcal{F}\{\alpha\}*\mathcal{F}\{v\}. \end{align} }[/math]
But [math]\displaystyle{ u = F\{\alpha\} }[/math] must be "rapidly decreasing" towards [math]\displaystyle{ -\infty }[/math] and [math]\displaystyle{ +\infty }[/math] in order to guarantee the existence of both, convolution and multiplication product. Equivalently, if [math]\displaystyle{ \alpha = F^{-1}\{u\} }[/math] is a smooth "slowly growing" ordinary function, it guarantees the existence of both, multiplication and convolution product.[7][8][9]
In particular, every compactly supported tempered distribution, such as the Dirac delta, is "rapidly decreasing". Equivalently, bandlimited functions, such as the function that is constantly [math]\displaystyle{ 1 }[/math] are smooth "slowly growing" ordinary functions. If, for example, [math]\displaystyle{ v\equiv\operatorname{\text{Ш}} }[/math] is the Dirac comb both equations yield the Poisson summation formula and if, furthermore, [math]\displaystyle{ u\equiv\delta }[/math] is the Dirac delta then [math]\displaystyle{ \alpha \equiv 1 }[/math] is constantly one and these equations yield the Dirac comb identity.
See also
Notes
- ↑ An example is the MATLAB function, hilbert(u,N).
References
- ↑ McGillem, Clare D.; Cooper, George R. (1984). Continuous and Discrete Signal and System Analysis (2 ed.). Holt, Rinehart and Winston. p. 118 (3–102). ISBN 0-03-061703-0.
- ↑ 2.0 2.1 Weisstein, Eric W.. "Convolution Theorem". https://mathworld.wolfram.com/ConvolutionTheorem.html.
- ↑ Proakis, John G.; Manolakis, Dimitri G. (1996) (in en), Digital Signal Processing: Principles, Algorithms and Applications (3 ed.), New Jersey: Prentice-Hall International, p. 297, sAcfAQAAIAAJ, ISBN 9780133942897, Bibcode: 1996dspp.book.....P, https://archive.org/details/digitalsignalpro00proa
- ↑ 4.0 4.1 Oppenheim, Alan V.; Schafer, Ronald W.; Buck, John R. (1999). Discrete-time signal processing (2nd ed.). Upper Saddle River, N.J.: Prentice Hall. ISBN 0-13-754920-2. https://archive.org/details/discretetimesign00alan.
- ↑ Rabiner, Lawrence R.; Gold, Bernard (1975). Theory and application of digital signal processing. Englewood Cliffs, NJ: Prentice-Hall, Inc.. p. 59 (2.163). ISBN 978-0139141010. https://archive.org/details/theoryapplicatio00rabi.
- ↑ Amiot, Emmanuel (2016). Music through Fourier Space. Computational Music Science. Zürich: Springer. p. 8. doi:10.1007/978-3-319-45581-5. ISBN 978-3-319-45581-5. https://link.springer.com/book/10.1007/978-3-319-45581-5.
- ↑ Horváth, John (1966). Topological Vector Spaces and Distributions. Reading, MA: Addison-Wesley Publishing Company.
- ↑ Barros-Neto, José (1973). An Introduction to the Theory of Distributions. New York, NY: Dekker.
- ↑ Petersen, Bent E. (1983). Introduction to the Fourier Transform and Pseudo-Differential Operators. Boston, MA: Pitman Publishing.
Further reading
- Katznelson, Yitzhak (1976), An introduction to Harmonic Analysis, Dover, ISBN 0-486-63331-4
- Li, Bing; Babu, G. Jogesh (2019), "Convolution Theorem and Asymptotic Efficiency", A Graduate Course on Statistical Inference, New York: Springer, pp. 295–327, ISBN 978-1-4939-9759-6
- Crutchfield, Steve (October 9, 2010), "The Joy of Convolution", Johns Hopkins University, http://www.jhu.edu/signals/convolve/index.html, retrieved November 19, 2010
Additional resources
For a visual representation of the use of the convolution theorem in signal processing, see:
- Johns Hopkins University's Java-aided simulation: http://www.jhu.edu/signals/convolve/index.html
de:Faltung (Mathematik)#Faltungstheorem 2 fr:Produit de convolution
Original source: https://en.wikipedia.org/wiki/Convolution theorem.
Read more |