Convolution and Laplace Transforms

April 13, 2026

Problem

Compute (f * g)(t) = integral from 0 to t of f(tau) g(t - tau) d tau for f(t) = e^(-t) and g(t) = t. Verify the Laplace convolution theorem L{f * g} = F(s) G(s), and animate the sliding integral.

Explanation

What convolution is

The convolution of two functions ff and gg (on [0,)[0, \infty)) is (fg)(t)=0tf(τ)g(tτ)dτ.(f * g)(t) = \int_{0}^{t} f(\tau) \, g(t - \tau) \, d\tau.

Picture it as a sliding integral: for each output time tt, you flip gg about the vertical axis, shift it right by tt, multiply pointwise with ff, and integrate. As tt changes, the flipped-shifted gg slides along and the overlap area updates — that area is the value of (fg)(t)(f * g)(t).

Why it matters

For any causal linear time-invariant (LTI) system with impulse response h(t)h(t) (see #191), the response to an arbitrary input x(t)x(t) is y(t)=(hx)(t)=0th(τ)x(tτ)dτ.y(t) = (h * x)(t) = \int_{0}^{t} h(\tau) \, x(t - \tau) \, d\tau.

In other words, once you know hh, you know everything. This is the central formula of linear systems theory — signal processing, control, electrical engineering, optics, and image processing all live here.

The Laplace convolution theorem

L{(fg)(t)}=F(s)G(s).\mathcal{L}\{(f * g)(t)\} = F(s) \cdot G(s).

Convolution in the time domain ↔ multiplication in the Laplace domain. This is remarkable: the complicated sliding-integral formula becomes a simple product after transforming. It's also one of the main reasons engineers think in the frequency / ss-domain — convolutions become arithmetic.

The given problem

Compute (fg)(t)(f * g)(t) for f(t)=etf(t) = e^{-t}, g(t)=tg(t) = t, and verify the convolution theorem.

Step-by-step computation (direct)

(fg)(t)=0teτ(tτ)dτ.(f * g)(t) = \int_{0}^{t} e^{-\tau} \cdot (t - \tau) \, d\tau.

Split: =t0teτdτ    0tτeτdτ.= t \int_{0}^{t} e^{-\tau} \, d\tau \;-\; \int_{0}^{t} \tau \, e^{-\tau} \, d\tau.

First piece. t0teτdτ=t[eτ]0t=t(1et).t \int_{0}^{t} e^{-\tau} \, d\tau = t \bigl[-e^{-\tau}\bigr]_{0}^{t} = t \bigl(1 - e^{-t}\bigr).

Second piece (integration by parts with u=τu = \tau, dv=eτdτdv = e^{-\tau} d\tau). 0tτeτdτ=[τeτ]0t+0teτdτ=tet+(1et).\int_{0}^{t} \tau \, e^{-\tau} \, d\tau = \bigl[-\tau e^{-\tau}\bigr]_{0}^{t} + \int_{0}^{t} e^{-\tau} d\tau = -t e^{-t} + (1 - e^{-t}).

Combine. (fg)(t)=t(1et)[tet+1et](f * g)(t) = t \bigl(1 - e^{-t}\bigr) - \bigl[-t e^{-t} + 1 - e^{-t}\bigr] =ttet+tet1+et= t - t e^{-t} + t e^{-t} - 1 + e^{-t} =t1+et= \boxed{\, t - 1 + e^{-t} \,}

Verification via the Laplace convolution theorem

Transform each piece: F(s)=L{et}=1s+1,G(s)=L{t}=1s2.F(s) = \mathcal{L}\{e^{-t}\} = \frac{1}{s + 1}, \qquad G(s) = \mathcal{L}\{t\} = \frac{1}{s^{2}}.

Product: F(s)G(s)=1s2(s+1).F(s) \cdot G(s) = \frac{1}{s^{2}(s + 1)}.

Partial-fraction decomposition: 1s2(s+1)=As+Bs2+Cs+1.\frac{1}{s^{2}(s + 1)} = \frac{A}{s} + \frac{B}{s^{2}} + \frac{C}{s + 1}.

Multiply through and solve:

  • Set s=0s = 0: 1=B1    B=11 = B \cdot 1 \implies B = 1 (after multiplying by s2s^{2}).
  • Set s=1s = -1: 1=C1    C=11 = C \cdot 1 \implies C = 1 (after multiplying by s+1s + 1).
  • Match s2s^{2} coefficient in 1=As(s+1)+B(s+1)+Cs21 = A s (s+1) + B(s+1) + C s^{2}: 0=A+C    A=10 = A + C \implies A = -1.

So 1s2(s+1)=1s+1s2+1s+1.\frac{1}{s^{2}(s + 1)} = -\frac{1}{s} + \frac{1}{s^{2}} + \frac{1}{s + 1}.

Inverse-transform: L1 ⁣{1s+1s2+1s+1}=1+t+et=t1+et.  \mathcal{L}^{-1}\!\left\{-\frac{1}{s} + \frac{1}{s^{2}} + \frac{1}{s + 1}\right\} = -1 + t + e^{-t} = t - 1 + e^{-t}. \; \checkmark

Same answer. Two routes, one truth — the convolution theorem works.

Verification of properties at boundary points

  • t=0t = 0: (fg)(0)=00=0(f * g)(0) = \int_{0}^{0} = 0. Our formula: 01+1=00 - 1 + 1 = 0
  • tt \to \infty: t1+ett - 1 + e^{-t} \to \infty (linearly). Makes sense — g(t)=tg(t) = t is already unbounded, and convolving with a decaying ff doesn't tame that.

Properties of convolution

Very much like ordinary multiplication, with a few wrinkles:

  • Commutative: (fg)(t)=(gf)(t)(f * g)(t) = (g * f)(t). Proof: substitute σ=tτ\sigma = t - \tau in the integral.
  • Associative: (fg)h=f(gh)(f * g) * h = f * (g * h).
  • Distributive: f(g+h)=fg+fhf * (g + h) = f * g + f * h.
  • Scalar-linear: (cf)g=c(fg)(c f) * g = c (f * g).
  • Identity: δf=f\delta * f = f. The Dirac delta is the multiplicative identity for convolution.
  • NOT idempotent / NOT pointwise: fff2f * f \ne f^{2} in general.

Connection to the impulse response recipe

For an LTI system with impulse response h(t)h(t), the step response is s(t)=(hu)(t)=0th(τ)dτ,s(t) = (h * u)(t) = \int_{0}^{t} h(\tau) \, d\tau, i.e. the step response is the integral of the impulse response. That's why impulse responses are often shown alongside step responses — they're derivatives/integrals of each other.

For the simple RC low-pass filter with h(t)=1RCet/(RC)h(t) = \dfrac{1}{RC} e^{-t/(RC)} (a decaying exponential), convolving with any input gives a smoothed version — the classic "low-pass" behaviour. Convolution is literally the math behind averaging filters.

A slick reformulation

Via the convolution theorem, any ODE-with-zero-initial-conditions problem Ly=g(t),y(0)=y(0)==0L y = g(t), \quad y(0) = y'(0) = \ldots = 0 has solution y(t)=(hg)(t),y(t) = (h * g)(t), where hh is the impulse response of LL (inverse Laplace of 1/L(s)1/L(s)). No need to redo the partial-fraction algebra for each new gg — just convolve.

Common mistakes

  • Wrong integration variable. It's dτd\tau, not dtdt. tt is the output time (held fixed) while τ\tau sweeps across [0,t][0, t].
  • Upper limit \infty instead of tt. For causal functions on [0,)[0, \infty), the upper limit is tt because g(tτ)=0g(t - \tau) = 0 for τ>t\tau > t.
  • Forgetting the reflection. Convolution uses g(tτ)g(t - \tau) (a reflection-plus-shift), not g(τt)g(\tau - t).
  • Confusing convolution with pointwise product. (fg)(t)=f(t)g(t)(f \cdot g)(t) = f(t) g(t) — completely different. (fg)(t)(f * g)(t) is an integral.

Try it in the visualization

Slide tt along the time axis and watch the flipped-shifted g(tτ)g(t - \tau) move through f(τ)f(\tau). The area of their pointwise product is the value of (fg)(t)(f * g)(t) — animate this area growing, peaking, and evolving as tt advances.

Interactive Visualization

Parameters

2.50
6.00
1.50
6.00
1.00
Your turn

Got your own math or physics problem?

Turn any problem into an interactive visualization like this one — powered by AI, generated in seconds. Free to try, no credit card required.

Sign Up Free to Try It30 free visualizations every day
Convolution and Laplace Transforms | MathSpin