© 2026 Neckpinch · www.neckpinch.com · All rights reserved.
Course 6Book 6A: The Heat Equation and Its RelativesChapter 3
The Heat Equation on ℝⁿ
The heat kernel, smoothing, uniqueness, Brownian motion, and a Gaussian that runs to Perelman.
Read with Evans, Partial Differential Equations, section 2.3 (the heat equation: fundamental solution, mean value formula, properties of solutions, energy methods), and section 4.3.1 for the Fourier transform derivation. The Fourier side was done in 4A.6 The Fourier Transform. Jost, chapter 5 (sections 5.1–5.2), is a second voice. Every proof this chapter relies on is written out here; the probabilistic side is developed fully in 6D.1 Brownian Motion.
This chapter solves the heat equation on all of space. The solution is a convolution with one function, the heat kernel
and almost everything about the equation can be read off from it. It is positive, it has total mass , it is a Gaussian whose width grows like , and it is smooth. So solutions are averages of their initial data with Gaussian weights: they are instantly smooth, they spread at infinite speed, and their maxima can only decrease.
The heat kernel is also a probability law: the distribution of a Brownian particle. That is how Einstein used it in 1905 and how Perrin confirmed it, and it is the sense in which Perelman's and Bamler's heat kernels on Ricci flows are probability measures. And the Gaussian is the function Perelman puts at the centre of his entropy: this chapter's rehearsal computes it.
By the end of this chapter you will be able to:
- derive the heat kernel by self-similarity and by the Fourier transform, and prove its properties;
- solve the Cauchy problem by convolution, prove that solutions are smooth for , and prove the smoothing estimates ;
- solve the inhomogeneous equation by Duhamel's principle, with proof;
- prove a maximum principle and uniqueness on bounded domains, and on among solutions growing at most like , and explain with Tychonoff's example why the growth condition is needed;
- use energy methods for uniqueness and exponential decay;
- interpret the heat kernel as the law of Brownian motion, and estimate diffusion from physical data.
Brownian motion
In 1827 the botanist Robert Brown saw small particles released from pollen grains jiggling irregularly in water. In 1905 Albert Einstein explained the motion as the result of collisions with water molecules and derived two formulas. A particle performing such a random walk has, in each coordinate, a mean square displacement
because its position at time is distributed according to the heat kernel of (Proposition 3.8). And for a sphere of radius in a fluid of viscosity at absolute temperature , the diffusion coefficient is
where is the gas constant and is Avogadro's number. Measuring by watching particles therefore measures the number of molecules in a mole.
Jean Perrin did this in 1908–09. He prepared suspensions of nearly uniform resin spheres, recorded their positions through a microscope at regular intervals, and computed mean square displacements. His values of Avogadro's number from these and related measurements were around (his published series range from about to ), compared with the modern exact value . The agreement, from several independent methods, settled the long dispute over whether atoms are real; Perrin received the 1926 Nobel Prize in Physics for this work.
To see the scale: a sphere of radius µm in water at °C (viscosity about Pa·s) has, by Einstein's formula with the modern , m²/s. In seconds it wanders a root-mean-square distance µm in each direction: a few of its own diameters, easy to follow in a microscope (Exercise 3.12, Figure 3.3).
The heat kernel
There are two derivations, both already half done.
By scaling (6A.1 What a PDE Is). A solution of the form conserves , and substituting into the heat equation forces . Choosing to make the total integral gives (Exercise 3.9).
By the Fourier transform (4A.6 The Fourier Transform). With , and assuming decays fast enough in for the transform to make sense and to commute with derivatives, the heat equation becomes, for each fixed frequency , the ordinary differential equation
because and so . Its solution is . Each frequency decays independently, at a rate proportional to its square. A product of transforms is the transform of a convolution, and by 4A.6 The Fourier Transform's Gaussian computation (the transform of is , used with ), the function whose transform is is exactly . So .
The two derivations are worth having both. The scaling one shows why the kernel is a Gaussian in : the equation has no length scale except . The Fourier one shows what the equation does: it multiplies the frequency- component by , a low-pass filter whose cut-off frequency is about .
For :
- , and ;
- is smooth and solves on ;
- (semigroup) ;
- (approximate identity) for every , as ;
- (scaling) ; in each coordinate the variance of is .
Proof. (1) The Gaussian integral (3A.5 Product Measures and Change of Variables): . (2) A direct computation (Exercise 3.10). (3) On the Fourier side, , and the transform is injective on integrable functions (4A.6 The Fourier Transform); a direct computation, completing the square in the exponent, is Exercise 3.15. (4) Substituting , the integral is by dominated convergence (3A.3 The Lebesgue Integral). (5) Substitution, and (Exercise 3.9).
The semigroup property says that running the heat equation for time and then for time is the same as running it for time . The approximate-identity property says that as the kernel concentrates all its mass at the origin, so : the heat kernel is the temperature after a unit of heat is released at a point at time (Figure 3.1).
Solving the Cauchy problem
Let be bounded and continuous on , and define
Then is on , solves there, satisfies , and as , for every .
Proof. Smoothness and the equation. Every partial derivative of in and has the form with a polynomial (by induction: differentiating brings down or ). Fix a compact set and an interval with . For and we have , so each such derivative, evaluated at , is bounded by with and independent of and . That is integrable in , and is bounded, so by dominated convergence (3A.3 The Lebesgue Integral) every derivative of exists, is continuous, and is obtained by differentiating under the integral sign. In particular .
Bounds. is an average of with the positive weights , of total mass .
Initial values. Given , pick with for . For ,
and the first term is at most , the second tends to as by property 4.
Three features distinguish the heat equation from the wave equation and from ODEs.
Instant smoothing. The initial data need only be bounded and continuous (in fact bounded and measurable will do, with convergence almost everywhere), yet is for every . The proof gives more: explicit bounds, with the right dependence on .
For every multi-index with there is a constant such that the solution of Theorem 3.2 satisfies
where . Similarly, .
Proof. By property 5, , so by the chain rule . Substituting ,
and is finite because is a polynomial times . Then
For time derivatives use , which involves space derivatives.
Each space derivative costs a factor , exactly as parabolic scaling predicts (6A.1 What a PDE Is): the estimate is unchanged by , and any estimate of this kind must have this form. In one dimension the first constant is (Exercise 3.11). Note also what the estimate does not say: as the bound blows up, as it must, since itself need not be differentiable. These smoothing estimates are the model for Shi's derivative estimates for the Ricci flow (11A.4 Short-Time Existence and Uniqueness), which have the same form .
Data that grow. The convolution formula also works for unbounded data, as long as they don't grow too fast. If , the integral converges for , since then still decays in . The time limit is real: for in one dimension, the solution is , which blows up everywhere at (Exercise 3.16). Heat pours in from infinity faster than it can spread out.
Infinite speed of propagation. If is not identically zero, then for every and every , because everywhere. A disturbance is felt everywhere immediately, though only with weight at distance . The heat equation is a model, accurate over the scales where the random-walk picture applies, not a law that violates relativity.
Sources: Duhamel's principle
Now add a heat source . The idea, Duhamel's principle, is superposition in time: the heat added during the short interval is , and it then spreads by the heat equation for the remaining time . Adding up these contributions suggests
the same idea as variation of constants for linear ODE (2B.10 Ordinary Differential Equations): for , , the solution is , and here the heat kernel plays the role of .
Let have continuous derivatives and () on , and compact support. Then defined above has continuous and for , solves , and as .
Proof. Substituting and , . Now the variables , appear only in and in the upper limit, and is smooth, so (as for Poisson's equation in 6A.2 Harmonic Functions) we may differentiate under the integral:
the last term coming from the upper limit. Since , split the time integral at a small . The piece over is at most , because . On the kernel is smooth; integrate by parts, in (moving onto ) and in (moving onto , with no boundary terms since has compact support):
The first term vanishes because solves the heat equation, and the last cancels the boundary term above. So
by the approximate-identity property and the continuity of , exactly as in the proof of Theorem 3.2. Finally .
Combining the two theorems, solves with . In the language of 6B.13 Semigroups and Evolution Equations, the heat equation generates a semigroup , and Duhamel's formula reads , exactly like the ODE formula. It is the starting point of the fixed-point arguments for nonlinear equations in 6A.8 Nonlinear Parabolic Equations: for , put and look for a fixed point of the resulting integral equation.
In 1973 Fischer Black and Myron Scholes, and independently Robert Merton, derived a PDE for the price of a European option on a stock with price , volatility and riskless interest rate :
solved backward from the payoff at the expiry time . The substitutions , and , with , and , turn it into , an ordinary heat equation run forward in , the time remaining to expiry. The Black–Scholes formula for the price of a call option is the heat-kernel convolution of the transformed payoff, which is why it is written with the Gaussian distribution function. Scholes and Merton received the 1997 Nobel Memorial Prize in Economic Sciences for this work (Black had died in 1995). The model's assumptions, such as constant volatility and continuous trading without costs, fail in real markets, and practitioners adjust for that; the mathematics is a heat equation exactly. 6D.6 Black–Scholes derives the equation from a replication argument and carries out the change of variables in full (Exercise 3.18 does it here).
Maximum principle and uniqueness
On a bounded region the heat equation is well posed with initial values and boundary values. Let be bounded and open, and let be the space-time cylinder. Its parabolic boundary is the bottom and the sides, : everything except the top, the part of the boundary where data are prescribed (Figure 3.2).
Let be continuous on , with and continuous in , and there. Then
Proof. First suppose strictly. If the maximum over were at a point with and , then , so (2B.8 Calculus in Several Variables), and (it is if , and if , since can only have increased to reach a maximum at the final time). Then there, a contradiction. In general apply this to , which has , and let .
Applied to the difference of two solutions and its negative, the maximum principle gives uniqueness and stability: two solutions with the same initial and boundary values agree, and if the data differ by at most the solutions differ by at most .
Uniqueness on all of space
On all of there is no lateral boundary, and something must replace it. The replacement is a condition at infinity: the solution may not grow too fast. The proof is a beautiful use of the maximum principle with a comparison function that does the job of the missing boundary.
Let be continuous on , with and continuous for , solve for , and satisfy the growth bound
for some constants . Then .
Proof. Write , and assume (otherwise there is nothing to prove).
Step 1: a short time interval. Suppose first that . Then there is with , so for some . Fix a point and a number , and compare with
The subtracted function is a heat kernel run backward in time from the instant , with the sign of the exponent reversed; a direct computation (with , as in Exercise 3.10) shows it solves the heat equation, so . It grows like , faster than can, and that is its purpose.
Apply the weak maximum principle (Theorem 3.5) to on the cylinder . On the bottom, . On the side , , using the growth bound and ,
Since grows faster than as , the right side is below once is large enough. So on the parabolic boundary, hence on the whole cylinder. At the centre, :
Let : , for every and every .
Step 2: any time interval. If , apply Step 1 successively on , , …, with , each time using the bound just proved at the start of the interval as the new initial bound.
There is at most one solution of on , continuous up to with , satisfying .
Proof. The difference of two such solutions has and . Apply the theorem to and to : and .
In particular the bounded solution of Theorem 3.2 is the only bounded solution with data . The growth condition cannot be dropped. Andrey Tychonoff constructed in 1935 a non-zero solution on with zero initial values,
which grows faster than any as (Exercise 3.14): heat that arrives "from infinity" in no time.
The same issue arises for the Ricci flow on a complete noncompact manifold. Without some control at infinity, uniqueness can fail. The standard results assume bounded curvature: Shi constructed solutions with bounded curvature (1989), and Chen and Zhu proved in 2006 that complete solutions with bounded curvature are unique. Bounded curvature plays the role of the growth condition here, and it is the hypothesis built into the singularity analysis of Books 11B and 12B.
Energy methods
A second route to uniqueness, which needs no maximum principle and works for systems: measure the size of a solution by an integral. For a solution on the bounded region with on , let . Then, integrating by parts (1A.10 Divergence, Curl and the Integral Theorems),
So never increases; if two solutions have the same data, the energy of their difference is at the start and so always. More is true.
Exponential decay. By the Poincaré inequality with its sharp constant, , where is the first Dirichlet eigenvalue of (4A.8 Compact Operators and Spectra, 4A.10 Sobolev Spaces). So , which says , and therefore
The solution decays exponentially at a rate set by the first eigenvalue: a small body cools fast ( scales like the inverse square of the size, 6A.1 What a PDE Is), a large one slowly. The rate is sharp, attained by with the first eigenfunction.
The gradient decays too. Differentiating the Dirichlet energy, and using on ,
So the solution not only shrinks but becomes smoother in the energy sense; this is the integral counterpart of the smoothing estimates, and in 6A.11 Calculus of Variations and Gradient Flows it is the statement that the heat equation is the gradient flow of the Dirichlet energy.
Backward uniqueness. One more differentiation shows that is a convex function of (6A.1 What a PDE Is, log-convexity), which proves that two solutions that agree at time agreed at all earlier times, even though the backward problem is ill-posed.
The heat kernel is a probability law
Let be a standard Brownian motion in , so that is Gaussian with mean and covariance . Then has density , and the solution of the Cauchy problem is
Proof. A Gaussian with covariance has density (3A.4 Measures, Probability and Weights), which is . The formula is then Theorem 3.2, written as an expectation.
The factor is a convention: probabilists normalise Brownian motion so that its generator is , while the heat equation here has . In words: the temperature at at time is the average of the initial temperature over the endpoints of random paths started at . Brownian motion itself, its construction and the calculus built on it, are the subject of Book 6D (6D.1 Brownian Motion, 6D.2 Martingales and the Itô Integral). The density of a diffusing particle evolves by the heat equation, which in this role is called the Fokker–Planck equation of Brownian motion (Figure 3.3). Harmonic functions have the same interpretation, with stopping at the boundary in place of a fixed time: the solution of the Dirichlet problem at is the expected boundary value where a Brownian path from first exits (the continuous version of the gambler's ruin in 6A.2 Harmonic Functions's exercise on graphs).
In 1862 William Thomson, later Lord Kelvin, used the heat equation to estimate how long ago the Earth's surface solidified. His model was a half-space of rock, initially at a uniform melting temperature , whose surface was suddenly held at . The solution is the self-similar error-function profile of 6A.1 What a PDE Is, , and the temperature gradient at the surface is
Kelvin took the then accepted increase of underground temperature, about °F per feet of depth, a melting temperature of °F, and rock diffusivities derived from measurements on Edinburgh rocks, and obtained about million years; given the uncertainties, he concluded that consolidation took place between and million years ago. The formula reproduces his central figure with a diffusivity of about m²/s, typical of rock (Exercise 3.13).
The modern age of the Earth is about billion years. The mathematics was right; the model was not. Kelvin did not know about radioactive heating, discovered decades later, and, as John Perry pointed out in 1895, heat transport in a partly fluid interior by convection is much faster than conduction through solid rock. It is the classic lesson in the difference between solving an equation correctly and choosing the right equation.
Run the heat kernel backward: with , the function solves the backward heat equation (Exercise 3.19), concentrating at the origin as . Writing it as with , the function has Hessian . In Perelman's work this is the model: along a Ricci flow he solves the conjugate heat equation backward from a point at time , writes the solution as , and measures how far is from satisfying , the shrinking soliton equation; flat space with this is the equality case (12A.3 The 𝓦-Entropy, 12A.5 Reduced Distance and Reduced Volume). Bamler's theory of Ricci flows uses these heat kernels as probability measures on the manifold (12C.9 After Perelman), exactly as Proposition 3.8 does on .
History
Joseph Fourier solved the heat equation on the line with what is in effect the Gaussian kernel in his 1822 Théorie analytique de la chaleur. Kelvin's estimate of the age of the Earth appeared in 1862 in "On the secular cooling of the Earth". Einstein's paper on Brownian motion was one of his papers of 1905; Marian Smoluchowski reached similar results independently in 1906; Perrin's experiments date from 1908–09. Andrey Tychonoff's non-uniqueness example appeared in 1935. The Black–Scholes and Merton papers were published in 1973.
The heat kernel is positive, has mass , forms a semigroup and is an approximate identity. The Cauchy problem is solved by , which is smooth for with derivative bounds , spreads at infinite speed, and stays between and ; Duhamel's principle adds sources. On bounded regions the maximum is attained on the parabolic boundary, and energy decays like ; on the maximum principle and uniqueness hold among solutions bounded by , proved with a backward heat kernel as a barrier, and Tychonoff's example shows the condition is needed. The heat kernel is the law of , and Einstein's , confirmed by Perrin, is its variance. 6A.4 Fourier Methods and Scale Space looks at the same solutions from the side of frequencies, where each Fourier mode decays by itself, and follows the heat equation into image processing; 6A.5 Maximum Principles then takes the maximum principle as far as it goes.
Exercises
(a) Show that using (3A.5 Product Measures and Change of Variables). (b) Show that and .
Solution
(a) The integral factors into one-dimensional ones, each . (b) In one dimension, , by integrating by parts or differentiating in at : , and . Summing over coordinates gives .
Compute and directly and check that they agree. (Use .)
Solution
. .
In one dimension, show that , and deduce for the solution of Theorem 3.2. Why must every such bound scale like ?
Solution
. Then . The bound must be invariant under the scaling , which multiplies by and by , so it must be .
Using J/K, K, Pa·s and µm, compute and the root-mean-square displacement in one coordinate after s. If an experiment measured a mean square displacement of m² in s for these particles, what value of would it give?
Solution
J; kg/s; m²/s; m. From , , and . Small errors in and change the answer proportionally, which is one reason Perrin's careful selection of uniform particles mattered.
(a) Check that the gradient of at is , using . (b) Convert °F and °F per feet to SI-compatible units (a temperature difference in °F and a gradient in °F per metre suffice), and find the diffusivity for which million years. (c) By what factor would change if were doubled? If were °F?
Solution
(a) at . (b) °F/m; s; m²/s. (c) Halved; multiplied by , about million years, which is the figure Kelvin also gives for that melting temperature.
Show formally (differentiating term by term) that satisfies for any smooth , and that if all derivatives of vanish at . (Making this rigorous needs bounds on for , which is where the rapid growth in comes from; Fritz John's Partial Differential Equations gives the details.)
Solution
Term by term, and
the same series. At every coefficient vanishes, so . For (extended by for ), every derivative vanishes at , so is a non-zero solution with zero data. It must violate the growth bound of Corollary 3.7, and it does: the bounds on make grow faster than for every .
In one dimension, verify directly. (Show that , then do the Gaussian integral in .) What does the identity say about sums of independent Gaussian random variables?
Solution
Expanding, with ; completing the square gives , and the last two terms combine to . So the integral is
Probabilistically, the density of a sum of independent random variables is the convolution of their densities (3A.4 Measures, Probability and Weights), so the identity says: the sum of independent Gaussians with variances and is Gaussian with variance . For Brownian motion it says the increments over and add up correctly.
Let . (a) Verify that solves for , with . (b) Show that it is the only solution on , for any , satisfying a bound . (c) What happens at ?
Solution
(a) Write , so , and . Then , and , . (b) On , , so ; Corollary 3.7 applies. (c) at every point as : no solution of this kind continues past that time.
Let be bounded and continuous on with . Extend to an odd function on , and let . (a) Show that for , so solves the heat equation on the half-line with Dirichlet condition at . (b) Show that
(c) What changes for the insulated condition ?
Solution
(a) is even and is odd, so their convolution is odd: , and an odd continuous function vanishes at . (b) Split the convolution into and and substitute in the second part, using . (c) Use the even extension instead: the convolution is even, so its derivative vanishes at , and the kernel becomes . This method of images is developed for domains in 6B.4 Green’s Functions, Separation of Variables and Transforms.
Starting from , put , and . (a) Show that with . (b) Put and choose , to eliminate the and terms; show that , and .
Solution
(a) ; ; (since and ). Substituting and dividing by : . (b) With : , , . Substituting, . Take ; then .
Let and with . (a) Show that solves the backward heat equation for . (b) Compute , , and , and check the identities
The first is the shrinking soliton equation on flat space, where ; the second is the flat-space case of the identity that makes Perelman's -entropy constant on a shrinking soliton (12A.3 The 𝓦-Entropy).
Solution
(a) , and because it is the heat kernel in the variable ; so . (b) , , , . Then .
Free resources for this chapter
Chosen for what this chapter covers, and all free to read or watch. Links checked Nov 6, 2026.
Read
- Notes Lecture 2: Introduction to the heat equationMIT OpenCourseWare 18.152 Introduction to PDEs (Fall 2011)The heat equation and its scaling.
- Notes Lecture 3: The heat equation: UniquenessMIT OpenCourseWare 18.152 Introduction to PDEs (Fall 2011)Uniqueness by energy methods.
- Notes Lecture 5: The heat equation: Fundamental solution and the global Cauchy problemMIT OpenCourseWare 18.152 Introduction to PDEs (Fall 2011)The heat kernel and the solution of the Cauchy problem.
- Reference Heat equation: Fundamental solutionsWikipediaThe heat kernel on ℝⁿ.
Watch 3 lectures and talks
- Video Deriving the Heat Equation: A Parabolic PDE for Heat Energy ConservationSteve Brunton, PDE lectures (University of Washington)The heat equation derived from conservation of energy and Fourier’s law.
- Video Solving the Heat Equation with the Fourier TransformSteve Brunton, PDE lectures (University of Washington)The heat kernel on the line found with the Fourier transform.
- Video Lecture 6: Wave Profiles, Heat Equation / Point SourceMIT OpenCourseWare 18.086 Mathematical Methods for Engineers II (Spring 2006), Gilbert StrangThe heat equation from a point source: the Gaussian fundamental solution.
© 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.