In mathematics, the convolution theorem states that under suitable conditions the Fourier transform of a convolution of two functions (or signals) is the 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.
Consider two functions u ( x ) {\displaystyle u(x)} and v ( x ) {\displaystyle v(x)} with Fourier transforms U {\displaystyle U} and V {\displaystyle V} :
where F {\displaystyle {\mathcal {F}}} denotes the Fourier transform operator. The transform may be normalized in other ways, in which case constant scaling factors (typically 2 π {\displaystyle 2\pi } or 2 π {\displaystyle {\sqrt {2\pi }}} ) will appear in the convolution theorem below. The convolution of u {\displaystyle u} and v {\displaystyle v} is defined by:
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
R ( f ) ≜ F { r } ( f ) = U ( f ) V ( f ) . f ∈ R {\displaystyle R(f)\triangleq {\mathcal {F}}\{r\}(f)=U(f)V(f).\quad f\in \mathbb {R} }
Applying the inverse Fourier transform F − 1 , {\displaystyle {\mathcal {F}}^{-1},} produces the corollary:[2]: eqs.7, 10
r ( x ) = { u ∗ v } ( x ) = F − 1 { U ⋅ V } . {\displaystyle r(x)=\{u*v\}(x)={\mathcal {F}}^{-1}\{U\cdot V\}.}
The theorem also generally applies to multi-dimensional functions.
Consider functions u , v {\displaystyle u,v} in Lp-space L 1 ( R n ) , {\displaystyle L^{1}(\mathbb {R} ^{n}),} with Fourier transforms U , V {\displaystyle U,V} :
where f ⋅ x {\displaystyle f\cdot x} indicates the inner product of R n {\displaystyle \mathbb {R} ^{n}} : f ⋅ x = ∑ j = 1 n f j x j , {\displaystyle f\cdot x=\sum _{j=1}^{n}{f}_{j}x_{j},} and d x = ∏ j = 1 n d x j . {\displaystyle dx=\prod _{j=1}^{n}dx_{j}.}
The convolution of u {\displaystyle u} and v {\displaystyle v} is defined by:
Also:
Hence by Fubini's theorem we have that r ∈ L 1 ( R n ) {\displaystyle r\in L^{1}(\mathbb {R} ^{n})} so its Fourier transform R {\displaystyle R} is defined by the integral formula:
Note that | u ( τ ) v ( x − τ ) e − i 2 π f ⋅ x | = | u ( τ ) v ( x − τ ) | , {\displaystyle |u(\tau )v(x-\tau )e^{-i2\pi f\cdot x}|=|u(\tau )v(x-\tau )|,} 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.
Consider P {\displaystyle P} -periodic functions u P {\displaystyle u_{_{P}}} and v P , {\displaystyle v_{_{P}},} which can be expressed as periodic summations:
In practice the non-zero portion of components u {\displaystyle u} and v {\displaystyle v} are often limited to duration P , {\displaystyle P,} but nothing in the theorem requires that.
The Fourier series coefficients are:
where F {\displaystyle {\mathcal {F}}} denotes the Fourier series integral.
is also P {\displaystyle P} -periodic, and is called a periodic convolution.
The corresponding convolution theorem is:
F { u P ∗ v } [ k ] = P ⋅ U [ k ] V [ k ] . {\displaystyle {\mathcal {F}}\{u_{_{P}}*v\}[k]=\ P\cdot U[k]\ V[k].}
By a derivation similar to Eq.1, there is an analogous theorem for sequences, such as samples of two continuous functions, where now F {\displaystyle {\mathcal {F}}} denotes the discrete-time Fourier transform (DTFT) operator. Consider two sequences u [ n ] {\displaystyle u[n]} and v [ n ] {\displaystyle v[n]} with transforms U {\displaystyle U} and V {\displaystyle V} :
The § Discrete convolution of u {\displaystyle u} and v {\displaystyle v} is defined by:
The convolution theorem for discrete sequences is:[3][4]: p.60 (2.169)
R ( f ) = F { u ∗ v } ( f ) = U ( f ) V ( f ) . {\displaystyle R(f)={\mathcal {F}}\{u*v\}(f)=\ U(f)V(f).}
U ( f ) {\displaystyle U(f)} and V ( f ) , {\displaystyle V(f),} as defined above, are periodic, with a period of 1. Consider N {\displaystyle N} -periodic sequences u N {\displaystyle u_{_{N}}} and v N {\displaystyle v_{_{N}}} :
These functions occur as the result of sampling U {\displaystyle U} and V {\displaystyle V} at intervals of 1 / N {\displaystyle 1/N} and performing an inverse discrete Fourier transform (DFT) on N {\displaystyle N} samples (see § Sampling the DTFT). The discrete convolution:
is also N {\displaystyle N} -periodic, and is called a periodic convolution. Redefining the F {\displaystyle {\mathcal {F}}} operator as the N {\displaystyle N} -length DFT, the corresponding theorem is:[5][4]: p. 548
F { u N ∗ v } [ k ] = F { u N } [ k ] ⏟ U ( k / N ) ⋅ F { v N } [ k ] ⏟ V ( k / N ) , k ∈ Z . {\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} .}
And therefore:
{ u N ∗ v } [ n ] = F − 1 { F { u N } ⋅ F { v N } } . {\displaystyle \{u_{_{N}}*v\}[n]=\ {\mathcal {F}}^{-1}\{{\mathcal {F}}\{u_{_{N}}\}\cdot {\mathcal {F}}\{v_{_{N}}\}\}.}
Under the right conditions, it is possible for this N {\displaystyle N} -length sequence to contain a distortion-free segment of a u ∗ v {\displaystyle u*v} convolution. But when the non-zero portion of the u ( n ) {\displaystyle u(n)} or v ( n ) {\displaystyle v(n)} sequence is equal or longer than N , {\displaystyle N,} some distortion is inevitable. Such is the case when the V ( k / N ) {\displaystyle V(k/N)} sequence is obtained by directly sampling the DTFT of the infinitely long § Discrete Hilbert transform impulse response.[A]
For u {\displaystyle u} and v {\displaystyle v} sequences whose non-zero duration is less than or equal to N , {\displaystyle N,} a final simplification is:
{ u N ∗ v } [ n ] = F − 1 { F { u } ⋅ F { v } } . {\displaystyle \{u_{_{N}}*v\}[n]=\ {\mathcal {F}}^{-1}\{{\mathcal {F}}\{u\}\cdot {\mathcal {F}}\{v\}\}.}
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 a product is the DFT (up to a permutation of coefficients).
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 V ( f ) {\displaystyle V(f)} is thereby reduced to a discrete-frequency function:
where the equivalence of V ( k / N ) {\displaystyle V(k/N)} and ( D F T { v N } [ k ] ) {\displaystyle \left(\scriptstyle {\rm {DFT}}\displaystyle \{v_{_{N}}\}[k]\right)} follows from § Sampling the DTFT. Therefore, the equivalence of (5a) and (5b) requires:
We can also verify the inverse DTFT of (5b):
There is also a convolution theorem for the inverse Fourier transform:
Here, " ⋅ {\displaystyle \cdot } " represents the Hadamard product, and " ∗ {\displaystyle *} " represents a convolution between the two matrices.
so that
The convolution theorem extends to tempered distributions. Here, v {\displaystyle v} is an arbitrary tempered distribution:
But u = F { α } {\displaystyle u=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 α = F − 1 { u } {\displaystyle \alpha =F^{-1}\{u\}} 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 1 {\displaystyle 1} are smooth "slowly growing" ordinary functions. If, for example, v ≡ Ш {\displaystyle v\equiv \operatorname {\text{Ш}} } is the Dirac comb both equations yield the Poisson summation formula and if, furthermore, u ≡ δ {\displaystyle u\equiv \delta } is the Dirac delta then α ≡ 1 {\displaystyle \alpha \equiv 1} is constantly one and these equations yield the Dirac comb identity.
For a visual representation of the use of the convolution theorem in signal processing, see: