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 ∂t−Δ\partial_t - \Delta share a sign structure. This structure appears at any interior maximum — the Laplacian is ≤0\le 0 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.

Key takeaways
  • 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 ΩT=Ω×(0,T]\Omega_T = \Omega\times(0,T], the parabolic boundary ΓT\Gamma_T consists of]

  • Only the top slice Ω×{T}\Omega \times \{T\}
  • The entire boundary ∂(Ω×[0,T])\partial(\Omega\times[0,T]) including the top
  • The bottom slice Ω‾×{0}\overline\Omega\times\{0\} together with the lateral boundary ∂Ω×[0,T]\partial\Omega\times[0,T], excluding the top ✓
  • Only the lateral boundary ∂Ω×[0,T]\partial\Omega \times [0,T]

Ask the tutor: How does the maximum principle change if we add a reaction term cucu with c(x)c(x) allowed to be positive somewhere in the domain?

DefinitionSubharmonic, superharmonic, and (sub/super)caloric functions on a bounded domain

Let Ω⊂Rn\Omega \subset \mathbb{R}^n be open, bounded, and connected, and let u∈C2(Ω)∩C(Ω‾)u \in C^2(\Omega) \cap C(\overline{\Omega}).

  • uu is subharmonic on Ω\Omega if Δu≥0\Delta u \ge 0 in Ω\Omega, and superharmonic if Δu≤0\Delta u \le 0. If Δu=0\Delta u = 0, uu is harmonic.

For the time-dependent case, fix T>0T>0, let ΩT=Ω×(0,T]\Omega_T = \Omega \times (0,T] be the space-time cylinder, and let its parabolic boundary be

ΓT=(Ω‾×{0})  ∪  (∂Ω×[0,T]),\Gamma_T = \big(\overline{\Omega}\times\{0\}\big) \;\cup\; \big(\partial\Omega \times [0,T]\big),

i.e. the bottom and the lateral sides of the cylinder, but not the top. Let u∈C2,1(ΩT)∩C(Ω‾×[0,T])u \in C^{2,1}(\Omega_T)\cap C(\overline{\Omega}\times[0,T]) (twice differentiable in xx, once in tt, continuous up to the closure).

  • uu is subcaloric if ut−Δu≤0u_t - \Delta u \le 0 on ΩT\Omega_T, and supercaloric if ut−Δu≥0u_t - \Delta u \ge 0. If ut−Δu=0u_t - \Delta u = 0, uu 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 u(x)u(x) as a temperature distribution on a metal plate Ω\Omega with no internal heat sources, in steady state, so Δu=0\Delta u = 0. At an interior point where uu is largest, the surface of uu must curve downward in every direction (or be flat) — concavity in every direction means every second partial derivative uxixi≤0u_{x_ix_i} \le 0, so Δu=∑iuxixi≤0\Delta u = \sum_i u_{x_ix_i} \le 0. That is consistent with harmonicity (Δu=0\Delta u = 0) only in a degenerate, borderline way, and the strong maximum principle shows that this borderline case can only persist if uu is constant throughout the connected region. If uu were strictly subharmonic (Δu>0\Delta u > 0), an interior max is flatly impossible, because it would force Δu≤0\Delta u \le 0 there — a contradiction. This is the entire mechanism; everything else is bookkeeping to handle the non-strict case Δu≥0\Delta u \ge 0 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, ut=uxxu_t = u_{xx}. At an interior-in-space, but not final-in-time, point where uu attains its maximum over the closed cylinder, we must have ut≥0u_t \ge 0 (since uu can only decrease or stay flat earlier in time relative to a max at this time — precisely, comparing to slightly earlier times forces ut≥0u_t \geq 0 at an interior max in time, unless the max is at the very last instant TT) and uxx≤0u_{xx} \le 0 (spatial concavity at a maximum). If the maximum occurred at an interior time t0<Tt_0 < T and interior space point, we would need ut≥0u_t \ge 0 and uxx≤0u_{xx}\le 0, forcing ut−uxx≥0u_t - u_{xx} \ge 0; combined with the heat equation ut−uxx=0u_t - u_{xx} = 0 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 ΓT\Gamma_T: the initial slice and the lateral walls, but crucially never to the final time alone (heat can still be arriving at t=Tt = T from earlier data).

Figure
Weak maximum principle: the harmonic function's max lives on ∂Ω\partial\Omega, never strictly inside
∂Ω (boundary) Ω, Δu = 0 max here? impossible unless u ≡ const actual max M = max u on ∂Ω u(x) ≤ M for all x ∈ Ω̄
Figure
Parabolic boundary Γ_T: the max of u_t = u_xx is attained on the base and sides, never at an interior top point
t = T (top, excluded from Γ_T) t t = 0: initial data x = 0 ↑ Ω_T: u_t − u_xx = 0 interior max forbidden here
TheoremWeak and Strong Maximum Principles (elliptic and parabolic)

Hypotheses (elliptic case). Let Ω⊂Rn\Omega \subset \mathbb{R}^n be open, bounded, and connected. Let u∈C2(Ω)∩C(Ω‾)u \in C^2(\Omega) \cap C(\overline\Omega) satisfy

Δu≥0in Ω(u subharmonic).\Delta u \ge 0 \quad \text{in } \Omega \qquad (u\text{ subharmonic}).

Hypotheses (parabolic case). Let Ω⊂Rn\Omega \subset \mathbb{R}^n be open, bounded, and connected, T>0T > 0, ΩT=Ω×(0,T]\Omega_T = \Omega \times (0,T], and let u∈C2,1(ΩT)∩C(Ω‾×[0,T])u \in C^{2,1}(\Omega_T) \cap C(\overline\Omega \times [0,T]) satisfy

ut−Δu≤0in ΩT(u subcaloric).u_t - \Delta u \le 0 \quad \text{in } \Omega_T \qquad (u\text{ subcaloric}).

Conclusions. (Weak maximum principle.)

max⁡Ω‾u=max⁡∂Ωu(elliptic case),\max_{\overline\Omega} u = \max_{\partial\Omega} u \qquad \text{(elliptic case)},
max⁡Ω‾×[0,T]u=max⁡ΓTu(parabolic case).\max_{\overline\Omega\times[0,T]} u = \max_{\Gamma_T} u \qquad \text{(parabolic case)}.

(Strong maximum principle.) If, in the elliptic case, uu attains its maximum over Ω‾\overline\Omega at an interior point of Ω\Omega, then uu is constant on Ω\Omega (hence, by continuity, on Ω‾\overline\Omega). If, in the parabolic case, uu attains its maximum over Ω‾×[0,T]\overline\Omega\times[0,T] at some point (x0,t0)(x_0,t_0) with x0∈Ωx_0 \in \Omega and 0<t0≤T0 < t_0 \le T, then uu is constant on Ω‾×[0,t0]\overline\Omega \times [0,t_0]. The reversed statements (minimum principle) hold verbatim for supersolutions, Δu≤0\Delta u \le 0 or ut−Δu≥0u_t - \Delta u \ge 0, with "max" replaced by "min" throughout.

Proof

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 ε∣x∣2\varepsilon|x|^2 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 Δu>0\Delta u > 0 everywhere in Ω\Omega (strict subharmonicity). Since Ω‾\overline\Omega is compact (as Ω\Omega is bounded) and uu is continuous on Ω‾\overline\Omega, uu attains a maximum at some x∗∈Ω‾x^* \in \overline\Omega. Suppose, for contradiction, that x∗∈Ωx^* \in \Omega (an interior point). Since u∈C2(Ω)u \in C^2(\Omega) has an interior local maximum at x∗x^*, standard multivariable calculus gives:

  • ∇u(x∗)=0\nabla u(x^*) = 0 (vanishing gradient at an interior extremum), and
  • the Hessian D2u(x∗)D^2u(x^*) is negative semi-definite.

Negative semi-definiteness of the Hessian means every eigenvalue is ≤0\le 0; since the trace of a matrix is the sum of its eigenvalues,

Δu(x∗)=tr⁡D2u(x∗)≤0.\Delta u(x^*) = \operatorname{tr} D^2u(x^*) \le 0.

This directly contradicts Δu(x∗)>0\Delta u(x^*) > 0. Hence no interior point can be a maximizer, so x∗∈∂Ωx^* \in \partial\Omega, and

max⁡Ω‾u=u(x∗)≤max⁡∂Ωu.\max_{\overline\Omega} u = u(x^*) \le \max_{\partial\Omega} u.

The reverse inequality max⁡Ω‾u≥max⁡∂Ωu\max_{\overline\Omega} u \ge \max_{\partial\Omega} u is trivial since ∂Ω⊂Ω‾\partial\Omega \subset \overline\Omega. This proves the theorem when Δu>0\Delta u > 0 strictly.

Step 2 (Weak maximum principle, general subharmonic case, by perturbation). Now suppose only Δu≥0\Delta u \ge 0. For ε>0\varepsilon > 0, define

uε(x)=u(x)+ε∣x∣2.u_\varepsilon(x) = u(x) + \varepsilon|x|^2.

Then Δuε=Δu+εΔ(∣x∣2)=Δu+2nε≥2nε>0\Delta u_\varepsilon = \Delta u + \varepsilon\Delta(|x|^2) = \Delta u + 2n\varepsilon \ge 2n\varepsilon > 0 in Ω\Omega, since Δ(∣x∣2)=2n\Delta(|x|^2) = 2n in Rn\mathbb R^n. By Step 1 applied to uεu_\varepsilon,

max⁡Ω‾uε=max⁡∂Ωuε.\max_{\overline\Omega} u_\varepsilon = \max_{\partial\Omega} u_\varepsilon.

Because Ω\Omega is bounded, there is RR with ∣x∣≤R|x| \le R for all x∈Ω‾x \in \overline\Omega. Then for all x∈Ω‾x\in\overline\Omega,

u(x)≤uε(x)≤max⁡∂Ωuε≤max⁡∂Ωu+εR2.u(x) \le u_\varepsilon(x) \le \max_{\partial\Omega} u_\varepsilon \le \max_{\partial\Omega} u + \varepsilon R^2.

Taking the supremum over x∈Ω‾x \in \overline\Omega on the left and then letting ε→0+\varepsilon \to 0^+ gives

max⁡Ω‾u≤max⁡∂Ωu,\max_{\overline\Omega} u \le \max_{\partial\Omega} u,

and again the reverse inequality is trivial. This proves the weak maximum principle for Δu≥0\Delta u \ge 0.

Step 3 (Parabolic weak maximum principle — same technique, adapted). Suppose first ut−Δu<0u_t - \Delta u < 0 strictly on ΩT\Omega_T. Fix τ∈(0,T]\tau \in (0,T] and consider uu on the compact set Ω‾×[0,τ]\overline\Omega \times [0,\tau]; it attains a maximum at some (x∗,t∗)(x^*,t^*). Suppose for contradiction that x∗∈Ωx^* \in \Omega and t∗∈(0,τ]t^* \in (0,\tau] (i.e., (x∗,t∗)(x^*,t^*) is not in Γτ:=(Ω‾×{0})∪(∂Ω×[0,τ])\Gamma_\tau := (\overline\Omega\times\{0\})\cup(\partial\Omega\times[0,\tau])). Two cases:

  • If t∗<τt^* < \tau: then (x∗,t∗)(x^*,t^*) is an interior point of the open cylinder Ω×(0,τ)\Omega\times(0,\tau), so it is a local max in xx and in tt jointly. In xx: ∇xu(x∗,t∗)=0\nabla_x u(x^*,t^*)=0 and Dx2u(x∗,t∗)D^2_x u(x^*,t^*) negative semi-definite, so Δu(x∗,t∗)≤0\Delta u(x^*,t^*)\le 0 as in Step 1. In tt: since t↦u(x∗,t)t\mapsto u(x^*,t) has an interior local max at t∗t^* (as t∗<τt^* < \tau and we may move slightly forward or backward in time and stay in the domain), ut(x∗,t∗)=0u_t(x^*,t^*) = 0.
  • If t∗=τt^* = \tau: then t↦u(x∗,t)t \mapsto u(x^*,t) has a maximum at the right endpoint τ\tau of [0,τ][0,\tau], so comparing with earlier times t<τt < \tau gives u(x∗,t)≤u(x∗,τ)u(x^*,t) \le u(x^*,\tau), hence the backward difference quotient is ≥0\ge 0 in the limit: ut(x∗,τ)≥0u_t(x^*,\tau) \ge 0. The spatial argument is unchanged: Δu(x∗,τ)≤0\Delta u(x^*,\tau) \le 0 since x∗x^* is still an interior spatial maximizer.

In both cases we conclude ut(x∗,t∗)≥0u_t(x^*,t^*) \ge 0 and Δu(x∗,t∗)≤0\Delta u(x^*,t^*) \le 0, hence

ut(x∗,t∗)−Δu(x∗,t∗)≥0,u_t(x^*,t^*) - \Delta u(x^*,t^*) \ge 0,

contradicting the strict inequality ut−Δu<0u_t - \Delta u < 0 assumed at every point of ΩT\Omega_T. Hence (x∗,t∗)∈Γτ(x^*, t^*) \in \Gamma_\tau, and

max⁡Ω‾×[0,τ]u=max⁡Γτu≤max⁡ΓTu\max_{\overline\Omega\times[0,\tau]} u = \max_{\Gamma_\tau} u \le \max_{\Gamma_T} u

(the last inequality because Γτ⊂ΓT\Gamma_\tau \subset \Gamma_T for τ≤T\tau \le T, checking the definitions). Since this holds for every τ≤T\tau \le T, in particular for τ=T\tau = T, we get the weak maximum principle in the strict case.

Step 4 (General subcaloric case, by perturbation). For ε>0\varepsilon>0 set uε(x,t)=u(x,t)−εtu_\varepsilon(x,t) = u(x,t) - \varepsilon t. Then (uε)t−Δuε=ut−ε−Δu≤−ε<0(u_\varepsilon)_t - \Delta u_\varepsilon = u_t - \varepsilon - \Delta u \le -\varepsilon < 0, so Step 3 applies to uεu_\varepsilon:

max⁡Ω‾×[0,T]uε=max⁡ΓTuε.\max_{\overline\Omega\times[0,T]} u_\varepsilon = \max_{\Gamma_T} u_\varepsilon.

Since 0≤t≤T0 \le t \le T on the domain, uε≤u≤uε+εTu_\varepsilon \le u \le u_\varepsilon + \varepsilon T, and uε≥u−εTu_\varepsilon \ge u - \varepsilon T; combining,

max⁡Ω‾×[0,T]u≤max⁡Ω‾×[0,T]uε+εT=max⁡ΓTuε+εT≤max⁡ΓTu+εT.\max_{\overline\Omega\times[0,T]} u \le \max_{\overline\Omega\times[0,T]} u_\varepsilon + \varepsilon T = \max_{\Gamma_T} u_\varepsilon + \varepsilon T \le \max_{\Gamma_T} u + \varepsilon T.

Letting ε→0+\varepsilon\to 0^+ gives max⁡Ω‾×[0,T]u≤max⁡ΓTu\max_{\overline\Omega\times[0,T]} u \le \max_{\Gamma_T} u; the reverse is trivial since ΓT⊂Ω‾×[0,T]\Gamma_T \subset \overline\Omega\times[0,T]. This proves the parabolic weak maximum principle for ut−Δu≤0u_t - \Delta u \le 0.

Step 5 (Strong maximum principle — elliptic case, via Hopf's lemma). We use Hopf's boundary point lemma: if Δu≥0\Delta u \ge 0 on a ball B=BR(y)B = B_R(y), u∈C2(B)∩C(B‾)u \in C^2(B)\cap C(\overline B), u(x)<u(x0)u(x) < u(x_0) for all x∈Bx \in B and some boundary point x0∈∂Bx_0 \in \partial B, and uu is differentiable at x0x_0 along the outward normal ν\nu, then the outward normal derivative satisfies ∂νu(x0)>0\partial_\nu u(x_0) > 0 (strictly positive). Proof of Hopf's lemma: Consider the annulus A=BR(y)∖BR/2(y)‾A = B_R(y)\setminus \overline{B_{R/2}(y)} and the barrier

w(x)=e−α∣x−y∣2−e−αR2w(x) = e^{-\alpha |x-y|^2} - e^{-\alpha R^2}

for α>0\alpha>0 to be chosen large. Direct computation gives, writing r=∣x−y∣r=|x-y|,

Δw=(4α2r2−2nα)e−αr2,\Delta w = \left(4\alpha^2 r^2 - 2n\alpha\right) e^{-\alpha r^2},

which is strictly positive on the annulus AA (where r≥R/2r \ge R/2) once α\alpha is chosen large enough that 4α2(R/2)2−2nα>04\alpha^2(R/2)^2 - 2n\alpha > 0, i.e. α>2nR2\alpha > \frac{2n}{R^2}. Also w=0w = 0 on the outer sphere ∣x−y∣=R|x-y|=R and w>0w>0 inside AA. Since u(x)−u(x0)<0u(x) - u(x_0) < 0 on the inner sphere ∣x−y∣=R/2|x-y|=R/2 (compact set, strict inequality, so bounded away from 00 by continuity and compactness: u(x)−u(x0)≤−δu(x) - u(x_0) \le -\delta there for some δ>0\delta>0), choose η>0\eta>0 small enough that η w≤δ\eta \, w \le \delta on the inner sphere; then u−u(x0)+ηw≤0u - u(x_0) + \eta w \le 0 on the whole boundary of AA (on the inner sphere by the choice of η\eta, on the outer sphere because w=0w=0 there and u≤u(x0)u \le u(x_0) by hypothesis). The function v=u−u(x0)+ηwv = u - u(x_0) + \eta w satisfies Δv=Δu+ηΔw≥0\Delta v = \Delta u + \eta \Delta w \ge 0 on AA (both terms non-negative there), so by Step 2's weak maximum principle applied on AA, v≤0v \le 0 throughout AA. Since v(x0)=0v(x_0) = 0 and v≤0v \le 0 on AA with x0x_0 on the outer boundary, the normal derivative of vv at x0x_0 satisfies ∂νv(x0)≥0\partial_\nu v(x_0) \ge 0; a direct computation shows ∂νw(x0)<0\partial_\nu w(x_0) < 0 (since ww vanishes on the outer sphere and is positive strictly inside), so this forces ∂νu(x0)=∂νv(x0)−η∂νw(x0)>0\partial_\nu u(x_0) = \partial_\nu v(x_0) - \eta \partial_\nu w(x_0) > 0. This proves Hopf's lemma. Now suppose uu is subharmonic on connected Ω\Omega and attains its maximum M=max⁡Ω‾uM = \max_{\overline\Omega} u at an interior point. Let

Σ={x∈Ω:u(x)=M}.\Sigma = \{x \in \Omega : u(x) = M\}.

Σ\Sigma is non-empty (contains the interior maximizer) and relatively closed in Ω\Omega (as the preimage of {M}\{M\} under the continuous function uu). We show Σ\Sigma is also open, hence by connectedness of Ω\Omega, Σ=Ω\Sigma = \Omega, giving u≡Mu \equiv M on Ω\Omega. Let z∈Σz \in \Sigma. Choose R>0R>0 small enough that BR(z)‾⊂Ω\overline{B_R(z)} \subset \Omega. If u≢Mu \not\equiv M on BR(z)B_R(z), then since u≤Mu \le M everywhere and uu is continuous, there is some point in BR(z)B_R(z) where u<Mu < M; shrinking the ball if necessary, we may find a smaller ball Br(y)⊂BR(z)B_r(y) \subset B_R(z) with z∈∂Br(y)z \in \partial B_r(y) (place yy on the segment from zz towards the interior point where u<Mu<M, at the largest radius rr such that u<Mu<M throughout Br(y)B_r(y), so u(z)=Mu(z)=M is attained on the boundary of this smaller ball while u<Mu<M strictly inside it). Applying Hopf's lemma to this ball with boundary point zz: since u<M=u(z)u < M = u(z) throughout Br(y)B_r(y), and uu is differentiable at zz (as z∈Ωz \in \Omega, an interior point of the original domain where u∈C2u\in C^2), the lemma gives ∂νu(z)>0\partial_\nu u(z) > 0 strictly, for ν\nu the outward normal of Br(y)B_r(y) at zz. But zz is an interior point of Ω\Omega where uu attains its global maximum MM over Ω\Omega; hence ∇u(z)=0\nabla u(z) = 0 (interior extremum of a C1C^1 function), forcing ∂νu(z)=0\partial_\nu u(z) = 0 for every direction ν\nu. This contradicts ∂νu(z)>0\partial_\nu u(z)>0. Hence the assumption u≢Mu\not\equiv M on BR(z)B_R(z) is false: u≡Mu \equiv M on BR(z)B_R(z), so BR(z)⊂ΣB_R(z) \subset \Sigma. This shows Σ\Sigma is open, completing the argument: Σ=Ω\Sigma = \Omega, i.e. u≡Mu \equiv M on Ω\Omega, and by continuity on Ω‾\overline\Omega.

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 uu attains its max MM over Ω‾×[0,T]\overline\Omega\times[0,T] at (x0,t0)(x_0,t_0) with x0∈Ωx_0\in\Omega, t0∈(0,T]t_0\in(0,T]. Let

Σ={(x,t)∈Ω×(0,t0]:u(x,t)=M}.\Sigma = \{(x,t) \in \Omega\times(0,t_0] : u(x,t) = M\}.

One shows, exactly as before using a parabolic barrier of the form w(x,t)=e−α(∣x−y∣2+β(t−s))−e−αR2w(x,t) = e^{-\alpha(|x-y|^2 + \beta(t-s))} - e^{-\alpha R^2} on a suitable parabolic cylinder, that if u<Mu < M at some point with t≤t0t \le t_0 reachable from (x0,t0)(x_0,t_0) by a path staying inside Ω×(0,t0]\Omega\times(0,t_0], then u<Mu<M 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 t<t0t<t_0 we also have ut=0u_t = 0, so the full gradient in (x,t)(x,t) vanishes at any interior-time touching point, again contradicting a strictly positive oblique derivative from the barrier). The conclusion is that u≡Mu \equiv M on all of Ω‾×[0,t0]\overline\Omega \times [0,t_0], matching the stated strong maximum principle for the parabolic case.

Step 7 (Minimum principles). Apply the maximum principle established above to −u-u: if uu is a supersolution (Δu≤0\Delta u \le 0, resp. ut−Δu≥0u_t - \Delta u \ge 0), then −u-u is a subsolution, so max⁡(−u)=−min⁡u\max(-u) = -\min u is attained on the boundary (resp. parabolic boundary), i.e. min⁡u\min u is attained there, and the strong form follows identically. ■\blacksquare

∎

Worked examples

Example 1 (Elliptic: a non-symmetric subharmonic function on a rectangle). Let Ω=(0,2)×(0,1)⊂R2\Omega = (0,2)\times(0,1) \subset \mathbb R^2 and define

u(x,y)=x3−3xy2+5x+2.u(x,y) = x^3 - 3xy^2 + 5x + 2.

Compute uxx=6xu_{xx} = 6x, uyy=−6xu_{yy} = -6x, so Δu=6x−6x=0\Delta u = 6x - 6x = 0: uu is harmonic on Ω\Omega (indeed x3−3xy2x^3-3xy^2 is the real part of z3z^3, a standard harmonic function). By the weak maximum principle, max⁡Ω‾u\max_{\overline\Omega} u occurs on ∂Ω\partial\Omega. We verify by checking the boundary directly, since ∂Ω\partial\Omega of a rectangle is a union of four segments and each restriction is a single-variable function easy to optimize.

  • Bottom, y=0y=0, x∈[0,2]x\in[0,2]: u(x,0)=x3+5x+2u(x,0) = x^3+5x+2, increasing (derivative 3x2+5>03x^2+5>0), so max at x=2x=2: u(2,0)=8+10+2=20u(2,0) = 8+10+2=20.
  • Top, y=1y=1, x∈[0,2]x\in[0,2]: u(x,1)=x3−3x+5x+2=x3+2x+2u(x,1) = x^3 - 3x + 5x + 2 = x^3+2x+2, derivative 3x2+2>03x^2+2>0, increasing, max at x=2x=2: u(2,1)=8+4+2=14u(2,1) = 8+4+2=14.
  • Left, x=0x=0, y∈[0,1]y\in[0,1]: u(0,y)=2u(0,y) = 2, constant.
  • Right, x=2x=2, y∈[0,1]y\in[0,1]: u(2,y)=8−6y2+10+2=20−6y2u(2,y) = 8 - 6y^2+10+2=20-6y^2, decreasing in yy, max at y=0y=0: u(2,0)=20u(2,0)=20 (consistent with the bottom computation).

So max⁡∂Ωu=20\max_{\partial\Omega} u = 20, attained at the corner (2,0)(2,0). The theorem guarantees max⁡Ω‾u=20\max_{\overline\Omega} u = 20 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 ∇u=(3x2−3y2+5, −6xy)=0\nabla u = (3x^2-3y^2+5,\,-6xy)=0, which for these coefficients has no real solution in Ω\Omega at all (the second equation forces x=0x=0 or y=0y=0, 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 0<x<L0<x<L, 0<t≤T0<t\le T:

ut=uxx+f(x,t),u(0,t)=g0(t),u(L,t)=g1(t),u(x,0)=ϕ(x),u_t = u_{xx} + f(x,t), \qquad u(0,t) = g_0(t),\quad u(L,t)=g_1(t),\quad u(x,0)=\phi(x),

with f,g0,g1,ϕf, g_0, g_1, \phi continuous. Suppose u1,u2u_1, u_2 are both C2,1C^{2,1} solutions of this same problem (same f,g0,g1,ϕf,g_0,g_1,\phi). We show u1≡u2u_1 \equiv u_2, an asymmetric-data version of the uniqueness argument (the data f,g0,g1,ϕf, g_0, g_1, \phi need not be zero or symmetric in any way). Let w=u1−u2w = u_1 - u_2. Then

wt−wxx=(u1)t−(u1)xx−[(u2)t−(u2)xx]=f−f=0,w_t - w_{xx} = (u_1)_t - (u_1)_{xx} - \big[(u_2)_t - (u_2)_{xx}\big] = f - f = 0,

so ww solves the heat equation exactly (both a subcaloric and supercaloric function simultaneously, since equality holds). Also w(0,t)=g0(t)−g0(t)=0w(0,t) = g_0(t)-g_0(t) = 0, w(L,t)=g1(t)−g1(t)=0w(L,t) = g_1(t)-g_1(t)=0, w(x,0)=ϕ(x)−ϕ(x)=0w(x,0)=\phi(x)-\phi(x) = 0: ww vanishes on the entire parabolic boundary ΓT={0≤x≤L,t=0}∪{x∈{0,L},0≤t≤T}\Gamma_T = \{0\le x\le L, t=0\}\cup\{x\in\{0,L\}, 0\le t\le T\}. By the weak maximum principle (applied to ww, subcaloric since wt−wxx=0≤0w_t-w_{xx}=0\le 0):

max⁡[0,L]×[0,T]w=max⁡ΓTw=0.\max_{[0,L]\times[0,T]} w = \max_{\Gamma_T} w = 0.

By the weak minimum principle (applied to ww, supercaloric since wt−wxx=0≥0w_t - w_{xx}=0\ge 0):

min⁡[0,L]×[0,T]w=min⁡ΓTw=0.\min_{[0,L]\times[0,T]} w = \min_{\Gamma_T} w = 0.

Hence 0≤w≤00 \le w \le 0 everywhere, i.e. w≡0w \equiv 0, so u1≡u2u_1 \equiv u_2. Notice the argument used only the linearity of the heat operator and the maximum principle — no explicit formula for u1u_1 or u2u_2 (e.g. no Fourier series) was needed, and the data f,g0,g1,ϕf,g_0,g_1,\phi were left completely general and asymmetric. As a quantitative refinement (stability), if instead u1u_1 solves the problem with data (f,g0,g1,ϕ)(f,g_0,g_1,\phi) and u2u_2 solves it with slightly perturbed data (f,g~0,g~1,ϕ~)(f,\tilde g_0,\tilde g_1,\tilde\phi) (same source term ff), the same computation gives wt−wxx=0w_t - w_{xx}=0 with ww on ΓT\Gamma_T equal to the boundary/initial perturbations only, so

max⁡[0,L]×[0,T]∣u1−u2∣=max⁡ΓT∣w∣≤max⁡(∥ϕ−ϕ~∥∞, ∥g0−g~0∥∞, ∥g1−g~1∥∞),\max_{[0,L]\times[0,T]} |u_1-u_2| = \max_{\Gamma_T}|w| \le \max\Big(\|\phi-\tilde\phi\|_\infty,\ \|g_0-\tilde g_0\|_\infty,\ \|g_1-\tilde g_1\|_\infty\Big),

a clean, explicit sup-norm stability estimate with no constant blow-up as T→∞T\to\infty — a genuinely strong conclusion that would be hard to extract directly from a Fourier series with infinitely many terms.

CounterexampleUnboundedness of the domain breaks the maximum principle

Every hypothesis in the theorem is load-bearing. We exhibit what fails when boundedness of Ω\Omega is dropped, keeping every other hypothesis (connectedness, regularity, the sign of Δu\Delta u) intact. Let Ω={(x,y):y>0}⊂R2\Omega = \{(x,y) : y > 0\} \subset \mathbb R^2, the open upper half-plane — open, connected, but unbounded. Define

u(x,y)=y.u(x,y) = y.

Then u∈C2(Ω)∩C(Ω‾)u \in C^2(\Omega)\cap C(\overline\Omega), and Δu=uxx+uyy=0+0=0\Delta u = u_{xx}+u_{yy} = 0+0=0, so uu is harmonic — certainly subharmonic, satisfying every hypothesis of the theorem except boundedness of Ω\Omega. The boundary is ∂Ω={y=0}\partial\Omega = \{y=0\}, on which u≡0u \equiv 0, so max⁡∂Ωu=0\max_{\partial\Omega} u = 0. But

sup⁡Ω‾u=sup⁡y≥0y=+∞≠0=max⁡∂Ωu.\sup_{\overline\Omega} u = \sup_{y\ge 0} y = +\infty \ne 0 = \max_{\partial\Omega} u.

The conclusion max⁡Ω‾u=max⁡∂Ωu\max_{\overline\Omega}u = \max_{\partial\Omega}u fails completely: the left side is not even finite. Tracing through the proof shows exactly where boundedness was used: in Step 2, we needed Ω‾⊂BR(0)\overline\Omega \subset B_R(0) for some finite RR to bound the perturbation term ε∣x∣2\varepsilon|x|^2 uniformly and send ε→0\varepsilon\to 0; with Ω\Omega unbounded, ∣x∣|x| is unbounded on Ω‾\overline\Omega, so no finite bound εR2\varepsilon R^2 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: u(x,t)=xu(x,t) = x solves ut=uxxu_t = u_{xx} on the unbounded strip x∈R,t∈(0,T]x\in\mathbb R, t\in(0,T], vanishes at no fixed finite bound on the "parabolic boundary" t=0t=0 or the — nonexistent — lateral sides, yet is unbounded, again violating the conclusion when the spatial domain is unbounded.)

Scope, edge cases & common traps

SituationWhat the theorem saysCommon error
Ω\Omega unboundedPrinciple can fail (see counterexample) — an extra growth condition at infinity is needed to restore itAssuming boundedness "doesn't matter" for the qualitative statement
uu only subharmonic (Δu≥0\Delta u \ge 0, not >0>0)Weak principle still holds (Step 2); strong principle needs the full Step 5 argument, not just Step 1Applying the "easy" strict-inequality proof (Step 1) directly when Δu\Delta u merely ≥0\ge 0
Parabolic max at t=Tt=T exactlyIncluded in ΓT\Gamma_T? No — the top {t=T}×Ω\{t=T\}\times\Omega interior is excluded from ΓT\Gamma_T, but the theorem's max is still attained somewhere on ΓT\Gamma_T (bottom+sides), possibly with the value repeated at t=Tt=T too if uu is constant back to t=0t=0Forgetting that ΓT\Gamma_T excludes the open top slab, and mistakenly including {t=T,x∈Ω}\{t=T, x\in\Omega\} as boundary data one is allowed to prescribe freely
Ω\Omega disconnectedTheorem as stated requires Ω\Omega connected for the strong form (constant on all of Ω\Omega); apply separately on each componentExtending "constant on Ω\Omega" across disconnected components with different constants
Equation with lower-order or non-constant coefficients (e.g. Δu+c(x)u≥0\Delta u + c(x)u \ge 0 with c>0c>0)Maximum principle can fail without an extra sign condition on ccAssuming 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
EH
Eberhard Hopf
1902–1983 · Mathematical analysis, PDE, dynamical systems, Vienna and Leipzig then the United States

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.

History
- 1839: Carl Friedrich Gauss and successors develop mean value properties of harmonic functions, an early precursor of the maximum principle for Laplace's equation.
- 1927–1930s: rigorous formulations of the weak maximum principle for elliptic equations circulate in the Courant–Hilbert circle of mathematical physics.
- 1952: Eberhard Hopf publishes the boundary point lemma, providing the key tool for the strong maximum principle in full generality for elliptic operators.
- 1957: Aleksandr D. Aleksandrov and others extend maximum principle techniques to more general second-order elliptic operators with variable coefficients.
- 1960s–1980s: the maximum principle becomes a standard tool underlying viscosity solution theory (Crandall–Lions) and comparison principles for fully nonlinear PDEs.
What exactly is the difference between the "weak" and "strong" maximum principle?

The weak maximum principle only bounds the values of a subsolution: max⁡Ω‾u≤max⁡∂Ωu\max_{\overline\Omega} u \le \max_{\partial\Omega} u (or the parabolic analogue with ΓT\Gamma_T). It says nothing about where the maximum can be attained inside Ω\Omega, 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 Lu=∑aij(x)uxixj+∑bi(x)uxi+c(x)uLu = \sum a_{ij}(x)u_{x_ix_j} + \sum b_i(x) u_{x_i} + c(x) u provided LL is uniformly elliptic (the matrix (aij)(a_{ij}) is positive definite) and c(x)≤0c(x) \le 0. The sign condition on cc is essential: if c>0c > 0 somewhere, the maximum principle can genuinely fail, because at an interior max u(x∗)>0u(x^*)>0, the term c(x∗)u(x∗)c(x^*)u(x^*) 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 L=ΔL = \Delta and L=∂t−ΔL = \partial_t - \Delta 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 u1,u2u_1, u_2 of the same linear problem (same PDE, same boundary/initial data), their difference w=u1−u2w = u_1-u_2 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 max⁡w=0\max w = 0 and min⁡w=0\min w = 0 simultaneously, since ww is simultaneously a subsolution and a supersolution of the homogeneous equation, pinning w≡0w \equiv 0. 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 utu_t vs. Δu\Delta u) — 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 ΓT\Gamma_T missing the top slice {t=T}\{t=T\}?

Because information about the solution's behavior at t=Tt=T is not independent boundary data — it is determined by the equation together with the data on ΓT\Gamma_T, not prescribed freely. If you tried to also impose a value at t=Tt=T 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 t=Tt=T; 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 δ\delta in sup norm, the maximum principle applied to the difference ww shows max⁡∣w∣\max |w| over the whole domain equals max⁡∣w∣\max|w| over the boundary/parabolic boundary, which is at most δ\delta 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 TT, 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).

Before this

Where this leads