The Intuition of Convolution
Flip, slide, and read the overlap
In the upper figure the gold rectangular pulse is the input x(τ), and the blue curve is h(t − τ), the response h flipped and slid to the instant t. The green area of their product is the output y(t), and the lower figure is that output curve. Move the slide position t and watch when the area is largest: at that instant the dot on the lower curve also reaches the peak.
The output is the overlap area
To find the output at one instant t takes four steps: flip the response (h(−τ)), slide it to the instant t (h(t − τ)), multiply it by the input (x(τ)·h(t − τ)), and integrate the product. The stretch where the product is not 0 is the overlap, and its area is y(t), so flip, slide, multiply and integrate are all there is to convolution.
Why the flip
In the previous unit, the input impulse x(τ) at instant τ left x(τ)·h(t − τ) in the output, because its delay was t − τ. The output at instant t is the sum of these contributions from every τ, so y(t) = ∫ x(τ) h(t − τ) dτ. With respect to the integration variable τ, the argument of h is t − τ, so its sign is reversed, and in the figure h appears flipped left to right. The flip comes naturally out of the delay.
Commutativity and discrete convolution
Convolution is commutative. Since x ∗ h = h ∗ x, the result is the same whichever of the input and the response is flipped. It is associative as well, so systems connected in series can be merged into one. For discrete signals the integral becomes a sum, y[n] = Σ x[k] h[n − k], and a digital filter computes exactly this sum at every sample.
Back to the first screen
Every time the slide position moved, the green area changed, and that area matched the value of the lower output curve at that instant exactly. When there was hardly any overlap the output was close to 0, and near t = 1, where the overlap was largest, the output reached its peak. Convolution slides the flipped response across the input and gathers the overlapping area at each instant to build the output curve. With a single impulse response and this one operation, every output of an LTI system can be computed.
With the picture of overlap in hand, it is time to turn it into numbers. In the next unit, computing convolution, you integrate the convolution of simple signals such as rectangular pulses piece by piece and check by hand which formulas produce the peak and the tail seen in the figure. For this unit's figure, the output rises as y = (1 − e−1.5t)/1.5 for 0 ≤ t ≤ 1 and dies away exponentially for t > 1. The four actions of flip, slide, multiply and integrate set exactly the boundaries that divide the pieces.