Convolution

Complete guide to convolution. Definition, theorem, integral, discrete convolution, and applications.

About Convolution

Convolution combines two functions into a third: (f * g)(t) = ∫₀^t f(τ)g(t − τ) dτ for signals that start at t = 0. Its meaning for engineers is direct: the output of a linear time-invariant system is its input convolved with its impulse response h(t). Graphically, you flip g, slide it across f and add up the overlap at each shift.

The convolution theorem is what makes this practical. Convolution in time becomes multiplication in the transform domain: L{f * g} = F(s)·G(s) for the Laplace transform, and the same holds for the Fourier transform. So you can find a system's output by multiplying transforms and inverting, and you can invert a product F(s)G(s) by convolving the two inverses.

Sampled signals use discrete convolution, a sum instead of an integral; it is how digital filters and image kernels (blur, sharpen, edge detection) work. Correlation looks similar but does not flip the second signal, and it measures similarity rather than system response. Read the convolution theorem first, then its Laplace form, then discrete convolution and filtering.

The Convolution Integral

The convolution of two functions f and g is (f ∗ g)(t) = ∫ f(τ)g(t − τ) dτ, taken over all τ. For causal signals, which are zero for t < 0 (the usual case in circuits and control), the limits shrink to 0 and t: (f ∗ g)(t) = ∫₀ᵗ f(τ)g(t − τ) dτ. The variable τ is a dummy time; t is the time at which you want the result. Each output value is a weighted sum of the whole past of f, with g supplying the weights.

Key Formulas

Flip, Shift, Multiply, Integrate

Convolution is easiest to see graphically. Draw f(τ). Flip g to get g(−τ), then shift it right by t to get g(t − τ). Multiply the two curves point by point and find the area under the product: that area is the output at time t. Repeat for every t. For example, convolving f(t) = e^(−t)u(t) with a unit step g(t) = u(t) gives ∫₀ᵗ e^(−τ) dτ = 1 − e^(−t), which is the running integral of e^(−t). Convolving two exponentials gives e^(−at) ∗ e^(−bt) = (e^(−at) − e^(−bt))/(b − a) for a ≠ b.

Why Convolution Matters: Linear Time-Invariant Systems

For any linear time-invariant (LTI) system, such as an RLC circuit, a filter or a mechanical system near equilibrium, the output is the input convolved with the impulse response: y(t) = (h ∗ x)(t), where h(t) is the output when the input is a unit impulse δ(t). That means a single measured or calculated function h(t) predicts the response to every possible input. The impulse itself is the identity element: δ ∗ x = x.

The Convolution Theorem

Convolution in time becomes multiplication in the transform domain: L{f ∗ g} = F(s)G(s) for the Laplace transform, and the same holds for the Fourier transform. This is why engineers work with transfer functions: instead of evaluating a convolution integral, they multiply Y(s) = H(s)X(s) and invert. The theorem also works in reverse, which is how products of transforms are inverted: L⁻¹{F(s)G(s)} = (f ∗ g)(t).

Discrete Convolution, Images and Probability

For sequences, the integral becomes a sum: y[n] = Σₖ x[k]h[n − k]. Convolving a length-N sequence with a length-M sequence gives N + M − 1 values; for example, [1, 2, 3] ∗ [1, 1] = [1, 3, 5, 3]. This is the operation inside every FIR digital filter. In image processing, a small 2-D kernel slides over an image to blur, sharpen or detect edges. In probability, the density of the sum of two independent random variables is the convolution of their densities. Correlation looks similar but does not flip the second function, so it measures similarity rather than system response.

Convolution: Frequently Asked Questions

Convolution combines two functions by sliding one (flipped) across the other and adding up their products. For a linear time-invariant system, it gives the output as the input convolved with the system's impulse response.

All Convolution Topics (6 articles)

Try the LapCalc calculator

Exact Laplace transforms with every step, free, plus free calculators for partial fractions, ODEs, circuits, control and Fourier series. Premium adds the inverse Laplace calculator and AI explanations.

Open LapCalc