Statement

Let URnU\subseteq\mathbb R^n be connected and let u:URu:U\to\mathbb R be . If uu attains a maximum or a minimum at an interior point, then uu is constant on UU.

Boundary form

If UU is bounded, uu is continuous on U\overline U, and harmonic on UU, then

maxUu=maxUu,minUu=minUu.\max_{\overline U}u=\max_{\partial U}u,\qquad \min_{\overline U}u=\min_{\partial U}u.
Proof mechanism

The mean-value property says that an interior value is the average of nearby values. If it is already maximal, every nearby value must be equal to it. Connectedness propagates this local constancy throughout the domain.

Use

Applying the boundary form to the difference of two solutions proves uniqueness for the Dirichlet problem. It also bounds derivatives or auxiliary harmonic functions by their boundary values.

References
  1. Lawrence C. Evans, Partial Differential Equations, 2nd ed., AMS, 2010. Publisher record.