© 2026 NeckPinch · www.neckpinch.com · All rights reserved.
Course 6Book 6A: The Heat Equation and Its RelativesChapter 1
What a PDE Is
Well-posedness, classification, parabolic scaling, and why the backward heat equation is ill-posed.
Read with Evans, Partial Differential Equations, chapter 1 (the classification of equations and the meaning of well-posedness) and section 2.1 (the transport equation, a first equation solved by hand). Evans's chapter 5 on Sobolev spaces was read alongside Book 4A and can be skipped here.
This book is about one equation and its relatives. The heat equation
says that the rate of change of a temperature at a point is proportional to how much the temperature there falls short of the average around it (2B.7 Fourier Series and the First Heat Equation). It is the simplest equation that smooths, the model for every diffusion in physics, chemistry, biology and finance, and, through Hamilton's insight, the model for the Ricci flow: is a nonlinear heat equation for a Riemannian metric (11A.1 The Equation and Its First Solutions). Every analytic tool used on the Ricci flow is first a tool for the heat equation, and this book builds them in their simplest setting.
Before the tools, the vocabulary. This chapter says what a partial differential equation is, how equations are sorted into types, and what it means for one to be well posed. Then it proves two facts about the heat equation that hold for every parabolic equation and shape the whole subject. Parabolic scaling: diffusion over a distance takes a time proportional to . Irreversibility: the heat equation can be solved forwards in time from any reasonable initial state, but not backwards.
By the end of this chapter you will be able to:
- say what the order of a PDE is, and whether it is linear, semilinear, quasilinear or fully nonlinear;
- classify second-order equations as elliptic, parabolic or hyperbolic from their symbol;
- state Hadamard's three conditions for well-posedness, and recognise an ill-posed problem;
- use parabolic scaling to estimate diffusion times, and find self-similar solutions of the heat equation;
- explain, with Fourier modes, why the backward heat equation is ill-posed and why deblurring an image is unstable.
Diffusion takes the square of the distance
Oxygen reaches a cell by diffusion: molecules wander at random, and their concentration obeys the diffusion equation , where is the diffusion coefficient. For oxygen in water at room temperature, is about m²/s (measured values lie between about and ), and in tissue at body temperature it is of the same order. A diffusing quantity typically travels a distance in a time of order
(the precise statement, in each coordinate, is proved in 6A.3 The Heat Equation on ℝⁿ). With m²/s:
| distance | time |
|---|---|
| µm, across a cell | s |
| mm | about minutes |
| cm | about hours |
| m | about years |
Diffusion is fast over the size of a cell and hopeless over the size of a body. So animals larger than a few millimetres need a circulation that carries oxygen by flow to within a few cell widths of where it is used, and then lets diffusion finish the job. The square in is the whole story: multiply the distance by , and the time is multiplied by .
The same law governs cooking. Heat conducts into food by the heat equation, with the thermal diffusivity in place of (about m²/s for water, and of the same order for most foods, which are mostly water). So, other things being equal, a steak twice as thick takes about four times as long to cook through. Rowat and colleagues use exactly this example to teach diffusion in "The kitchen as a physics classroom" (Physics Education, 2014). Other things are rarely exactly equal (evaporation, fat, bone, and the shape of the food all matter), so the square law is a scaling law, not a recipe.
What a PDE is
A partial differential equation is an equation relating an unknown function of several variables to its partial derivatives. Its order is the highest order of derivative that appears. Some of the equations this guide uses, with or for :
| equation | name | type |
|---|---|---|
| transport | linear, first order | |
| Poisson (Laplace if ) | linear, elliptic | |
| heat | linear, parabolic | |
| wave | linear, hyperbolic | |
| Fisher–KPP (6A.4 Maximum Principles) | semilinear, parabolic | |
| porous medium (6A.7 Nonlinear Parabolic Equations) | quasilinear, parabolic (degenerate) | |
| Monge–Ampère (5A.6 Where This Track Leads) | fully nonlinear, elliptic | |
| Ricci flow (11A.1 The Equation and Its First Solutions) | quasilinear system, weakly parabolic |
The words in the last column measure how nonlinear an equation is, according to where the nonlinearity sits. A second-order equation is
- linear if it has the form ;
- semilinear if the coefficients of the highest derivatives depend only on , and the nonlinearity is in the lower-order terms, as in Fisher–KPP;
- quasilinear if it is linear in the highest derivatives, with coefficients that may depend on and its lower derivatives: ;
- fully nonlinear if the highest derivatives enter nonlinearly, as in .
The more nonlinear, the harder. Semilinear equations behave much like linear ones on short time scales. Quasilinear equations can be handled by freezing the coefficients and solving a linear problem, which is the strategy of 6A.7 Nonlinear Parabolic Equations. The Ricci flow is quasilinear: written in coordinates, involves second derivatives of linearly, with coefficients depending on itself.
Elliptic, parabolic, hyperbolic
For a linear second-order operator , with symmetric, the principal symbol is the quadratic form
It records what the operator does to a fast oscillation: if with large, then , since the second derivatives dominate. The operator is elliptic if for every , that is, if the matrix is positive definite (2B.8 Calculus in Several Variables). The Laplacian is the model: .
An evolution equation with elliptic is parabolic: the heat equation is the model. An equation with elliptic is hyperbolic: the wave equation. The types behave completely differently. Elliptic equations describe equilibria and have smooth solutions; parabolic equations describe diffusion and smooth their data instantly; hyperbolic equations describe waves and carry singularities along at finite speed. This book is about the first two.
The symbol explains why. For a Fourier mode , the heat equation becomes the ODE (4A.5 The Fourier Transform), so the mode decays at the rate : the more it oscillates, the faster it dies. The positivity of the symbol is exactly what makes every oscillating mode decay. If were negative in some direction, the corresponding modes would grow, and if vanished in some direction, those modes would be left untouched.
The Ricci flow's symbol is not positive definite: it vanishes on the directions corresponding to changing the metric by a diffeomorphism. Since for every diffeomorphism , the equation cannot tell a metric from its reparametrisations, and the linearised operator has a large kernel. The flow is only weakly parabolic, and the standard existence theory of 6A.7 Nonlinear Parabolic Equations does not apply directly. DeTurck's trick (11A.3 Short-Time Existence and Uniqueness) adds a term that breaks the symmetry and makes the symbol positive definite. Computing a symbol is the first thing to do with any new geometric equation.
Well-posed problems
What does it mean to have solved a PDE? Jacques Hadamard proposed in 1902 that a problem for a PDE (an equation together with initial or boundary conditions) is well posed if
- a solution exists;
- it is unique;
- it depends continuously on the data: small changes in the initial or boundary conditions produce small changes in the solution.
The third condition is the one that matters for applications. Data are measured, so they are never exact; a problem in which arbitrarily small errors in the data can produce large changes in the answer is useless for prediction, even if solutions exist and are unique. Which norms "small" refers to is part of the statement, and choosing them is part of the art.
Hadamard's own example of an ill-posed problem is the Laplace equation with initial data, as if it were an evolution equation. On consider with and . The solution is
As the data tend to uniformly, but at the solution has size . The zero solution has data arbitrarily close to that of a solution which is enormous a unit distance away. Elliptic equations are well posed with boundary conditions (the Dirichlet problem, 5A.4 Harmonic Functions and Conformal Mapping, 6A.2 Harmonic Functions), not with initial conditions.
Parabolic scaling
If solves , then for every so does
Proof. By the chain rule, and .
Space and time scale differently: shrinking lengths by shrinks times by . So the natural way to measure a region of space-time is by a length in space and in time, and the basic regions are parabolic cylinders (6A.6 Parabolic Regularity). The diffusion time estimate is this proposition in physical units (Figure 1.1).
Scaling also finds solutions. Look for solutions that are unchanged by parabolic scaling up to a factor, of the form
In one dimension, substituting and writing gives the ODE (Exercise 1.6). For this is , solved by : we recover, up to a constant, the heat kernel , the subject of 6A.3 The Heat Equation on ℝⁿ. The exponent is forced by requiring the total heat to be conserved. For , the solution gives the error function profile: the temperature near the surface of a half-space suddenly heated, which Kelvin used to estimate the age of the Earth (6A.3 The Heat Equation on ℝⁿ).
The Ricci flow has the same scaling law. Since for a constant , if is a Ricci flow then so is : metrics scale like length squared, and time scales like the metric, that is like length squared (Exercise 1.9, 11A.1 The Equation and Its First Solutions). Every blow-up argument in the subject, from Hamilton's singularity analysis (11B.4 Singularities) to Perelman's κ-solutions (12B.1 κ-Solutions), rescales a flow near a high-curvature point by this law and takes a limit.
The backward heat equation is ill-posed
Forward in time, the heat equation is well posed in every reasonable sense (6A.3 The Heat Equation on ℝⁿ, 6A.4 Maximum Principles). Backward, it is not. On the circle , a solution is (2B.7 Fourier Series and the First Heat Equation). Given the state at time , recovering the state at time means multiplying the -th Fourier coefficient by .
There are solutions of on the circle, , whose final values tend to uniformly while their initial values do not stay bounded.
Proof. Take . At it has size . At it has size .
A measurement of the present state, however accurate, contains errors at high frequency, and running the heat equation backwards multiplies them by factors that grow like . Worse, most states have no past at all: since every forward solution is smooth (indeed analytic, 5A.3 Residues and Fourier Transforms) at positive times, a final state that is not smooth cannot be the result of heat flow. The heat equation destroys information, at a rate that grows with frequency. That is the mathematical form of irreversibility, and it reappears as the monotonicity of entropy in 6A.10 Entropy, Information and Diffusion.
Blurring a photograph by an out-of-focus lens, or by atmospheric turbulence, acts approximately as convolution with a smooth kernel; for a Gaussian blur it is exactly running the heat equation forward for some time (3A.8 Convolution and Mollifiers). Deblurring is running it backward. A naive deblurring divides each Fourier coefficient of the image by the Fourier transform of the blur, which for a Gaussian blur is the factor above. Fine detail is recovered in principle, but noise in the image, which is present at all frequencies, is amplified enormously (Figure 1.2). Practical image restoration therefore regularises: it gives up the highest frequencies, or penalises solutions that are too rough (Tikhonov regularisation, Wiener filtering, total-variation methods). Every such method is a deliberate compromise forced by the ill-posedness of the backward heat equation.
Perelman's monotonicity formulas use a conjugate heat equation, along a Ricci flow (12A.2 Ricci Flow as a Gradient Flow). Its sign is reversed, so it is ill-posed forward in time. It is solved backward, from a final condition at a later time, where it is well posed: in the backward time variable it is an ordinary heat equation. The Gaussian that appears in Perelman's -entropy (12A.3 The 𝓦-Entropy) is a heat kernel run this way. Knowing which direction a parabolic equation can be solved in is not a technicality; it decides how the argument is built.
History
Joseph Fourier's Théorie analytique de la chaleur (1822) derived the heat equation and solved it with series. Adolf Fick's law of diffusion (1855) put diffusing substances under the same equation. The classification of second-order equations into elliptic, parabolic and hyperbolic was settled in the nineteenth century, and the names are by analogy with conic sections: replacing derivatives by variables turns the model operators into polynomials whose level sets are an ellipse, a parabola and a hyperbola (Exercise 1.8). Jacques Hadamard formulated well-posedness in 1902 and gave his example of the ill-posed Cauchy problem for the Laplace equation; his book Lectures on Cauchy's Problem in Linear Partial Differential Equations (1923) developed it. The study of ill-posed problems and their regularisation became a field of its own in the 1960s, with Andrey Tikhonov's work.
A PDE is classified by its order, by how nonlinear it is (linear, semilinear, quasilinear, fully nonlinear), and, for second-order equations, by its symbol: elliptic when the symbol is positive definite, parabolic for with elliptic. A problem is well posed when solutions exist, are unique and depend continuously on the data. The heat equation is invariant under , so diffusion over a distance takes a time of order , and self-similar solutions lead to the heat kernel. Backward in time the heat equation is ill-posed: high frequencies grow like . 6A.2 Harmonic Functions studies the equilibria of the heat equation, the harmonic functions.
Exercises
For each equation, give the order and say whether it is linear, semilinear, quasilinear or fully nonlinear; for the second-order ones say whether they are elliptic, parabolic or hyperbolic. (a) . (b) , in the regions and . (c) . (d) . (e) .
Solution
(a) Second order, semilinear, parabolic. (b) Linear; elliptic for , hyperbolic for (an equation of Tricomi type, which changes type across ). (c) Second order, quasilinear: expanding, the coefficients of depend on ; parabolic, since the coefficient matrix is positive definite. It is a close relative of the mean curvature flow of a graph (6A.8 Curve Shortening and the First Geometric Flows), which has an extra factor on the right. (d) Second order, fully nonlinear (a Monge–Ampère equation), elliptic at convex solutions. (e) First order, quasilinear (Burgers' equation).
(a) Using with m²/s, check the table in the oxygen example. (b) A sugar molecule in water has m²/s. Roughly how long does it take a lump of sugar's molecules to spread cm through a still cup of tea by diffusion alone? What does this tell you about why we stir? (c) If a cm steak takes minutes to cook through, estimate the time for a cm steak from the square law, and list two reasons the estimate might be off.
Solution
(a) : s; s; s, about hours; s, about years. (b) s, a little over a day: convection from stirring (or from temperature differences) does the mixing, not diffusion. (c) minutes. The pan heats one side only, so the geometry is not symmetric; heat transfer at the surface is not instantaneous; meat contracts and loses water as it cooks.
(a) Check that solves Laplace's equation with and . (b) Which of Hadamard's three conditions fails, and in which norms? (c) Why does the same construction not work for the heat equation forward in time?
(a) Substitute into and derive . (b) Show that is independent of only if (when the integral is finite and non-zero). (c) Solve the ODE for and for . (d) In , show that conserves , and find .
Solution
(a) and . (b) . (c) : ; the solution decaying at infinity has , so . : , so and . (d) , the -dimensional heat kernel when .
On the circle , suppose the state at time is known to within an error of in every Fourier coefficient. Up to which frequency can the initial state be recovered with error at most in each coefficient? Explain why this cut-off is a form of regularisation.
Solution
We need , i.e. , so and . Discarding all frequencies above trades the lost detail for stability: that is the simplest regularisation, spectral truncation.
In each of the operators , and (in the two variables , ), replace each by a variable and each by , to get the polynomials , and . Show that setting each equal to a non-zero constant gives a parabola, an ellipse (here a circle) and a hyperbola.
Assume the fact, proved in 9A.4 Curvature and What It Means, that for every constant . (a) Show that if solves , then so does . (b) The round sphere of radius in dimension has . Show that is the Ricci flow from the unit sphere, so it disappears at . (c) Use (a) to deduce, without computing, that the sphere of radius disappears at time : time scales like length squared, as in the heat equation.
Solution
(a) . (b) , and . (c) The sphere of radius is with , so its flow is , which ends at .
© 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.