Book 6A

© 2026 Neckpinch · www.neckpinch.com · All rights reserved.

Course 6Book 6A: The Heat Equation and Its RelativesChapter 2

Harmonic Functions

The mean value property, the maximum principle, Harnack and Liouville.

56 min read · Updated Oct 20, 2026

Read with Evans, Partial Differential Equations, section 2.2 (Laplace's equation: the fundamental solution, the mean value formulas, properties of harmonic functions, Green's function and Poisson's formula, energy methods). Jost's Partial Differential Equations, chapters 2 and 3, is a good second voice. This chapter proves everything it uses, so it can be read on its own; Green's functions and Poisson kernels are derived in full in 6B.4 Green’s Functions, Separation of Variables and Transforms.

In this chapter · 8 sections
  1. 2.1Steady temperatures
  2. 2.2The fundamental solution
  3. 2.3The mean value property
  4. 2.4Consequences of the mean value property
  5. 2.4.1Smoothness
  6. 2.4.2Estimates on derivatives of every order
  7. 2.4.3Harmonic functions are analytic
  8. 2.5The Harnack inequality
  9. 2.6Dirichlet's principle
  10. 2.7History
  11. 2.8Exercises
  12. ↗Free resources

Leave the heat equation running long enough with fixed boundary temperatures and it settles into a steady state, where ut=0u_t = 0. What remains is Laplace's equation Δu=0\Delta u = 0, and its solutions are the harmonic functions. They are the equilibria of diffusion, and their properties are the static versions of everything the heat equation does: they average, they smooth, and they cannot have interior maxima.

Book 5A met harmonic functions in the plane as real parts of holomorphic functions. Here there are no complex numbers to lean on, and every result is proved in every dimension, from one formula: the value of a harmonic function at a point is its average over any sphere around that point. From the mean value property follow the maximum principle, uniqueness for the Dirichlet problem, smoothness, derivative estimates, the Harnack inequality and Liouville's theorem. These are the prototypes of the estimates used on the Ricci flow, and this chapter is where their proofs are simplest.

By the end of this chapter you will be able to:

  • derive the fundamental solution of the Laplacian, and prove that convolving with it solves Poisson's equation;
  • prove the mean value property and its converse;
  • deduce the strong maximum principle, uniqueness, smoothness, derivative estimates of every order, real-analyticity and Liouville's theorem;
  • prove Weyl's lemma: a function that is harmonic in the weak sense is smooth and harmonic;
  • prove a Harnack inequality from the mean value property;
  • state Dirichlet's principle, prove it, and use the energy method to prove uniqueness.

Steady temperatures

In the world Model The hottest point is on the boundary

A solid body with no internal heat sources or sinks, whose surface is held at given temperatures, settles into a steady temperature distribution uu. Fourier's law says heat flows down the gradient, q=−k∇uq = -k\nabla u, and conservation of energy says that in a steady state as much heat flows out of any small region as flows in, so div⁡(k∇u)=0\operatorname{div}(k\nabla u) = 0, which for constant conductivity kk is Δu=0\Delta u = 0 (1A.10 Divergence, Curl and the Integral Theorems).

The first consequence is one that thermal engineers use daily: in a body with no internal heat sources, the hottest and coldest points are on the surface. A heat spreader bonded to a chip is hottest at the contact with the chip; a wall between a warm room and a cold street has its extreme temperatures on its two faces. This is the maximum principle (Theorem 2.3). The second is that the steady state is completely determined by the boundary temperatures (uniqueness), and depends on them stably: a change of at most ε\varepsilon in the boundary temperatures changes the interior temperature by at most ε\varepsilon (Corollary 2.4). The Dirichlet problem for Laplace's equation is well posed in exactly Hadamard's sense (6A.1 What a PDE Is).

In the world Model The Faraday cage

In electrostatics the potential φ\varphi in a region with no charge is harmonic. Inside a closed conducting shell, with no charge inside, φ\varphi is harmonic and, since a conductor in equilibrium is an equipotential, constant on the boundary. By the maximum principle, a harmonic function that is constant on the boundary of a bounded region is constant inside. So the field −∇φ-\nabla\varphi inside is zero, whatever charges sit outside. Michael Faraday demonstrated the effect in 1836 by sitting in a room lined with metal foil while large charges were applied to its outside. The same mathematics explains why a car or an aircraft protects its occupants from lightning, and why microwave ovens and sensitive electronics are enclosed in metal (for oscillating fields the shielding is good only for wavelengths much larger than the holes in the mesh, which is a statement about a different equation).

The fundamental solution

Laplace's equation is invariant under rotations, so look first for radial solutions u=v(r)u = v(r), r=∣x∣r = |x|. In Rn\mathbb{R}^n, Δv(r)=v′′+n−1rv′\Delta v(r) = v'' + \frac{n - 1}{r}v' (Exercise 2.12), and the solutions of v′′+n−1rv′=0v'' + \frac{n - 1}rv' = 0 are v=a+blog⁡rv = a + b\log r for n=2n = 2 and v=a+br2−nv = a + br^{2-n} for n≥3n \geq 3. With the right constants these give the fundamental solution

Φ(x)={−12πlog⁡∣x∣,n=2,1n(n−2)α(n)∣x∣2−n,n≥3,\Phi(x) = \begin{cases}-\dfrac{1}{2\pi}\log|x|, & n = 2,\\[2mm] \dfrac{1}{n(n - 2)\alpha(n)}|x|^{2-n}, & n \geq 3,\end{cases}

where α(n)\alpha(n) is the volume of the unit ball (3A.5 Product Measures and Change of Variables), so that the unit sphere has area nα(n)n\alpha(n). The constants are chosen so that −ΔΦ=δ0-\Delta\Phi = \delta_0 in the sense of distributions (4A.9 Distributions and Weak Derivatives): Φ\Phi is the potential of a unit point charge, or the steady temperature from a unit point source.

Where do the constants come from? Differentiating, for x≠0x \neq 0 and every n≥2n \geq 2,

∇Φ(x)=−1nα(n) x∣x∣n,so∫∂Bε(0)∇Φ⋅x∣x∣ dS=−1nα(n)εn−1⋅nα(n)εn−1=−1.\nabla\Phi(x) = -\frac{1}{n\alpha(n)}\,\frac{x}{|x|^n}, \qquad\text{so}\qquad \int_{\partial B_\varepsilon(0)}\nabla\Phi\cdot\frac{x}{|x|}\,dS = -\frac{1}{n\alpha(n)\varepsilon^{n-1}}\cdot n\alpha(n)\varepsilon^{n-1} = -1.

The flux of ∇Φ\nabla\Phi out of every sphere around the origin is −1-1: a unit amount of "heat" is produced at the origin and flows outward. That is what −ΔΦ=δ0-\Delta\Phi = \delta_0 means physically, and the normalisation is chosen to make the flux exactly 11. In three dimensions Φ(x)=14π∣x∣\Phi(x) = \frac{1}{4\pi|x|}, Newton's and Coulomb's potential, and −∇Φ=x4π∣x∣3-\nabla\Phi = \frac{x}{4\pi|x|^3} is the inverse-square law.

The use of Φ\Phi is that it solves Poisson's equation for every source by superposition: add up the responses to the point sources that make up ff.

Theorem 2.1 Solving Poisson's equation

Let f∈C2(Rn)f \in C^2(\mathbb{R}^n) have compact support, and let

u(x)=∫RnΦ(x−y)f(y) dy.u(x) = \int_{\mathbb{R}^n}\Phi(x - y)f(y)\,dy.

Then u∈C2(Rn)u \in C^2(\mathbb{R}^n) and −Δu=f-\Delta u = f.

Proof. Regularity. Substituting y↦x−yy \mapsto x - y, u(x)=∫Φ(y)f(x−y) dyu(x) = \int\Phi(y)f(x - y)\,dy. The function Φ\Phi is locally integrable (in polar coordinates, ∫B1∣Φ∣≤C∫01rn−1∣Φ(r)∣ dr<∞\int_{B_1}|\Phi| \leq C\int_0^1r^{n-1}|\Phi(r)|\,dr < \infty, since rn−1r2−n=rr^{n-1}r^{2-n} = r and rlog⁡rr\log r are integrable). The difference quotients of f(x−y)f(x - y) in xx converge uniformly to its derivatives, because ff has compact support and bounded continuous second derivatives; so we may differentiate under the integral sign twice (3A.3 The Lebesgue Integral), and

Δu(x)=∫RnΦ(y) Δxf(x−y) dy,\Delta u(x) = \int_{\mathbb{R}^n}\Phi(y)\,\Delta_xf(x - y)\,dy,

which is continuous in xx by dominated convergence.

The singularity. Fix xx and ε>0\varepsilon > 0, write w(y)=f(x−y)w(y) = f(x - y) (so that Δxf(x−y)=Δw(y)\Delta_xf(x - y) = \Delta w(y)), and split

Δu(x)=∫Bε(0)Φ Δw dy⏟Iε+∫Rn∖Bε(0)Φ Δw dy⏟Jε.\Delta u(x) = \underbrace{\int_{B_\varepsilon(0)}\Phi\,\Delta w\,dy}_{I_\varepsilon} + \underbrace{\int_{\mathbb{R}^n\setminus B_\varepsilon(0)}\Phi\,\Delta w\,dy}_{J_\varepsilon}.

The first piece is small: ∣Iε∣≤sup⁡∣D2f∣∫Bε∣Φ∣≤Cε2∣log⁡ε∣|I_\varepsilon| \leq \sup|D^2f|\int_{B_\varepsilon}|\Phi| \leq C\varepsilon^2|\log\varepsilon| for n=2n = 2 and ≤Cε2\leq C\varepsilon^2 for n≥3n \geq 3.

Integrate by parts twice. On V=Rn∖Bε(0)V = \mathbb{R}^n\setminus B_\varepsilon(0), where Φ\Phi is smooth and ww has compact support, Green's identity (1A.10 Divergence, Curl and the Integral Theorems) with the outward normal ν=−y/∣y∣\nu = -y/|y| of VV on ∂Bε\partial B_\varepsilon gives

Jε=−∫V∇Φ⋅∇w dy+∫∂BεΦ ∂νw dS=:Kε+Lε.J_\varepsilon = -\int_V\nabla\Phi\cdot\nabla w\,dy + \int_{\partial B_\varepsilon}\Phi\,\partial_\nu w\,dS =: K_\varepsilon + L_\varepsilon.

The boundary term is small: ∣Lε∣≤sup⁡∣Df∣∫∂Bε∣Φ∣ dS|L_\varepsilon| \leq \sup|Df|\int_{\partial B_\varepsilon}|\Phi|\,dS, which is O(ε∣log⁡ε∣)O(\varepsilon|\log\varepsilon|) for n=2n = 2 and O(ε)O(\varepsilon) for n≥3n \geq 3. For KεK_\varepsilon, integrate by parts again, using ΔΦ=0\Delta\Phi = 0 on VV:

Kε=∫VΔΦ w dy−∫∂Bεw ∂νΦ dS=−∫∂Bεw ∂νΦ dS.K_\varepsilon = \int_V\Delta\Phi\,w\,dy - \int_{\partial B_\varepsilon}w\,\partial_\nu\Phi\,dS = -\int_{\partial B_\varepsilon}w\,\partial_\nu\Phi\,dS.

On ∂Bε\partial B_\varepsilon, ∂νΦ=∇Φ⋅(−y/ε)=1nα(n)εn−1\partial_\nu\Phi = \nabla\Phi\cdot(-y/\varepsilon) = \frac{1}{n\alpha(n)\varepsilon^{n-1}}, the reciprocal of the area of the sphere. So

Kε=−1nα(n)εn−1∫∂Bε(0)f(x−y) dS(y)→−f(x)K_\varepsilon = -\frac{1}{n\alpha(n)\varepsilon^{n-1}}\int_{\partial B_\varepsilon(0)}f(x - y)\,dS(y) \to -f(x)

as ε→0\varepsilon \to 0, because it is minus the average of the continuous function ff over the sphere of radius ε\varepsilon about xx.

Conclusion. Δu(x)=Iε+Kε+Lε\Delta u(x) = I_\varepsilon + K_\varepsilon + L_\varepsilon for every ε\varepsilon, and letting ε→0\varepsilon \to 0 gives Δu(x)=−f(x)\Delta u(x) = -f(x).

The structure of this proof recurs whenever a singular kernel is used: cut out a small ball around the singularity, show the piece inside is negligible, integrate by parts outside, and find that the boundary term on the small sphere produces exactly the value at the centre. The same computation, with the heat kernel in place of Φ\Phi, appears in 6A.3 The Heat Equation on ℝⁿ.

Two remarks on the hypotheses. The assumption f∈C2f \in C^2 is more than needed: Hölder continuity of ff suffices for u∈C2u \in C^2, but mere continuity does not, which is the start of Schauder theory (6B.7 Schauder Theory and the Continuity Method). And for n≥3n \geq 3, u(x)→0u(x) \to 0 as ∣x∣→∞|x| \to \infty, while for n=2n = 2, uu grows like −12π(∫f)log⁡∣x∣-\frac{1}{2\pi}\big(\int f\big)\log|x|: in the plane, a net source makes the potential unbounded, which is why two-dimensional potential theory feels different.

On a bounded region with boundary values, the fundamental solution is corrected by a harmonic function to vanish on the boundary, giving Green's function. For the ball Br(0)B_r(0) this can be done explicitly by reflection in the sphere, and the result is Poisson's formula: the solution of Δu=0\Delta u = 0 in Br(0)B_r(0) with u=gu = g on the boundary is

u(x)=r2−∣x∣2nα(n)r∫∂Br(0)g(y)∣x−y∣n dS(y)u(x) = \frac{r^2 - |x|^2}{n\alpha(n)r}\int_{\partial B_r(0)}\frac{g(y)}{|x - y|^n}\,dS(y)

(Evans, section 2.2.4; derived in full in 6B.4 Green’s Functions, Separation of Variables and Transforms). In the plane this is the Poisson kernel of 5A.4 Harmonic Functions and Conformal Mapping. The kernel is positive, has total integral 11, and concentrates at the boundary point nearest xx as xx approaches the boundary: an approximate identity (3A.8 Convolution and Mollifiers).

The mean value property

Write   -∫\mathop{\rlap{\,\,-}\int} for an average:   -∫∂Br(x)u dS=1nα(n)rn−1∫∂Br(x)u dS\mathop{\rlap{\,\,-}\int}\nolimits_{\partial B_r(x)}u\,dS = \frac{1}{n\alpha(n)r^{n-1}}\int_{\partial B_r(x)}u\,dS is the average over a sphere, and   -∫Br(x)u dy\mathop{\rlap{\,\,-}\int}\nolimits_{B_r(x)}u\,dy the average over a ball.

Theorem 2.2 The mean value property

Let uu be harmonic (C2C^2 with Δu=0\Delta u = 0) on an open set UU, and let Br(x)‾⊂U\overline{B_r(x)} \subset U. Then

u(x)=  -∫∂Br(x)u dS=  -∫Br(x)u dy.u(x) = \mathop{\rlap{\,\,-}\int}\nolimits_{\partial B_r(x)}u\,dS = \mathop{\rlap{\,\,-}\int}\nolimits_{B_r(x)}u\,dy.

Proof. Let ϕ(s)=  -∫∂Bs(x)u dS=  -∫∂B1(0)u(x+sz) dS(z)\phi(s) = \mathop{\rlap{\,\,-}\int}\nolimits_{\partial B_s(x)}u\,dS = \mathop{\rlap{\,\,-}\int}\nolimits_{\partial B_1(0)}u(x + sz)\,dS(z) for 0<s≤r0 < s \leq r. Differentiating under the integral (3A.3 The Lebesgue Integral),

ϕ′(s)=  -∫∂B1(0)∇u(x+sz)⋅z dS(z)=  -∫∂Bs(x)∂u∂ν dS=sn  -∫Bs(x)Δu dy=0,\phi'(s) = \mathop{\rlap{\,\,-}\int}\nolimits_{\partial B_1(0)}\nabla u(x + sz)\cdot z\,dS(z) = \mathop{\rlap{\,\,-}\int}\nolimits_{\partial B_s(x)}\frac{\partial u}{\partial\nu}\,dS = \frac sn\mathop{\rlap{\,\,-}\int}\nolimits_{B_s(x)}\Delta u\,dy = 0,

where the third equality is the divergence theorem (1A.10 Divergence, Curl and the Integral Theorems), ∫∂Bs∂νu dS=∫BsΔu\int_{\partial B_s}\partial_\nu u\,dS = \int_{B_s}\Delta u, together with the ratio ∣Bs∣∣∂Bs∣=sn\frac{|B_s|}{|\partial B_s|} = \frac sn. So ϕ\phi is constant, and ϕ(s)→u(x)\phi(s) \to u(x) as s→0s \to 0 by continuity. The ball average follows by integrating the sphere averages over 0<s≤r0 < s \leq r in polar coordinates (3A.5 Product Measures and Change of Variables).

The proof shows more. If Δu≥0\Delta u \geq 0 (subharmonic), then ϕ′≥0\phi' \geq 0 and u(x)≤  -∫∂Br(x)uu(x) \leq \mathop{\rlap{\,\,-}\int}\nolimits_{\partial B_r(x)}u: a subharmonic function lies below its averages. If Δu≤0\Delta u \leq 0 (superharmonic) the inequality reverses. This is the content of "the Laplacian measures how uu compares with its averages", the heuristic of 2B.7 Fourier Series and the First Heat Equation, made exact (Figure 2.1).

Figure 2.1. The mean value property for u(x,y)=x2−y2+0.6x+0.3u(x, y) = x^2 - y^2 + 0.6x + 0.3 (computed). Left: level curves of uu and a circle of radius 0.80.8 about the point (0.3,0.2)(0.3, 0.2). Right: uu around the circle against the angle, which is 0.53+0.96cos⁡θ−0.32sin⁡θ+0.64cos⁡2θ0.53 + 0.96\cos\theta - 0.32\sin\theta + 0.64\cos2\theta; its average is exactly the centre value u(0.3,0.2)=0.53u(0.3, 0.2) = 0.53 (dashed), so the shaded areas above and below the dashed line are equal. The same is true for every radius.

The converse holds too: a continuous function with the mean value property on every small sphere is harmonic, and in particular smooth (Exercise 2.13). The mean value property is therefore a complete characterisation of harmonic functions, and it needs no derivatives to state. That makes it the right definition in settings where derivatives are not available, such as graphs: a function on the vertices of a graph is called harmonic if its value at each vertex is the average of its neighbours' values. The figure in Figure 2.2 was computed by exactly that definition on a grid.

Consequences of the mean value property

Theorem 2.3 The strong maximum principle

Let UU be open, bounded and connected, and u∈C2(U)∩C(U‾)u \in C^2(U)\cap C(\overline U) harmonic in UU. Then

max⁡U‾u=max⁡∂Uu,\max_{\overline U}u = \max_{\partial U}u,

and if uu attains its maximum at an interior point, uu is constant in UU. The same holds for minima.

Proof. Suppose u(x0)=M=max⁡U‾uu(x_0) = M = \max_{\overline U}u with x0∈Ux_0 \in U. For 0<r<dist⁡(x0,∂U)0 < r < \operatorname{dist}(x_0, \partial U),

M=u(x0)=  -∫Br(x0)u dy≤M,M = u(x_0) = \mathop{\rlap{\,\,-}\int}\nolimits_{B_r(x_0)}u\,dy \leq M,

with equality only if u=Mu = M throughout Br(x0)B_r(x_0), since u≤Mu \leq M and uu is continuous. So the set {x∈U:u(x)=M}\{x \in U : u(x) = M\} is open; it is closed in UU by continuity, and non-empty, so it is all of UU by connectedness (2B.4 Connectedness). For minima apply this to −u-u.

This is the argument of 5A.2 Cauchy’s Theorem and Its Consequences's maximum modulus principle, now in every dimension. A different proof, which doesn't use the mean value property, works for general elliptic operators: at an interior maximum the Hessian is negative semidefinite (2B.8 Calculus in Several Variables), so Δu≤0\Delta u \leq 0 there; it is the starting point of 6A.5 Maximum Principles.

Corollary 2.4 Uniqueness and stability for the Dirichlet problem

On a bounded open set UU, the Dirichlet problem Δu=f\Delta u = f in UU, u=gu = g on ∂U\partial U, has at most one solution in C2(U)∩C(U‾)C^2(U)\cap C(\overline U). If u1u_1, u2u_2 are harmonic with boundary values g1g_1, g2g_2, then max⁡U‾∣u1−u2∣=max⁡∂U∣g1−g2∣\max_{\overline U}|u_1 - u_2| = \max_{\partial U}|g_1 - g_2|.

Proof. The difference of two solutions is harmonic; apply the maximum principle to it and to its negative.

Smoothness

A harmonic function was defined as a C2C^2 function with Δu=0\Delta u = 0. In fact it is C∞C^\infty, and the proof needs nothing but the mean value property. Let η\eta be a radial mollifier: a smooth function η(x)=η~(∣x∣)≥0\eta(x) = \tilde\eta(|x|) \geq 0 supported in B1(0)B_1(0) with ∫η=1\int\eta = 1, and ηε(x)=ε−nη(x/ε)\eta_\varepsilon(x) = \varepsilon^{-n}\eta(x/\varepsilon) (3A.8 Convolution and Mollifiers). Write Uε={x∈U:dist⁡(x,∂U)>ε}U_\varepsilon = \{x \in U : \operatorname{dist}(x, \partial U) > \varepsilon\}.

Proposition 2.5 Mean values give smoothness

Let uu be continuous on UU and satisfy u(x)=  -∫∂Br(x)u dSu(x) = \mathop{\rlap{\,\,-}\int}\nolimits_{\partial B_r(x)}u\,dS whenever Br(x)‾⊂U\overline{B_r(x)} \subset U. Then u∗ηε=uu * \eta_\varepsilon = u on UεU_\varepsilon. Consequently u∈C∞(U)u \in C^\infty(U), and uu is harmonic.

Proof. For x∈Uεx \in U_\varepsilon, write the convolution in polar coordinates about xx (3A.5 Product Measures and Change of Variables), using that ηε\eta_\varepsilon is radial, ηε(y)=ε−nη~(∣y∣/ε)\eta_\varepsilon(y) = \varepsilon^{-n}\tilde\eta(|y|/\varepsilon):

u∗ηε(x)=∫Bε(x)ηε(x−y)u(y) dy=∫0εε−nη~(r/ε)(∫∂Br(x)u dS)dr=u(x)∫0εε−nη~(r/ε) nα(n)rn−1 dr.u * \eta_\varepsilon(x) = \int_{B_\varepsilon(x)}\eta_\varepsilon(x - y)u(y)\,dy = \int_0^\varepsilon\varepsilon^{-n}\tilde\eta(r/\varepsilon)\Big(\int_{\partial B_r(x)}u\,dS\Big)dr = u(x)\int_0^\varepsilon\varepsilon^{-n}\tilde\eta(r/\varepsilon)\,n\alpha(n)r^{n-1}\,dr.

The last integral is ∫Bε(0)ηε=1\int_{B_\varepsilon(0)}\eta_\varepsilon = 1, by the same polar-coordinate computation applied to the constant 11. So u∗ηε=uu * \eta_\varepsilon = u on UεU_\varepsilon. The convolution of a locally integrable function with a smooth compactly supported kernel is smooth (differentiate under the integral, 3A.8 Convolution and Mollifiers), so uu is smooth on UεU_\varepsilon for every ε\varepsilon, hence on UU. Finally, a smooth function with the mean value property is harmonic, by Exercise 2.13.

The proposition says that the mean value property, a condition with no derivatives in it, already forces infinite differentiability. In particular a C2C^2 harmonic function is C∞C^\infty. The next result goes further and drops differentiability from the hypotheses entirely.

Theorem 2.6 Weyl's lemma

Let u∈Lloc1(U)u \in L^1_{\mathrm{loc}}(U) satisfy

∫Uu Δϕ dx=0for every ϕ∈Cc∞(U),\int_Uu\,\Delta\phi\,dx = 0 \quad\text{for every } \phi \in C_c^\infty(U),

that is, Δu=0\Delta u = 0 in the sense of distributions (4A.9 Distributions and Weak Derivatives). Then uu agrees almost everywhere with a smooth harmonic function.

Proof. Step 1: mollifications are harmonic. For x∈Uεx \in U_\varepsilon, let uε=u∗ηεu_\varepsilon = u * \eta_\varepsilon, which is smooth. Differentiating under the integral,

Δuε(x)=∫Uu(y) Δxηε(x−y) dy=∫Uu(y) Δy[ηε(x−y)] dy=0,\Delta u_\varepsilon(x) = \int_Uu(y)\,\Delta_x\eta_\varepsilon(x - y)\,dy = \int_Uu(y)\,\Delta_y\big[\eta_\varepsilon(x - y)\big]\,dy = 0,

since y↦ηε(x−y)y \mapsto \eta_\varepsilon(x - y) is a test function supported in Bε(x)⊂UB_\varepsilon(x) \subset U, and Δx\Delta_x and Δy\Delta_y agree on functions of x−yx - y. So uεu_\varepsilon is harmonic on UεU_\varepsilon, and in particular has the mean value property there.

Step 2: the mollifications don't depend on ε\varepsilon. Let ε,δ>0\varepsilon, \delta > 0 and work on Uε+δU_{\varepsilon+\delta}. By Proposition 2.5 applied to the harmonic function uεu_\varepsilon, uε∗ηδ=uεu_\varepsilon * \eta_\delta = u_\varepsilon; and likewise uδ∗ηε=uδu_\delta * \eta_\varepsilon = u_\delta. Convolution is commutative and associative (3A.8 Convolution and Mollifiers), so

uε=uε∗ηδ=(u∗ηε)∗ηδ=(u∗ηδ)∗ηε=uδ∗ηε=uδ.u_\varepsilon = u_\varepsilon * \eta_\delta = (u * \eta_\varepsilon) * \eta_\delta = (u * \eta_\delta) * \eta_\varepsilon = u_\delta * \eta_\varepsilon = u_\delta.

Step 3: pass to the limit. As ε→0\varepsilon \to 0, uε→uu_\varepsilon \to u in L1L^1 on every compact subset of UU (3A.8 Convolution and Mollifiers). But by Step 2, on any compact K⊂UK \subset U the functions uεu_\varepsilon are all equal, for ε\varepsilon small enough, to one smooth harmonic function vv. So u=vu = v almost everywhere on KK, and since UU is a countable union of compact sets, almost everywhere on UU.

Hermann Weyl proved this in 1940, to show that weak and classical harmonic functions are the same. It is the prototype of every regularity theorem: a solution defined only weakly, as an integrable function satisfying the equation against test functions, is automatically smooth. In 6A.6 Weak Solutions and Elliptic Regularity the same conclusion is reached for general elliptic equations with variable coefficients, where no mean value property is available and the proof uses energy estimates instead.

Estimates on derivatives of every order

Each partial derivative ∂iu\partial_iu of a harmonic function is harmonic too (derivatives commute with Δ\Delta, and uu is smooth), so it has the mean value property. Combined with the divergence theorem this bounds derivatives by values.

Proposition 2.7 Derivative estimates

Let uu be harmonic on UU and Br(x0)‾⊂U\overline{B_r(x_0)} \subset U. Then

∣∂iu(x0)∣≤nrmax⁡∂Br(x0)∣u∣(i=1,…,n),|\partial_iu(x_0)| \leq \frac nr\max_{\partial B_r(x_0)}|u| \quad (i = 1, \ldots, n),

and for every multi-index α\alpha with ∣α∣=k≥1|\alpha| = k \geq 1,

∣∂αu(x0)∣≤(nkr)kmax⁡Br(x0)‾∣u∣.|\partial^\alpha u(x_0)| \leq \Big(\frac{nk}{r}\Big)^k\max_{\overline{B_r(x_0)}}|u|.

Proof. First derivatives. By the ball form of the mean value property applied to the harmonic function ∂iu\partial_iu, and the divergence theorem applied to the vector field u eiu\,e_i,

∂iu(x0)=1∣Br∣∫Br(x0)∂iu dy=1α(n)rn∫∂Br(x0)u νi dS.\partial_iu(x_0) = \frac{1}{|B_r|}\int_{B_r(x_0)}\partial_iu\,dy = \frac{1}{\alpha(n)r^n}\int_{\partial B_r(x_0)}u\,\nu_i\,dS.

Since ∣νi∣≤1|\nu_i| \leq 1 and the sphere has area nα(n)rn−1n\alpha(n)r^{n-1}, ∣∂iu(x0)∣≤nα(n)rn−1α(n)rnmax⁡∣u∣=nrmax⁡∂Br(x0)∣u∣|\partial_iu(x_0)| \leq \frac{n\alpha(n)r^{n-1}}{\alpha(n)r^n}\max|u| = \frac nr\max_{\partial B_r(x_0)}|u|.

Higher derivatives. Let ρ=r/k\rho = r/k, and for j=0,1,…,kj = 0, 1, \ldots, k let MjM_j be the largest value of ∣∂βu∣|\partial^\beta u| over all multi-indices ∣β∣=j|\beta| = j and all points of the closed ball Br−jρ(x0)‾\overline{B_{r - j\rho}(x_0)}. A derivative of order j+1j + 1 is ∂i∂βu\partial_i\partial^\beta u with ∣β∣=j|\beta| = j, and ∂βu\partial^\beta u is harmonic. At a point x∈Br−(j+1)ρ(x0)‾x \in \overline{B_{r-(j+1)\rho}(x_0)}, the ball Bρ(x)‾\overline{B_\rho(x)} lies in Br−jρ(x0)‾\overline{B_{r - j\rho}(x_0)}, so the first-derivative estimate on that ball gives ∣∂i∂βu(x)∣≤nρMj|\partial_i\partial^\beta u(x)| \leq \frac n\rho M_j. Hence Mj+1≤nkrMjM_{j+1} \leq \frac{nk}{r}M_j, and after kk steps Mk≤(nkr)kM0M_k \leq \big(\frac{nk}{r}\big)^kM_0. Since MkM_k bounds ∣∂αu(x0)∣|\partial^\alpha u(x_0)|, this is the claim.

A bound on uu on a ball controls all its derivatives at the centre, with the scaling r−kr^{-k}: the real-variable form of the Cauchy estimates of 5A.2 Cauchy’s Theorem and Its Consequences. The scaling is forced: u(rx)u(rx) is harmonic whenever uu is, and its kk-th derivatives carry a factor rkr^k. Every interior estimate in this book has this form, "derivatives of order kk on a ball of radius rr are bounded by Cr−kCr^{-k} times the size of the solution on a slightly bigger ball", and for the heat equation the corresponding factor is t−k/2t^{-k/2} (6A.3 The Heat Equation on ℝⁿ), which is the same thing with r2r^2 replaced by tt.

Harmonic functions are analytic

The constants in Proposition 2.7 grow like kkk^k, which is the growth rate of k!k! up to an exponential (since kk≤ekk!k^k \leq e^kk!, from ek=∑jkj/j!≥kk/k!e^k = \sum_jk^j/j! \geq k^k/k!). That is exactly what is needed for the Taylor series to converge.

Theorem 2.8 Harmonic functions are real-analytic

Let uu be harmonic on UU and B2r(x0)‾⊂U\overline{B_{2r}(x_0)} \subset U, with M=max⁡B2r(x0)‾∣u∣M = \max_{\overline{B_{2r}(x_0)}}|u|. Then the Taylor series of uu about x0x_0 converges to uu on the ball ∣h∣<ren3/2|h| < \frac{r}{en^{3/2}}.

Proof. For ∣h∣<r|h| < r, Taylor's theorem with remainder (2B.8 Calculus in Several Variables), applied to s↦u(x0+sh)s \mapsto u(x_0 + sh) on [0,1][0, 1], gives

u(x0+h)−∑∣α∣<N∂αu(x0)α!hα=∑∣α∣=N∂αu(ξ)α!hαu(x_0 + h) - \sum_{|\alpha| < N}\frac{\partial^\alpha u(x_0)}{\alpha!}h^\alpha = \sum_{|\alpha| = N}\frac{\partial^\alpha u(\xi)}{\alpha!}h^\alpha

for some point ξ\xi on the segment from x0x_0 to x0+hx_0 + h. Since Br(ξ)‾⊂B2r(x0)‾\overline{B_r(\xi)} \subset \overline{B_{2r}(x_0)}, Proposition 2.7 gives ∣∂αu(ξ)∣≤(nN/r)NM≤(ne/r)NN! M|\partial^\alpha u(\xi)| \leq (nN/r)^NM \leq (ne/r)^NN!\,M. The multinomial theorem says ∑∣α∣=NN!α!∣h1∣α1⋯∣hn∣αn=(∣h1∣+⋯+∣hn∣)N≤(n∣h∣)N\sum_{|\alpha| = N}\frac{N!}{\alpha!}|h_1|^{\alpha_1}\cdots|h_n|^{\alpha_n} = (|h_1| + \cdots + |h_n|)^N \leq (\sqrt n|h|)^N. So the remainder is at most

M(ner)N(n∣h∣)N=M(en3/2∣h∣r)N,M\Big(\frac{ne}{r}\Big)^N(\sqrt n|h|)^N = M\Big(\frac{en^{3/2}|h|}{r}\Big)^N,

which tends to 00 as N→∞N \to \infty when ∣h∣<ren3/2|h| < \frac{r}{en^{3/2}}.

Analyticity has a striking consequence, unique continuation: if two harmonic functions on a connected open set agree on some small ball, they agree everywhere (the set where all derivatives of their difference vanish is open by analyticity and closed by continuity). Harmonic functions are rigid in a way that heat flow at positive times inherits (6A.3 The Heat Equation on ℝⁿ), and that no merely smooth function has.

Theorem 2.9 Liouville's theorem

A bounded harmonic function on Rn\mathbb{R}^n is constant.

Proof. If ∣u∣≤M|u| \leq M, Proposition 2.7 on the ball Br(x0)B_r(x_0) gives ∣∂iu(x0)∣≤nMr|\partial_iu(x_0)| \leq \frac{nM}{r} for every r>0r > 0. Letting r→∞r \to \infty, every partial derivative vanishes at every point, so uu is constant.

The Harnack inequality

The maximum principle compares a harmonic function with its boundary values. The Harnack inequality compares a positive harmonic function with itself: its values at nearby points are comparable.

Theorem 2.10 The Harnack inequality

Let u≥0u \geq 0 be harmonic on the ball B4r(x0)B_{4r}(x_0). Then for all x,y∈Br(x0)x, y \in B_r(x_0),

u(x)≤3n u(y).u(x) \leq 3^n\,u(y).

More generally, for every connected open VV with V‾⊂U\overline V \subset U compact, there is a constant CC depending only on VV and UU such that sup⁡Vu≤Cinf⁡Vu\sup_Vu \leq C\inf_Vu for every non-negative harmonic uu on UU.

Proof. Let x,y∈Br(x0)x, y \in B_r(x_0). Then Br(x)⊂B2r(x0)⊂B3r(y)⊂B4r(x0)B_r(x) \subset B_{2r}(x_0) \subset B_{3r}(y) \subset B_{4r}(x_0). Using the ball form of the mean value property and u≥0u \geq 0,

u(x)=1∣Br∣∫Br(x)u≤1∣Br∣∫B2r(x0)u,u(y)=1∣B3r∣∫B3r(y)u≥1∣B3r∣∫B2r(x0)u.u(x) = \frac{1}{|B_r|}\int_{B_r(x)}u \leq \frac{1}{|B_r|}\int_{B_{2r}(x_0)}u, \qquad u(y) = \frac{1}{|B_{3r}|}\int_{B_{3r}(y)}u \geq \frac{1}{|B_{3r}|}\int_{B_{2r}(x_0)}u.

Dividing, u(x)≤∣B3r∣∣Br∣u(y)=3nu(y)u(x) \leq \frac{|B_{3r}|}{|B_r|}u(y) = 3^nu(y). For a general VV, let r=14dist⁡(V‾,∂U)>0r = \frac14\operatorname{dist}(\overline V, \partial U) > 0 (positive because V‾\overline V is compact and inside UU). Cover V‾\overline V by finitely many balls Br(x1),…,Br(xN)B_r(x_1), \ldots, B_r(x_N) with centres in V‾\overline V (2B.3 Compactness); each B4r(xk)B_{4r}(x_k) lies in UU, so on each ball the first part gives sup⁡Br(xk)u≤3ninf⁡Br(xk)u\sup_{B_r(x_k)}u \leq 3^n\inf_{B_r(x_k)}u. Since VV is connected, any two of the balls that meet VV are joined by a chain of at most NN balls of the cover, each meeting the next (otherwise the balls reachable from one of them and the rest would split VV into two disjoint non-empty open sets). Along a chain the comparisons multiply, so sup⁡Vu≤3nNinf⁡Vu\sup_Vu \leq 3^{nN}\inf_Vu. The constant depends on VV and UU through NN, but not on uu.

The constant doesn't depend on uu: a positive harmonic function cannot be large at one point and tiny at a nearby one. The Harnack inequality gives a second Liouville theorem: a harmonic function on Rn\mathbb{R}^n that is bounded below is constant (Exercise 2.15). In two dimensions this was the rehearsal of 5A.2 Cauchy’s Theorem and Its Consequences, there proved with complex analysis.

Where this goes Harnack inequalities for flows

The heat equation has a Harnack inequality too, but it must compare values at different times: a positive solution at a point now is bounded below by its value at a nearby point earlier, with a constant depending on the elapsed time (Moser's parabolic Harnack inequality, 6A.7 Parabolic Regularity). Li and Yau found a sharp differential form of it on manifolds with non-negative Ricci curvature (6A.12 Entropy, Information and Diffusion, 9B.7 The Heat Equation on a Manifold), Hamilton found one for the Ricci flow itself (11B.2 Ancient Solutions and the Harnack Inequality), and Perelman one for his conjugate heat kernel (12A.9 Pseudolocality). Each says, in its setting, what the elementary 3n3^n above says: positive solutions of diffusion equations can't vary too wildly.

Dirichlet's principle

Harmonic functions have a variational characterisation: they minimise energy. For ww on a bounded region UU, let

E[w]=12∫U∣∇w∣2 dx,E[w] = \frac12\int_U|\nabla w|^2\,dx,

the Dirichlet energy.

Theorem 2.11 Dirichlet's principle

Let u∈C2(U‾)u \in C^2(\overline U) be harmonic with u=gu = g on ∂U\partial U. Then E[u]≤E[w]E[u] \leq E[w] for every w∈C1(U‾)w \in C^1(\overline U) with w=gw = g on ∂U\partial U, with equality only if w=uw = u. Conversely, a C2C^2 minimiser of EE with these boundary values is harmonic.

Proof. Write w=u+vw = u + v with v=0v = 0 on ∂U\partial U. Then

E[w]=E[u]+∫U∇u⋅∇v dx+E[v]=E[u]−∫Uv Δu dx+E[v]=E[u]+E[v],E[w] = E[u] + \int_U\nabla u\cdot\nabla v\,dx + E[v] = E[u] - \int_Uv\,\Delta u\,dx + E[v] = E[u] + E[v],

integrating by parts (1A.10 Divergence, Curl and the Integral Theorems) with no boundary term since v=0v = 0 there. So E[w]≥E[u]E[w] \geq E[u], with equality only if ∇v=0\nabla v = 0, i.e. v=0v = 0. Conversely, if uu minimises, then ddsE[u+sv]∣s=0=−∫v Δu=0\frac{d}{ds}E[u + sv]\big|_{s=0} = -\int v\,\Delta u = 0 for all such vv, which forces Δu=0\Delta u = 0 (4A.9 Distributions and Weak Derivatives).

The same integration by parts gives a second proof of uniqueness, the energy method, which needs no maximum principle and therefore works for systems and for equations of higher order, where maximum principles fail. If u1u_1 and u2u_2 both solve Δu=f\Delta u = f in UU with the same boundary values, then w=u1−u2w = u_1 - u_2 is harmonic and vanishes on ∂U\partial U, so

0=−∫Uw Δw dx=∫U∣∇w∣2 dx.0 = -\int_Uw\,\Delta w\,dx = \int_U|\nabla w|^2\,dx.

Hence ∇w=0\nabla w = 0, so ww is constant on each component of UU, and the constant is 00 because w=0w = 0 on the boundary. Energy methods of exactly this shape prove uniqueness for the heat equation (6A.3 The Heat Equation on ℝⁿ) and, in the form of energy estimates, existence for weak solutions (6A.6 Weak Solutions and Elliptic Regularity).

So Laplace's equation is the Euler–Lagrange equation of the Dirichlet energy. Riemann used this principle in 1851 to construct harmonic functions, assuming a minimiser exists; Weierstrass objected that it need not; Hilbert's direct method (4A.7 Weak Convergence and the Direct Method) and the weak solutions of 6A.6 Weak Solutions and Elliptic Regularity repair the argument. In 6A.11 Calculus of Variations and Gradient Flows the heat equation is shown to be the gradient flow of the same energy: heat flows so as to decrease EE as fast as possible.

In the world Model A soap film over a nearly flat frame

A soap film spanning a wire frame minimises area, because surface tension makes its energy proportional to its area. If the film is the graph of uu over a region UU, its area is ∫U1+∣∇u∣2 dx\int_U\sqrt{1 + |\nabla u|^2}\,dx, and its Euler–Lagrange equation is the minimal surface equation div⁡(∇u1+∣∇u∣2)=0\operatorname{div}\big(\frac{\nabla u}{\sqrt{1 + |\nabla u|^2}}\big) = 0 (6A.11 Calculus of Variations and Gradient Flows). When the frame is nearly flat, ∣∇u∣|\nabla u| is small, 1+∣∇u∣2≈1+12∣∇u∣2\sqrt{1 + |\nabla u|^2} \approx 1 + \frac12|\nabla u|^2, and the area is approximately ∣U∣+E[u]|U| + E[u]. To first order the film is the graph of a harmonic function. So a nearly flat soap film is a saddle, never a dome or a bowl: it has no interior maximum or minimum height (Figure 2.2).

Figure 2.2. The harmonic function on a square equal to 11 on the left and right sides and 00 on the top and bottom, computed by relaxation: on a 61×6161 \times 61 grid, each interior value is repeatedly replaced by the average of its four neighbours until nothing changes (the discrete mean value property). Level curves 0.1,0.2,…,0.90.1, 0.2, \dots, 0.9; the centre value is 12\frac12 by symmetry. The function is a saddle, with no interior extremum.
Where this goes Harmonic coordinates and the Ricci tensor

On a Riemannian manifold, a coordinate system in which each coordinate function is harmonic (for the Laplacian of the metric) is called harmonic. In harmonic coordinates the Ricci tensor takes the form

Ric⁡ij=−12Δgij+Qij(g,∂g),\operatorname{Ric}_{ij} = -\frac12\Delta g_{ij} + Q_{ij}(g, \partial g),

where Δ=gkl∂k∂l\Delta = g^{kl}\partial_k\partial_l is applied to each component and QQ is quadratic in the first derivatives of gg (DeTurck and Kazdan, 1981). Read the Ricci flow ∂tg=−2Ric⁡\partial_tg = -2\operatorname{Ric} in these coordinates and it is ∂tgij=Δgij+lower order\partial_tg_{ij} = \Delta g_{ij} + \text{lower order}: a heat equation for the metric. This is the precise sense of the slogan, and the idea behind DeTurck's trick (11A.1 The Equation and Its First Solutions, 11A.4 Short-Time Existence and Uniqueness). Harmonic coordinates are also the best coordinates for compactness theorems (9B.4 Convergence of Manifolds).

History

Pierre-Simon Laplace used the equation that bears his name in the 1780s in his work on gravitational attraction; Siméon Denis Poisson added the source term in 1813. George Green's 1828 Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism introduced Green's functions and the integral identities behind them. Carl Friedrich Gauss proved the mean value property for harmonic functions in three dimensions in his 1840 memoir on the theory of attraction. Riemann named the Dirichlet principle after his teacher and used it in 1851. Axel Harnack proved his inequality in 1887, for harmonic functions in the plane. Faraday's shielding experiment dates from 1836.

Recall Where we stand

Harmonic functions are the steady states of diffusion. The fundamental solution Φ\Phi solves −ΔΦ=δ0-\Delta\Phi = \delta_0 and gives the solution of Poisson's equation by convolution; on a ball, Poisson's formula solves the Dirichlet problem. Every harmonic function equals its average over spheres and balls, and this alone gives the strong maximum principle, uniqueness and stability for the Dirichlet problem, smoothness, derivative estimates ∣∂αu(x0)∣≤(nk/r)kmax⁡Br∣u∣|\partial^\alpha u(x_0)| \leq (nk/r)^k\max_{B_r}|u| with the scaling r−kr^{-k}, real-analyticity, Liouville's theorem and the Harnack inequality. Weyl's lemma: weakly harmonic functions are smooth. Harmonic functions minimise the Dirichlet energy, and the energy method gives uniqueness without a maximum principle. 6A.3 The Heat Equation on ℝⁿ turns to the heat equation itself.

Exercises

Exercise 2.12 The radial Laplacian

Show that for u(x)=v(∣x∣)u(x) = v(|x|) on Rn∖{0}\mathbb{R}^n\setminus\{0\}, Δu=v′′(r)+n−1rv′(r)\Delta u = v''(r) + \frac{n - 1}{r}v'(r). Deduce that Φ\Phi is harmonic away from 00, and that ∣x∣2|x|^2 has Δ∣x∣2=2n\Delta|x|^2 = 2n.

Solution

∂iu=v′(r)xir\partial_iu = v'(r)\frac{x_i}{r}, and ∂i∂iu=v′′xi2r2+v′(1r−xi2r3)\partial_i\partial_iu = v''\frac{x_i^2}{r^2} + v'\big(\frac1r - \frac{x_i^2}{r^3}\big). Summing over ii: v′′+v′n−1rv'' + v'\frac{n - 1}{r}. For v=r2−nv = r^{2-n}: (2−n)(1−n)r−n+(n−1)(2−n)r−n=0(2 - n)(1 - n)r^{-n} + (n - 1)(2 - n)r^{-n} = 0. For v=r2v = r^2: 2+2(n−1)=2n2 + 2(n - 1) = 2n.

Exercise 2.13 The converse of the mean value property

Let u∈C2(U)u \in C^2(U) satisfy u(x)=  -∫∂Br(x)u dSu(x) = \mathop{\rlap{\,\,-}\int}\nolimits_{\partial B_r(x)}u\,dS for every ball with Br(x)‾⊂U\overline{B_r(x)} \subset U. Show that Δu=0\Delta u = 0. (If Δu(x0)>0\Delta u(x_0) > 0, then Δu>0\Delta u > 0 on a small ball, and the formula for ϕ′(s)\phi'(s) in the proof of Theorem 2.2 gives ϕ′>0\phi' > 0, a contradiction.)

Solution

Suppose Δu(x0)≠0\Delta u(x_0) \neq 0, say Δu(x0)>0\Delta u(x_0) > 0 (otherwise replace uu by −u-u). By continuity of Δu\Delta u there is r>0r > 0 with Br(x0)‾⊂U\overline{B_r(x_0)} \subset U and Δu>0\Delta u > 0 on Br(x0)B_r(x_0). With ϕ(s)=  -∫∂Bs(x0)u dS\phi(s) = \mathop{\rlap{\,\,-}\int}\nolimits_{\partial B_s(x_0)}u\,dS, the computation in the proof of Theorem 2.2 (which used only u∈C2u \in C^2, not harmonicity) gives ϕ′(s)=sn  -∫Bs(x0)Δu dy>0\phi'(s) = \frac sn\mathop{\rlap{\,\,-}\int}\nolimits_{B_s(x_0)}\Delta u\,dy > 0 for 0<s<r0 < s < r. But by hypothesis ϕ(s)=u(x0)\phi(s) = u(x_0) for every such ss, so ϕ′=0\phi' = 0: a contradiction. Hence Δu=0\Delta u = 0 everywhere.

Exercise 2.14 Growth and polynomials

(a) Use Proposition 2.7 to show that a harmonic function on Rn\mathbb{R}^n with ∣u(x)∣≤C(1+∣x∣)|u(x)| \leq C(1 + |x|) is affine. (b) More generally, show that if ∣u(x)∣≤C(1+∣x∣)m|u(x)| \leq C(1 + |x|)^m for some integer m≥0m \geq 0, then uu is a polynomial of degree at most mm.

Hint

Apply the estimate for derivatives of order m+1m + 1 on the ball Br(x0)B_r(x_0) and let r→∞r \to \infty.

Solution

(b) contains (a) as the case m=1m = 1. Fix x0x_0 and ∣α∣=m+1|\alpha| = m + 1. On Br(x0)‾\overline{B_r(x_0)}, ∣u∣≤C(1+∣x0∣+r)m|u| \leq C(1 + |x_0| + r)^m, so

∣∂αu(x0)∣≤(n(m+1)r)m+1C(1+∣x0∣+r)m→0(r→∞),|\partial^\alpha u(x_0)| \leq \Big(\frac{n(m + 1)}{r}\Big)^{m+1}C(1 + |x_0| + r)^m \to 0 \quad (r \to \infty),

because the power of rr in the denominator is larger. So every derivative of order m+1m + 1 vanishes identically, and a smooth function all of whose derivatives of order m+1m + 1 vanish is a polynomial of degree at most mm (by Taylor's theorem with remainder, the remainder of order m+1m + 1 is zero).

Exercise 2.15 Liouville for positive harmonic functions

Let uu be harmonic on Rn\mathbb{R}^n and bounded below, with m=inf⁡um = \inf u. Apply the Harnack inequality to u−m≥0u - m \geq 0 on B4r(0)B_{4r}(0) and let r→∞r \to \infty to show that u≡mu \equiv m.

Solution

For all x,y∈Br(0)x, y \in B_r(0), u(x)−m≤3n(u(y)−m)u(x) - m \leq 3^n(u(y) - m), so sup⁡Br(u−m)≤3ninf⁡Br(u−m)\sup_{B_r}(u - m) \leq 3^n\inf_{B_r}(u - m). As r→∞r \to \infty the right side tends to 3n⋅03^n\cdot0, because inf⁡Rn(u−m)=0\inf_{\mathbb{R}^n}(u - m) = 0, while the left side is non-decreasing in rr. So sup⁡Br(u−m)=0\sup_{B_r}(u - m) = 0 for every rr.

Exercise 2.16 Dirichlet's principle in an example

On the unit disc, the harmonic function with boundary values cos⁡θ\cos\theta is u=x=rcos⁡θu = x = r\cos\theta. For k≥1k \geq 1, the function wk=rkcos⁡θw_k = r^k\cos\theta has the same boundary values. Show that E[wk]=π(k2+1)4kE[w_k] = \frac{\pi(k^2 + 1)}{4k}, and check that it is smallest at k=1k = 1, where it equals E[u]=π2E[u] = \frac\pi2.

Solution

In polar coordinates ∣∇w∣2=(∂rw)2+r−2(∂θw)2=r2k−2(k2cos⁡2θ+sin⁡2θ)|\nabla w|^2 = (\partial_rw)^2 + r^{-2}(\partial_\theta w)^2 = r^{2k-2}(k^2\cos^2\theta + \sin^2\theta). So 2E=∫02π∫01r2k−1(k2cos⁡2θ+sin⁡2θ) dr dθ=12k⋅π(k2+1)2E = \int_0^{2\pi}\int_0^1r^{2k-1}(k^2\cos^2\theta + \sin^2\theta)\,dr\,d\theta = \frac{1}{2k}\cdot\pi(k^2 + 1). And k2+1k=k+1k≥2\frac{k^2 + 1}{k} = k + \frac1k \geq 2 with equality only at k=1k = 1.

Exercise 2.17 Harmonic functions on graphs

On the path graph with vertices 0,1,…,N0, 1, \dots, N, call uu harmonic at kk if u(k)=12(u(k−1)+u(k+1))u(k) = \frac12(u(k - 1) + u(k + 1)). (a) Show that the harmonic functions with given u(0)u(0), u(N)u(N) are exactly the linear ones. (b) Interpret u(k)u(k) as the probability that a random walk starting at kk reaches NN before 00, when u(0)=0u(0) = 0 and u(N)=1u(N) = 1 (the gambler's ruin). This is the discrete version of the link between harmonic functions and Brownian motion (6A.3 The Heat Equation on ℝⁿ, 6D.1 Brownian Motion).

Solution

(a) u(k)=12(u(k−1)+u(k+1))u(k) = \frac12(u(k - 1) + u(k + 1)) says u(k+1)−u(k)=u(k)−u(k−1)u(k + 1) - u(k) = u(k) - u(k - 1): the increments are constant, so u(k)=u(0)+kdu(k) = u(0) + kd, and d=(u(N)−u(0))/Nd = (u(N) - u(0))/N is fixed by the boundary values. Linear functions satisfy the condition, so they are exactly the solutions. (b) Let p(k)p(k) be the probability of reaching NN before 00 from kk. Clearly p(0)=0p(0) = 0 and p(N)=1p(N) = 1. From 0<k<N0 < k < N the first step goes to k±1k \pm 1 with probability 12\frac12 each, and the walk then starts afresh, so p(k)=12p(k−1)+12p(k+1)p(k) = \frac12p(k - 1) + \frac12p(k + 1): pp is harmonic with these boundary values, hence p(k)=k/Np(k) = k/N by (a). (Uniqueness, the discrete maximum principle, is what makes "hence" valid.) A gambler with kk pounds betting 11 pound at a time on fair coin tosses reaches NN pounds before ruin with probability k/Nk/N.

Exercise 2.18 Newton's shell theorem from the mean value property

Let SS be the sphere of radius RR about the origin in R3\mathbb{R}^3, carrying total mass mm spread uniformly, and let Φ(x)=14π∣x∣\Phi(x) = \frac{1}{4\pi|x|}. The potential of the shell is V(x)=m4πR2∫SΦ(x−y) dS(y)V(x) = \frac{m}{4\pi R^2}\int_S\Phi(x - y)\,dS(y). (a) For ∣x∣>R|x| > R, use the mean value property of the harmonic function y↦Φ(x−y)y \mapsto \Phi(x - y) on BR(0)B_R(0) to show V(x)=mΦ(x)V(x) = m\Phi(x): outside, the shell attracts like a point mass at its centre. (b) For ∣x∣<R|x| < R, show that VV is constant inside, so the shell exerts no force there. (For (b), VV is harmonic inside and radially symmetric, so it is a radial harmonic function that is bounded at the origin.)

Solution

(a) For ∣x∣>R|x| > R, the function y↦Φ(x−y)y \mapsto \Phi(x - y) is harmonic on a neighbourhood of BR(0)‾\overline{B_R(0)}, so its average over SS equals its value at the centre, Φ(x)\Phi(x). The average is 14πR2∫SΦ(x−y) dS(y)\frac{1}{4\pi R^2}\int_S\Phi(x - y)\,dS(y), so V(x)=mΦ(x)V(x) = m\Phi(x). (b) For ∣x∣<R|x| < R, VV is harmonic in xx (differentiate under the integral; Φ(x−y)\Phi(x - y) is harmonic in xx for y∈Sy \in S), and it depends only on ∣x∣|x| by symmetry. Radial harmonic functions are a+b∣x∣−1a + b|x|^{-1} (from v′′+2rv′=0v'' + \frac2rv' = 0), and VV is bounded near 00, so b=0b = 0 and VV is constant, with value m4πR\frac{m}{4\pi R} (evaluate at x=0x = 0). Its gradient, the force, vanishes. Integrating over shells gives the same results for any spherically symmetric mass distribution, the theorem Newton needed for planets of finite size.

Exercise 2.19 Weyl's lemma in use

(a) Let uku_k be harmonic on UU and suppose uk→uu_k \to u in Lloc1(U)L^1_{\mathrm{loc}}(U). Show that uu is (equal almost everywhere to) a harmonic function. (b) Deduce that a uniform limit of harmonic functions is harmonic. Contrast with 2B.5 Uniform Convergence and Arzelà–Ascoli: a uniform limit of smooth functions need not even be differentiable.

Solution

(a) For a test function ϕ\phi, ∫ukΔϕ=0\int u_k\Delta\phi = 0, and ∣∫(uk−u)Δϕ∣≤sup⁡∣Δϕ∣∫supp⁡ϕ∣uk−u∣→0\big|\int(u_k - u)\Delta\phi\big| \leq \sup|\Delta\phi|\int_{\operatorname{supp}\phi}|u_k - u| \to 0. So ∫u Δϕ=0\int u\,\Delta\phi = 0, and Weyl's lemma applies. (b) Uniform convergence on compact sets implies Lloc1L^1_{\mathrm{loc}} convergence, and a continuous function equal almost everywhere to a continuous harmonic function equals it everywhere. The difference from 2B.5 Uniform Convergence and Arzelà–Ascoli is the equation: it forces the limit to be smooth.

Exercise 2.20 Rehearsal: the Bochner identity in flat space

Let uu be harmonic on an open set of Rn\mathbb{R}^n. (a) Show that

Δ(12∣∇u∣2)=∣∇2u∣2+∇u⋅∇(Δu)=∣∇2u∣2,\Delta\Big(\frac12|\nabla u|^2\Big) = |\nabla^2u|^2 + \nabla u\cdot\nabla(\Delta u) = |\nabla^2u|^2,

where ∣∇2u∣2=∑i,j(∂i∂ju)2|\nabla^2u|^2 = \sum_{i,j}(\partial_i\partial_ju)^2. (b) Deduce that ∣∇u∣2|\nabla u|^2 is subharmonic, so it satisfies the maximum principle: on a bounded region, ∣∇u∣|\nabla u| is largest on the boundary. On a Riemannian manifold the same computation produces an extra term Ric⁡(∇u,∇u)\operatorname{Ric}(\nabla u, \nabla u); that is the Bochner formula (9A.6 The Laplacian and the Bochner Formula), and it is how Ricci curvature enters every estimate for the Laplacian and the heat equation, from Li–Yau (6A.12 Entropy, Information and Diffusion) to Perelman. The parabolic version, (∂t−Δ)∣∇u∣2=−2∣∇2u∣2(\partial_t - \Delta)|\nabla u|^2 = -2|\nabla^2u|^2, is Bernstein's method in 6A.7 Parabolic Regularity.

Solution

(a) Δ12∑i(∂iu)2=∑i,j∂j(∂iu ∂j∂iu)=∑i,j(∂j∂iu)2+∑i∂iu ∂i(Δu)\Delta\frac12\sum_i(\partial_iu)^2 = \sum_{i,j}\partial_j(\partial_iu\,\partial_j\partial_iu) = \sum_{i,j}(\partial_j\partial_iu)^2 + \sum_i\partial_iu\,\partial_i(\Delta u), using ∑j∂j∂j∂iu=∂iΔu\sum_j\partial_j\partial_j\partial_iu = \partial_i\Delta u. (b) Δ∣∇u∣2=2∣∇2u∣2≥0\Delta|\nabla u|^2 = 2|\nabla^2u|^2 \geq 0; the maximum principle for subharmonic functions follows from the inequality u(x)≤  -∫Br(x)uu(x) \leq \mathop{\rlap{\,\,-}\int}\nolimits_{B_r(x)}u exactly as in Theorem 2.3.

Free resources for this chapter

Chosen for what this chapter covers, and all free to read or watch. Links checked Nov 6, 2026.

Read

Watch 3 lectures and talks

© 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.