# Convolution theorem

Short description: Theorem in mathematics

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 $\displaystyle{ g(x) }$ and $\displaystyle{ h(x) }$ with Fourier transforms $\displaystyle{ G }$ and $\displaystyle{ H }$: \displaystyle{ \begin{align} G(f) &\triangleq \mathcal{F}\{g\}(f) = \int_{-\infty}^{\infty}g(x) e^{-i 2 \pi f x} \, dx, \quad f \in \mathbb{R}\\ H(f) &\triangleq \mathcal{F}\{h\}(f) = \int_{-\infty}^{\infty}h(x) e^{-i 2 \pi f x} \, dx, \quad f \in \mathbb{R} \end{align} } where $\displaystyle{ \mathcal{F} }$ denotes the Fourier transform operator. The transform may be normalized in other ways, in which case constant scaling factors (typically $\displaystyle{ 2\pi }$ or $\displaystyle{ \sqrt{2\pi} }$) will appear in the convolution theorem below. The convolution of $\displaystyle{ g }$ and $\displaystyle{ h }$ is defined by: $\displaystyle{ r(x) = \{g*h\}(x) \triangleq \int_{-\infty}^{\infty} g(\tau) h(x-\tau)\, d\tau = \int_{-\infty}^{\infty} g(x-\tau) h(\tau)\, d\tau. }$

In this context the asterisk denotes convolution, instead of standard multiplication. The tensor product symbol $\displaystyle{ \otimes }$ is sometimes used instead.

The convolution theorem states that:[1][2]:eq.8

$\displaystyle{ R(f) \triangleq \mathcal{F}\{r\}(f) = G(f) H(f). \quad f \in \mathbb{R} }$

(Eq.1a)

Applying the inverse Fourier transform $\displaystyle{ \mathcal{F}^{-1} }$, produces the corollary:[2]:eqs.7,10

Convolution theorem

$\displaystyle{ r(x) = \{g*h\}(x) = \mathcal{F}^{-1}\{G\cdot H\}, }$

(Eq.1b)

where $\displaystyle{ \cdot }$ denotes point-wise multiplication

The theorem also generally applies to multi-dimensional functions.

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 $\displaystyle{ P }$-periodic functions $\displaystyle{ g_{_P} }$ and $\displaystyle{ h_{_P}, }$ which can be expressed as periodic summations: $\displaystyle{ g_{_P}(x)\ \triangleq \sum_{m=-\infty}^{\infty} g(x-mP) }$   and   $\displaystyle{ h_{_P}(x)\ \triangleq \sum_{m=-\infty}^{\infty} h(x-mP). }$

In practice the non-zero portion of components $\displaystyle{ g }$ and $\displaystyle{ h }$ are often limited to duration $\displaystyle{ P, }$ but nothing in the theorem requires that. The Fourier series coefficients are: \displaystyle{ \begin{align} G[k] &\triangleq \mathcal{F}\{g_{_P}\}[k] = \frac{1}{P} \int_P g_{_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\\ H[k] &\triangleq \mathcal{F}\{h_{_P}\}[k] = \frac{1}{P} \int_P h_{_P}(x) e^{-i 2\pi k x/P} \, dx, \quad k \in \mathbb{Z} \end{align} } where $\displaystyle{ \mathcal{F} }$ denotes the Fourier series integral.

• The pointwise product: $\displaystyle{ g_{_P}(x)\cdot h_{_P}(x) }$ is also $\displaystyle{ P }$-periodic, and its Fourier series coefficients are given by the discrete convolution of the $\displaystyle{ G }$ and $\displaystyle{ H }$ sequences: $\displaystyle{ \mathcal{F}\{g_{_P}\cdot h_{_P}\}[k] = \{G*H\}[k]. }$
• The convolution: \displaystyle{ \begin{align} \{g_{_P} * h\}(x)\ &\triangleq \int_{-\infty}^{\infty} g_{_P}(x-\tau)\cdot h(\tau)\ d\tau\\ &\equiv \int_P g_{_P}(x-\tau)\cdot h_{_P}(\tau)\ d\tau; \quad \quad \scriptstyle \text{integration over any interval of length } P \end{align} }is also $\displaystyle{ P }$-periodic,[upper-alpha 1] and is called a periodic convolution. The corresponding convolution theorem is:

$\displaystyle{ \mathcal{F}\{g_{_P} * h\}[k] =\ P\cdot G[k]\ H[k]. }$

(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 $\displaystyle{ \mathcal{F} }$ denotes the discrete-time Fourier transform (DTFT) operator. Consider two sequences $\displaystyle{ g[n] }$ and $\displaystyle{ h[n] }$ with transforms $\displaystyle{ G }$ and $\displaystyle{ H }$: \displaystyle{ \begin{align} G(f) &\triangleq \mathcal{F}\{g\}(f) = \sum_{n=-\infty}^{\infty} g[n]\cdot e^{-i 2\pi f n}\;, \quad f \in \mathbb{R}\\ H(f) &\triangleq \mathcal{F}\{h\}(f) = \sum_{n=-\infty}^{\infty} h[n]\cdot e^{-i 2\pi f n}\;. \quad f \in \mathbb{R} \end{align} }

The § Discrete convolution of $\displaystyle{ g }$ and $\displaystyle{ h }$ is defined by: $\displaystyle{ r[n] \triangleq (g * h)[n] = \sum_{m=-\infty}^\infty g[m]\cdot h[n - m] = \sum_{m=-\infty}^\infty g[n-m]\cdot h[m]. }$

The convolution theorem for discrete sequences is:[3][4]:p.60 (2.169)

$\displaystyle{ R(f) = \mathcal{F}\{g * h\}(f) =\ G(f) H(f). }$

(Eq.3)

### Periodic convolution

$\displaystyle{ G(f) }$ and $\displaystyle{ H(f), }$ as defined above, are periodic, with a period of 1. Consider $\displaystyle{ N }$-periodic sequences $\displaystyle{ g_{_N} }$ and $\displaystyle{ h_{_N} }$: $\displaystyle{ g_{_N}[n]\ \triangleq \sum_{m=-\infty}^{\infty} g[n-mN] }$   and   $\displaystyle{ h_{_N}[n]\ \triangleq \sum_{m=-\infty}^{\infty} h[n-mN], \quad n \in \mathbb{Z}. }$

These functions occur as the result of sampling $\displaystyle{ G }$ and $\displaystyle{ H }$ at intervals of $\displaystyle{ 1/N }$ and performing an inverse discrete Fourier transform (DFT) on $\displaystyle{ N }$ samples (see § Sampling the DTFT). The discrete convolution: $\displaystyle{ \{g_{_N} * h\}[n]\ \triangleq \sum_{m=-\infty}^{\infty} g_{_N}[m]\cdot h[n-m] \equiv \sum_{m=0}^{N-1} g_{_N}[m]\cdot h_{_N}[n-m] }$

is also $\displaystyle{ N }$-periodic, and is called a periodic convolution. Redefining the $\displaystyle{ \mathcal{F} }$ operator as the $\displaystyle{ N }$-length DFT, the corresponding theorem is:[5][4]:p.548

$\displaystyle{ \mathcal{F}\{g_{_N} * h\}[k] =\ \underbrace{\mathcal{F}\{g_{_N}\}[k]}_{G(k/N)} \cdot \underbrace{\mathcal{F}\{h_{_N}\}[k]}_{H(k/N)}, \quad k \in \mathbb{Z}. }$

(Eq.4a)

And therefore:

$\displaystyle{ \{g_{_N} * h\}[n] =\ \mathcal{F}^{-1}\{\mathcal{F}\{g_{_N}\} \cdot \mathcal{F}\{h_{_N}\}\}. }$

(Eq.4b)

Under the right conditions, it is possible for this N-length sequence to contain a distortion-free segment of a $\displaystyle{ g*h }$ convolution. But when the non-zero portion of the $\displaystyle{ g(n) }$ or $\displaystyle{ h(n) }$ sequence is equal or longer than $\displaystyle{ N, }$ some distortion is inevitable.  Such is the case when the $\displaystyle{ H(k/N) }$ sequence is obtained by directly sampling the DTFT of the infinitely long § Discrete Hilbert transform impulse response.[upper-alpha 2]

For $\displaystyle{ g }$ and $\displaystyle{ h }$ sequences whose non-zero duration is less than or equal to $\displaystyle{ N, }$ a final simplification is:

Circular convolution

$\displaystyle{ \{g_{_N} * h\}[n] =\ \mathcal{F}^{-1}\{\mathcal{F}\{g\} \cdot \mathcal{F}\{h\}\}. }$

(Eq.4c)

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).

## Convolution theorem for inverse Fourier transform

There is also a convolution theorem for the inverse Fourier transform: $\displaystyle{ \mathcal{F}\{g*h\} = \mathcal{F}\{g\} \cdot \mathcal{F}\{h\} }$ $\displaystyle{ \mathcal{F}\{g \cdot h\}= \mathcal{F}\{g\}*\mathcal{F}\{h\} }$ so that $\displaystyle{ g*h= \mathcal{F}^{-1}\left\{\mathcal{F}\{g\}\cdot\mathcal{F}\{h\}\right\} }$ $\displaystyle{ g \cdot h= \mathcal{F}^{-1}\left\{\mathcal{F}\{g\}*\mathcal{F}\{h\}\right\} }$

## Convolution theorem for tempered distributions

The convolution theorem extends to tempered distributions. Here, $\displaystyle{ g }$ is an arbitrary tempered distribution (e.g. the Dirac comb) $\displaystyle{ \mathcal{F}\{f*g\} = \mathcal{F}\{f\} \cdot \mathcal{F}\{g\} }$ $\displaystyle{ \mathcal{F}\{\alpha \cdot g\}= \mathcal{F}\{\alpha\}*\mathcal{F}\{g\} }$ but $\displaystyle{ f = F\{\alpha\} }$ must be "rapidly decreasing" towards $\displaystyle{ -\infty }$ and $\displaystyle{ +\infty }$ in order to guarantee the existence of both, convolution and multiplication product. Equivalently, if $\displaystyle{ \alpha = F^{-1}\{f\} }$ 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 $\displaystyle{ 1 }$ are smooth "slowly growing" ordinary functions. If, for example, $\displaystyle{ g\equiv\operatorname{III} }$ is the Dirac comb both equations yield the Poisson summation formula and if, furthermore, $\displaystyle{ f\equiv\delta }$ is the Dirac delta then $\displaystyle{ \alpha \equiv 1 }$ is constantly one and these equations yield the Dirac comb identity.

## Notes

1. Proof: \displaystyle{ \begin{align} \int_{-\infty}^\infty g_{_P}(x - \tau) \cdot h(\tau)\,d\tau &= \sum_{k=-\infty}^\infty \left[\int_{x_o+kP}^{x_o+(k+1)P} g_{_P}(x - \tau) \cdot h(\tau)\ d\tau\right] \quad x_0 \text{ is an arbitrary parameter}\\ &=\sum_{k=-\infty}^\infty \left[\int_{x_o}^{x_o+P} \underbrace{g_{_P}(x - \tau-kP)}_{g_{_P}(x - \tau), \text{ by periodicity}} \cdot h(\tau + kP)\ d\tau\right] \quad \text{substituting } \tau \rightarrow \tau+kP\\ &=\int_{x_o}^{x_o+P} g_{_P}(x - \tau) \cdot \underbrace{\left[\sum_{k=-\infty}^\infty h(\tau + kP)\right]}_{\triangleq \ h_{_P}(\tau)}\ d\tau \end{align} }
2. An example is the MATLAB function, hilbert(g,N).

## References

1. 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. Weisstein, Eric W.. "Convolution Theorem".
3. 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, Bibcode1996dspp.book.....P
4. 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.   Also available at https://d1.amobbs.com/bbs_upload782111/files_24/ourdev_523225.pdf
5. 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.
6. Amiot, Emmanuel (2016). Music through Fourier Space. Zürich: Springer. p. 8. ISBN 978-3-319-45581-5.
7. Horváth, John (1966). Topological Vector Spaces and Distributions. Reading, MA: Addison-Wesley Publishing Company.
8. Barros-Neto, José (1973). An Introduction to the Theory of Distributions. New York, NY: Dekker.
9. 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, retrieved November 19, 2010

## Additional resources

For a visual representation of the use of the convolution theorem in signal processing, see:

de:Faltung (Mathematik)#Faltungstheorem 2 fr:Produit de convolution