Differential Equations · Undergraduate

Convolution and the Convolution Theorem

Quick answer

The Laplace transform of a product is not the product of transforms, but the transform of a convolution is. The convolution (f * g)(t) adds up f at each earlier time τ, weighted by g at the elapsed time t − τ. The convolution theorem L{f * g} = F(s)G(s) lets you invert a product such as 1/(s²(s + 1)) without partial fractions, and it gives the solution of y″ + y = g(t) for any forcing g as y = ∫₀ᵗ sin(t − τ) g(τ) dτ: the response to each instant of forcing, added up.

What you'll learn

  • Compute convolutions of simple functions
  • Use the convolution theorem to invert products of transforms
  • Write the solution of a forced IVP as a convolution integral
  • Solve simple integral equations with Laplace transforms

Products of transforms

Inverting 1s2+1⋅G(s)\tfrac{1}{s^2 + 1}\cdot G(s) is a common last step when solving IVPs, and the inverse of a product is not the product of inverses. It is the convolution:

(f∗g)(t)=∫0tf(τ) g(t−τ) dτL{f∗g}=F(s) G(s)(f * g)(t) = \int_0^t f(\tau)\,g(t - \tau)\,d\tau \qquad \mathcal{L}\{f * g\} = F(s)\,G(s)

Convolution is commutative, f∗g=g∗ff * g = g * f, and a few small cases are worth knowing: 1∗1=t1 * 1 = t, t∗1=t22t * 1 = \tfrac{t^2}{2}, and et∗e2t=e2t−ete^{t} * e^{2t} = e^{2t} - e^{t}.

Why responses add up as a convolution

Consider y′′+y=g(t)y'' + y = g(t) starting from rest. A short burst of forcing at time τ\tau, of size g(τ) dτg(\tau)\,d\tau, is like a small impulse. The response to a unit impulse at time 00 is h(t)=sin⁡th(t) = \sin t, so a burst at time τ\tau produces g(τ) dτ sin⁡(t−τ)g(\tau)\,d\tau\,\sin(t - \tau) afterward. The equation is linear, so the responses to all the bursts add, and adding them is the integral

y(t)=∫0tsin⁡(t−τ) g(τ) dτ=(h∗g)(t)y(t) = \int_0^t \sin(t - \tau)\,g(\tau)\,d\tau = (h * g)(t)

In transform terms, Y=1s2+1G(s)=H(s)G(s)Y = \tfrac{1}{s^2 + 1}G(s) = H(s)G(s), which is the convolution theorem.

Worked examples

Common mistakes

Practice problems

  1. Compute t∗tt * t.

    Answer

    t36\tfrac{t^3}{6}

    Full solution

    ∫0tτ(t−τ) dτ=t32−t33\int_0^t \tau(t - \tau)\,d\tau = \tfrac{t^3}{2} - \tfrac{t^3}{3}. Check: 1s2⋅1s2=1s4\tfrac{1}{s^2} \cdot \tfrac{1}{s^2} = \tfrac{1}{s^4}, the transform of t36\tfrac{t^3}{6}.

  2. Compute 1∗sin⁡t1 * \sin t.

    Answer

    1−cos⁡t1 - \cos t

    Full solution

    ∫0tsin⁡τ dτ=1−cos⁡t\int_0^t \sin\tau\,d\tau = 1 - \cos t.

  3. Use convolution to find L−1{1s(s+1)}\mathcal{L}^{-1}\left\{\tfrac{1}{s(s + 1)}\right\}.

    Answer

    1−e−t1 - e^{-t}

    Full solution

    1∗e−t=∫0te−τ dτ1 * e^{-t} = \int_0^t e^{-\tau}\,d\tau.

  4. Write the solution of y′′+4y=g(t)y'' + 4y = g(t), y(0)=y′(0)=0y(0) = y'(0) = 0, as a convolution.

    Answer

    y=12∫0tsin⁡(2(t−τ))g(τ) dτy = \tfrac{1}{2}\int_0^t \sin\bigl(2(t - \tau)\bigr)g(\tau)\,d\tau

    Full solution

    Y=1s2+4G(s)Y = \tfrac{1}{s^2 + 4}G(s) and 1s2+4\tfrac{1}{s^2 + 4} inverts to 12sin⁡2t\tfrac{1}{2}\sin 2t.

  5. Using Exercise 4, solve y′′+4y=1y'' + 4y = 1 from rest.

    Answer

    14(1−cos⁡(2t))\tfrac{1}{4}(1 - \cos(2t))

    Full solution

    12∫0tsin⁡(2(t−τ)) dτ=14(1−cos⁡2t)\tfrac{1}{2}\int_0^t \sin(2(t - \tau))\,d\tau = \tfrac{1}{4}(1 - \cos 2t).

  6. Solve y(t)=1+∫0ty(τ) dτy(t) = 1 + \int_0^t y(\tau)\,d\tau.

    Answer

    y=ety = e^t

    Full solution

    The integral is 1∗y1 * y. Y=1s+YsY = \tfrac{1}{s} + \tfrac{Y}{s}, so Y=1s−1Y = \tfrac{1}{s - 1}.

  7. What is the impulse response of y′+3y=g(t)y' + 3y = g(t)?

    Answer

    h(t)=e−3th(t) = e^{-3t}

    Full solution

    H(s)=1s+3H(s) = \tfrac{1}{s + 3}. Any forcing gives y=∫0te−3(t−τ)g(τ) dτy = \int_0^t e^{-3(t - \tau)}g(\tau)\,d\tau.

  8. A student inverts 1s⋅1s\tfrac{1}{s} \cdot \tfrac{1}{s} as 1⋅1=11 \cdot 1 = 1. Correct it.

    Answer

    The inverse is 1∗1=t1 * 1 = t.

    Full solution

    A product of transforms corresponds to a convolution, and ∫0t1 dτ=t\int_0^t 1\,d\tau = t, which matches 1s2\tfrac{1}{s^2}.

Frequently asked questions

What is a convolution?

(f * g)(t) = ∫₀ᵗ f(τ) g(t − τ) dτ. It combines two functions by weighting each past value of f by g at the time elapsed since.

What is the convolution theorem?

L{f * g} = F(s) G(s): the transform of a convolution is the product of the transforms.

Is convolution commutative?

Yes. f * g = g * f, as the substitution u = t − τ shows.

What is the impulse response?

The solution h(t) with zero initial conditions and forcing δ(t). For any forcing g, the solution is h * g.

Does the transform of fg equal FG?

No. The product FG comes from the convolution f * g, not from the ordinary product of the functions.