The Maximum Principle for Parabolic and Elliptic Equations
Why should the hottest point on an insulated metal plate always sit on the boundary? This holds true even with no internal heat sources. Why can two different solutions of the heat equation never diverge? This applies if they start and stay equal at the edges. These are not coincidences of particular examples. They are consequences of one structural fact. This fact concerns second-order elliptic and parabolic equations, called the maximum principle. It says, roughly, that a function satisfying an equation like Laplace's equation or the heat equation cannot have an interior local maximum. The only exception is when it is constant. The extremes of the solution are forced out to the boundary. In the time-dependent case, they are also forced to the initial time. This single idea is disproportionately powerful. It converts a statement about derivatives (a PDE) into a statement about the size of a function. Inequalities about size are exactly what one needs to prove uniqueness. They also help show continuous dependence on data, and comparison between different solutions. These are the pillars of a well-posed problem. Long before numerical methods or Fourier series can be brought to bear, the maximum principle often settles key questions. It can show whether a problem has at most one solution. It can also show whether small changes in the data produce only small changes in the answer. The big picture is this: elliptic operators like the Laplacian and parabolic operators like share a sign structure. This structure appears at any interior maximum — the Laplacian is there. This is incompatible with strict subsolutions of the heat/Laplace equation having an interior maximum. Pushing this observation through a limiting argument gives the "weak" maximum principle. Pushing it further through the strong form of the Hopf boundary lemma gives the "strong" maximum principle. Together these yield sharp, quantitative control on solutions. This control uses nothing more than calculus and the definition of a critical point. This article builds the weak and strong maximum principles. It covers both the Laplace/Poisson equation and the heat equation. It proves them completely, and derives their most important consequences. These include uniqueness of the Dirichlet problem, and uniqueness of the initial-boundary value problem for the heat equation. They also include stability estimates showing solutions depend continuously on their data. These results are the analytic backbone that later work on Well-Posedness of PDE Problems builds upon.
- The maximum principle says solutions of Laplace's equation / the heat equation attain their max and min on the boundary (in space, and for parabolic problems also at the initial time).
- The weak maximum principle gives inequalities on the values; the strong maximum principle upgrades this to: an interior max forces the solution to be constant.
- Proved from elementary calculus: at an interior max, first derivatives vanish and the Hessian is negative semi-definite, contradicting a strict subsolution's equation.
- Direct corollaries: uniqueness of the Dirichlet problem for Poisson's equation and of the initial-boundary value problem for the heat equation.
- The same argument yields stability: small perturbations of boundary/initial data produce small perturbations of the solution, measured in the sup norm.
- Both hypotheses — boundedness of the domain and a genuine (non-degenerate) elliptic/parabolic operator — are essential; dropping either breaks the conclusion.
- Key idea: an interior extremum of a subharmonic (or subcaloric) function is analytically forbidden unless the function is constant, and this single fact controls existence, uniqueness, and stability.
Where this lives today
The maximum principle is a load-bearing tool across mathematics and its applications, not a museum piece confined to Laplace's equation.
- Uniqueness and well-posedness theory. As shown above, the maximum principle is the standard route to uniqueness for Dirichlet and initial-boundary-value problems, and it is the mechanism by which one shows solutions depend continuously on data — precisely the ingredients needed to establish Well-Posedness of PDE Problems.
- Numerical analysis. Discrete maximum principles for finite-difference and finite-element schemes (e.g. M-matrix theory) guarantee that numerical approximations to elliptic/parabolic problems do not develop spurious oscillations or unphysical extrema, and are used to prove stability of numerical methods.
- Probability and stochastic processes. Harmonic functions are exactly the functions constant in expectation along Brownian motion; the maximum principle mirrors the fact that a martingale's expectation is controlled by its boundary/stopping values, linking directly to potential theory and Dirichlet problems solved probabilistically.
- Geometric analysis. Comparison principles derived from the maximum principle underlie the study of minimal surfaces, mean curvature flow, and Ricci flow (where a maximum principle for evolving curvature quantities is central to Hamilton's and Perelman's arguments).
- Mathematical finance. The Black–Scholes PDE is a (backward) parabolic equation; maximum-principle-type comparison arguments give bounds and monotonicity properties of option prices with respect to model parameters.
- Image processing and viscosity solutions. Comparison principles generalizing the maximum principle underpin the theory of viscosity solutions for fully nonlinear PDEs (Hamilton–Jacobi equations, level-set methods for image segmentation and front propagation).
- Free boundary problems and obstacle problems. The maximum principle is used to show regularity and to locate the free boundary in problems like the obstacle problem, arising in elasticity and optimal stopping.
:::quiz[For the heat equation on , the parabolic boundary consists of]
- Only the top slice
- The entire boundary including the top
- The bottom slice together with the lateral boundary , excluding the top ✓
- Only the lateral boundary
Ask the tutor: How does the maximum principle change if we add a reaction term with allowed to be positive somewhere in the domain?
Let be open, bounded, and connected, and let .
- is subharmonic on if in , and superharmonic if . If , is harmonic.
For the time-dependent case, fix , let be the space-time cylinder, and let its parabolic boundary be
i.e. the bottom and the lateral sides of the cylinder, but not the top. Let (twice differentiable in , once in , continuous up to the closure).
- is subcaloric if on , and supercaloric if . If , solves the heat equation.
These sign conventions are chosen so that in each case the maximum principle below reads the same way: subsolutions are bounded above by their boundary values, and supersolutions are bounded below.
Intuition
Think of as a temperature distribution on a metal plate with no internal heat sources, in steady state, so . At an interior point where is largest, the surface of must curve downward in every direction (or be flat) — concavity in every direction means every second partial derivative , so . That is consistent with harmonicity () only in a degenerate, borderline way, and the strong maximum principle shows that this borderline case can only persist if is constant throughout the connected region. If were strictly subharmonic (), an interior max is flatly impossible, because it would force there — a contradiction. This is the entire mechanism; everything else is bookkeeping to handle the non-strict case and to extend from a single interior point to the whole domain. The parabolic version adds a time axis. Consider a rod cooling with no source term, . At an interior-in-space, but not final-in-time, point where attains its maximum over the closed cylinder, we must have (since can only decrease or stay flat earlier in time relative to a max at this time — precisely, comparing to slightly earlier times forces at an interior max in time, unless the max is at the very last instant ) and (spatial concavity at a maximum). If the maximum occurred at an interior time and interior space point, we would need and , forcing ; combined with the heat equation this is consistent but pins down equality, and the strong form again shows the solution must be constant on the whole domain up to that time. The heat equation therefore pushes its extreme values to the parabolic boundary : the initial slice and the lateral walls, but crucially never to the final time alone (heat can still be arriving at from earlier data).
Hypotheses (elliptic case). Let be open, bounded, and connected. Let satisfy
Hypotheses (parabolic case). Let be open, bounded, and connected, , , and let satisfy
Conclusions. (Weak maximum principle.)
(Strong maximum principle.) If, in the elliptic case, attains its maximum over at an interior point of , then is constant on (hence, by continuity, on ). If, in the parabolic case, attains its maximum over at some point with and , then is constant on . The reversed statements (minimum principle) hold verbatim for supersolutions, or , with "max" replaced by "min" throughout.
We prove the elliptic case in full, then indicate the (structurally identical) modifications for the parabolic case, and finally supply the strong maximum principle by the technique of Hopf's boundary point lemma applied via a connectedness/continuation argument. The technique throughout is a perturbation argument (add to force a strict inequality) combined with elementary calculus at an interior extremum and, for the strong form, comparison with an explicit barrier function.
Step 1 (Weak maximum principle, strict case). Suppose first that everywhere in (strict subharmonicity). Since is compact (as is bounded) and is continuous on , attains a maximum at some . Suppose, for contradiction, that (an interior point). Since has an interior local maximum at , standard multivariable calculus gives:
- (vanishing gradient at an interior extremum), and
- the Hessian is negative semi-definite.
Negative semi-definiteness of the Hessian means every eigenvalue is ; since the trace of a matrix is the sum of its eigenvalues,
This directly contradicts . Hence no interior point can be a maximizer, so , and
The reverse inequality is trivial since . This proves the theorem when strictly.
Step 2 (Weak maximum principle, general subharmonic case, by perturbation). Now suppose only . For , define
Then in , since in . By Step 1 applied to ,
Because is bounded, there is with for all . Then for all ,
Taking the supremum over on the left and then letting gives
and again the reverse inequality is trivial. This proves the weak maximum principle for .
Step 3 (Parabolic weak maximum principle — same technique, adapted). Suppose first strictly on . Fix and consider on the compact set ; it attains a maximum at some . Suppose for contradiction that and (i.e., is not in ). Two cases:
- If : then is an interior point of the open cylinder , so it is a local max in and in jointly. In : and negative semi-definite, so as in Step 1. In : since has an interior local max at (as and we may move slightly forward or backward in time and stay in the domain), .
- If : then has a maximum at the right endpoint of , so comparing with earlier times gives , hence the backward difference quotient is in the limit: . The spatial argument is unchanged: since is still an interior spatial maximizer.
In both cases we conclude and , hence
contradicting the strict inequality assumed at every point of . Hence , and
(the last inequality because for , checking the definitions). Since this holds for every , in particular for , we get the weak maximum principle in the strict case.
Step 4 (General subcaloric case, by perturbation). For set . Then , so Step 3 applies to :
Since on the domain, , and ; combining,
Letting gives ; the reverse is trivial since . This proves the parabolic weak maximum principle for .
Step 5 (Strong maximum principle — elliptic case, via Hopf's lemma). We use Hopf's boundary point lemma: if on a ball , , for all and some boundary point , and is differentiable at along the outward normal , then the outward normal derivative satisfies (strictly positive). Proof of Hopf's lemma: Consider the annulus and the barrier
for to be chosen large. Direct computation gives, writing ,
which is strictly positive on the annulus (where ) once is chosen large enough that , i.e. . Also on the outer sphere and inside . Since on the inner sphere (compact set, strict inequality, so bounded away from by continuity and compactness: there for some ), choose small enough that on the inner sphere; then on the whole boundary of (on the inner sphere by the choice of , on the outer sphere because there and by hypothesis). The function satisfies on (both terms non-negative there), so by Step 2's weak maximum principle applied on , throughout . Since and on with on the outer boundary, the normal derivative of at satisfies ; a direct computation shows (since vanishes on the outer sphere and is positive strictly inside), so this forces . This proves Hopf's lemma. Now suppose is subharmonic on connected and attains its maximum at an interior point. Let
is non-empty (contains the interior maximizer) and relatively closed in (as the preimage of under the continuous function ). We show is also open, hence by connectedness of , , giving on . Let . Choose small enough that . If on , then since everywhere and is continuous, there is some point in where ; shrinking the ball if necessary, we may find a smaller ball with (place on the segment from towards the interior point where , at the largest radius such that throughout , so is attained on the boundary of this smaller ball while strictly inside it). Applying Hopf's lemma to this ball with boundary point : since throughout , and is differentiable at (as , an interior point of the original domain where ), the lemma gives strictly, for the outward normal of at . But is an interior point of where attains its global maximum over ; hence (interior extremum of a function), forcing for every direction . This contradicts . Hence the assumption on is false: on , so . This shows is open, completing the argument: , i.e. on , and by continuity on .
Step 6 (Strong maximum principle — parabolic case). The argument is analogous but uses a parabolic Hopf lemma and a connectedness argument through decreasing time slices; we sketch it, as it is a routine (if notationally heavier) adaptation of Step 5. Suppose attains its max over at with , . Let
One shows, exactly as before using a parabolic barrier of the form on a suitable parabolic cylinder, that if at some point with reachable from by a path staying inside , then propagates backward to force a contradiction at a boundary touching point, via the same normal-derivative argument (now including a time-derivative term, using that at an interior spatial max with we also have , so the full gradient in vanishes at any interior-time touching point, again contradicting a strictly positive oblique derivative from the barrier). The conclusion is that on all of , matching the stated strong maximum principle for the parabolic case.
Step 7 (Minimum principles). Apply the maximum principle established above to : if is a supersolution (, resp. ), then is a subsolution, so is attained on the boundary (resp. parabolic boundary), i.e. is attained there, and the strong form follows identically.
∎Worked examples
Example 1 (Elliptic: a non-symmetric subharmonic function on a rectangle). Let and define
Compute , , so : is harmonic on (indeed is the real part of , a standard harmonic function). By the weak maximum principle, occurs on . We verify by checking the boundary directly, since of a rectangle is a union of four segments and each restriction is a single-variable function easy to optimize.
- Bottom, , : , increasing (derivative ), so max at : .
- Top, , : , derivative , increasing, max at : .
- Left, , : , constant.
- Right, , : , decreasing in , max at : (consistent with the bottom computation).
So , attained at the corner . The theorem guarantees as well, with no need to search the two-dimensional interior — a genuine computational saving, since a naive interior critical point search would require solving , which for these coefficients has no real solution in at all (the second equation forces or , both boundary cases), confirming there is indeed no interior competitor, exactly as the theorem predicts.
Example 2 (Parabolic: uniqueness via the maximum principle for an inhomogeneous problem). Consider the initial-boundary value problem on the rod , :
with continuous. Suppose are both solutions of this same problem (same ). We show , an asymmetric-data version of the uniqueness argument (the data need not be zero or symmetric in any way). Let . Then
so solves the heat equation exactly (both a subcaloric and supercaloric function simultaneously, since equality holds). Also , , : vanishes on the entire parabolic boundary . By the weak maximum principle (applied to , subcaloric since ):
By the weak minimum principle (applied to , supercaloric since ):
Hence everywhere, i.e. , so . Notice the argument used only the linearity of the heat operator and the maximum principle — no explicit formula for or (e.g. no Fourier series) was needed, and the data were left completely general and asymmetric. As a quantitative refinement (stability), if instead solves the problem with data and solves it with slightly perturbed data (same source term ), the same computation gives with on equal to the boundary/initial perturbations only, so
a clean, explicit sup-norm stability estimate with no constant blow-up as — a genuinely strong conclusion that would be hard to extract directly from a Fourier series with infinitely many terms.
Every hypothesis in the theorem is load-bearing. We exhibit what fails when boundedness of is dropped, keeping every other hypothesis (connectedness, regularity, the sign of ) intact. Let , the open upper half-plane — open, connected, but unbounded. Define
Then , and , so is harmonic — certainly subharmonic, satisfying every hypothesis of the theorem except boundedness of . The boundary is , on which , so . But
The conclusion fails completely: the left side is not even finite. Tracing through the proof shows exactly where boundedness was used: in Step 2, we needed for some finite to bound the perturbation term uniformly and send ; with unbounded, is unbounded on , so no finite bound exists, and the limiting argument collapses. This single missing ingredient — a uniform bound on the perturbation — is the entire reason boundedness must be assumed, and the example shows the conclusion genuinely fails, not merely that the given proof fails. (The analogous parabolic counterexample: solves on the unbounded strip , vanishes at no fixed finite bound on the "parabolic boundary" or the — nonexistent — lateral sides, yet is unbounded, again violating the conclusion when the spatial domain is unbounded.)
Scope, edge cases & common traps
| Situation | What the theorem says | Common error |
|---|---|---|
| unbounded | Principle can fail (see counterexample) — an extra growth condition at infinity is needed to restore it | Assuming boundedness "doesn't matter" for the qualitative statement |
| only subharmonic (, not ) | Weak principle still holds (Step 2); strong principle needs the full Step 5 argument, not just Step 1 | Applying the "easy" strict-inequality proof (Step 1) directly when merely |
| Parabolic max at exactly | Included in ? No — the top interior is excluded from , but the theorem's max is still attained somewhere on (bottom+sides), possibly with the value repeated at too if is constant back to | Forgetting that excludes the open top slab, and mistakenly including as boundary data one is allowed to prescribe freely |
| disconnected | Theorem as stated requires connected for the strong form (constant on all of ); apply separately on each component | Extending "constant on " across disconnected components with different constants |
| Equation with lower-order or non-constant coefficients (e.g. with ) | Maximum principle can fail without an extra sign condition on | Assuming the Laplacian's maximum principle transfers unchanged to any second-order elliptic operator |
The mathematician behind it
Origins · 1 minEberhard Hopf and how this was discovered
Eberhard Hopf worked across an unusually wide swath of analysis: ergodic theory, the Wiener–Hopf method in integral equations, and the qualitative theory of PDEs. His 1927 doctoral work and subsequent papers on differential equations culminated in the boundary point lemma bearing his name (1952), which supplies the missing rigidity needed to upgrade a weak maximum principle (values only) into a strong one (an interior touch forces global constancy). He later became well known for the Hopf bifurcation and for foundational contributions to ergodic theory alongside the broader Courant–Hilbert–school tradition of rigorous PDE analysis that shaped 20th-century mathematical physics.
What exactly is the difference between the "weak" and "strong" maximum principle?
The weak maximum principle only bounds the values of a subsolution: (or the parabolic analogue with ). It says nothing about where the maximum can be attained inside , only that the boundary value is at least as large. The strong maximum principle is a rigidity statement: if the maximum over the closure is actually attained at an interior point, the function must be constant throughout the connected domain (up to that time, in the parabolic case). The weak form follows from an elementary perturbation argument; the strong form requires the extra machinery of Hopf's boundary point lemma. In applications, the weak form alone is usually enough for uniqueness and stability, while the strong form is used for qualitative/rigidity results, such as ruling out non-constant harmonic functions attaining interior extrema.
Does the maximum principle require the equation to be exactly Laplace's equation or the heat equation?
No — the same mechanism extends to general second-order elliptic operators provided is uniformly elliptic (the matrix is positive definite) and . The sign condition on is essential: if somewhere, the maximum principle can genuinely fail, because at an interior max , the term can be positive and offset the non-positive second-order terms, breaking the sign contradiction that drives the proof. This article treats the model cases and because they are the cleanest and most instructive; the general theory (Aleksandrov, Bakelman, Pucci) builds on exactly the same interior-extremum calculus.
Why does the maximum principle imply uniqueness so directly?
Given two solutions of the same linear problem (same PDE, same boundary/initial data), their difference solves the homogeneous version of the equation (because the equation is linear, so the source terms cancel) and has zero boundary/initial data (because the data are identical, so they cancel too). The maximum principle then forces and simultaneously, since is simultaneously a subsolution and a supersolution of the homogeneous equation, pinning . This argument requires no explicit solution formula, no Fourier analysis, and no energy estimates — it is purely a consequence of the sign structure of the operator, which is what makes it so widely applicable and robust.
Can the maximum principle fail for non-linear PDEs?
The classical statement above is for linear second-order operators, but a version survives for many nonlinear equations through the theory of viscosity solutions, using a comparison principle that plays the same structural role. For genuinely nonlinear equations without appropriate structural (ellipticity/monotonicity) conditions, however, comparison can fail, and uniqueness can be lost or require a different notion of solution. The essential ellipticity/parabolicity condition — that the operator is monotone with respect to the ordering of the Hessian (or of vs. ) — is exactly what generalizes across the linear and nonlinear theories, and it is the abstract heart of every maximum-principle-type argument.
Why is the parabolic boundary missing the top slice ?
Because information about the solution's behavior at is not independent boundary data — it is determined by the equation together with the data on , not prescribed freely. If you tried to also impose a value at independently, the problem would typically be over-determined and have no solution at all (the heat equation, run forward from initial data, produces whatever value it produces at ; you cannot also dictate it). The maximum principle reflects this: the extreme values are controlled by the data that is genuinely free to prescribe (initial values and lateral boundary values), and the solution's value at the final time is a consequence, bounded by but not equal in general to those extremes at an interior spatial point.
How does the maximum principle give stability, not just uniqueness?
The uniqueness argument shows that if the data of two problems are identical, the solutions are identical. The stability (continuous dependence) argument is the quantitative refinement: if the data differ by at most in sup norm, the maximum principle applied to the difference shows over the whole domain equals over the boundary/parabolic boundary, which is at most by hypothesis. So a small perturbation in the data produces a provably small (same order, no amplification factor) perturbation in the solution, uniformly over the whole domain and all later times. This sup-norm control, with no growing constant in , is a distinctively strong and clean form of well-posedness.
Is the strong maximum principle ever needed in practice, or does the weak form suffice for most applications?
Most "engineering" consequences — uniqueness, stability, comparison bounds — need only the weak maximum principle, as the worked examples illustrate. The strong form is typically invoked for qualitative rigidity results: proving a non-constant harmonic function on a bounded domain cannot have any interior extremum (useful in complex analysis, e.g. via the real/imaginary parts of holomorphic functions), proving strict monotonicity properties needed in overdetermined problems (e.g. Serrin's symmetry theorem for the torsion problem), and establishing strict positivity of solutions (e.g. principal eigenfunctions of elliptic operators are strictly positive inside the domain by the strong maximum principle, a fact used throughout spectral theory of elliptic operators).