2.3 The Laplacian and harmonic functions
The previous two lessons developed the three first-order vector operators: gradient, divergence, and curl. This third lesson builds the second-order operator — the Laplacian — that combines them. It is, in the operator algebra of physics, the central object: every wave, every diffusion, every steady-state field equation in this bookshelf is built on it.
The Laplacian
The Laplacian is the divergence of the gradient:
(Some textbooks write instead of ; both notations are universal.)
The Laplacian measures how much a scalar field at a point differs from the average of its immediate neighbours — sometimes called the “neighbourly-average” operator. The argument is short. The average of over a small sphere of radius centred at is, by Taylor expansion,
The difference is proportional to , with sign and magnitude depending on the local curvature:
- If is locally a maximum (a hill peak), neighbours are all lower, so .
- If is locally a minimum (a bowl bottom), neighbours are all higher, so .
- Flat or linear regions give .
The Laplacian generalises the second derivative from one dimension to many: in 1-D, is exactly the second derivative, which measures concavity. In 2-D and 3-D, the same idea applies to all directions simultaneously.
Negative at the centre (the field is locally maximal), positive in a ring outside (the field is locally minimal along that ring after passing the inflection).
The interactive shows a scalar field on the left and its Laplacian on the right. The colour code: red where the Laplacian is positive (the field is a local minimum), blue where it’s negative (local maximum), cream where it’s zero (no net curvature). Notice the saddle preset: the Laplacian is identically zero — the rise in one direction exactly cancels the fall in the perpendicular direction. Such functions are called harmonic.
Harmonic functions
A function satisfying everywhere is called harmonic. Equivalently, it is a solution of Laplace’s equation:
Harmonic functions have several remarkable properties:
- Mean-value property. The value of a harmonic function at any point equals the average of its values on any sphere centred at that point. (This is the operator interpretation, made global.) The interactive’s saddle preset is a harmonic function: at every point, the value equals the average over the neighbourhood.
- Maximum principle. A harmonic function on a bounded region attains its maximum and minimum on the boundary, not in the interior. (Unless it is constant.) This is a direct consequence of the mean-value property — at an interior max, the value would exceed its neighbourhood average, contradicting the mean-value property.
- Uniqueness. Two harmonic functions on a region with the same boundary values are identical. (Their difference is harmonic and zero on the boundary, hence zero everywhere by the maximum principle.) This is why specifying on the boundary uniquely determines the interior.
These properties make Laplace’s equation a boundary-value problem rather than an initial-value problem. There is no time evolution; the boundary data determines everything. Develop this further in Foundations 6.6.
Examples of harmonic functions:
- Electrostatic potential in a region with no charges. Solving Laplace’s equation with grounded-conductor boundary conditions is the standard electrostatic problem.
- Gravitational potential in vacuum.
- Steady-state temperature in a thermally-equilibrated body with fixed boundary temperatures.
- Velocity potential of an incompressible irrotational flow — used implicitly in Sound Ch 4 when we work with the linearised acoustic potential.
- The real and imaginary parts of any holomorphic complex function , with . The Cauchy–Riemann equations force and to be harmonic. This is the bridge between complex analysis and 2-D potential theory.
The Laplacian in wave physics
The Laplacian is the most important operator in wave physics. The 3-D acoustic wave equation reads
Every other derivation in the Sound book either produces this equation, manipulates it, or unpacks one of its consequences. The five canonical linear PDEs of Foundations 6:
- Wave equation: .
- Heat equation: .
- Laplace’s equation: .
- Helmholtz equation: .
- Schrödinger equation: .
All five are different ways of relating to either time evolution, a source term, or both. The Laplacian is the universal “spatial” operator of linear physics; choosing what’s on the other side of the equality gives you the four canonical equations of mathematical physics.
A plane-wave field is an eigenfunction of the Laplacian: . The Laplacian acts on plane waves by multiplying by . This is what makes the wave equation reduce to the dispersion relation , and what makes the Helmholtz equation an eigenvalue problem with eigenvalues — see Foundations 6.7 for the full development.
What we use it for
The Laplacian is invoked across the bookshelf:
- The continuity equation uses (Sound 4.2).
- Euler’s equation for a fluid uses on pressure (Sound 4.3).
- The wave equation uses on the velocity potential or pressure (Sound 4.5 onwards).
- Plane-wave solutions use acting on , which is just multiplication by . See Sound 5.1 — Plane harmonic waves for a 2-D animation of the pressure field varying with wavevector and wavelength.
- Energy flux and intensity use and friends.
- The heat equation uses on the temperature field — see Foundations 6.6 and Sound 10.1.
- Helmholtz cavity modes are eigenfunctions of the Laplacian — see Foundations 6.7, Sound 7.7.
That closes the chapter. Vector calculus is the algebraic toolkit you’ll be using for the rest of the bookshelf: gradient for force fields, divergence for conservation laws, curl for rotational structure, Laplacian for everything wavelike, harmonic, or diffusive.