© 2026 Neckpinch · www.neckpinch.com · All rights reserved.
Course 6Book 6A: The Heat Equation and Its RelativesChapter 5
Maximum Principles
Weak and strong maximum principles, comparison, and invariant regions for systems.
Read with Evans, Partial Differential Equations, section 2.3.3 (the maximum principle for the heat equation), section 6.4 (maximum principles for elliptic operators, including Hopf's lemma) and section 7.1.4 (maximum principles for parabolic operators). Jost, chapter 3 (the maximum principles of Hopf and of Alexandrov–Bakelman), is a second voice. Protter and Weinberger, Maximum Principles in Differential Equations, is the classic reference, and the proof of the parabolic strong maximum principle below follows its chapter 3.
In this chapter · 9 sections
The maximum principle is the most important single tool in the analysis of the Ricci flow. Hamilton's 1982 theorem, the Hamilton–Ivey pinching estimate, the preservation of positive curvature, the lower bound on scalar curvature that Perelman uses at every step: all of them are maximum principles. And every one of them rests on an argument that fits in one line, which this chapter isolates, proves in its various forms, and then extends from single equations to systems.
The line is this. At a point where a function first reaches a new maximum, its gradient vanishes, its Hessian is negative semidefinite, and its time derivative is non-negative. So there. If an equation says is negative at such a point, the point cannot exist. You have met each half of this argument before: the extreme value theorem (2A.9 Continuous Functions), the derivative at a maximum (2A.10 Derivatives), and the second-derivative test (2B.8 Calculus in Several Variables). This chapter combines them.
By the end of this chapter you will be able to:
- state and prove the weak maximum principle for parabolic and elliptic operators with lower-order terms;
- prove Hopf's lemma with a barrier, and the strong maximum principle in its elliptic and parabolic forms;
- prove comparison principles for semilinear equations, and compare a PDE with an ODE;
- explain why maximum principles fail for systems in general, and prove that invariant convex sets of the reaction ODE are invariant for the reaction–diffusion system, using Hamilton's lemma on the derivative of a maximum;
- recognise the invariant-region argument as the ancestor of Hamilton's tensor maximum principle.
No cold spot forms by itself
Heat flows from hot to cold. In a body with no internal heat sources, conduction can only smooth temperatures out, so no new hot spot or cold spot can form inside: the maximum and minimum temperatures over the whole history are reached at the start or on the surface. This is the weak maximum principle for the heat equation (6A.3 The Heat Equation on ℝⁿ, Theorem 5.1). Engineers use it in both directions. To bound the temperature of a component that conducts heat, it suffices to bound the initial temperature and the temperatures imposed on its surface; the interior can be no worse. And when there are sources, the principle becomes a comparison: if the heating rate is at most , the temperature is at most that of a body heated uniformly at rate with the same surface conditions, which can often be computed by hand (Theorem 5.8).
The core argument
Let be smooth on a region of space-time, and suppose is a point where has a spatial maximum at an interior point , and was smaller or equal just before . Then at :
Every maximum principle in this book, and every maximum principle for the Ricci flow in 11A.7 Maximum Principles under Ricci Flow, is this observation plus a way to rule out the equality cases.
The first two are the first- and second-order conditions for an interior maximum (2B.8 Calculus in Several Variables); a negative semidefinite matrix has non-positive trace. The third is the one-sided derivative at a point the function has reached from below (2A.10 Derivatives). More generally, if is positive semidefinite and , then (the trace of a product of a positive and a negative semidefinite matrix is non-positive, Exercise 5.11). So the argument works for any operator whose second-order part has a positive semidefinite coefficient matrix: any elliptic operator (6A.1 What a PDE Is).
The weak maximum principle
Let be bounded and open, and its parabolic boundary (6A.3 The Heat Equation on ℝⁿ). Consider the operator
with continuous bounded coefficients and positive semidefinite (for the strong principle we will need uniform parabolicity, with ).
Let .
- If and in , then .
- If and in , then , where .
Proof. (1) Suppose first . If the maximum over were attained at with and , then by the core argument , and there, so : a contradiction. In general let ; then , so is attained on , and letting gives the claim.
(2) If there is nothing to prove. Otherwise, on the open set , the operator satisfies , since and there. Apply (1) to on (the components of) : the positive maximum is attained on the parabolic boundary of , where either or the point lies on .
The sign condition on matters: for , the function on is zero on the sides, positive inside, and grows. With the equation has a source proportional to , and the maximum can grow. That is exactly what happens in the reaction terms below, and it is handled by comparison with an ODE rather than forbidden.
When has no sign but is bounded below, , the substitution helps: , so becomes for an operator with zero-order coefficient , and part 2 applies to . The price is the factor : the maximum of can grow, but at most exponentially. The proof of Theorem 5.8 below uses exactly this trick.
A body occupying the ball is heated internally at a rate at most , and its surface is kept at temperature ; initially it is at most at temperature . So in , on the parabolic boundary. How hot can it get? Try the steady profile
which has (since , 6A.2 Harmonic Functions) and on the parabolic boundary. Then satisfies and on the parabolic boundary, so by the weak maximum principle:
The bound is attained in the limit when the heating is exactly , so it is sharp. The method, finding an explicit supersolution and comparing, is the everyday use of the maximum principle: the hard work is guessing .
The elliptic case is the time-independent version: if in a bounded with uniformly positive definite, then (Evans, section 6.4.1). The proof perturbs by instead of , using the uniform ellipticity to make the perturbation strictly subsolution (Exercise 5.12).
The strong maximum principle and Hopf's lemma
The weak principle says the maximum is attained on the boundary. The strong principle says it is attained only there, unless the function is constant. For harmonic functions this came from the mean value property (6A.2 Harmonic Functions). For general operators, which have no mean value property, it comes from a lemma about the boundary.
Let satisfy in , with uniformly elliptic. Suppose , for all , and satisfies an interior ball condition at : there is a ball with . Then the outward normal derivative satisfies
Proof. Translate so that . Consider the barrier , which is positive in , zero on , and has on . A computation (Exercise 5.13) shows that for large, satisfies the strict inequality in the annulus . On , strictly, so for small , there; on , and , so . By the weak maximum principle on , in , with . So has a maximum at over , and , i.e. .
The barrier is the important idea: an explicit function, built to satisfy a strict inequality, that is compared with the unknown solution by the weak maximum principle. Barriers are how boundary behaviour is controlled throughout elliptic and parabolic theory.
Let be connected and satisfy , with uniformly elliptic. If attains its maximum over at an interior point, then is constant. The parabolic version holds too: if in , with connected, and attains its maximum over at with , , then is constant on .
Proof. (Elliptic case.) Let and , closed in and non-empty. If were non-empty, choose a point of closer to than to , and the largest ball in around it; this ball touches at some in the interior of , and satisfies the interior ball condition there. Hopf's lemma applied on that ball gives . But is an interior maximum of , so . So is empty. The parabolic case is proved in the next subsection.
The parabolic strong maximum principle
For the heat equation and its relatives, the strong maximum principle has a twist: the information travels only forward in time. A maximum at time forces the solution to be constant at all earlier times, but says nothing about later ones (a solution can be constant until some time and then start to change, if the boundary values change). The proof, due to Louis Nirenberg (1953), works in space-time and uses balls and paraboloids as barriers. We give it in the form of Protter and Weinberger, in three lemmas, for
with bounded continuous coefficients and , . Throughout, is an open set in space-time , , in and in . Points of space-time are written , and "ball" means a Euclidean ball in the variables .
Suppose a closed ball with centre has in its interior, and at a point of its boundary. Then : the point is the "north" or "south" pole of .
Proof. Suppose . Shrinking (replacing it by a smaller ball inside it, tangent to it at ), we may assume is the only point of where ; the new ball still has . Let be the radius of and a small closed ball around , of radius less than , so that on . Consider
which is positive inside , zero on and negative outside. Writing and ,
on , for a constant depending on the bounds for the coefficients and on . So on once is large; fix such an .
Split into the part in the closed ball and the part outside . On the compact set , (the only point of 's boundary with is the centre of , which is not on ), so there for some . Choose with on . Then satisfies on ; on , so . Thus on all of , while at the centre of , . So the maximum of over is attained at an interior point of , where , and (an interior point in time as well as space), giving . But : a contradiction.
If , then at every point of a horizontal segment ( a unit vector) contained in .
Proof. Suppose not, and let be the smallest with ; so on the segment for . For such let be the distance from the point to the closed set ; for close to , is small, and the closed ball of radius about lies in , has inside and touches at a boundary point. By Lemma 5.5 that point is a pole: . Now compare nearby : the pole of the ball about is at distance from , so , and symmetrically. Hence
so the function has derivative wherever is close to , and is constant there. But as , so near , contradicting .
Suppose at all points of in , for some with . Then .
Proof. Suppose . Consider the paraboloid barrier
which is positive exactly in the region , a paraboloid opening towards the past with its tip at . With ,
which is negative for once is large. Let be the part of with , for so small that . Its parabolic boundary consists of the curved part, where and (with except at the tip, which lies on ), and the bottom , where , hence by compactness. Take with on , and . Then on the parabolic boundary of and in . The core argument shows that the maximum of over is attained on that parabolic boundary (at any other point , and would give ), so on , while . The points with lie in , so , and . In space, at , with equality at , so and at . Therefore , contradicting .
Proof (The parabolic case of the strong maximum principle). Let be connected, as in Theorem 5.4, with maximum over attained at , , . Suppose, for a contradiction, that for some and .
Sideways. Join to by a polygonal path in (possible because is open and connected, 2B.4 Connectedness). Applying Lemma 5.6 segment by segment, along the path at time ; in particular , so .
Upwards. Let be the supremum of the times such that for all ; by continuity . Choose with . For each , , so by Lemma 5.6 along the radii of the ball, for every . Thus the hypothesis of Lemma 5.7 holds at , and . If , continuity gives slightly beyond , contradicting the definition of ; so and , contradicting the choice of .
Hence on .
The asymmetry in time is genuine. In Lemma 5.7 the paraboloid opens towards the past, and no barrier opening towards the future works, because the heat equation does not see the future. On a closed manifold, the same proof gives: if a solution of attains its spatial maximum over at a time , it was constant up to . Hamilton's strong maximum principle for tensors has the same structure (11A.7 Maximum Principles under Ricci Flow).
Hamilton's strong maximum principle for tensors says, for instance, that under the Ricci flow a manifold whose curvature operator is non-negative either has positive curvature operator immediately, or its curvature operator has a kernel that is invariant under parallel transport, and then the manifold locally splits as a product (11A.7 Maximum Principles under Ricci Flow). That is how κ-solutions with a zero curvature direction are shown to split off a line (12B.3 The Structure of κ-Solutions). The scalar strong maximum principle here is its first case.
Comparison principles
Most equations of interest are nonlinear. The maximum principle extends to them through comparison: a solution lying below another at the start and on the boundary stays below.
Let be Lipschitz with constant . Suppose , satisfy
( is a subsolution, a supersolution) and on . Then in .
Proof. Let . Where , with , . So where . Let : then there, with . By part 2 of Theorem 5.1 (applied on the set where ), . So .
Two uses recur.
Comparison with an ODE. Spatially constant functions solve exactly when . So on a domain where boundary terms are controlled (all of with bounded solutions, a closed manifold, or a domain with suitable boundary values), a solution that starts above stays above . The PDE is at least as good as its ODE. For example, a solution of on a closed manifold with satisfies and must blow up by time (6A.8 Nonlinear Parabolic Equations).
Sandwiching. A solution can be trapped between an explicit subsolution and an explicit supersolution. This is how front speeds are bounded (Figure 5.3), how blow-up times are estimated, and how, in geometric flows, a flowing curve or surface is compared with explicit shrinking spheres: a closed curve inside a circle under curve shortening stays inside the shrinking circle and so must become extinct before it does (6A.10 Curve Shortening and the First Geometric Flows).
Systems and invariant regions
For a system , maximum principles componentwise generally fail. If the components are coupled in their second-order terms, or in their reaction terms, one component can be pushed above its initial maximum by another. What survives is a geometric statement: a closed convex set in the space of values that the reaction terms never push solutions out of is never left by the solution of the full system.
Let be locally Lipschitz, and let be closed and convex. Suppose is invariant for the ODE : solutions that start in stay in . Let be a smooth solution of the reaction–diffusion system
with the same diffusion operator acting on every component, on a closed manifold (or on with bounded solutions, or on a bounded domain with values in on the boundary). If for all , then for all and .
We prove the theorem on a closed manifold (a reader who has not met manifolds yet can take to be a torus, that is, periodic in each variable): there is no boundary, and is compact, so maxima over exist. The other cases need only boundary bookkeeping. The proof uses a lemma of Hamilton's about how a maximum changes in time, which recurs in every maximum-principle argument for the Ricci flow.
Let be a compact space and continuous, with existing and continuous on . Let . Then for every ,
Proof. Choose realising the , and points with . By compactness a subsequence has , and by continuity ( is continuous, being a maximum of a continuous function over a compact set), so is a maximum point at time . Since ,
for some , by the mean value theorem. As the right side tends to , by continuity of .
Proof (The invariant region theorem). Distance to through half-spaces. For a unit vector let (the support function; it may be for unbounded , and such play no role below). For let be the nearest point of (it exists and is unique because is closed and convex, 4A.5 Hilbert Spaces and Lax–Milgram), and . The projection is characterised by for all . Two facts follow.
- for , attained only at , and . Indeed, for any unit , , with equality in the second step only for ; and for the characterisation gives for , so and the first step is an equality.
- If , is a unit vector with , and is invariant for , then . Otherwise the ODE solution from has at , so for small , and has left .
The function to watch. Let , a continuous function with . We show . Fix ; the values for lie in a compact set, and on a compact set containing them and their projections has a Lipschitz constant .
The derivative where . Suppose . By fact 1, with , restricted to the compact set of with near the maximisers (more simply: since is attained at some , the maximum over all is attained among with finite, and is continuous there). At a maximum point , write ; then and has . Two things hold there. First, maximises the smooth function over , so . Second, by fact 2 and the Lipschitz bound,
Since the same acts on every component, , so at every maximum point. By Lemma 5.10,
Conclusion. Suppose for some , and let , so and on . On that interval has non-positive upper right derivative, and a continuous function with non-positive upper right Dini derivative is non-increasing (Exercise 5.17). So for , , and letting gives : a contradiction. Since was arbitrary, for all and .
The hypotheses matter. Convexity is used to write by linear inequalities, which commute with , and to make the nearest-point projection unique. Equal diffusion is used so that solves a scalar heat equation; with different diffusion rates in different components only rectangles (products of intervals) remain invariant in general (Exercise 5.16).
Under the Ricci flow the curvature operator evolves by a reaction–diffusion equation
where the reaction term is quadratic. Hamilton's tensor maximum principle (1986) is Theorem 5.9 in this setting: a closed convex set of curvature operators, invariant under parallel transport, that is preserved by the ODE , is preserved by the Ricci flow. Positive curvature operator, positive Ricci curvature in dimension 3, and the Hamilton–Ivey pinching set are all proved invariant this way, by checking an ODE (11A.7 Maximum Principles under Ricci Flow, 11A.10 Hamilton–Ivey Pinching). The figure Figure 5.2 is redrawn for curvature in 11A.7 Maximum Principles under Ricci Flow.
Invasion fronts
In 1937 Ronald Fisher, and independently Andrey Kolmogorov, Ivan Petrovsky and Nikolai Piskunov, studied
a model of a population (or an advantageous gene) that diffuses with coefficient and grows logistically at rate , with the density as a fraction of the carrying capacity. The interval is invariant for the ODE , so by comparison with the constant solutions and every solution starting between and stays there (Exercise 5.14). A population introduced in a small region spreads as a travelling front, and the front moves at the speed
the slowest speed for which a front connecting to with exists (Exercise 5.15, Figure 5.3).
The linear rate is a striking prediction: the radius of the occupied region grows proportionally to time, not to as for pure diffusion, because growth at the edge keeps refilling it. John Skellam tested it in 1951 on the spread of the muskrat in central Europe, after a few animals were released on an estate southwest of Prague in 1905. Plotting the square root of the area of the occupied range, proportional to its radius, against the year, he found the points close to a straight line, as the model predicts. Similar spreading rates have since been fitted for many invasive species, with the caveats that real landscapes are not uniform and that long-distance jumps can make fronts accelerate. 6A.9 Reaction–Diffusion: Fronts, Patterns and Pinching proves that fronts exist for every speed and explains why the slowest one is selected.
Chemistry. Concentrations in reaction–diffusion models of chemical systems should stay non-negative. If each reaction rate is non-negative whenever and the other concentrations are non-negative (a substance can't be consumed when there is none of it), then the non-negative orthant is invariant for the ODE, and by the theorem (in its version for products of intervals, which allows different diffusion rates) for the reaction–diffusion system too. Models without this property are physically wrong, and the maximum principle is how one checks.
History
The maximum principle for harmonic functions was known in the nineteenth century; for general second-order elliptic operators the strong maximum principle is due to Eberhard Hopf (1927), and the boundary lemma to Hopf (1952) and, independently, Olga Oleinik (1952), with an earlier version by Stanisław Zaremba (1910). Louis Nirenberg proved the strong maximum principle for parabolic equations in 1953. Invariant regions for reaction–diffusion systems were introduced by Hans Weinberger (1975) and developed by Kuan-Nan Chueh, Charles Conley and Joel Smoller (1977). Richard Hamilton's tensor maximum principle appeared in his 1986 paper on four-manifolds with positive curvature operator. Fisher's and Kolmogorov–Petrovsky–Piskunov's papers are from 1937, and Skellam's from 1951.
At a first interior maximum, , and ; perturbing by turns this into the weak maximum principle for parabolic operators, and by for elliptic ones, with allowed for non-negative maxima. Hopf's lemma, proved with a barrier, gives the strong maximum principle. Comparison principles extend all this to semilinear equations, and comparison with the ODE bounds solutions of . The parabolic strong maximum principle, proved with balls and paraboloids as barriers, says a maximum at time forces constancy at all earlier times. For systems with equal diffusion, closed convex sets invariant under the reaction ODE are invariant under the PDE, proved by watching the distance to the set with Hamilton's lemma on the derivative of a maximum: the ancestor of Hamilton's tensor maximum principle. 6A.6 Weak Solutions and Elliptic Regularity turns from pointwise methods to energy methods and weak solutions.
Exercises
Let be symmetric positive semidefinite and symmetric negative semidefinite. Show that . (Diagonalise with , 1A.6 Symmetric Matrices and the Spectral Theorem, and write .)
Solution
With ( orthonormal eigenvectors, ), , using . Each because is negative semidefinite, and each .
Let with and . Show that satisfies if , and use to prove that in a bounded implies .
Solution
. Then , so cannot have an interior maximum (at one, by the core argument). Hence ; let .
For , compute and . Show that on ,
which is negative once is large.
Solution
, and . On the annulus , the bracket is at most , negative for .
Use Theorem 5.8 with (Lipschitz on , which suffices after a truncation argument) and the constant solutions and to show that a solution on with and bounded derivatives satisfies for all time. Then show for unless .
Solution
Let be a Lipschitz function equal to on and constant outside; the solution of the truncated problem satisfies the comparison principle, and the constants and solve it (). Comparison (on , using 6A.3 The Heat Equation on ℝⁿ's maximum principle for bounded solutions in place of the boundary) gives ; in this range , so solves the original equation. For positivity, put . Then , so , an equation with zero-order coefficient . If for some , then attains its maximum at an interior point, and the strong maximum principle (in the version allowing when the maximum is non-negative, proved the same way: the barrier inequalities only improve when is added) gives for , so . (Strictly, the theorem was proved on bounded cylinders; apply it on for every .)
Look for travelling waves of with , . (a) Derive . (b) Linearise at : . Show that if the solutions oscillate around , so would become negative, and conclude . (With and restored, .) That is actually attained, and is the speed selected from compactly supported data, is the theorem of Kolmogorov, Petrovsky and Piskunov.
Solution
(a) , . (b) The characteristic equation has roots , complex when , giving , which changes sign infinitely often as . With , rescale and to reduce to ; speeds scale by .
For the system , with , show that the rectangle is invariant if on the edge , on , and similarly for . (Apply the scalar comparison principle to each component separately.) Check that the competition model of Figure 5.2 satisfies these conditions on .
Solution
On the face , the scalar function satisfies , and is a subsolution as long as there. Precisely: let be the first time some component reaches the boundary of the rectangle from inside; at such a point, say at a spatial minimum, is forced by the minimum being new, while ; perturbing the rectangle to with a Lipschitz constant of makes the inequalities strict and gives a contradiction, then let . Each component sees only its own diffusion, so is harmless. For the competition model: on , ; on , ; on , ; on , .
Let be continuous on with for every . Show that is non-increasing. (Apply the hypothesis to , and look at the last time .)
Solution
Fix and , which has . Let . By continuity . If , the strict negativity of the Dini derivative gives for all small , contradicting the definition of . So , and the same holds on every subinterval: is non-increasing. Letting , so is .
Under the Ricci flow on a closed -manifold the scalar curvature satisfies (11A.2 How Curvature Evolves), and (Cauchy–Schwarz on the eigenvalues of ). (a) Show that is non-decreasing. (b) If , compare with the ODE to show , so the flow must become singular by time . (c) Check that the round sphere of 6A.1 What a PDE Is's rehearsal becomes singular exactly at this time: for the unit -sphere , and . This is the first maximum-principle argument of 11A.7 Maximum Principles under Ricci Flow, and Perelman uses its consequence, a lower bound on , everywhere.
Solution
(a) ; apply the weak maximum principle (part 1) to on the closed manifold, which has no boundary. (b) ; the ODE solution is a subsolution, and comparison (on a closed manifold, with the Lipschitz constant of on the bounded range of up to any time before blow-up) gives . Since as , the flow cannot be smooth past that time. (c) gives , the extinction time computed directly in 6A.1 What a PDE Is.
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 4: The heat equation: Weak maximum principle and introduction to the fundamental solutionMIT OpenCourseWare 18.152 Introduction to PDEs (Fall 2011)The weak maximum principle for the heat equation.
- Reference Maximum principleWikipediaWeak and strong maximum principles for elliptic and parabolic equations.
- Reference Hopf lemmaWikipediaThe boundary lemma behind the strong maximum principle.
Watch 2 lectures and talks
- Video Lecture 5: Evolution of curvature and comparison principlesGerhard Huisken, Introduction to Ricci Flow (Tübingen, 2020), via OberwolfachComparison principles for the scalar curvature under Ricci flow: the maximum principle at work on a geometric equation.
- Video Lecture 11: The tensor maximum principleGerhard Huisken, Introduction to Ricci Flow (Tübingen, 2020), via OberwolfachHamilton’s maximum principle for tensors, the invariant-region idea for systems.
© 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.