The Convolution Theorem

Convolution is the operation (f∗g)(x)=∫f(y) g(x−y) dy(f*g)(x)=\int f(y)\,g(x-y)\,\mathrm{d}y that blends two functions by sliding one across the other and accumulating their overlap. It is the mathematical signature of a system that responds linearly and translation-invariantly to an input: whatever the machine — a lens, a filter, a differential operator, a channel that adds two random variables — the output is the input convolved with the machine's response to a single spike. That spike is the Dirac delta, and its response is the impulse response, or, for differential equations, the Green's function. Convolution is therefore the universal grammar of linear time-invariant physics. The trouble is that convolution is nonlocal: to know the output at one point you must integrate over all of the input, and doing that directly for a signal of NN samples costs N2N^2 operations. The convolution theorem is the escape. It says the Fourier transform, which resolves a function into pure frequencies, turns this awkward smearing integral into ordinary pointwise multiplication: f∗g^=2π f^ g^\widehat{f*g}=\sqrt{2\pi}\,\hat f\,\hat g. Transform, multiply frequency-by-frequency, transform back — a global integral collapses into a local product. The reason is structural: the Fourier transform diagonalizes translations — every mode eikxe^{ikx} is an eigenfunction of every shift — and convolution is built entirely from shifts, so in the basis that diagonalizes shifts it must act as multiplication by a number, the transform of the kernel. This one identity is the engine behind transform methods for differential equations, Green's functions, digital filtering, the characteristic-function proof of the central limit theorem, optical image formation, and the matched-filter searches that pulled gravitational waves out of the noise at LIGO.

Key takeaways
  • The convolution theorem states that the Fourier transform turns convolution into pointwise multiplication: f∗g^=2π f^ g^\widehat{f*g}=\sqrt{2\pi}\,\hat f\,\hat g in the symmetric convention.
  • Dually, the transform of a product is the convolution of the transforms, fg^=12π f^∗g^\widehat{fg}=\tfrac{1}{\sqrt{2\pi}}\,\hat f*\hat g: multiplication and convolution swap roles under F\mathcal{F}.
  • It converts integro-differential equations into algebraic ones, so a forced linear ODE becomes y^=G^f^\hat y=\hat G\hat f and its solution is y=G∗fy=G*f, a convolution with the Green's function.
  • The exact 2π2\pi factors depend entirely on the chosen Fourier convention; the structural statement — convolution becomes multiplication — is convention-independent.
  • Concrete payoffs: two Gaussians convolve to a Gaussian whose widths add in quadrature (σ=32+42=5\sigma=\sqrt{3^2+4^2}=5), and the FFT computes convolutions in O(Nlog⁡N)O(N\log N) instead of O(N2)O(N^2).
  • Rigorous statements hold for L1L^1, extend to L2L^2 via Plancherel and density, and reach δ\delta and other objects through the tempered-distribution framework.
  • Key idea: The Fourier transform converts the difficult, nonlocal operation of convolution into the trivial, local operation of pointwise multiplication, because it diagonalizes translations — and convolution is nothing but a continuous superposition of translations.

Where this lives today

The convolution theorem is quietly one of the most-executed identities in scientific computing. Gravitational-wave astronomy is a spectacular case: LIGO and Virgo detect black-hole mergers by matched filtering — cross-correlating the strain data against a bank of hundreds of thousands of waveform templates — and because correlation is convolution with a reflected kernel, each match is computed as a frequency-domain multiplication via the FFT, weighted by the detector noise spectrum. Without the theorem the searches would be computationally impossible. In imaging, every recorded picture is the true scene convolved with the instrument's point-spread function; deconvolution — dividing by the optical transfer function in frequency space, regularized against noise and its zeros — is how Hubble's early spherical aberration was fixed in software and how radio interferometry (where the "dirty image" is the sky convolved with the array beam) recovers sharp structure; the convolutional neural networks behind image recognition are named for the same operation, applying learned kernels in the Fourier domain for speed. The open frontier of blind deconvolution — untangling an unknown signal from an unknown blur at once — is an active inverse problem the theorem frames but does not by itself solve.

The physical picture

Think of gg as a stencil and ff as a sharp picture. Convolution drags the stencil across the picture and, at each position, records the overlap — replacing every point of ff by a weighted average of its neighbours dictated by gg. Where gg is a narrow spike almost nothing changes; where gg is broad the picture is blurred. The cleanest case to hold in mind is a box smearing a box: slide one unit-width rectangle across another and the overlap grows linearly, peaks when they align, and shrinks again — the output is a triangle, the fingerprint of the operation. Every convolution is a smoother version of the same sliding-overlap story.

Figure
Convolution as sliding overlap: dragging one unit-width box g across another box f and recording the overlap area at each shift produces a triangle of base 2 and peak height 1 — the peak occurs where the boxes coincide and the overlap equals ∫1·1 over width 1 = 1
rect ∗ rect = triangle: the output at each shift is the overlap area of the two boxes x-space: slide g(x−y) across f(y); shaded green = overlap f width 1 g (sliding) shift → result (f∗g)(x): triangle, base 2, peak 1 at full overlap peak = 1 0 1 2

Now watch the same operation in frequency space. Translating a function by aa multiplies each Fourier mode by the phase e−ikae^{-ika}, so a mode's amplitude is untouched in size — only rotated. Convolution is a continuous sum of translations weighted by gg, so mode kk of ff is multiplied by ∫g(a)e−ika da=g^(k)\int g(a)e^{-ika}\,\mathrm{d}a=\hat g(k): a single number per frequency. Smearing in xx is nothing but attenuating high frequencies in kk. The most useful concrete instance is the Gaussian, whose transform is again a Gaussian: convolving two Gaussians multiplies two Gaussians in frequency, and the variances simply add — the reason independent errors combine in quadrature.

Figure
Domain swap made numerical: convolving a Gaussian of width σ=3 with one of width σ=4 (left, x-space) corresponds to multiplying their transforms (right, k-space), where the exponents add — e^(−9k²/2)·e^(−16k²/2)=e^(−25k²/2) — so the result is a Gaussian of width σ=√(3²+4²)=5, wider in x and correspondingly narrower in k
The punchline: convolve in x ⟷ multiply in k, and Gaussian widths add in quadrature x-space: f ∗ g k-space: f̂ · ĝ σ=3 σ=4 σ=5 result product 𝓕 3² + 4² = 5²

Read backwards, the theorem delivers a second lesson. A product in xx-space scrambles frequencies together: fg^\widehat{fg} blends every pair with k=k1+k2k=k_1+k_2, which is the convolution f^∗g^\hat f*\hat g in frequency. Multiplying a signal by a carrier — modulation — therefore shifts and spreads its spectrum, the "frequency mixing" behind every radio.

The core equations

Fix a convention first, because every numerical factor below depends on it. We use the symmetric transform, with the same 1/2π1/\sqrt{2\pi} on the forward and inverse. Convolution itself carries no normalizing constant.

(f∗g)(x)=∫−∞∞f(y) g(x−y) dy(1)(f*g)(x)=\int_{-\infty}^{\infty} f(y)\,g(x-y)\,\mathrm{d}y \qquad (1)

where: f,gf,g — functions on R\mathbb{R}, typically in L1L^1 or L2L^2; yy — the integration (shift) variable; f∗gf*g — the convolution, itself a function of xx. To get the output at xx: flip gg, slide it to xx, integrate its product with ff.

f^(k)=12π∫−∞∞f(x) e−ikx dx,f(x)=12π∫−∞∞f^(k) eikx dk(2)\hat f(k)=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty} f(x)\,e^{-ikx}\,\mathrm{d}x,\qquad f(x)=\frac{1}{\sqrt{2\pi}}\int_{-\infty}^{\infty} \hat f(k)\,e^{ikx}\,\mathrm{d}k \qquad (2)

where: f^=F[f]\hat f=\mathcal{F}[f] — the Fourier transform of ff; kk — angular frequency (wavenumber). The pair differs only by the sign in the exponent, which is what makes the forward and dual theorems mirror images. The central identity: the transform of a convolution factorizes into the product of transforms, times the one surviving convention constant.

f∗g^(k)=2π f^(k) g^(k)(3)\widehat{f*g}(k)=\sqrt{2\pi}\,\hat f(k)\,\hat g(k) \qquad (3)

where: 2π\sqrt{2\pi} — the convention-dependent constant (11 in the ordinary-frequency convention). Reading it: every output frequency is the same frequency of ff scaled by the number g^(k)\hat g(k) — convolution acts diagonally in the Fourier basis. Applying the transform twice, or equally applying it to a product, gives the dual statement in which the roles of multiplication and convolution are exchanged.

f g^(k)=12π (f^∗g^)(k)(4)\widehat{f\,g}(k)=\frac{1}{\sqrt{2\pi}}\,(\hat f*\hat g)(k) \qquad (4)

where: fgfg — the pointwise product in xx-space; f^∗g^\hat f*\hat g — convolution in kk-space. Multiplying in one domain is convolving in the other, with the constant inverted to 1/2π1/\sqrt{2\pi}. The Dirac delta is the identity element, which pins the convention and makes convolution an algebra with a unit.

f∗δ=f, δ ^=12π,ddx(f∗g)=f′∗g=f∗g′(5)f*\delta=f,\qquad \widehat{\,\delta\,}=\frac{1}{\sqrt{2\pi}},\qquad \frac{\mathrm{d}}{\mathrm{d}x}(f*g)=f'*g=f*g' \qquad (5)

where: δ\delta — the Dirac delta; f′f' — a derivative. Reading it: convolving with δ\delta does nothing, its flat transform makes equation (3) return f^\hat f, and a derivative may sit on either factor — so a smooth kernel transfers its smoothness to the result. Finally, the correlation cousin of the theorem yields Parseval–Plancherel, the statement that F\mathcal{F} preserves inner products and energy.

∫−∞∞f(x)‾ g(x) dx=∫−∞∞f^(k)‾ g^(k) dk,∫∣f∣2 dx=∫∣f^∣2 dk(6)\int_{-\infty}^{\infty}\overline{f(x)}\,g(x)\,\mathrm{d}x=\int_{-\infty}^{\infty}\overline{\hat f(k)}\,\hat g(k)\,\mathrm{d}k,\qquad \int|f|^2\,\mathrm{d}x=\int|\hat f|^2\,\mathrm{d}k \qquad (6)

where:  ⋅ ‾\overline{\,\cdot\,} — complex conjugate. Setting g=fg=f gives energy conservation under F\mathcal{F}.

Derivation AProof of the convolution theorem for integrable functions

The goal is to prove f∗g^=2π f^ g^\widehat{f*g}=\sqrt{2\pi}\,\hat f\,\hat g rigorously for f,g∈L1(R)f,g\in L^1(\mathbb{R}), not just to shuffle symbols: we must first show that f∗gf*g is itself integrable so that its transform even exists, then justify exchanging the order of a double integral, and only then read off the factorization. The one nontrivial analytic step is Fubini's theorem, licensed precisely by the integrability bound we establish first — so the proof is really "bound, then swap, then shift."

Step 1. Show the convolution lives in L1L^1 with ∥f∗g∥1≤∥f∥1 ∥g∥1\|f*g\|_1\le\|f\|_1\,\|g\|_1. By Tonelli's theorem for the nonnegative integrand ∣f(y)∣∣g(x−y)∣|f(y)||g(x-y)|, ∫∣f∗g∣ dx≤∫ ⁣ ⁣∫∣f(y)∣ ∣g(x−y)∣ dy dx=∥f∥1 ∥g∥1<∞\int|f*g|\,\mathrm{d}x\le\int\!\!\int|f(y)|\,|g(x-y)|\,\mathrm{d}y\,\mathrm{d}x=\|f\|_1\,\|g\|_1<\infty. Why: this both guarantees f∗gf*g is a bona fide integrable function and supplies the absolute convergence that will license Fubini in the next step.

Step 2. Insert the definition into the transform, f∗g^(k)=12π∫e−ikx(∫f(y) g(x−y) dy)dx\widehat{f*g}(k)=\frac{1}{\sqrt{2\pi}}\int e^{-ikx}\big(\int f(y)\,g(x-y)\,\mathrm{d}y\big)\mathrm{d}x. Why: this is a double integral over (x,y)(x,y) with integrand of absolute value ∣f(y)∣∣g(x−y)∣|f(y)||g(x-y)|, whose total mass is finite by Step 1, so it satisfies Fubini's hypothesis exactly.

Step 3. Exchange the order and factor the phase: f∗g^(k)=12π∫f(y)(∫g(x−y) e−ikx dx)dy\widehat{f*g}(k)=\frac{1}{\sqrt{2\pi}}\int f(y)\big(\int g(x-y)\,e^{-ikx}\,\mathrm{d}x\big)\mathrm{d}y. Why: with absolute convergence secured, Fubini permits integrating over xx first while yy is held fixed — the step that separates the two functions.

Step 4. Evaluate the inner integral by the shift substitution u=x−yu=x-y: ∫g(x−y)e−ikx dx=e−iky∫g(u)e−iku du=2π e−ikyg^(k)\int g(x-y)e^{-ikx}\,\mathrm{d}x=e^{-iky}\int g(u)e^{-iku}\,\mathrm{d}u=\sqrt{2\pi}\,e^{-iky}\hat g(k). Why: the translation pulls out a pure phase e−ikye^{-iky} and leaves the transform of gg intact — this is where "convolution is built from shifts" becomes a multiplicative phase.

Step 5. Collect: f∗g^(k)=2π g^(k)⋅12π∫f(y)e−iky dy=2π f^(k) g^(k)\widehat{f*g}(k)=\sqrt{2\pi}\,\hat g(k)\cdot\frac{1}{\sqrt{2\pi}}\int f(y)e^{-iky}\,\mathrm{d}y=\sqrt{2\pi}\,\hat f(k)\,\hat g(k). Why: the leftover yy-integral is just 2π f^(k)\sqrt{2\pi}\,\hat f(k), so the two transforms multiply and exactly one factor of 2π\sqrt{2\pi} survives — the convention constant of equation (3). *As a self-consistency check: equation (3) gives f∗δ^=2π f^ δ^=2π f^⋅12π=f^\widehat{f*\delta}=\sqrt{2\pi}\,\hat f\,\hat\delta=\sqrt{2\pi}\,\hat f\cdot\tfrac{1}{\sqrt{2\pi}}=\hat f, so f∗δ=ff*\delta=f — and this fixes δ^=1/2π\hat\delta=1/\sqrt{2\pi} unambiguously.*

Go deeper · Derivation B · 1 minSolving a forced damped oscillator by transform
Derivation BSolving a forced damped oscillator by transform

The aim is to show the theorem's headline payoff: a constant-coefficient linear ODE with an arbitrary driving force is converted into an algebraic equation by F\mathcal{F}, solved by division, and inverted — by the theorem read backwards — into a convolution of the force with a Green's function. We take the damped oscillator y′′+2γy′+ω02y=f(t)y''+2\gamma y'+\omega_0^2 y=f(t) on the whole line, transform it, solve the algebra, and identify the impulse response, checking causal and undamped limits at the end.

Step 1. Transform the equation, using that each d/dt\mathrm{d}/\mathrm{d}t becomes multiplication by ikik: (−k2+2iγk+ω02) y^(k)=f^(k)(-k^2+2i\gamma k+\omega_0^2)\,\hat y(k)=\hat f(k). Why: differentiation is diagonal in the Fourier basis, so a differential equation in tt becomes an ordinary algebraic equation in kk — no calculus left to do.

Step 2. Divide to isolate y^\hat y, defining the transfer function G^\hat G: y^(k)=G^(k) f^(k)\hat y(k)=\hat G(k)\,\hat f(k) with G^(k)=12π 1ω02−k2+2iγk\hat G(k)=\dfrac{1}{\sqrt{2\pi}}\,\dfrac{1}{\omega_0^2-k^2+2i\gamma k}. Why: the 1/2π1/\sqrt{2\pi} is inserted deliberately so that y^=2π G^ f^\hat y=\sqrt{2\pi}\,\hat G\,\hat f has exactly the shape of the right-hand side of equation (3), ready to invert as a convolution.

Step 3. Invert with the convolution theorem: y=F−1[2π G^ f^]=G∗fy=\mathcal{F}^{-1}[\sqrt{2\pi}\,\hat G\,\hat f]=G*f. Why: a product of transforms inverts to a convolution, so the solution is the source ff smeared by the impulse response GG — every forced linear system answers this way.

Step 4. Identify GG by inverting G^\hat G with a contour closed to enforce causality: G(t)=θ(t) e−γt sin⁡(ωt)ω,  ω=ω02−γ2G(t)=\theta(t)\,e^{-\gamma t}\,\dfrac{\sin(\omega t)}{\omega},\ \ \omega=\sqrt{\omega_0^2-\gamma^2}. Why: the poles sit at k=iγ±ωk=i\gamma\pm\omega; closing in the half-plane that vanishes for t>0t>0 selects the retarded (causal) response, and θ(t)\theta(t) enforces "no output before the kick." *Two limiting checks confirm the result. With f=δf=\delta, y=G∗δ=Gy=G*\delta=G — the response to a unit impulse is GG itself, as it must be. As γ→0\gamma\to0, G→θ(t)sin⁡(ω0t)/ω0G\to\theta(t)\sin(\omega_0 t)/\omega_0, recovering the undamped Green's function; and for ω0=5, γ=3\omega_0=5,\ \gamma=3 the frequency is ω=25−9=4\omega=\sqrt{25-9}=4, an underdamped ring.*

Go deeper · Derivation C · 1 minThe dual product theorem from inversion symmetry
Derivation CThe dual product theorem from inversion symmetry

The goal is to derive the mirror statement fg^=12π f^∗g^\widehat{fg}=\tfrac{1}{\sqrt{2\pi}}\,\hat f*\hat g — that multiplying in xx-space is convolving in kk-space — directly, using only the inversion formula and the plane-wave orthogonality relation ∫eiqxdx=2π δ(q)\int e^{iqx}\mathrm{d}x=2\pi\,\delta(q). This exposes the forward and dual theorems as one fact seen through the near-symmetry of F\mathcal{F} and F−1\mathcal{F}^{-1}, and explains why modulation spreads spectra.

Step 1. Write both factors by inversion, f(x)=12π∫f^(k1)eik1xdk1f(x)=\frac{1}{\sqrt{2\pi}}\int \hat f(k_1)e^{ik_1x}\mathrm{d}k_1 and g(x)=12π∫g^(k2)eik2xdk2g(x)=\frac{1}{\sqrt{2\pi}}\int \hat g(k_2)e^{ik_2x}\mathrm{d}k_2. Why: expressing each function as a superposition of modes turns the product fgfg into a double sum over mode pairs, which is where the convolution in kk will emerge.

Step 2. Transform the product, collecting all three exponentials: fg^(k)=1(2π)3/2∫ ⁣ ⁣∫ ⁣ ⁣∫f^(k1)g^(k2) ei(k1+k2−k)x dk1dk2dx\widehat{fg}(k)=\frac{1}{(2\pi)^{3/2}}\int\!\!\int\!\!\int \hat f(k_1)\hat g(k_2)\,e^{i(k_1+k_2-k)x}\,\mathrm{d}k_1\mathrm{d}k_2\mathrm{d}x. Why: the only xx-dependence now lives in a single plane-wave phase, so the xx-integral can be done first and universally.

Step 3. Do the xx-integral to get a delta, ∫ei(k1+k2−k)xdx=2π δ(k1+k2−k)\int e^{i(k_1+k_2-k)x}\mathrm{d}x=2\pi\,\delta(k_1+k_2-k). Why: plane waves are orthogonal — a phase integrates to zero unless it is stationary, i.e. unless the frequencies add up to kk — enforcing momentum-like conservation k=k1+k2k=k_1+k_2.

Step 4. Collapse the delta over k2k_2: fg^(k)=12π∫f^(k1)g^(k−k1) dk1=12π(f^∗g^)(k)\widehat{fg}(k)=\frac{1}{\sqrt{2\pi}}\int \hat f(k_1)\hat g(k-k_1)\,\mathrm{d}k_1=\frac{1}{\sqrt{2\pi}}(\hat f*\hat g)(k). Why: the surviving integral is precisely a convolution in frequency — every output frequency is built from all pairs of input frequencies that sum to it, which is exactly why modulating a signal shifts and broadens its spectrum. *Applying the forward theorem (3) and this dual (4) in succession multiplies 2π\sqrt{2\pi} by 1/2π1/\sqrt{2\pi} to give 11, returning the original function — the two constants are genuine inverses, confirming the convention is self-consistent.*

Limiting cases

How the theorem specializes across conventions and operands — the constant moves, the structure never does:

CaseResultMeaning
Symmetric conventionf∗g^=2π f^ g^\widehat{f*g}=\sqrt{2\pi}\,\hat f\,\hat gWith f^(k)=12π∫fe−ikxdx\hat f(k)=\frac{1}{\sqrt{2\pi}}\int f e^{-ikx}\mathrm{d}x an explicit 2π\sqrt{2\pi} appears.
Ordinary-frequency conventionf∗g^=f^ g^\widehat{f*g}=\hat f\,\hat gWith f^(ν)=∫fe−2πiνxdx\hat f(\nu)=\int f e^{-2\pi i\nu x}\mathrm{d}x the theorem is cleanest — no extra constant at all.
Convolution with δ\deltaf∗δ=f,  δ^=12πf*\delta=f,\ \ \hat\delta=\tfrac{1}{\sqrt{2\pi}}δ\delta is the identity; consistency check f∗δ^=2π f^ δ^=f^\widehat{f*\delta}=\sqrt{2\pi}\,\hat f\,\hat\delta=\hat f.
Two Gaussiansσ2=σ12+σ22\sigma^2=\sigma_1^2+\sigma_2^2Widths add in quadrature — the transform of a Gaussian is a Gaussian, and exponents add.
Correlation / Parseval limit∫∣f∣2dx=∫∣f^∣2dk\int|f|^2\mathrm{d}x=\int|\hat f|^2\mathrm{d}kSetting g(x)=f(−x)‾g(x)=\overline{f(-x)} and evaluating at 00 reproduces Plancherel.
Merely bounded, not integrableneeds L2L^2 or distributionsThe defining integral may diverge; extend via Plancherel/density or the tempered framework.

Worked examples

1 · Two Gaussians convolve to a Gaussian — widths add in quadrature (fully worked)

Let ff and gg be normalized Gaussian densities of standard deviations σ1=3\sigma_1=3 and σ2=4\sigma_2=4. Find f∗gf*g using the convolution theorem, and give the width, peak height, and full width at half maximum of the result.

Step 1. Transform each factor. The Fourier transform of a normalized Gaussian 12πσe−x2/2σ2\frac{1}{\sqrt{2\pi}\sigma}e^{-x^2/2\sigma^2} in the symmetric convention is f^(k)=12πe−σ12k2/2\hat f(k)=\frac{1}{\sqrt{2\pi}}e^{-\sigma_1^2k^2/2}, and likewise g^(k)=12πe−σ22k2/2\hat g(k)=\frac{1}{\sqrt{2\pi}}e^{-\sigma_2^2k^2/2}. A Gaussian transforms to a Gaussian, with width and reciprocal-width swapping roles.

Step 2. Multiply and apply the theorem. Equation (3) gives f∗g^=2π f^ g^=2π⋅12π e−(σ12+σ22)k2/2=12π e−σ2k2/2\widehat{f*g}=\sqrt{2\pi}\,\hat f\,\hat g=\sqrt{2\pi}\cdot\frac{1}{2\pi}\,e^{-(\sigma_1^2+\sigma_2^2)k^2/2}=\frac{1}{\sqrt{2\pi}}\,e^{-\sigma^2k^2/2} with σ2=σ12+σ22\sigma^2=\sigma_1^2+\sigma_2^2. The exponents simply add — this is the whole mechanism.

Step 3. Invert. 12πe−σ2k2/2\frac{1}{\sqrt{2\pi}}e^{-\sigma^2k^2/2} is the transform of the normalized Gaussian of variance σ2\sigma^2, so f∗gf*g is that Gaussian. The width follows from σ=σ12+σ22=32+42=25=5\sigma=\sqrt{\sigma_1^2+\sigma_2^2}=\sqrt{3^2+4^2}=\sqrt{25}=5 — the variances 99 and 1616 add to 2525, never the widths 33 and 44.

Step 4. Read off the shape. Peak height =12π σ=152π=0.0798=\frac{1}{\sqrt{2\pi}\,\sigma}=\frac{1}{5\sqrt{2\pi}}=\mathbf{0.0798}; full width at half maximum =22ln⁡2 σ=2.3548×5=11.77=2\sqrt{2\ln 2}\,\sigma=2.3548\times5=\mathbf{11.77}; a direct numerical convolution confirms (f∗g)(0)=0.07979(f*g)(0)=0.07979. The convolution of two Gaussians is a Gaussian with σ=5\sigma=5 — this quadrature rule is exactly why independent Gaussian errors combine as σ12+σ22\sqrt{\sigma_1^2+\sigma_2^2}.

2 · The sum of two independent uniforms is triangular (fully worked)

Let X,YX,Y be independent and uniform on [0,1][0,1], with box densities f=g=1[0,1]f=g=\mathbf{1}_{[0,1]}. Find the density of X+YX+Y and its variance.

Step 1. The density of a sum of independent variables is the convolution of their densities: pX+Y=f∗gp_{X+Y}=f*g. This is the probabilistic face of the theorem — in Fourier space it says characteristic functions multiply, φX+Y=φX φY\varphi_{X+Y}=\varphi_X\,\varphi_Y.

Step 2. Convolve the two boxes directly: (f∗g)(z)=∫011[0,1](z−y) dy(f*g)(z)=\int_0^1 \mathbf{1}_{[0,1]}(z-y)\,\mathrm{d}y is the length of the overlap of [0,1][0,1] with [z−1,z][z-1,z]. This gives zz for 0≤z≤10\le z\le1 and 2−z2-z for 1≤z≤21\le z\le2, zero otherwise — a triangle on [0,2][0,2] with peak 11 at z=1z=1.

Step 3. Check normalization and moments. Area =12⋅2⋅1=1=\frac{1}{2}\cdot 2\cdot 1=1 (a probability density). Mean =1=1 by symmetry, and variance adds: Var(X+Y)=112+112=16\mathrm{Var}(X+Y)=\tfrac{1}{12}+\tfrac{1}{12}=\mathbf{\tfrac{1}{6}}. Convolving two flat distributions already produces the peaked triangular shape — one more convolution smooths it toward a Gaussian, which is the central limit theorem in action.

3 · Fast convolution: why the FFT changed computing

A digital filter must convolve two signals of N=106N=10^6 samples each. Compare the cost of the direct sum with the transform-multiply-invert route.

Step 1. Direct convolution evaluates ∑yf(y)g(x−y)\sum_y f(y)g(x-y) for every output xx: about NN multiply-adds per output, times NN outputs, so ∼N2=1012\sim N^2=10^{12} operations — minutes to hours even on fast hardware.

Step 2. The theorem replaces this with two forward FFTs, a pointwise multiply, and one inverse FFT. Each FFT costs ∼5Nlog⁡2N\sim 5N\log_2 N, the multiply ∼N\sim N, so for N=106N=10^6 the total is ≈108\approx 10^{8} operations versus 101210^{12}.

Step 3. The speedup is N25Nlog⁡2N=N5log⁡2N≈104\dfrac{N^2}{5N\log_2 N}=\dfrac{N}{5\log_2 N}\approx\mathbf{10^{4}} at N=106N=10^6: a four-order-of-magnitude acceleration, growing without bound as NN increases. This is why essentially every large convolution in the world — audio, imaging, radio astronomy, machine learning — is computed in the frequency domain via the FFT rather than directly.

Physics of the portrait

The convolution theorem sits at a crossroads of three centuries: an integral written down by eighteenth-century analysts, a transform founded by Fourier to solve heat flow, and an algebra of operations that only the twentieth century recognized as one structure.

Origins · 1 minconvolution theorem and how this was discovered
CT
convolution theorem
the folding integral (f∗g)(x)=∫f(y)g(x−y)dy and its Fourier diagonalization · linear systems and integral transforms

The convolution integral is older than the theorem that tames it. It surfaces in d'Alembert's work on vibrating strings in 1754 and, more consequentially, in Laplace's probability calculus of the 1780s, where the density of a sum of independent quantities is a "composition" of their densities — convolution in all but name. The transform that would diagonalize it arrived with Joseph Fourier's 1822 Théorie analytique de la chaleur, whose decomposition of heat flow into sinusoids is precisely the basis in which every translation, and hence every convolution, becomes a multiplication. For a century the pieces sat apart: German analysts spoke of the Faltung — the "folding" of one function onto another — and Vito Volterra, in his theory of integral equations around 1910, treated convolution as the product of a commutative algebra. Harmonic analysis fused them: Norbert Wiener's Tauberian theorems of the early 1930s placed convolution at the centre of the subject, and the rigorous L1L^1, L2L^2, and distributional statements were settled by Plancherel, Bochner, and finally Laurent Schwartz's tempered distributions, which gave f∗δ=ff*\delta=f and δ^=const\hat\delta=\mathrm{const} a precise meaning. The decisive practical turn came in 1965, when Cooley and Tukey rediscovered the fast Fourier transform: it made "transform, multiply, invert" cheaper than direct convolution and turned a theorem of pure analysis into the workhorse of signal processing, imaging, and machine learning.

History
1754
— d'Alembert writes an early convolution-type integral in work on vibrating strings
1782
— Laplace composes probability densities of sums, convolution in all but name
1822
— Fourier's heat treatise founds the transform that diagonalizes convolution
1910
— Volterra casts convolution as the product in his algebra of integral equations
1933
— Wiener's Tauberian theorems place convolution at the centre of harmonic analysis
1965
— Cooley and Tukey's FFT makes transform-domain convolution the everyday method

Going further

Texts. Stone & Goldbart, Mathematics for Physics, ch. on Fourier methods (the symmetric convention used here) · Arfken & Weber, Mathematical Methods for Physicists, Fourier-transform chapter (Green's functions and contour inversion) · Hassani, Mathematical Physics, integral-transforms chapters · Riley, Hobson & Bence, Mathematical Methods for Physics and Engineering, §13 (integral transforms) · Reed & Simon, Methods of Modern Mathematical Physics II (the L1L^1/L2L^2/distribution statements) · Bracewell, The Fourier Transform and Its Applications (the engineering and imaging face). Key numerical anchors used throughout: the norm bound ∥f∗g∥1≤∥f∥1∥g∥1\|f*g\|_1\le\|f\|_1\|g\|_1; the underdamped Green's function G(t)=θ(t)e−γtsin⁡(ωt)/ωG(t)=\theta(t)e^{-\gamma t}\sin(\omega t)/\omega with ω=ω02−γ2\omega=\sqrt{\omega_0^2-\gamma^2}, giving ω=4\omega=4 for ω0=5,γ=3\omega_0=5,\gamma=3; the Gaussian quadrature σ=32+42=5\sigma=\sqrt{3^2+4^2}=5 and peak 1/(52π)=0.07981/(5\sqrt{2\pi})=0.0798; the uniform-uniform triangular density with variance 1/61/6; and the FFT cost ∼5Nlog⁡2N\sim 5N\log_2 N versus N2N^2, speedup ≈104\approx10^4 at N=106N=10^6.

Prerequisites. The Fourier Transform · Properties of the Fourier Transform · The Dirac Delta Function. Leads to. Solving Differential Equations by Transform Methods · Green's Functions via Integral Transforms · Tempered Distributions and Fourier Transforms · Parseval's and Plancherel's Theorems.

Ask the tutor: Ask me to walk through inverting a specific Green's function by contour integration, or to show how the characteristic-function version of this theorem drives the central limit theorem.

Does the convolution theorem depend on which Fourier convention I use?

The structure does not; only the numerical constant does. In the symmetric convention the theorem reads f∗g^=2π f^ g^\widehat{f*g}=\sqrt{2\pi}\,\hat f\,\hat g, while in the ordinary-frequency convention f^(ν)=∫f e−2πiνxdx\hat f(\nu)=\int f\,e^{-2\pi i\nu x}\mathrm{d}x it is simply f∗g^=f^ g^\widehat{f*g}=\hat f\,\hat g with no constant at all. Physicists often use the "angular frequency, constant on the inverse" convention, which puts a bare f^g^\hat f\hat g on one side too. The safe practice is to fix one convention at the start, note where its 2π2\pi lives, and never mix — a stray 2π\sqrt{2\pi} is almost always a silent convention switch, not real physics.

Why does convolution become multiplication, intuitively?

Because the Fourier transform is the basis that diagonalizes translation. Shifting a function by aa multiplies its mode eikxe^{ikx} by the number e−ikae^{-ika} — the modes are eigenvectors of every shift operator. Convolution with gg is nothing but a weighted continuous sum of shifts, the weights being gg itself, so in the shift-diagonalizing basis it can only multiply each mode by a number, namely g^(k)\hat g(k). It is the exact analogue of how a matrix that commutes with a diagonalizable operator is itself diagonal in that operator's eigenbasis: convolutions all commute with translations, so they are all "diagonal" in the Fourier basis.

What is the Green's function, and how does the theorem produce it?

The Green's function GG is the response of a linear differential operator to a unit impulse δ\delta — its impulse response. For a constant-coefficient operator LL, transforming Ly=fLy=f gives P(ik) y^=f^P(ik)\,\hat y=\hat f, where PP is the operator's symbol; solving gives y^=f^/P(ik)\hat y=\hat f/P(ik), a product of transforms. Reading the convolution theorem backwards, a product of transforms inverts to a convolution, so y=G∗fy=G*f with G^∝1/P(ik)\hat G\propto 1/P(ik). The physics is that any linear system's output is its impulse response smeared over the input — which is why GG, computed once, solves the equation for every forcing ff.

Can I convolve functions that are not integrable, like sin or a constant?

Not within the elementary L1L^1 theory, where the defining integral can diverge and the transforms may not exist as functions. Two extensions rescue most cases. First, L2L^2: for square-integrable functions the transform is defined via Plancherel and a density argument, and the theorem persists. Second, tempered distributions: objects like δ\delta, constants, and eik0xe^{ik_0x} have Fourier transforms as distributions, and convolution of a tempered distribution with a Schwartz function is well defined, with the theorem intact. What you cannot do is blindly convolve two arbitrary distributions — δ′∗δ′\delta'*\delta' and similar products need care, because multiplication of distributions (the dual side) is not always defined.

How is the FFT related to the convolution theorem?

The FFT is the algorithm that makes the theorem cheap. Direct convolution of two length-NN signals costs O(N2)O(N^2); the theorem says instead to Fourier-transform both, multiply pointwise, and inverse-transform. The discrete Fourier transform naively also costs O(N2)O(N^2) — but the fast Fourier transform of Cooley and Tukey computes it in O(Nlog⁡N)O(N\log N) by recursively splitting the sum, giving O(Nlog⁡N)O(N\log N) convolution overall (about 104×10^4\times faster at N=106N=10^6). One caveat: the DFT convolution is circular, so real applications zero-pad to avoid wrap-around before transforming.

What is the difference between convolution and correlation?

They differ only by a reflection of one argument. Convolution flips gg before sliding, (f∗g)(x)=∫f(y)g(x−y)dy(f*g)(x)=\int f(y)g(x-y)\mathrm{d}y; cross-correlation does not, (f⋆g)(x)=∫f(y)‾ g(x+y)dy(f\star g)(x)=\int \overline{f(y)}\,g(x+y)\mathrm{d}y. In Fourier space convolution multiplies the transforms, while correlation multiplies with a conjugate, f⋆g^∝f^‾ g^\widehat{f\star g}\propto\overline{\hat f}\,\hat g — which is what makes correlation the natural tool for matching a template to data (as in LIGO's searches) rather than blurring. Convolution is commutative and associative; correlation is neither, since the reflection breaks the symmetry.

Before this

Where this leads