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.

31 min read · Updated Oct 2, 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.

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.5The Harnack inequality
  6. 2.6Dirichlet's principle
  7. 2.7History
  8. 2.8Exercises

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:

  • write down the fundamental solution of the Laplacian and the Poisson formula for a ball;
  • prove the mean value property and its converse;
  • deduce the strong maximum principle, uniqueness, smoothness, derivative estimates and Liouville's theorem;
  • prove a Harnack inequality from the mean value property;
  • state Dirichlet's principle and show that harmonic functions minimise energy.

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.2). 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.3). 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.7), 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). The constants are chosen so that −ΔΦ=δ0-\Delta\Phi = \delta_0 in the sense of distributions (4A.8 Distributions and Weak Derivatives): Φ\Phi is the potential of a unit point charge, or the steady temperature from a unit point source. Consequently, for ff smooth with compact support,

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

solves Poisson's equation −Δu=f-\Delta u = f (Evans, section 2.2.1). In three dimensions this is Newton's and Coulomb's inverse-square law: the potential of a mass or charge distribution is the superposition of 14π∣x−y∣\frac{1}{4\pi|x - y|} over its points.

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). 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.1 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.8). 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.2 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.4 Maximum Principles.

Corollary 2.3 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 is C∞C^\infty, however little regularity was assumed. Let ηε\eta_\varepsilon be a radial mollifier (3A.8 Convolution and Mollifiers). Because ηε\eta_\varepsilon is radial with integral 11, integrating the mean value property over spheres gives u∗ηε=uu * \eta_\varepsilon = u wherever the convolution is defined. Convolutions with smooth kernels are smooth, so uu is. Harmonic functions are even real-analytic (Evans, section 2.2.3), but smoothness is what is used.

Derivative estimates. Each partial derivative ∂iu\partial_iu is harmonic too, so it has the mean value property, and by the divergence theorem

∂iu(x0)=  -∫Br/2(x0)∂iu dy=2nα(n)rn∫∂Br/2(x0)u νi dS,\partial_iu(x_0) = \mathop{\rlap{\,\,-}\int}\nolimits_{B_{r/2}(x_0)}\partial_iu\,dy = \frac{2^n}{\alpha(n)r^n}\int_{\partial B_{r/2}(x_0)}u\,\nu_i\,dS,

which gives ∣∇u(x0)∣≤2nrmax⁡Br/2(x0)‾∣u∣|\nabla u(x_0)| \leq \frac{2n}{r}\max_{\overline{B_{r/2}(x_0)}}|u| (Exercise 2.9). Iterating, the kk-th derivatives at x0x_0 are bounded by Ckrkmax⁡Br(x0)∣u∣\frac{C_k}{r^k}\max_{B_r(x_0)}|u|. 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.

Theorem 2.4 Liouville's theorem

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

Proof. If ∣u∣≤M|u| \leq M, the gradient estimate on balls of radius rr gives ∣∇u(x0)∣≤2nMr|\nabla u(x_0)| \leq \frac{2nM}{r} for every rr. Let r→∞r \to \infty.

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.5 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, cover V‾\overline V by finitely many small balls (2B.3 Compactness) and chain the inequality along overlapping balls, which is possible because VV is connected.

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.10). 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.6 Parabolic Regularity). Li and Yau found a sharp differential form of it on manifolds with non-negative Ricci curvature (6A.10 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.6 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.6 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.8 Distributions and Weak Derivatives).

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.6 Weak Convergence and the Direct Method) and the weak solutions of 6A.5 Weak Solutions and Elliptic Regularity repair the argument. In 6A.9 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.9 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.3 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 with the scaling r−kr^{-k}, Liouville's theorem and the Harnack inequality. Harmonic functions minimise the Dirichlet energy. 6A.3 The Heat Equation on ℝⁿ turns to the heat equation itself.

Exercises

Exercise 2.7 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.8 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.1 gives ϕ′>0\phi' > 0, a contradiction.)

Exercise 2.9 The gradient estimate

Complete the derivation of ∣∇u(x0)∣≤2nrmax⁡Br/2(x0)‾∣u∣|\nabla u(x_0)| \leq \frac{2n}{r}\max_{\overline{B_{r/2}(x_0)}}|u|: use ∣Br/2∣=α(n)(r/2)n|B_{r/2}| = \alpha(n)(r/2)^n and ∣∂Br/2∣=nα(n)(r/2)n−1|\partial B_{r/2}| = n\alpha(n)(r/2)^{n-1}. Then use it 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.

Solution

∣∂iu(x0)∣≤1∣Br/2∣∣∂Br/2∣max⁡∣u∣=nr/2max⁡∣u∣=2nrmax⁡∣u∣|\partial_iu(x_0)| \leq \frac{1}{|B_{r/2}|}|\partial B_{r/2}|\max|u| = \frac{n}{r/2}\max|u| = \frac{2n}{r}\max|u|; the same bound holds for ∇u⋅e\nabla u\cdot e for any unit vector ee, hence for ∣∇u∣|\nabla u|. If ∣u∣≤C(1+∣x∣)|u| \leq C(1 + |x|), apply the estimate on Br(x0)B_r(x_0): ∣∇u(x0)∣≤2nrC(1+∣x0∣+r)→2nC|\nabla u(x_0)| \leq \frac{2n}{r}C(1 + |x_0| + r) \to 2nC as r→∞r \to \infty. So each ∂iu\partial_iu is bounded and harmonic, hence constant by Liouville, and uu is affine.

Exercise 2.10 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.11 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.12 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 ℝⁿ).

Exercise 2.13 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.10 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.6 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.2.

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