BetaFree coursewareRewritten from MIT OpenCourseWareCC BY-NC-SA 4.0
Open CosmologyPhysics & cosmology, from high school to a graduate year

The convolution formula

There is no simple formula for the Laplace transform of a product fg (and Mattuck says there never will be), but there is one for the product of transforms: F(s)G(s) is the transform of the convolution (f ∗ g)(t) = ∫₀ᵗ f(u)g(t − u) du, the continuous analogue of multiplying power series. Convolution is commutative, because FG = GF, even though the formula does not look symmetric. Examples: t² ∗ t = t⁴/12, checked through 2/s³ · 1/s² = 2/s⁵, and f ∗ 1 = ∫₀ᵗ f(u) du. The proof is a change of variables in a double integral, t = u + v, with Jacobian 1 and new limits 0 ≤ u ≤ t. Convolution is used for its own sake: if waste is dumped at rate f(t) and decays at rate k, the amount present at time t is f ∗ e^(−kt).

You need this first

Full reading path (33 pages)
  1. The derivative: slope of the tangent line and rate of change (18.01)
  2. Limits and continuity (18.01)
  3. Derivatives of sine and cosine, and the product and quotient rules (18.01)
  4. The chain rule and higher derivatives (18.01)
  5. Implicit differentiation and the derivatives of inverse functions (18.01)
  6. Exponentials and logarithms: the number e and its derivatives (18.01)
  7. Linear and quadratic approximations (18.01)
  8. Curve sketching with the first and second derivative (18.01)
  9. Sketching strategy and maximum–minimum problems (18.01)
  10. More max–min, and related rates (18.01)
  11. A ring on a string, and Newton's method (18.01)
  12. The mean value theorem and inequalities (18.01)
  13. Differentials and antiderivatives (18.01)
  14. Differential equations and separation of variables (18.01)
  15. Direction fields, isoclines and integral curves (18.03)
  16. Euler's method and better numerical methods (18.03)
  17. First-order linear equations and integrating factors (18.03)
  18. Substitutions: scaling, Bernoulli and homogeneous equations (18.03)
  19. Autonomous equations, critical points and stability (18.03)
  20. Complex numbers and complex exponentials (18.03)
  21. Constant coefficients: steady state, superposition and sinusoidal input (18.03)
  22. Combining sine and cosine; models for first-order linear equations (18.03)
  23. Second-order linear equations with constant coefficients (18.03)
  24. Complex characteristic roots and damped oscillations (18.03)
  25. Linear operators, the Wronskian and normalized solutions (18.03)
  26. Inhomogeneous equations, particular solutions and stability (18.03)
  27. Particular solutions: the exponential input theorem (18.03)
  28. Resonance and beats (18.03)
  29. Introduction to Fourier series (18.03)
  30. Fourier series: even and odd functions, convergence and other periods (18.03)
  31. Particular solutions via Fourier series, and how we hear (18.03)
  32. Introduction to the Laplace transform (18.03)
  33. Laplace transforms of derivatives and solving initial value problems (18.03)
On this page · 5 sections
  1. Why a convolution
  2. The definition
  3. The convolution formula
  4. Convolution for its own sake
  5. Summary

One of the harder lectures of the term: the convolution, a peculiar way of combining two functions ff and gg into a third, written f∗gf * g (transcript, p. 1). It has a formal motivation from the Laplace transform and a physical one.

Why a convolution#

Transforms are a pain to compute, so one wants to build new ones from old (transcript, p. 1). Sums are easy. Is there a formula for the transform of a product f(t)g(t)f(t)g(t)? No simple one, and Mattuck says there never will be. But the other question has an answer: the product F(s)G(s)F(s)G(s) of the transforms is the transform of something built from ff and gg, the convolution (p. 1).

The power-series analogy explains why to expect this (p. 1). Multiplying the coefficients of ∑anxn\sum a_nx^n and ∑bnxn\sum b_nx^n term by term gives nothing related to the sums. But multiplying the two series gives a new series ∑cnxn\sum c_nx^n whose coefficients can be computed from the two sets of coefficients, and that formula is a discrete convolution. (Collecting the terms in xnx^n, each cnc_n is the sum of all products of an aa and a bb whose indices add up to nn; the lecture leaves this to the listener.)

The definition#

Convolution
(f∗g)(t)=∫0tf(u) g(t−u) du(f * g)(t) = \int_0^{t}f(u)\,g(t - u)\,du
In words

(f * g)(t) equals the integral from 0 to t of f(u) g of the quantity t minus u, d u

uu is a dummy variable, integrated out (p. 1). (The transcript says "dtdt" here; the lecture corrects the integration variable to dudu a few lines later, p. 1.) The operation is commutative, f∗g=g∗ff * g = g * f, although the formula treats ff and gg differently: the transform of either side is FG=GFFG = GF (p. 1).

Example (pp. 1–2). t2∗t=∫0tu2(t−u) du=t43−t44=t412t^2 * t = \int_0^t u^2(t - u)\,du = \frac{t^4}{3} - \frac{t^4}{4} = \frac{t^4}{12}. By transforms: 2!s3⋅1s2=2s5\frac{2!}{s^3}\cdot\frac{1}{s^2} = \frac{2}{s^5}, and since 4!s5\frac{4!}{s^5} is the transform of t4t^4, this is 112t4\frac{1}{12}t^4 (p. 2). Not t3t^3, and with an unpredictable constant: convolution is not ordinary multiplication (p. 2).

Convolution with 1 (p. 2). Since g=1g = 1 has no tt to replace,

Convolution with 1
f∗1=∫0tf(u) duf * 1 = \int_0^{t}f(u)\,du
In words

f * 1 equals the integral from 0 to t of f(u) d u

The convolution formula#

Convolution formula
L(f∗g)=F(s) G(s)\mathcal{L}(f * g) = F(s)\,G(s)
In words

script L(f * g) equals capital F (s) capital G (s)

Proof (pp. 2–3), a marvellous exercise in changing variables in a double integral. Write the product of the two transforms with separate dummy variables and read the easy rule for a product of integrals backwards (p. 2):

Product as a double integral
F(s) G(s)=∫0∞e−suf(u) du∫0∞e−svg(v) dv=∫0∞∫0∞e−s(u+v)f(u) g(v) du dvF(s)\,G(s) = \int_0^{\infty}e^{-su}f(u)\,du\int_0^{\infty}e^{-sv}g(v)\,dv = \int_0^{\infty}\int_0^{\infty}e^{-s(u + v)}f(u)\,g(v)\,du\,dv
In words

capital F (s) capital G (s) equals the integral from 0 to infinity of e to the power minus s u f(u) d u the integral from 0 to infinity of e to the power minus s v g(v) d v equals the integral from 0 to infinity of the integral from 0 to infinity of e to the power minus s the quantity u plus v, end of power, f(u) g(v) d u d v

Introduce t=u+vt = u + v and keep uu, so v=t−uv = t - u (p. 2). The Jacobian of (u,v)(u, v) with respect to (u,t)(u, t) is the determinant with rows 1,01, 0 and −1,1-1, 1, which is 1 (p. 3). The new limits are the harder part: integrating first in uu with tt fixed moves along a line u+v=tu + v = t, which enters the quadrant at u=0u = 0 and leaves at v=0v = 0, that is u=tu = t; then tt runs from 0 to ∞\infty (p. 3). Since e−ste^{-st} does not involve uu, it moves outside (p. 3):

Result of the change of variables
F(s) G(s)=∫0∞e−st(∫0tf(u) g(t−u) du)dt=L(f∗g)F(s)\,G(s) = \int_0^{\infty}e^{-st}\left(\int_0^{t}f(u)\,g(t - u)\,du\right)dt = \mathcal{L}(f * g)
In words

capital F (s) capital G (s) equals the integral from 0 to infinity of e to the power minus s t ( the integral from 0 to t of f(u) g of the quantity t minus u, d u )d t equals script L(f * g)

Convolution for its own sake#

Most people who use convolution do not use it in connection with the Laplace transform (transcript, p. 3). The lecture mentions acid rain leaching from soil into a river, and climate deduced from ice cores (p. 3). An all-purpose model is radioactive dumping (pp. 3–4). A plant dumps radioactive waste at rate f(t)f(t), so the amount dumped between uiu_i and ui+Δuu_i + \Delta u is about f(ui)Δuf(u_i)\Delta u. By time tt it has decayed for t−uit - u_i, leaving f(ui) e−k(t−ui)Δuf(u_i)\,e^{-k(t - u_i)}\Delta u. Adding up and letting Δu→0\Delta u \to 0 turns the Riemann sum into an integral (p. 4):

Amount in the pile
∫0tf(u) e−k(t−u) du=f(t)∗e−kt\int_0^{t}f(u)\,e^{-k(t - u)}\,du = f(t) * e^{-kt}
In words

the integral from 0 to t of f(u) e to the power minus k the quantity t minus u, end of power, d u equals f(t) * e to the power minus k t

the convolution of the dumping function, which knows only how much was added, with the decay function, which knows only the material (p. 4). Waste that does not decay gives f∗1=∫0tf(u) duf * 1 = \int_0^tf(u)\,du, the familiar total (p. 4). And to interpret a convolution with tt, think of something that grows linearly, such as newly hatched chicks early in life: f∗tf * t is the total mass of chickens on a farm where chicks appear at rate ff (pp. 4–5).

Dumping at a constant rate 1: the pile of undecaying waste, 1∗1=t1 * 1 = t, grows without limit, while waste with k=0.5k = 0.5 gives 1∗e−0.5t=(1−e−0.5t)/0.51 * e^{-0.5t} = (1 - e^{-0.5t})/0.5, computed from the convolution, which levels off at 1/k=21/k = 2.
Worked example

Three convolutions

(a) Compute et∗e2te^t * e^{2t} from the definition and check it by transforms. (b) Waste is dumped at 3 kg a year and decays with k=0.1k = 0.1 per year. How much is left after 10 years? (c) Find the function whose transform is 1s2(s+1)\frac{1}{s^2(s + 1)} as a convolution.

(a) Two exponentials

∫0teu e2(t−u) du=e2t∫0te−u du=e2t(1−e−t)=e2t−et\int_0^te^u\,e^{2(t - u)}\,du = e^{2t}\int_0^te^{-u}\,du = e^{2t}(1 - e^{-t}) = e^{2t} - e^t. Check: 1s−1⋅1s−2=1s−2−1s−1\frac{1}{s - 1}\cdot\frac{1}{s - 2} = \frac{1}{s - 2} - \frac{1}{s - 1}, the transform of e2t−ete^{2t} - e^t.

(b) A decaying pile

At t=10t = 10: (3∗e−0.1t)(10)=∫0103e−0.1(10−u) du=30(1−e−1)≈19.0(3 * e^{-0.1t})(10) = \int_0^{10}3e^{-0.1(10 - u)}\,du = 30(1 - e^{-1}) \approx 19.0 kg, of the 30 kg dumped.

(c) An inverse by convolution

1s2⋅1s+1\frac{1}{s^2}\cdot\frac{1}{s + 1} is the transform of t∗e−t=∫0tu e−(t−u) du=t−1+e−tt * e^{-t} = \int_0^tu\,e^{-(t - u)}\,du = t - 1 + e^{-t}. Check: 1s2−1s+1s+1=1s2(s+1)\frac{1}{s^2} - \frac1s + \frac{1}{s + 1} = \frac{1}{s^2(s + 1)}.

Summary#

  • (f∗g)(t)=∫0tf(u)g(t−u) du(f * g)(t) = \int_0^tf(u)g(t - u)\,du, and L(f∗g)=F(s)G(s)\mathcal{L}(f * g) = F(s)G(s); convolution is commutative.
  • t2∗t=t412t^2 * t = \frac{t^4}{12}; f∗1=∫0tf duf * 1 = \int_0^tf\,du.
  • Proof: change variables to t=u+vt = u + v in a double integral (Jacobian 1, limits 0≤u≤t0 \le u \le t).
  • Dumping at rate ff with decay e−kte^{-kt} leaves f∗e−ktf * e^{-kt} in the pile.

Symbols on this page

Show the 27 symbols used here
Δ\Delta capital delta.
A change or difference in a quantity, e.g. Δx = x₂ − x₁. Say it: “capital delta”.
∞\infty infinity.
Infinity: larger than any number. Say it: “infinity”.
≈\approx approximately equal.
Is approximately equal to. Say it: “is approximately”.
≤\le less than or equal.
Is less than or equal to. Say it: “is less than or equal to”.
→\to arrow.
Goes to (tends to), or becomes. Say it: “goes to”.
⋅\cdot dot.
Times (multiplication). Between two vectors: the dot product. Say it: “times”.
∫\int integral.
Integral: the sum of infinitely many small pieces, such as the area under a curve. Say it: “the integral of”.
∑\sum sum.
Sum: add up the terms over the range written below and above. Say it: “the sum of”.
aa a.
A coefficient of the first power series (in “an a and a b”). Say it: “a”.
GG G.
Newton's gravitational constant, G ≈ 6.674 × 10⁻¹¹ m³ kg⁻¹ s⁻². Unit: m³/(kg·s²). Say it: “capital G”.
kk k.
The decay rate constant of the radioactive waste. Unit: 1/s (per year in the example). Say it: “k”.
xx x.
The variable of a power series. Say it: “x”.
tt t.
Time, t ≥ 0; in the proof, the new variable u + v. Say it: “t”.
dd d.
The d of du, dv, dt. Say it: “d”.
nn n.
An index of a power series. Say it: “n”.
ee e.
Euler's number, 2.718… Say it: “e”.
ff f.
A function of t ≥ 0; in the dumping model, the dumping rate. Say it: “f”.
gg g.
A second function of t ≥ 0. Say it: “g”.
FF F.
The Laplace transform of f. Say it: “capital F”.
vv v.
A second dummy variable, replaced by t − u in the proof. Say it: “v”.
bb b.
A coefficient of the second power series. Say it: “b”.
ss s.
The transform variable. Say it: “s”.
uu u.
The dummy variable of integration: the time at which waste was dumped. Say it: “u”.
ana_{n} a n.
A coefficient of the first power series. Say it: “a sub n”.
uiu_{i} u sub i.
The start of the i-th small time interval. Say it: “u sub i”.
bnb_{n} b sub n.
A coefficient of the second power series. Say it: “b sub n”.
cnc_{n} c sub n.
A coefficient of the product of the two power series. Say it: “c sub n”.

Tap or click a symbol in a formula to see the same explanation. All symbols: symbols and notation.

Words on this page

Show the 20 words used here

New here

convolution.
A way of combining two functions by sliding one across the other and adding up their overlapping products at each shift.

Also used

p..
Page, in a reference to a source; pp. means pages, as in pp. 3–5.
Laplace transform.
A way of turning a function of time into a function of a new variable s, which changes differential equations into algebra. Explained in Introduction to the Laplace transform.
dummy variable.
The variable inside an integral or sum, which could be renamed without changing the result, like the t in ∫ f(t) dt. Explained in The second fundamental theorem of calculus.
commutative.
Of an operation: giving the same result in either order, as in a + b = b + a. Explained in Vectors.
proof.
A chain of reasoning showing beyond doubt that a statement follows from definitions and results already known. Explained in Limits and continuity.
double integral.
An integral over a region of the plane: cut the region into tiny pieces, multiply each by the function's value there, and add. Explained in Double integrals.
integral.
A sum of very many very small pieces, such as the area under a graph; it undoes taking a derivative. Explained in Rates of change and area under a graph.
Jacobian.
The matrix of all first partial derivatives of several functions of several variables, which gives their best linear approximation near a point. Explained in Nonlinear autonomous systems and the pendulum.
with respect to.
Taking that variable as the one that changes: a derivative with respect to t measures change as t changes, others held fixed. Explained in Average value, weighted averages and probability.
determinant.
A single number worked out from a square array of numbers (a matrix), which measures how the matrix stretches areas or volumes. Explained in Determinants and the cross product.
integration.
Finding an integral: adding up very many small pieces, or finding an antiderivative. Explained in Differentials and antiderivatives.
Riemann sum.
An estimate of an integral: cut the interval into strips, multiply each strip's width by a value of the function in it, and add. Explained in Definite integrals and Riemann sums.
linear.
The property that sums and multiples of solutions are again solutions, so the responses to separate inputs simply add. Explained in First-order linear equations and integrating factors.

Academic

transcript.
A written record of exactly what was said in a recorded lecture, word for word.
formally.
Following the rules or symbols exactly as written, sometimes without checking that each step makes sense.
motivate.
In science writing, to give a reason for introducing or trying something.
analogy.
A comparison that explains one thing by pointing to a similar, better-known one.
deduce.
To reach a conclusion by reasoning from what is already known.
model.
A simplified description of a real system, usually in equations, that keeps what matters and leaves out the rest.

Tap or click a word, here or in the text, for its meaning in this lesson. All words: the glossary. How many words are marked in the text: Reading options (the “Aa” button).

Where this leads

In cosmology

Pages that build on this

Practise

Check your understanding

  1. Which function has Laplace transform F(s)G(s)F(s)G(s)?
  2. What is t2∗tt^2 * t?
  3. Waste is dumped at rate f(t)f(t) and decays with rate constant kk. How much is in the pile at time tt?
0 of 3 answered

Flashcards

1 / 3