Convolution, explained
5 min read
Short answer
The convolution (or for sequences) flips one function, slides it across the other and accumulates the overlap. It models filtering, blurring and the response of a linear system. Under the Fourier transform it becomes ordinary multiplication.
Why it appears
If a system is linear and time-invariant, its output is the input convolved with its impulse response. Each instant of the input contributes a scaled, delayed copy of the impulse response, and the output is their sum.
Convolution theorem
. Instead of an integral for each , multiply the spectra and transform back. This is why fast filtering and fast multiplication of big numbers use the FFT.
Worked example
Convolve the sequences and .
The result has length : ; ; ; ; . So the result is .
Try it yourself
What is the length of the convolution of sequences with lengths and ?
Show the answer
The result has length , because the first and last overlap positions each contribute one term.
Keep going with practice
Vidi's probability lessons use convolution for the distribution of a sum of independent variables.