© 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.
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.
Leave the heat equation running long enough with fixed boundary temperatures and it settles into a steady state, where . What remains is Laplace's equation , 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
A solid body with no internal heat sources or sinks, whose surface is held at given temperatures, settles into a steady temperature distribution . Fourier's law says heat flows down the gradient, , and conservation of energy says that in a steady state as much heat flows out of any small region as flows in, so , which for constant conductivity is (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 in the boundary temperatures changes the interior temperature by at most (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 electrostatics the potential in a region with no charge is harmonic. Inside a closed conducting shell, with no charge inside, 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 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 , . In , (Exercise 2.7), and the solutions of are for and for . With the right constants these give the fundamental solution
where is the volume of the unit ball (3A.5 Product Measures and Change of Variables). The constants are chosen so that in the sense of distributions (4A.8 Distributions and Weak Derivatives): is the potential of a unit point charge, or the steady temperature from a unit point source. Consequently, for smooth with compact support,
solves Poisson's equation (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 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 this can be done explicitly by reflection in the sphere, and the result is Poisson's formula: the solution of in with on the boundary is
(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 , and concentrates at the boundary point nearest as approaches the boundary: an approximate identity (3A.8 Convolution and Mollifiers).
The mean value property
Write for an average: is the average over a sphere, and the average over a ball.
Let be harmonic ( with ) on an open set , and let . Then
Proof. Let for . Differentiating under the integral (3A.3 The Lebesgue Integral),
where the third equality is the divergence theorem (1A.10 Divergence, Curl and the Integral Theorems), , together with the ratio . So is constant, and as by continuity. The ball average follows by integrating the sphere averages over in polar coordinates (3A.5 Product Measures and Change of Variables).
The proof shows more. If (subharmonic), then and : a subharmonic function lies below its averages. If (superharmonic) the inequality reverses. This is the content of "the Laplacian measures how compares with its averages", the heuristic of 2B.7 Fourier Series and the First Heat Equation, made exact (Figure 2.1).
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
Let be open, bounded and connected, and harmonic in . Then
and if attains its maximum at an interior point, is constant in . The same holds for minima.
Proof. Suppose with . For ,
with equality only if throughout , since and is continuous. So the set is open; it is closed in by continuity, and non-empty, so it is all of by connectedness (2B.4 Connectedness). For minima apply this to .
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 there; it is the starting point of 6A.4 Maximum Principles.
On a bounded open set , the Dirichlet problem in , on , has at most one solution in . If , are harmonic with boundary values , , then .
Proof. The difference of two solutions is harmonic; apply the maximum principle to it and to its negative.
Smoothness. A harmonic function is , however little regularity was assumed. Let be a radial mollifier (3A.8 Convolution and Mollifiers). Because is radial with integral , integrating the mean value property over spheres gives wherever the convolution is defined. Convolutions with smooth kernels are smooth, so is. Harmonic functions are even real-analytic (Evans, section 2.2.3), but smoothness is what is used.
Derivative estimates. Each partial derivative is harmonic too, so it has the mean value property, and by the divergence theorem
which gives (Exercise 2.9). Iterating, the -th derivatives at are bounded by . A bound on on a ball controls all its derivatives at the centre, with the scaling : the real-variable form of the Cauchy estimates of 5A.2 Cauchy’s Theorem and Its Consequences.
A bounded harmonic function on is constant.
Proof. If , the gradient estimate on balls of radius gives for every . Let .
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.
Let be harmonic on the ball . Then for all ,
More generally, for every connected open with compact, there is a constant depending only on and such that for every non-negative harmonic on .
Proof. Let . Then . Using the ball form of the mean value property and ,
Dividing, . For a general , cover by finitely many small balls (2B.3 Compactness) and chain the inequality along overlapping balls, which is possible because is connected.
The constant doesn't depend on : 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 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.
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 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 on a bounded region , let
the Dirichlet energy.
Let be harmonic with on . Then for every with on , with equality only if . Conversely, a minimiser of with these boundary values is harmonic.
Proof. Write with on . Then
integrating by parts (1A.10 Divergence, Curl and the Integral Theorems) with no boundary term since there. So , with equality only if , i.e. . Conversely, if minimises, then for all such , which forces (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 as fast as possible.
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 over a region , its area is , and its Euler–Lagrange equation is the minimal surface equation (6A.9 Calculus of Variations and Gradient Flows). When the frame is nearly flat, is small, , and the area is approximately . 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).
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
where is applied to each component and is quadratic in the first derivatives of (DeTurck and Kazdan, 1981). Read the Ricci flow in these coordinates and it is : 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.
Harmonic functions are the steady states of diffusion. The fundamental solution solves 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 , 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
Show that for on , . Deduce that is harmonic away from , and that has .
Solution
, and . Summing over : . For : . For : .
Let satisfy for every ball with . Show that . (If , then on a small ball, and the formula for in the proof of Theorem 2.1 gives , a contradiction.)
Complete the derivation of : use and . Then use it to show that a harmonic function on with is affine.
Solution
; the same bound holds for for any unit vector , hence for . If , apply the estimate on : as . So each is bounded and harmonic, hence constant by Liouville, and is affine.
Let be harmonic on and bounded below, with . Apply the Harnack inequality to on and let to show that .
Solution
For all , , so . As the right side tends to , because , while the left side is non-decreasing in . So for every .
On the unit disc, the harmonic function with boundary values is . For , the function has the same boundary values. Show that , and check that it is smallest at , where it equals .
Solution
In polar coordinates . So . And with equality only at .
On the path graph with vertices , call harmonic at if . (a) Show that the harmonic functions with given , are exactly the linear ones. (b) Interpret as the probability that a random walk starting at reaches before , when and (the gambler's ruin). This is the discrete version of the link between harmonic functions and Brownian motion (6A.3 The Heat Equation on ℝⁿ).
Let be harmonic on an open set of . (a) Show that
where . (b) Deduce that is subharmonic, so it satisfies the maximum principle: on a bounded region, is largest on the boundary. On a Riemannian manifold the same computation produces an extra term ; 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, , is Bernstein's method in 6A.6 Parabolic Regularity.
Solution
(a) , using . (b) ; the maximum principle for subharmonic functions follows from the inequality 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.