Convolution Integrals
Convolution is the operation whose transform is a product: . That's why a system's output is its input convolved with its impulse response: the output at any moment is a weighted memory of everything that came in before.
What the symbols mean
- Weighted memory
The input at time τ, weighted by how the system responds t − τ later.
Explanation
A convolution is simply a way of blending two functions: one is an input, the other says how strongly the system still remembers each past moment of it. "Convolution" comes from the Latin for rolling together, which fits the picture of one function being flipped and slid across the other. It's good for finding a system's output from its input, and for inverting products of transforms. The integral looks like a lot, but it's just three simple parts: (what came in at some earlier time ), (how much that still matters, seconds later), and (add up every earlier moment). So the output now is all the past inputs, each weighted by how well it's remembered. It's not as bad as it looks; bear with it.
Inverting products. Back in the computing transforms lesson we warned that the transform of a product isn't the product of the transforms. Convolution is the operation that does turn into a product. So if and you know each inverse, , even when partial fractions would be messy.
Meaning. Think about the impulse response from the last lesson. Any input can be pictured as a long string of tiny kicks, one at each time , with size . Each kick sets off a copy of the impulse response , started at time . Because the system is linear, the output is the sum of all those copies, and that sum is exactly the integral . So a linear system's output at time is a weighted sum of all past inputs, with weights given by its impulse response. This is how audio effects, image blurs and signal filters work.
Convolution is commutative: .
A common mistake. It's tempting to think is just , because the convolution of two functions is "some kind of product". It isn't: it's an integral over the whole past, and , not . The ordinary product has its own transform, and it isn't .
See it
Worked examples
Find using convolution.
- 1
Write it as a product of two table entries: is the transform of .
Practice
Type your answer and check it. Solve them all to complete the lesson.
Evaluate at .
Evaluate at .
Find .
Evaluate at .
Find .
An audio filter has impulse response . A constant signal switches on at , and the output is . Find .
The hardest one here. Get it, and you've got this lesson.
Solve with by writing as a convolution.
Where it's used
Reverb plugins convolve dry audio with a hall's impulse response; image blur and sharpening filters are 2D convolutions; neural networks for images are built from convolutions.