# 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 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 $u(x)$ and $v(x)$ with Fourier transforms $U$ and $V$:
    ${\begin{aligned}U(f)&\triangleq {\mathcal {F}}\{u\}(f)=\int _{-\infty }^{\infty }u(x)e^{-i2\pi fx}\,dx,\quad f\in \mathbb {R} \\V(f)&\triangleq {\mathcal {F}}\{v\}(f)=\int _{-\infty }^{\infty }v(x)e^{-i2\pi fx}\,dx,\quad f\in \mathbb {R} \end{aligned}}$
where ${\mathcal {F}}$ denotes the Fourier transform operator. The transform may be normalized in other ways, in which case constant scaling factors (typically $2\pi$ or ${\sqrt {2\pi }}$) will appear in the convolution theorem below. The convolution of $u$ and $v$ is defined by:
    $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 .$
In this context the asterisk denotes convolution, instead of standard multiplication. The tensor product symbol $\otimes$ is sometimes used instead.
The convolution theorem states that:$^{:eq.8}$
Applying the inverse Fourier transform ${\mathcal {F}}^{-1},$ produces the corollary:$^{:eqs.7,10}$
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 $P$-periodic functions $u_{_{P}}$ and $v_{_{P}},$ which can be expressed as periodic summations:
    $u_{_{P}}(x)\ \triangleq \sum _{m=-\infty }^{\infty }u(x-mP)$ and $v_{_{P}}(x)\ \triangleq \sum _{m=-\infty }^{\infty }v(x-mP).$
In practice the non-zero portion of components $u$ and $v$ are often limited to duration $P,$ but nothing in the theorem requires that.
The Fourier series coefficients are:
    ${\begin{aligned}U[k]&\triangleq {\mathcal {F}}\{u_{_{P}}\}[k]={\frac {1}{P}}\int _{P}u_{_{P}}(x)e^{-i2\pi kx/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^{-i2\pi kx/P}\,dx,\quad k\in \mathbb {Z} \end{aligned}}$
where ${\mathcal {F}}$ denotes the Fourier series integral.
* The product: $u_{_{P}}(x)\cdot v_{_{P}}(x)$ is also $P$-periodic, and its Fourier series coefficients are given by the discrete convolution of the $U$ and $V$ sequences:
    ${\mathcal {F}}\{u_{_{P}}\cdot v_{_{P}}\}[k]=\{U*V\}[k].$
* The convolution:
    ${\begin{aligned}\{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{aligned}}$
is also $P$-periodic, and is called a periodic convolution.
The corresponding convolution theorem is:

## 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 ${\mathcal {F}}$ denotes the discrete-time Fourier transform (DTFT) operator. Consider two sequences $u[n]$ and $v[n]$ with transforms $U$ and $V$:
    ${\begin{aligned}U(f)&\triangleq {\mathcal {F}}\{u\}(f)=\sum _{n=-\infty }^{\infty }u[n]\cdot e^{-i2\pi fn}\;,\quad f\in \mathbb {R} ,\\V(f)&\triangleq {\mathcal {F}}\{v\}(f)=\sum _{n=-\infty }^{\infty }v[n]\cdot e^{-i2\pi fn}\;,\quad f\in \mathbb {R} .\end{aligned}}$
The § Discrete convolution of $u$ and $v$ is defined by:
    $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].$
The convolution theorem for discrete sequences is:$^{:p.60(2.169)}$

### Periodic convolution

$U(f)$ and $V(f),$ as defined above, are periodic, with a period of 1. Consider $N$-periodic sequences $u_{_{N}}$ and $v_{_{N}}$:
    $u_{_{N}}[n]\ \triangleq \sum _{m=-\infty }^{\infty }u[n-mN]$ and $v_{_{N}}[n]\ \triangleq \sum _{m=-\infty }^{\infty }v[n-mN],\quad n\in \mathbb {Z} .$
These functions occur as the result of sampling $U$ and $V$ at intervals of $1/N$ and performing an inverse discrete Fourier transform (DFT) on $N$ samples (see § Sampling the DTFT). The discrete convolution:
    $\{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]$
is also $N$-periodic, and is called a periodic convolution. Redefining the ${\mathcal {F}}$ operator as the $N$-length DFT, the corresponding theorem is:$^{:p.548}$
And therefore:
Under the right conditions, it is possible for this $N$-length sequence to contain a distortion-free segment of a $u*v$ convolution. But when the non-zero portion of the $u(n)$ or $v(n)$ sequence is equal or longer than $N,$ some distortion is inevitable. Such is the case when the $V(k/N)$ sequence is obtained by directly sampling the DTFT of the infinitely long § Discrete Hilbert transform impulse response.
For $u$ and $v$ sequences whose non-zero duration is less than or equal to $N,$ a final simplification is:
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 that any linear transform that turns convolution into a 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:
Here, "$\cdot$" represents the Hadamard product, and "$*$" represents a convolution between the two matrices.
    ${\begin{aligned}&{\mathcal {F}}\{u*v\}={\mathcal {F}}\{u\}\cdot {\mathcal {F}}\{v\}\\&{\mathcal {F}}\{u\cdot v\}={\mathcal {F}}\{u\}*{\mathcal {F}}\{v\}\end{aligned}}$
so that
    ${\begin{aligned}&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{aligned}}$

## Convolution theorem for tempered distributions

The convolution theorem extends to tempered distributions. Here, $v$ is an arbitrary tempered distribution:
    ${\begin{aligned}&{\mathcal {F}}\{u*v\}={\mathcal {F}}\{u\}\cdot {\mathcal {F}}\{v\}\\&{\mathcal {F}}\{\alpha \cdot v\}={\mathcal {F}}\{\alpha \}*{\mathcal {F}}\{v\}.\end{aligned}}$
But $u=F\{\alpha \}$ must be "rapidly decreasing" towards $-\infty$ and $+\infty$ in order to guarantee the existence of both, convolution and multiplication product. Equivalently, if $\alpha =F^{-1}\{u\}$ is a smooth "slowly growing" ordinary function, it guarantees the existence of both, multiplication and convolution product.
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$ are smooth "slowly growing" ordinary functions. If, for example, $v\equiv \operatorname {\text{Ш}}$ is the Dirac comb both equations yield the Poisson summation formula and if, furthermore, $u\equiv \delta$ is the Dirac delta then $\alpha \equiv 1$ is constantly one and these equations yield the Dirac comb identity.