Book 3A

© 2026 Neckpinch · www.neckpinch.com · All rights reserved.

Course 3Book 3A: Measure, Integration and LᵖChapter 8

Convolution and Mollifiers

Smoothing by convolution, approximate identities, and Gaussian blur as heat flow.

58 min read · Updated Nov 18, 2026

Not in Tao's measure book. Read Tao, An Epsilon of Room I, §1.3 for density in LpL^p, and either Stein and Shakarchi, Real Analysis, chapter 3 (approximations to the identity), or Evans, Partial Differential Equations, Appendix C.5 (mollifiers). This chapter is the canonical home for both; later repeats can be skipped.

In this chapter · 8 sections
  1. 8.1From the size of functions to smoothing them
  2. 8.2Gaussian blur is heat flow
  3. 8.3Convolution
  4. 8.3.1Convolution adds independent random variables
  5. 8.3.2Convolution smooths
  6. 8.4Mollifiers
  7. 8.4.1Approximate identities
  8. 8.5Convolution with the Gaussian solves the heat equation
  9. 8.5.1Convolution and the Fourier transform
  10. 8.5.2Why convolution is everywhere
  11. 8.5.3Heat spreads at infinite speed
  12. 8.5.4Heat and random walks
  13. 8.5.5Convolution on a computer
  14. 8.5.6What the formula says about size and smoothness
  15. 8.5.7Duhamel's principle
  16. 8.5.8Heat on the circle
  17. 8.5.9Smoothing on a manifold
  18. 8.6From Book 3A into Book 4A
  19. 8.7History
  20. 8.8Exercises
  21. ↗Free resources

Convolution is averaging with a weight. Given a function ff and a weight gg, the convolution f∗gf * g replaces each value of ff by a weighted average of the values of ff nearby. The idea has appeared three times already, without the name: in the polynomial kernels of the Weierstrass theorem (2B.5 Uniform Convergence and Arzelà–Ascoli), in Fejér's kernel and the heat kernel on the ring (2B.7 Fourier Series and the First Heat Equation), and in the concentrating densities that converge to a Dirac mass (3A.4 Measures, Probability and Weights). This chapter gives it a home.

Three facts make convolution indispensable. It smooths: the convolution is as smooth as the smoother of the two factors, because derivatives can be moved onto the weight. It approximates: convolving with a narrow weight of total mass 11 barely moves a function, in every LpL^p norm with p<∞p < \infty. And with the Gaussian weight it is the heat equation: blurring by a Gaussian of variance 2t2t is the same as letting heat flow for time tt. The first two facts make smooth functions dense in LpL^p, which is how every theorem in Books 4A and 6A is first proved for nice functions and then extended. The third is the first quantitative statement of thread H, which becomes Ricci flow's description as a heat equation for the metric.

By the end of this chapter you will be able to:

  • compute convolutions, and prove Young's inequality ∥f∗g∥p≤∥f∥1∥g∥p\|f * g\|_p \leq \|f\|_1\|g\|_p;
  • show that convolution with a smooth compactly supported function is smooth, and differentiate it;
  • build mollifiers and prove that f∗φε→ff * \varphi_\varepsilon \to f in LpL^p, so smooth compactly supported functions are dense;
  • recognise approximate identities, and prove their convergence;
  • show that convolution with the Gaussian solves the heat equation, with the semigroup law.

From the size of functions to smoothing them

3A.7 Lᵖ Spaces and Jensen’s Inequality built the LpL^p spaces, proved Hölder's and Minkowski's inequalities, including Minkowski's inequality for integrals and its consequence ∥f∗g∥p≤∥g∥1∥f∥p\|f*g\|_p \leq \|g\|_1\|f\|_p, and ended with Jensen's inequality and the observation that averaging against a probability density can only decrease a convex functional. It closed by noting what LpL^p cannot do: its functions need not be differentiable, and continuity, the best that 3A.7 Lᵖ Spaces and Jensen’s Inequality's density theorem offers, is far from the smoothness PDE needs. It also noted the remedy, already met in 3A.6 Modes of Convergence and Differentiation: averaging.

A warm-up shows how averaging produces smoothness, using only integrals of indicator functions. The moving average of the unit step ff over windows of half-width hh is the convolution of ff with the box 12h1[−h,h]\frac{1}{2h}\mathbf 1_{[-h, h]}, and 3A.6 Modes of Convergence and Differentiation computed it: a ramp, continuous but with corners at ±h\pm h. Average the ramp again with the same box, and the corners are rounded off: the result is made of quadratic pieces and has a continuous derivative. Each further averaging adds one more continuous derivative, as the example of repeated boxes below confirms, because each average integrates once more. The step, which has no derivative at the jump, becomes after kk averagings a function with k−1k - 1 continuous derivatives, and it stays close to the step when the windows are narrow.

This chapter turns the observation into theorems. Convolution with a smooth weight produces a smooth function, because derivatives fall on the weight; convolution with a narrow weight of mass 11 approximates the identity, so every LpL^p function with p<∞p < \infty is a limit of smooth ones; and convolution with the Gaussian is the solution of the heat equation. The new method is the systematic exchange of derivatives and integrals, justified by the dominated convergence theorem of 3A.3 The Lebesgue Integral, and the interplay of three earlier tools: Young's inequality for sizes, continuity of translation for convergence, and the Gaussian integral of 3A.5 Product Measures and Change of Variables for the heat kernel. The chapter ends Book 3A, and its closing section looks ahead to the function spaces of Book 4A.

Gaussian blur is heat flow

In the world Model Blurring an image is running the heat equation

Image editors offer a Gaussian blur: each pixel is replaced by a weighted average of its neighbours, with weights proportional to e−∣x∣2/2σ2e^{-|x|^2/2\sigma^2} for a chosen standard deviation σ\sigma. That operation is exactly convolution with the Gaussian density of variance σ2\sigma^2. And convolution with the Gaussian (4πt)−1e−∣x∣2/4t(4\pi t)^{-1}e^{-|x|^2/4t}, of variance 2t2t in each direction, is the solution at time tt of the heat equation ∂tu=Δu\partial_tu = \Delta u in the plane, started from the image (proved below). So a Gaussian blur with standard deviation σ\sigma is heat flow for time t=σ2/2t = \sigma^2/2, with the image's brightness playing the role of temperature (Figure 8.1).

This is not a loose analogy; it is an identity, and it has consequences you can check in any editor. Blurring twice, with standard deviations σ1\sigma_1 and σ2\sigma_2, is the same as blurring once with σ12+σ22\sqrt{\sigma_1^2 + \sigma_2^2}, because running heat flow for time t1t_1 and then t2t_2 is running it for t1+t2t_1 + t_2. In computer vision this observation is the basis of scale-space theory (Witkin, 1983; Koenderink, 1984), which represents an image by the whole family of its blurs and argues that blurring governed by the heat equation is the natural way to pass from fine detail to coarse structure without inventing new features.

Figure 8.1. A synthetic image (a square, a disc and a thin bar on a 32×3232 \times 32 grid) and its Gaussian blurs at times t=0.5,2,8t = 0.5, 2, 8 (standard deviations σ=2t=1,2,4\sigma = \sqrt{2t} = 1, 2, 4 pixels), computed by convolution. Fine features vanish first: the heat equation damps high frequencies fastest, as on the ring of 2B.7 Fourier Series and the First Heat Equation.

Convolution

Definition 8.1 Convolution

For measurable f,gf, g on Rd\mathbb{R}^d, the convolution is

(f∗g)(x)=∫Rdf(x−y) g(y) dy,(f * g)(x) = \int_{\mathbb{R}^d}f(x - y)\,g(y)\,dy,

wherever the integral converges absolutely.

Read gg as a weight and f∗g(x)f * g(x) as an average of the values f(x−y)f(x - y), the values of ff around xx, weighted by g(y)g(y). Substituting y↦x−yy \mapsto x - y shows f∗g=g∗ff * g = g * f, and Fubini gives associativity, (f∗g)∗h=f∗(g∗h)(f * g) * h = f * (g * h). The support of f∗gf * g lies in the closure of {a+b:a∈supp⁡f, b∈supp⁡g}\{a + b : a \in \operatorname{supp}f,\ b \in \operatorname{supp}g\}: averaging spreads a function out by at most the width of the weight.

Example 8.2 Convolving two boxes

Let g=1[−1/2,1/2]g = 1_{[-1/2, 1/2]}. Then g∗g(x)g * g(x) is the length of the overlap of [−12,12][-\tfrac12, \tfrac12] with its translate by xx, which is max⁡(1−∣x∣,0)\max(1 - |x|, 0): a triangle. Convolving again gives a piecewise quadratic, then a cubic, and so on, each smoother than the last; suitably rescaled, they approach a Gaussian. (That is the central limit theorem, for sums of uniform random numbers: the density of a sum of independent random variables is the convolution of their densities.)

Splines, and a first central limit theorem. The kk-fold convolution of the box 1[−1/2,1/2]\mathbf 1_{[-1/2, 1/2]} with itself is a piecewise polynomial of degree k−1k - 1 with k−2k - 2 continuous derivatives, supported on [−k2,k2][-\frac k2, \frac k2]: the B-spline of degree k−1k - 1, used in computer graphics and numerical analysis to draw smooth curves through control points. As a probability density it is the law of the sum of kk independent uniform variables, with mean 00 and variance k12\frac{k}{12}. Rescaled to unit variance, these splines approach the standard Gaussian as kk grows, already very closely for k=4k = 4: a concrete instance of the central limit theorem, and one reason the Gaussian is the natural limit of repeated smoothing.

Theorem 8.3 Young's inequality

For f∈L1(Rd)f \in L^1(\mathbb{R}^d) and g∈Lp(Rd)g \in L^p(\mathbb{R}^d), 1≤p≤∞1 \leq p \leq \infty, the convolution f∗gf * g is defined almost everywhere, and

∥f∗g∥p≤∥f∥1 ∥g∥p.\|f * g\|_p \leq \|f\|_1\,\|g\|_p.

Proof. For p=∞p = \infty, ∣f∗g(x)∣≤∫∣f(x−y)∣ ∥g∥∞ dy=∥f∥1∥g∥∞|f * g(x)| \leq \int|f(x - y)|\,\|g\|_\infty\,dy = \|f\|_1\|g\|_\infty. For 1≤p<∞1 \leq p < \infty, write ∣f(x−y)g(y)∣=∣f(x−y)∣1/q⋅∣f(x−y)∣1/p∣g(y)∣|f(x - y)g(y)| = |f(x - y)|^{1/q}\cdot|f(x - y)|^{1/p}|g(y)| with 1p+1q=1\frac1p + \frac1q = 1, and apply Hölder (3A.7 Lᵖ Spaces and Jensen’s Inequality) in yy:

∣f∗g(x)∣p≤∥f∥1p/q∫∣f(x−y)∣ ∣g(y)∣p dy.|f * g(x)|^p \leq \|f\|_1^{p/q}\int|f(x - y)|\,|g(y)|^p\,dy.

Integrate in xx and use Tonelli (3A.5 Product Measures and Change of Variables) on the right: ∫∫∣f(x−y)∣∣g(y)∣p dy dx=∥f∥1∥g∥pp\int\int|f(x - y)||g(y)|^p\,dy\,dx = \|f\|_1\|g\|_p^p. So ∥f∗g∥pp≤∥f∥1p/q+1∥g∥pp=∥f∥1p∥g∥pp\|f * g\|_p^p \leq \|f\|_1^{p/q + 1}\|g\|_p^p = \|f\|_1^p\|g\|_p^p. (Finiteness of the right side shows the integral defining f∗g(x)f * g(x) converges absolutely for almost every xx.)

Young's inequality says that averaging against a weight of total mass at most 11 cannot increase any LpL^p norm. The general version, ∥f∗g∥r≤∥f∥p∥g∥q\|f * g\|_r \leq \|f\|_p\|g\|_q when 1+1r=1p+1q1 + \frac1r = \frac1p + \frac1q, is in Tao's Epsilon of Room I and is needed in 4A.11 Sobolev Embeddings and Critical Exponents.

Convolution adds independent random variables

Convolution has a probabilistic meaning that explains many of its properties. If XX and YY are independent random variables with densities ff and gg, then X+YX + Y has density f∗gf*g: the probability that X+YX + Y lies near xx is obtained by summing, over the value yy of YY, the density of YY at yy times the density of XX at x−yx - y, which is the convolution integral, justified by Fubini (3A.5 Product Measures and Change of Variables). The example of the boxes says that the sum of two independent uniform variables on [−12,12][-\frac12, \frac12] has a triangular density, and the sum of many has a density that looks more and more like a Gaussian, the central limit theorem. The semigroup law for the heat kernel below is the statement that the sum of independent Gaussians is Gaussian, with variances adding: 2s+2t=2(s+t)2s + 2t = 2(s + t).

Where a convolution lives. The support of a convolution is controlled by the supports of its factors: f∗gf*g vanishes outside the set supp⁡f+supp⁡g={a+b}\operatorname{supp}f + \operatorname{supp}g = \{a + b\} of sums. Convolving with a weight supported in the ball of radius ε\varepsilon therefore spreads a function by at most ε\varepsilon: if ff vanishes outside a set KK, then f∗ϕεf*\phi_\varepsilon vanishes outside the ε\varepsilon-neighbourhood of KK. This is what makes mollifiers useful for localising: smoothing changes a function only near where it was, a property the heat kernel, whose support is everything, does not have.

The general Young inequality, and who attains it. The inequality above is the case p=1p = 1 of a family: ∥f∗g∥r≤∥f∥p∥g∥q\|f*g\|_r \leq \|f\|_p\|g\|_q whenever 1+1r=1p+1q1 + \frac1r = \frac1p + \frac1q, with the exponents again forced by scaling. The best constants in this family are not 11 when all three exponents exceed 11; William Beckner, and Herm Brascamp and Elliott Lieb, found them in the mid-1970s, and showed that they are attained by Gaussians. That Gaussians are extremal is a recurring theme: they extremise the entropy of 3A.7 Lᵖ Spaces and Jensen’s Inequality, the uncertainty principle below, and the log-Sobolev inequality behind Perelman's entropy.

Smoothing a measure. Convolution makes sense for a measure and a function: μ∗ϕ(x)=∫ϕ(x−y) dμ(y)\mu*\phi(x) = \int\phi(x - y)\,d\mu(y). Convolving the Dirac mass with ϕε\phi_\varepsilon gives ϕε\phi_\varepsilon itself, and convolving any finite measure with a mollifier gives a smooth function, which converges to the measure in the weak sense of 3A.4 Measures, Probability and Weights as ε→0\varepsilon \to 0. So every finite measure, even a singular one like the Cantor measure, is a weak limit of smooth densities. This is how measures and distributions are approximated by functions in Book 4, and how the heat kernel, started from a Dirac mass, produces a smooth solution at every positive time.

Convolution smooths

Proposition 8.4 Derivatives fall on the smooth factor

Let f∈Lloc1(Rd)f \in L^1_{\mathrm{loc}}(\mathbb{R}^d) (integrable on every bounded set) and g∈Cck(Rd)g \in C_c^k(\mathbb{R}^d), kk times continuously differentiable with compact support. Then f∗g∈Ckf * g \in C^k, and ∂α(f∗g)=f∗∂αg\partial^\alpha(f * g) = f * \partial^\alpha g for every derivative of order ∣α∣≤k|\alpha| \leq k.

Proof. Write f∗g(x)=∫f(y) g(x−y) dyf * g(x) = \int f(y)\,g(x - y)\,dy. For xx in a bounded set BB, only yy in a bounded set B′B' contribute (since gg has compact support), and ∣∂xi[f(y)g(x−y)]∣≤∣f(y)∣ sup⁡∣∂ig∣ 1B′(y)|\partial_{x_i}[f(y)g(x - y)]| \leq |f(y)|\,\sup|\partial_ig|\,1_{B'}(y), which is integrable in yy and independent of xx. Differentiation under the integral sign (3A.3 The Lebesgue Integral) gives ∂i(f∗g)=f∗∂ig\partial_i(f * g) = f * \partial_ig, and continuity of f∗∂igf * \partial_ig follows from dominated convergence the same way. Repeat kk times.

So the convolution of any locally integrable function, however rough, with a smooth compactly supported weight is smooth. The roughness of ff is invisible after averaging, because only the weight is ever differentiated.

Weak derivatives, previewed. The proposition moves derivatives from the convolution onto the smooth factor, and the same move, made without any convolution, defines derivatives for rough functions. If ff is continuously differentiable and φ\varphi is smooth with compact support, integration by parts gives ∫f′φ=−∫fφ′\int f'\varphi = -\int f\varphi', with no boundary term. The right side makes sense for any locally integrable ff, so one can define a function gg to be the derivative of ff in the weak sense if ∫gφ=−∫fφ′\int g\varphi = -\int f\varphi' for every such φ\varphi. The step function has no weak derivative that is a function, since its derivative is concentrated at the jump, the Dirac mass of 3A.4 Measures, Probability and Weights; the ramp max⁡(x,0)\max(x, 0) has the step as its weak derivative. Weak derivatives and the Sobolev spaces built on them are the subject of 4A.9 Distributions and Weak Derivatives, and mollification is how one proves that they behave like ordinary derivatives: the mollified function is smooth, its ordinary derivative is the mollified weak derivative, and both converge as ε→0\varepsilon \to 0.

Edges are found by differentiating a blur. Image-processing software finds edges by differentiating an image, but a raw image is noisy, and its derivative is dominated by the noise. The proposition gives the cure: the derivative of the blurred image f∗Gσf*G_\sigma, with GσG_\sigma a Gaussian, equals f∗∂Gσf*\partial G_\sigma, the image convolved with the derivative of the Gaussian. One convolution both smooths and differentiates, and the noise, which lives at high frequencies, is suppressed before it can be amplified. John Canny's edge detector of 1986, still standard, is built on this. The width σ\sigma sets the scale of the edges detected: fine edges at small σ\sigma, only the broad outlines at large σ\sigma, which is the scale-space idea of studying an image through its whole family of heat-flow blurs.

Mollifiers

Take the smooth bump of 2B.6 Power Series, Exponentials and Bump Functions, ϕ(x)=c exp⁡(−11−∣x∣2)\phi(x) = c\,\exp\big(-\frac{1}{1 - |x|^2}\big) for ∣x∣<1|x| < 1 and 00 otherwise, with cc chosen so that ∫ϕ=1\int\phi = 1. It is smooth, non-negative, supported in the unit ball, and has total mass 11. For ε>0\varepsilon > 0, the mollifier at scale ε\varepsilon is

ϕε(x)=ε−dϕ(x/ε),\phi_\varepsilon(x) = \varepsilon^{-d}\phi(x/\varepsilon),

supported in the ball of radius ε\varepsilon, still of mass 11 (3A.5 Product Measures and Change of Variables's scaling). The mollification of ff is fε=f∗ϕεf_\varepsilon = f * \phi_\varepsilon: the average of ff over the ball of radius ε\varepsilon around each point, weighted towards the centre.

Why the bump, and not the box. Convolving with the box 12ε1[−ε,ε]\frac{1}{2\varepsilon}\mathbf 1_{[-\varepsilon, \varepsilon]} also averages over a small window, but it produces only a continuous function, since the box has no derivative to receive. The smooth bump has derivatives of every order, all supported in the unit ball, so the proposition applies for every kk and the mollification is C∞C^\infty. The bump cannot be analytic: an analytic function that vanishes on an open set vanishes everywhere, as 2B.6 Power Series, Exponentials and Bump Functions showed, so a function with compact support that is not identically zero must have Taylor series that fail to represent it somewhere. Mollifiers exist because smooth functions are more flexible than analytic ones, and that flexibility, smooth functions that are exactly zero outside a ball, is what every localisation argument in analysis and geometry relies on.

Figure 8.2. A unit step and its mollifications f∗ϕεf * \phi_\varepsilon for ε=0.4,0.2,0.05\varepsilon = 0.4, 0.2, 0.05. Each is infinitely differentiable, equals the step outside an ε\varepsilon-neighbourhood of the jump, and converges to it in every LpL^p with p<∞p < \infty, but not uniformly.

Mollification sees only the class. Mollify the Dirichlet function: since it is zero almost everywhere, 1Q∗ϕε=0\mathbf 1_{\mathbb{Q}}*\phi_\varepsilon = 0 at every point, for every ε\varepsilon. The mollification ignores the values on the rationals entirely and returns the smooth representative of the class, which here is the zero function. In general, mollification depends only on the element of LpL^p, not on the representative chosen, which is why it is the natural way to produce a canonical smooth approximation to a function defined only almost everywhere.

The key lemma is that translation is continuous in LpL^p.

Lemma 8.5 Continuity of translation

For f∈Lp(Rd)f \in L^p(\mathbb{R}^d) with 1≤p<∞1 \leq p < \infty,   ∥f(⋅−h)−f∥p→0\;\|f(\cdot - h) - f\|_p \to 0 as h→0h \to 0.

Proof. For ff continuous with compact support it follows from uniform continuity: ∣f(x−h)−f(x)∣|f(x - h) - f(x)| tends to 00 uniformly and vanishes outside a fixed bounded set. For general ff, pick such a gg with ∥f−g∥p≤ε\|f - g\|_p \leq \varepsilon (3A.7 Lᵖ Spaces and Jensen’s Inequality); then by Minkowski and translation invariance,

∥f(⋅−h)−f∥p≤∥f(⋅−h)−g(⋅−h)∥p+∥g(⋅−h)−g∥p+∥g−f∥p≤2ε+∥g(⋅−h)−g∥p,\|f(\cdot - h) - f\|_p \leq \|f(\cdot - h) - g(\cdot - h)\|_p + \|g(\cdot - h) - g\|_p + \|g - f\|_p \leq 2\varepsilon + \|g(\cdot - h) - g\|_p,

and the last term tends to 00.

This fails for p=∞p = \infty: translating the indicator of a half-line by any h≠0h \neq 0 moves it a distance 11 in L∞L^\infty. It is another face of the fact that continuous functions are not dense in L∞L^\infty.

Theorem 8.6 Mollification converges

Let f∈Lp(Rd)f \in L^p(\mathbb{R}^d) with 1≤p<∞1 \leq p < \infty. Then fε=f∗ϕεf_\varepsilon = f * \phi_\varepsilon is C∞C^\infty, ∥fε∥p≤∥f∥p\|f_\varepsilon\|_p \leq \|f\|_p, and ∥fε−f∥p→0\|f_\varepsilon - f\|_p \to 0 as ε→0\varepsilon \to 0. If ff is continuous, fε→ff_\varepsilon \to f uniformly on compact sets; and fε(x)→f(x)f_\varepsilon(x) \to f(x) at every Lebesgue point of ff.

Proof. Smoothness is Proposition 8.4 and the norm bound is Young. For convergence, since ∫ϕε=1\int\phi_\varepsilon = 1,

fε(x)−f(x)=∫(f(x−y)−f(x))ϕε(y) dy.f_\varepsilon(x) - f(x) = \int\big(f(x - y) - f(x)\big)\phi_\varepsilon(y)\,dy.

Treat the right side as an average of the functions x↦f(x−y)−f(x)x \mapsto f(x - y) - f(x) over yy, weighted by ϕε\phi_\varepsilon, and apply Minkowski's inequality for integrals (the LpL^p norm of an average is at most the average of the LpL^p norms, Exercise 8.10):

∥fε−f∥p≤∫∥f(⋅−y)−f∥p ϕε(y) dy≤sup⁡∣y∣≤ε∥f(⋅−y)−f∥p→0,\|f_\varepsilon - f\|_p \leq \int\|f(\cdot - y) - f\|_p\,\phi_\varepsilon(y)\,dy \leq \sup_{|y| \leq \varepsilon}\|f(\cdot - y) - f\|_p \to 0,

by Lemma 8.5. The statements about continuous ff and Lebesgue points follow from the same identity: ∣fε(x)−f(x)∣≤sup⁡ϕ⋅ε−d∫B(0,ε)∣f(x−y)−f(x)∣ dy|f_\varepsilon(x) - f(x)| \leq \sup\phi\cdot\varepsilon^{-d}\int_{B(0,\varepsilon)}|f(x - y) - f(x)|\,dy, which is a constant times the average of ∣f−f(x)∣|f - f(x)| over B(x,ε)B(x, \varepsilon) (3A.6 Modes of Convergence and Differentiation).

Corollary 8.7 Smooth functions are dense

For 1≤p<∞1 \leq p < \infty, smooth compactly supported functions Cc∞(Rd)C_c^\infty(\mathbb{R}^d) are dense in Lp(Rd)L^p(\mathbb{R}^d). The same holds on any open set U⊆RdU \subseteq \mathbb{R}^d.

Proof. Given f∈Lpf \in L^p and ε>0\varepsilon > 0, first approximate ff by g=f 1B(0,R)g = f\,1_{B(0, R)} for large RR (dominated convergence), then mollify: g∗ϕδg * \phi_\delta is smooth, supported in B(0,R+δ)B(0, R + \delta), and close to gg for small δ\delta. On an open set UU, cut off to a compact subset of UU first, so that mollifying doesn't spill outside UU.

How fast mollification converges. The theorem gives convergence without a rate, and for rough functions none is possible. For smoother functions there is one. If ff is Lipschitz with constant LL, then ∣f(x−y)−f(x)∣≤L∣y∣≤Lε|f(x - y) - f(x)| \leq L|y| \leq L\varepsilon on the support of ϕε\phi_\varepsilon, so ∣fε−f∣≤Lε|f_\varepsilon - f| \leq L\varepsilon everywhere. If ff is twice continuously differentiable and the bump is symmetric, the first-order term of Taylor's expansion, −⟨∇f(x),y⟩-\langle\nabla f(x), y\rangle, integrates to zero against ϕε\phi_\varepsilon, and the error is of order ε2sup⁡∣∇2f∣\varepsilon^2\sup|\nabla^2f|. Smoothing a smooth function changes it by an amount proportional to the square of the smoothing radius times its curvature, which is the same scaling as the heat equation, where time plays the role of ε2\varepsilon^2: u(x,t)−f(x)≈tΔf(x)u(x, t) - f(x) \approx t\Delta f(x) for small tt.

Cut-off functions. Mollification also produces the smooth cut-off functions that analysis uses constantly. Given a compact set KK and ε>0\varepsilon > 0, mollify the indicator of the ε2\frac\varepsilon2-neighbourhood of KK with ϕε/2\phi_{\varepsilon/2}. The result is smooth, takes values in [0,1][0, 1], equals 11 on KK, since at points of KK the whole averaging ball lies in the neighbourhood, and vanishes outside the ε\varepsilon-neighbourhood of KK. Such functions localise every argument in the guide: Shi's local estimates in 11A.5 Shi's Derivative Estimates and Perelman's localised entropy both multiply by a cut-off of this kind, and the partitions of unity of 8A.8 Differential Forms and Stokes’ Theorem, which glue local constructions on a manifold into global ones, are built from them.

What survives at p=∞p = \infty. Mollification does not converge in L∞L^\infty for every bounded function, as the half-line shows: the mollified indicator differs from the indicator by nearly 12\frac12 just beside the jump, for every ε\varepsilon. But two weaker statements hold. If ff is bounded and uniformly continuous, then fε→ff_\varepsilon \to f uniformly, by the continuity argument for continuous functions. And for every bounded ff, fε→ff_\varepsilon \to f at every Lebesgue point, so almost everywhere, by the last part of the theorem. The failure in the norm is concentrated near discontinuities, on a set whose measure shrinks with ε\varepsilon, exactly the behaviour of the moving averages of a step in 3A.6 Modes of Convergence and Differentiation.

Approximate identities

The proof used only three properties of ϕε\phi_\varepsilon, which define the general notion. A family KεK_\varepsilon of integrable functions is an approximate identity if (i) ∫Kε=1\int K_\varepsilon = 1; (ii) ∫∣Kε∣≤C\int|K_\varepsilon| \leq C for all ε\varepsilon; (iii) for every δ>0\delta > 0, ∫∣y∣>δ∣Kε∣→0\int_{|y| > \delta}|K_\varepsilon| \to 0 as ε→0\varepsilon \to 0. For every such family, f∗Kε→ff * K_\varepsilon \to f in LpL^p (p<∞p < \infty) and uniformly for uniformly continuous bounded ff (Exercise 8.11). The family has many members already met: the polynomial kernels of Weierstrass (2B.5 Uniform Convergence and Arzelà–Ascoli), Fejér's kernel (2B.7 Fourier Series and the First Heat Equation, on the circle), the Gaussian, and, later, the Poisson kernel for harmonic functions (6A.2 Harmonic Functions). The Dirichlet kernel of 2B.7 Fourier Series and the First Heat Equation fails condition (ii), since ∫∣DN∣\int|D_N| grows like log⁡N\log N, which is exactly why Fourier partial sums can fail to converge.

Approximate identities that are not compactly supported. Several classical families are approximate identities without being compactly supported. The Poisson kernel Py(x)=yπ(x2+y2)P_y(x) = \frac{y}{\pi(x^2 + y^2)} on the line has total mass 11 for every y>0y > 0 and concentrates at the origin as y→0y \to 0; convolving with it solves Laplace's equation in the upper half-plane with given boundary values. The Fejér kernel on the circle averages the partial sums of a Fourier series and converges for every continuous function, unlike the partial sums themselves. And the heat kernel below is the most important of all. What these share with mollifiers is the third property of the definition, that the mass outside any fixed neighbourhood of the origin tends to zero, and that is enough for the convergence theorems, though not for the support property above.

Convolution with the Gaussian solves the heat equation

Let

H(x,t)=(4πt)−d/2 e−∣x∣2/4t(x∈Rd, t>0),H(x, t) = (4\pi t)^{-d/2}\,e^{-|x|^2/4t} \qquad (x \in \mathbb{R}^d,\ t > 0),

the Gaussian of total mass 11 (3A.5 Product Measures and Change of Variables) and variance 2t2t in each coordinate.

Theorem 8.8 The Gaussian solves the heat equation
  1. ∂tH=ΔH\partial_tH = \Delta H for t>0t > 0.
  2. {H(⋅,t)}t>0\{H(\cdot, t)\}_{t > 0} is an approximate identity as t→0t \to 0.
  3. (Semigroup law) H(⋅,s)∗H(⋅,t)=H(⋅,s+t)H(\cdot, s) * H(\cdot, t) = H(\cdot, s + t).
  4. For f∈Lp(Rd)f \in L^p(\mathbb{R}^d), 1≤p<∞1 \leq p < \infty, the function u(x,t)=(f∗H(⋅,t))(x)u(x, t) = (f * H(\cdot, t))(x) is smooth for t>0t > 0, solves ∂tu=Δu\partial_tu = \Delta u, and u(⋅,t)→fu(\cdot, t) \to f in LpL^p as t→0t \to 0.

Proof. (1) A direct computation (Exercise 8.12): with r=∣x∣r = |x|, ∂tH=(r24t2−d2t)H\partial_tH = \big(\frac{r^2}{4t^2} - \frac{d}{2t}\big)H, and ΔH=(r24t2−d2t)H\Delta H = \big(\frac{r^2}{4t^2} - \frac{d}{2t}\big)H as well. (2) With ε=t\varepsilon = \sqrt t, H(x,t)=ε−dH(x/ε,1)H(x, t) = \varepsilon^{-d}H(x/\varepsilon, 1): a rescaling of a single positive Gaussian of mass 11, which concentrates at 00 as t→0t \to 0 by the argument of 3A.4 Measures, Probability and Weights. (3) Exercise 8.13. (4) Smoothness and the equation come from differentiating under the integral sign, with domination by derivatives of HH on t≥t0>0t \geq t_0 > 0 (a polynomial times a Gaussian); convergence from (2) and the approximate-identity theorem.

So the explicit formula

u(x,t)=∫Rd(4πt)−d/2e−∣x−y∣2/4tf(y) dyu(x, t) = \int_{\mathbb{R}^d}(4\pi t)^{-d/2}e^{-|x - y|^2/4t}f(y)\,dy

solves the heat equation on all of Rd\mathbb{R}^d, for any LpL^p initial temperature. It is the analogue of Fourier's series solution on the ring (2B.7 Fourier Series and the First Heat Equation), where the periodic heat kernel played the role of HH, and the properties seen there all carry over: instant smoothing, the maximum principle (an average against a positive kernel lies between the extremes), mass conservation (∫u=∫f\int u = \int f for f∈L1f \in L^1), and the semigroup law, which says the solution at time s+ts + t is the solution at time tt started from the solution at time ss.

Convolution and the Fourier transform

The Fourier transform turns convolution into multiplication, and that explains the heat kernel at a glance. With f^(ξ)=∫f(x)e−ix⋅ξdx\hat f(\xi) = \int f(x)e^{-ix\cdot\xi}dx, Fubini and the substitution x=y+zx = y + z give

f∗g^(ξ)=f^(ξ) g^(ξ).\widehat{f*g}(\xi) = \hat f(\xi)\,\hat g(\xi) .

The Gaussian's transform was computed in 3A.3 The Lebesgue Integral by differentiating under the integral sign: in one dimension ∫e−x2e−ixξdx=π e−ξ2/4\int e^{-x^2}e^{-ix\xi}dx = \sqrt\pi\,e^{-\xi^2/4}, and rescaling gives H^(ξ,t)=e−t∣ξ∣2\hat H(\xi, t) = e^{-t|\xi|^2}. So solving the heat equation multiplies the Fourier transform of the initial data by e−t∣ξ∣2e^{-t|\xi|^2}: each frequency ξ\xi decays at the rate ∣ξ∣2|\xi|^2, high frequencies fastest. This is the continuous version of the mode-by-mode decay e−k2te^{-k^2t} of Fourier series on the ring in 2B.7 Fourier Series and the First Heat Equation, and it explains what the figure of Gaussian blurs shows: fine detail, high frequency, disappears first. The semigroup law becomes e−s∣ξ∣2e−t∣ξ∣2=e−(s+t)∣ξ∣2e^{-s|\xi|^2}e^{-t|\xi|^2} = e^{-(s + t)|\xi|^2}, and the impossibility of undoing a blur, in the world box below, becomes the impossibility of dividing by e−t∣ξ∣2e^{-t|\xi|^2}, which is astronomically small at high frequencies, without amplifying noise beyond control.

A function and its transform cannot both be narrow. The Gaussian e−x2/2σ2e^{-x^2/2\sigma^2} has transform proportional to e−σ2ξ2/2e^{-\sigma^2\xi^2/2}, of width 1σ\frac1\sigma: narrowing a function widens its transform. The uncertainty principle makes this a theorem for every function: the product of the spreads of ff and of f^\hat f, each measured by a second moment, is bounded below by a fixed constant, with equality only for Gaussians. In quantum mechanics it is Heisenberg's principle for position and momentum; in signal processing it says that a signal cannot be both brief and of narrow bandwidth. For the heat equation it explains the trade-off in the figure of blurs: making the image smooth, which concentrates its transform at low frequencies, necessarily spreads it out in space.

Why convolution is everywhere

Convolution is not one operation among many; it is the only kind of operation with two natural properties. A linear map TT on functions on Rd\mathbb{R}^d is translation invariant if translating the input translates the output by the same amount. Convolution with a fixed kernel is linear and translation invariant, and conversely every bounded linear translation-invariant map on L2L^2 is, through the Fourier transform, multiplication of f^\hat f by a fixed bounded function, a "convolution" with a kernel that may be a distribution rather than a function. Engineers call such maps linear time-invariant systems: an amplifier, a filter, the acoustics of a room in the reverb box below, the optics of a camera. Each is determined by its response to a single impulse, the kernel, and each acts on a signal by convolution. Physical laws that do not depend on position or time, such as the heat equation on Rd\mathbb{R}^d, produce translation-invariant solution maps, and so they are solved by convolution.

Backwards, the formula breaks. Running the heat equation backwards would multiply each Fourier mode by e+t∣ξ∣2e^{+t|\xi|^2}, which grows without bound at high frequencies. A function whose transform decays only like a power of ∣ξ∣|\xi| has no backward solution for any positive time, and a tiny high-frequency perturbation of the data is amplified enormously. This is the ill-posedness of the backward heat equation met in 11A.4 Short-Time Existence and Uniqueness, read off from the convolution formula.

Heat spreads at infinite speed

The heat kernel is positive everywhere, so the solution u=f∗H(⋅,t)u = f*H(\cdot, t) with initial value f≥0f \geq 0, not identically zero, is positive at every point for every t>0t > 0, even if ff vanishes outside a small set. Heat started in a small region is felt, faintly but strictly, everywhere at once: the heat equation has infinite speed of propagation, unlike the wave equation, where disturbances travel at a finite speed. Physically the effect is negligible at large distances, since the kernel decays like e−∣x∣2/4te^{-|x|^2/4t}, but mathematically it is exact, and it is the source of the strong maximum principle of 11A.8 The Strong Maximum Principle and Splitting, which says that a nonnegative solution that vanishes somewhere at a positive time vanishes everywhere at earlier times. Mollifiers, with compact support, and the heat kernel, with full support, are the two extremes of smoothing: one local and the other instantaneous and global.

Heat and random walks

The heat kernel is also the law of a random motion, and this gives a second formula for the solution. A Brownian motion started at 00 has, at time ss, a Gaussian law with variance ss in each coordinate (6D.1 Brownian Motion). The heat kernel H(⋅,t)H(\cdot, t), with variance 2t2t, is therefore the law of the Brownian position at time 2t2t, and the solution of the heat equation is an expectation:

u(x,t)=∫f(x−y)H(y,t) dy=E[f(x+B2t)].u(x, t) = \int f(x - y)H(y, t)\,dy = \mathbb{E}\big[f(x + B_{2t})\big] .

The temperature at xx at time tt is the average of the initial temperature over the places a randomly moving particle, started at xx, can reach in that time. The infinite speed of propagation is the fact that a Brownian particle can be anywhere at any positive time, with tiny probability far away, and the smoothing is the averaging over its random paths. On a Riemannian manifold, where no formula for the heat kernel exists, this probabilistic description survives, and 6D.5 Diffusions on Manifolds and Curvature uses it to connect curvature with the behaviour of Brownian motion.

Convolution on a computer

Images and signals are stored as arrays, and blurring them is discrete convolution: each entry is replaced by a weighted sum of its neighbours. Two facts from this chapter make it fast. The two-dimensional Gaussian factors as a product of one-dimensional Gaussians, e−(x2+y2)/2σ2=e−x2/2σ2e−y2/2σ2e^{-(x^2 + y^2)/2\sigma^2} = e^{-x^2/2\sigma^2}e^{-y^2/2\sigma^2}, so by Fubini a two-dimensional blur is a blur of every row followed by a blur of every column, reducing the work per pixel from the area of the kernel to twice its width. And convolution becomes multiplication under the Fourier transform, which the fast Fourier transform computes in a number of operations proportional to Nlog⁡NN\log N for NN samples, so convolution with a large kernel is done by transforming, multiplying and transforming back. Both tricks are used in every image editor and in the numerical solution of the heat equation.

What the formula says about size and smoothness

The explicit formula gives sharp estimates for the solution at once, and each has a counterpart later in the guide.

  • The maximum principle. Since H≥0H \geq 0 and ∫H=1\int H = 1, the value u(x,t)u(x, t) is an average of ff, so inf⁡f≤u≤sup⁡f\inf f \leq u \leq \sup f: the solution never exceeds its initial bounds. This is the maximum principle on Rd\mathbb{R}^d, read off from the formula; 6A.5 Maximum Principles and 11A.7 Maximum Principles under Ricci Flow prove it without any formula.
  • Decay in L∞L^\infty. Since H(⋅,t)≤(4πt)−d/2H(\cdot, t) \leq (4\pi t)^{-d/2}, ∥u(⋅,t)∥∞≤(4πt)−d/2∥f∥1\|u(\cdot, t)\|_\infty \leq (4\pi t)^{-d/2}\|f\|_1: an initial temperature of finite total heat becomes bounded at once, and its maximum decays like t−d/2t^{-d/2}. The rate is the dimension divided by two, the exponent of the heat kernel's normalisation, and on a Riemannian manifold the same rate, for small times, is equivalent to a Sobolev inequality and to a lower bound on the volume of balls, a link that Perelman's noncollapsing exploits.
  • Energy decay. For f∈L2f \in L^2, ddt∫u2=2∫uΔu=−2∫∣∇u∣2≤0\frac{d}{dt}\int u^2 = 2\int u\Delta u = -2\int|\nabla u|^2 \leq 0: the L2L^2 norm decreases, at a rate given by the Dirichlet energy, the heat equation's version of Fisher information in 3A.7 Lᵖ Spaces and Jensen’s Inequality.
  • Smoothing at every order. Derivatives fall on the kernel, ∂αu=f∗∂αH\partial^\alpha u = f*\partial^\alpha H, and a direct computation gives ∥∂αH(⋅,t)∥1≤Cαt−∣α∣/2\|\partial^\alpha H(\cdot, t)\|_1 \leq C_\alpha t^{-|\alpha|/2}, so by Young's inequality
∥∂αu(⋅,t)∥p≤Cαt−∣α∣/2∥f∥p.\|\partial^\alpha u(\cdot, t)\|_p \leq C_\alpha t^{-|\alpha|/2}\|f\|_p .

The kk-th derivatives are controlled after any positive time, with a constant that blows up like t−k/2t^{-k/2} as t→0t \to 0. This is exactly the form of Shi's derivative estimates for the Ricci flow in 11A.5 Shi's Derivative Estimates, with the curvature in place of ff, and the rate t−k/2t^{-k/2} is forced by the same scaling.

Duhamel's principle

The heat equation with a source, ∂tu=Δu+F(x,t)\partial_tu = \Delta u + F(x, t), is solved by superposition: each instant ss of the source starts a new heat flow, which runs for the remaining time t−st - s. The result is Duhamel's formula,

u(⋅,t)=H(⋅,t)∗f+∫0tH(⋅,t−s)∗F(⋅,s) ds,u(\cdot, t) = H(\cdot, t)*f + \int_0^tH(\cdot, t - s)*F(\cdot, s)\,ds,

the convolution solution of this chapter plus the accumulated effect of the source. Its importance goes beyond linear equations. For a nonlinear equation ∂tu=Δu+N(u)\partial_tu = \Delta u + N(u), Duhamel's formula turns the equation into a fixed-point problem, u=H∗f+∫H∗N(u)u = H*f + \int H*N(u), to which the contraction mapping principle of 2B.2 Completeness and Contraction applies on a short time interval, with Young's inequality and the smoothing estimates above supplying the contraction. That is how short-time existence is proved for the semilinear heat equations of Book 6, and, through the parabolic theory quoted in 11A.4 Short-Time Existence and Uniqueness, for the Ricci–DeTurck flow.

Heat on the circle

On the circle R/2πZ\mathbb{R}/2\pi\mathbb{Z}, the heat kernel is the periodisation of the Gaussian, HS1(x,t)=∑k∈ZH(x+2πk,t)H_{S^1}(x, t) = \sum_{k\in\mathbb{Z}}H(x + 2\pi k, t), which wraps the Gaussian around the circle infinitely often. It has total mass 11 on the circle, solves the heat equation, and convolution with it, now over the circle, solves the heat equation there. Its Fourier series is 12π∑ne−n2teinx\frac{1}{2\pi}\sum_ne^{-n^2t}e^{inx}, the kernel of Fourier's solution in 2B.7 Fourier Series and the First Heat Equation, so the two descriptions agree, one adding up images in space and the other modes in frequency. For small tt the first sum is dominated by its k=0k = 0 term, and the circle's heat kernel looks like the Gaussian on the line; for large tt the second is dominated by its n=0n = 0 term, and the temperature approaches its average. The same two regimes, local Gaussian behaviour at short times and global equilibration at long times, hold for the heat kernel on any closed manifold.

In the world Model Optical blur and why it can't simply be undone

For an ideal camera whose blur is the same everywhere in the frame, the recorded image is the scene convolved with the camera's point-spread function, the image of a single point of light: a disc for a defocused lens, a Gaussian-like spot for atmospheric blur in astronomy. Undoing the blur, deconvolution, means solving g=f∗kg = f * k for ff. In Fourier terms convolution is multiplication, g^=f^ k^\hat g = \hat f\,\hat k, so in principle f^=g^/k^\hat f = \hat g/\hat k. But for a Gaussian kk, k^\hat k decays like e−4π2∣ξ∣2te^{-4\pi^2|\xi|^2t}, and dividing by it multiplies the high frequencies of the noise by enormous factors: the backward heat equation of 2B.7 Fourier Series and the First Heat Equation, which can't be run. Practical deblurring methods therefore add prior assumptions about the image (regularisation), and recover only a limited range of frequencies.

In the world In use Convolution reverb

The sound of a room is captured by its impulse response: record what a microphone hears after a single sharp click, including all the echoes from walls and ceiling. For a room that behaves linearly and doesn't change over time, the sound of any source played in it is the source's signal convolved with the impulse response. Audio software uses exactly this to make a recording made in a dry studio sound as if it were played in a cathedral or a concert hall, by convolving with that hall's measured impulse response. It is Young's inequality's "averaging with a weight", with the weight a few seconds of echoes.

Where this goes Mollifiers and heat kernels in the rest of the guidebook
  • Sobolev spaces and distributions (4A.9 Distributions and Weak Derivatives, 4A.10 Sobolev Spaces): weak derivatives are defined by moving derivatives onto smooth test functions, exactly as in Proposition 8.4, and mollification shows that smooth functions are dense in Sobolev spaces, so inequalities proved for smooth functions hold for all.
  • The heat equation (6A.3 The Heat Equation on ℝⁿ): the formula above, with uniqueness, the maximum principle and Gaussian bounds; on a Riemannian manifold the heat kernel is no longer explicit, but is still an approximate identity (9B.7 The Heat Equation on a Manifold).
  • Ricci flow (11A.1 The Equation and Its First Solutions): in suitable coordinates, ∂tg=−2 Ric(g)\partial_tg = -2\,\mathrm{Ric}(g) is a heat equation for the metric, ∂tgij≈Δgij+lower order\partial_tg_{ij} \approx \Delta g_{ij} + \text{lower order}, and it smooths a metric the way a Gaussian blur smooths an image. That intuition, made precise by Shi's estimates (11A.4 Short-Time Existence and Uniqueness), is behind Hamilton's original picture of Ricci flow as a way of making a metric "rounder".
  • Perelman (12A.9 Pseudolocality): the conjugate heat kernel, the analogue of HH for the backward heat equation coupled to Ricci flow, starts as a Dirac mass at a point; estimates for it play the role that the explicit Gaussian plays here, and they are central to pseudolocality.

Smoothing on a manifold

On a Riemannian manifold there are no translations, so convolution in the sense of this chapter does not exist, and smoothing must be done another way. One way is local: in each coordinate chart, mollify in the coordinates, and glue the results with a partition of unity (8A.8 Differential Forms and Stokes’ Theorem); this proves that smooth functions are dense in LpL^p of a manifold, and it is enough for most of Book 8. The other way is global and geometric: run the heat equation of the manifold, whose kernel replaces the Gaussian and is still an approximate identity, positive, of mass one and concentrating at a point as t→0t \to 0 (9B.7 The Heat Equation on a Manifold). The heat flow smooths a function on a manifold the way a Gaussian blur smooths an image, without any choice of coordinates. The Ricci flow applies the same idea to the metric itself: in harmonic coordinates it is a heat equation for the metric tensor (11A.1 The Equation and Its First Solutions), and it smooths the metric, with Shi's estimates as the counterpart of the derivative bounds above.

From Book 3A into Book 4A

Book 3A began with a complaint about the Riemann integral, that it does not respect limits, and it ends with a complete theory. Lebesgue measure, built from countable covers, is countably additive on a σ-algebra that contains every set analysis constructs (3A.1 The Problem of Measure, 3A.2 Lebesgue Measure). The Lebesgue integral passes limits through integrals under monotone convergence, Fatou's inequality or domination (3A.3 The Lebesgue Integral). Measures can be abstract, pushed forward and reweighted by densities, and probability is measure theory of mass one (3A.4 Measures, Probability and Weights). Product measures and change of variables compute integrals in several variables, from the Gaussian to the volumes of balls (3A.5 Product Measures and Change of Variables). Averages recover functions almost everywhere (3A.6 Modes of Convergence and Differentiation). The LpL^p spaces are complete, with Hölder, Minkowski and Jensen as their tools (3A.7 Lᵖ Spaces and Jensen’s Inequality). And convolution smooths and approximates, and the Gaussian convolution solves the heat equation, in this chapter.

What the book has not done is study these spaces as spaces. A familiar example shows that a new kind of question arises. The functions sin⁡(nx)\sin(nx) on [0,2π][0, 2\pi] all have L2L^2 norm π\sqrt\pi, so they form a bounded sequence in L2L^2, and yet no subsequence converges in L2L^2: by orthogonality, any two of them are at distance 2π\sqrt{2\pi}. In Rd\mathbb{R}^d, every bounded sequence has a convergent subsequence; in L2L^2, an infinite-dimensional space, it need not. Compactness, which 2B.3 Compactness made the engine of existence theorems, has to be rethought, and so do the linear maps between such spaces, such as convolution with a fixed kernel, which Young's inequality showed to be bounded. These are the questions of functional analysis.

Book 4A takes them up. 4A.1 Banach Spaces and Bounded Operators defines Banach spaces, complete normed vector spaces of which the LpL^p spaces are the first examples, and bounded linear operators between them, and shows that the unit ball of an infinite-dimensional space is never compact, the phenomenon of sin⁡(nx)\sin(nx). Later chapters introduce weaker notions of convergence that restore compactness, the Hilbert space structure of L2L^2 in full, and the Sobolev spaces of functions with weak derivatives, defined by the integration by parts of this chapter and studied with its mollifiers. What to carry forward from Book 3A: measures and null sets; the three convergence theorems and the escapes they rule out; densities and e−fe^{-f}; Fubini, Tonelli and change of variables; the Gaussian integral; Lebesgue points; the LpL^p norms and their inequalities; Jensen and relative entropy; and convolution, mollifiers and the heat kernel.

History

Integrals of convolution type appear in the 19th-century solutions of the heat equation on the line, by Fourier and Poisson, as averages of the initial temperature against a Gaussian. Weierstrass's 1885 proof of his approximation theorem convolved with the Gaussian. Kurt Friedrichs introduced mollifiers under that name in 1944, in work on weak and strong solutions of differential equations; Sergei Sobolev had used similar averaging in the 1930s. W. H. Young proved his convolution inequality in 1912. The identification of Gaussian blur with diffusion as the basis of multi-scale image analysis is due to Andrew Witkin (1983) and Jan Koenderink (1984).

Recall Book 3A in one paragraph

Jordan measure, behind the Riemann integral, fails for countable unions; Lebesgue measure, built from countable covers, is countably additive on a σ-algebra containing every set met in practice, though not on all sets. The Lebesgue integral obeys monotone convergence, Fatou and dominated convergence, and the three escapes to infinity show what can go wrong without domination. Abstract measures, densities and pushforwards give probability and the weighted measures e−fdVe^{-f}dV; Fubini–Tonelli and change of variables give the Gaussian integral and volumes of balls; maximal functions give the Lebesgue differentiation theorem. The LpL^p spaces are complete, Hölder and Minkowski hold, and Jensen's inequality makes relative entropy non-negative. Convolution smooths and approximates, smooth functions are dense in LpL^p, and convolution with the Gaussian is heat flow.

Where this goes Into Book 4A

The LpL^p spaces are complete normed vector spaces of functions: the first Banach spaces. The next questions are about such spaces in general. Which linear maps between them are continuous? When does a bounded sequence of functions have a convergent subsequence, now that in infinite dimensions the unit ball is not compact (2B.3 Compactness)? How should one differentiate a function that is merely in LpL^p, as solutions of PDE often are? Book 4A, starting with 4A.1 Banach Spaces and Bounded Operators, answers all of these, and ends with the Sobolev spaces in which the PDE of Course 6 are solved.

Exercises

Exercise 8.9 Convolving indicators

Compute 1[0,1]∗1[0,1]1_{[0,1]} * 1_{[0,1]} and 1[0,1]∗1[0,2]1_{[0,1]} * 1_{[0,2]}, and check ∫(f∗g)=∫f∫g\int(f * g) = \int f\int g in each case. Prove that identity in general for f,g∈L1f, g \in L^1, using Fubini.

Solution

The first is the triangle max⁡(0,min⁡(x,2−x))\max(0, \min(x, 2 - x)) on [0,2][0, 2], area 11. The second is a trapezoid rising on [0,1][0, 1], flat at height 11 on [1,2][1, 2], falling on [2,3][2, 3], area 22. In general ∫∫f(x−y)g(y) dy dx=∫g(y)∫f(x−y) dx dy=∫f∫g\int\int f(x - y)g(y)\,dy\,dx = \int g(y)\int f(x - y)\,dx\,dy = \int f\int g, with the exchange justified by Tonelli applied to ∣f∣∣g∣|f||g|.

Exercise 8.10 Minkowski's inequality for integrals

For F(x,y)≥0F(x, y) \geq 0 measurable and 1≤p<∞1 \leq p < \infty, show ∥∫F(⋅,y) dy∥p≤∫∥F(⋅,y)∥p dy\Big\|\int F(\cdot, y)\,dy\Big\|_p \leq \int\|F(\cdot, y)\|_p\,dy. (For p=1p = 1 it is Tonelli. In general, write the left side to the power pp as ∫(∫F(x,y)dy)(∫F(x,y′)dy′)p−1dx\int\big(\int F(x, y)dy\big)\big(\int F(x, y')dy'\big)^{p-1}dx, exchange integrals, and apply Hölder.) This is the "norm of an average is at most the average of norms" used in Theorem 8.6.

Solution

Let G(x)=∫F(x,y) dyG(x) = \int F(x, y)\,dy, and assume ∥G∥p\|G\|_p is finite and nonzero (otherwise truncate FF and use monotone convergence). Then, by Tonelli and Hölder with exponents pp and q=pp−1q = \frac{p}{p-1},

∥G∥pp=∫Gp−1(x)∫F(x,y) dy dx=∫(∫F(x,y)G(x)p−1dx)dy≤∫∥F(⋅,y)∥p ∥Gp−1∥q dy,\|G\|_p^p = \int G^{p-1}(x)\int F(x, y)\,dy\,dx = \int\Big(\int F(x, y)G(x)^{p-1}dx\Big)dy \leq \int\|F(\cdot, y)\|_p\,\|G^{p-1}\|_q\,dy,

and ∥Gp−1∥q=∥G∥pp−1\|G^{p-1}\|_q = \|G\|_p^{p-1}. Divide by ∥G∥pp−1\|G\|_p^{p-1}.

Exercise 8.11 Approximate identities converge

Let KεK_\varepsilon satisfy the three conditions of an approximate identity. Show that f∗Kε→ff * K_\varepsilon \to f uniformly for every bounded uniformly continuous ff, and in LpL^p for f∈Lpf \in L^p, p<∞p < \infty. (Split the integral into ∣y∣≤δ|y| \leq \delta and ∣y∣>δ|y| > \delta as in 2B.5 Uniform Convergence and Arzelà–Ascoli's proof of the Weierstrass theorem.)

Solution

By (i), f∗Kε(x)−f(x)=∫(f(x−y)−f(x))Kε(y) dyf * K_\varepsilon(x) - f(x) = \int(f(x - y) - f(x))K_\varepsilon(y)\,dy. Uniform case. Given η\eta, choose δ\delta with ∣f(x−y)−f(x)∣≤η|f(x - y) - f(x)| \leq \eta for ∣y∣≤δ|y| \leq \delta. Then ∣f∗Kε(x)−f(x)∣≤η∫∣Kε∣+2sup⁡∣f∣∫∣y∣>δ∣Kε∣≤Cη+o(1)|f * K_\varepsilon(x) - f(x)| \leq \eta\int|K_\varepsilon| + 2\sup|f|\int_{|y|>\delta}|K_\varepsilon| \leq C\eta + o(1), uniformly in xx, using (ii) and (iii). LpL^p case. By Minkowski's inequality for integrals, ∥f∗Kε−f∥p≤∫∥f(⋅−y)−f∥p∣Kε(y)∣ dy\|f * K_\varepsilon - f\|_p \leq \int\|f(\cdot - y) - f\|_p|K_\varepsilon(y)|\,dy. Split at ∣y∣=δ|y| = \delta: on ∣y∣≤δ|y| \leq \delta the norm is at most sup⁡∣y∣≤δ∥f(⋅−y)−f∥p\sup_{|y|\leq\delta}\|f(\cdot - y) - f\|_p, small for small δ\delta by Lemma 8.5, times CC; on ∣y∣>δ|y| > \delta it is at most 2∥f∥p∫∣y∣>δ∣Kε∣→02\|f\|_p\int_{|y|>\delta}|K_\varepsilon| \to 0.

Exercise 8.12 The heat kernel solves the heat equation

Verify ∂tH=ΔH\partial_tH = \Delta H for H(x,t)=(4πt)−d/2e−∣x∣2/4tH(x, t) = (4\pi t)^{-d/2}e^{-|x|^2/4t} by computing ∂tH\partial_tH, ∂iH=−xi2tH\partial_iH = -\frac{x_i}{2t}H and ∂i2H=(xi24t2−12t)H\partial_i^2H = \big(\frac{x_i^2}{4t^2} - \frac{1}{2t}\big)H.

Solution

∂tlog⁡H=−d2t+∣x∣24t2\partial_t\log H = -\frac{d}{2t} + \frac{|x|^2}{4t^2}. Summing ∂i2H\partial_i^2H over ii gives (∣x∣24t2−d2t)H\big(\frac{|x|^2}{4t^2} - \frac{d}{2t}\big)H, the same.

Exercise 8.13 Rehearsal: the semigroup law

Show that H(⋅,s)∗H(⋅,t)=H(⋅,s+t)H(\cdot, s) * H(\cdot, t) = H(\cdot, s + t) on R\mathbb{R} (the dd-dimensional case then follows by Fubini, since HH is a product over coordinates). Complete the square in

(x−y)24s+y24t=x24(s+t)+s+t4st(y−ts+tx)2,\frac{(x - y)^2}{4s} + \frac{y^2}{4t} = \frac{x^2}{4(s + t)} + \frac{s + t}{4st}\Big(y - \frac{t}{s + t}x\Big)^2,

and use the Gaussian integral. In probability, this says the sum of independent normal variables with variances 2s2s and 2t2t is normal with variance 2(s+t)2(s + t). For Ricci flow, the same structure appears in 6A.3 The Heat Equation on ℝⁿ and 12A.9 Pseudolocality: solving forward for time ss and then tt is solving for s+ts + t, which is what makes heat-kernel estimates composable.

Solution

The integral of (4πs)−1/2(4πt)−1/2e−x2/4(s+t)e−s+t4st(y−…)2(4\pi s)^{-1/2}(4\pi t)^{-1/2}e^{-x^2/4(s+t)}e^{-\frac{s+t}{4st}(y - \ldots)^2} over yy is (4πs)−1/2(4πt)−1/2e−x2/4(s+t)4πsts+t=(4π(s+t))−1/2e−x2/4(s+t)(4\pi s)^{-1/2}(4\pi t)^{-1/2}e^{-x^2/4(s+t)}\sqrt{\frac{4\pi st}{s + t}} = (4\pi(s + t))^{-1/2}e^{-x^2/4(s+t)}.

Exercise 8.14 Blur in Fourier terms

On the circle R/Z\mathbb{R}/\mathbb{Z}, convolution with the periodic heat kernel at time tt multiplies the kk-th Fourier coefficient by e−4π2k2te^{-4\pi^2k^2t} (2B.7 Fourier Series and the First Heat Equation). (a) If a blurred signal is measured with an error of size η\eta in each coefficient, how large is the error in the kk-th coefficient of the naive deconvolution? (b) For t=0.01t = 0.01 and η=10−3\eta = 10^{-3}, find the largest kk for which the recovered coefficient has error below 11. This cut-off is why deblurring recovers only a band of frequencies.

Solution

(a) η e4π2k2t\eta\,e^{4\pi^2k^2t}. (b) e0.3948k2<1000e^{0.3948k^2} < 1000 requires k2<ln⁡1000/0.3948≈17.5k^2 < \ln 1000/0.3948 \approx 17.5, so k≤4k \leq 4.

Exercise 8.15 Smooth approximation on a domain

Let U⊆RdU \subseteq \mathbb{R}^d be open and f∈Lp(U)f \in L^p(U), 1≤p<∞1 \leq p < \infty. Show that there are fn∈Cc∞(U)f_n \in C_c^\infty(U) with ∥fn−f∥Lp(U)→0\|f_n - f\|_{L^p(U)} \to 0. (Use the compact sets Kn={x∈U:∣x∣≤n, dist(x,∂U)≥1n}K_n = \{x \in U : |x| \leq n,\ \mathrm{dist}(x, \partial U) \geq \frac1n\}, approximate ff by f1Knf1_{K_n}, and mollify at a scale smaller than 12n\frac1{2n}.)

Solution

The KnK_n are compact, increase, and their union is UU, so ∥f−f1Kn∥p→0\|f - f1_{K_n}\|_p \to 0 by dominated convergence (dominated by ∣f∣p|f|^p). Fix nn with ∥f−f1Kn∥p<ε\|f - f1_{K_n}\|_p < \varepsilon. Mollify g=f1Kng = f1_{K_n} (extended by 00 to Rd\mathbb{R}^d) at scale δ<12n\delta < \frac1{2n}: g∗ϕδg * \phi_\delta is smooth, and supported within distance δ\delta of KnK_n, a compact subset of UU (points within 12n\frac1{2n} of KnK_n are at distance at least 12n\frac1{2n} from ∂U\partial U). By Theorem 8.6, ∥g∗ϕδ−g∥p<ε\|g * \phi_\delta - g\|_p < \varepsilon for small δ\delta. So ∥g∗ϕδ−f∥Lp(U)<2ε\|g * \phi_\delta - f\|_{L^p(U)} < 2\varepsilon.

Free resources for this chapter

Chosen for what this chapter covers, and all free to read or watch. Where a lecture covers more than this chapter, the minutes to watch are given, and the link starts there when it can. Links checked Nov 6, 2026.

Read

Watch 3 lectures and talks

© 2026 Neckpinch (www.neckpinch.com). All content in the guidebook (text, mathematics, figures and exercises) is protected by copyright. All rights reserved. No part may be copied, republished or redistributed without written permission.