What it says
∂²φ/∂x² + ∂²φ/∂y² + ∂²φ/∂z² = 0
Here φ is a potential: gravitational, electric, or simply temperature. The sum of second derivatives, written ∇²φ and called the Laplacian, measures how much the value at a point differs from the average around it. Setting it to zero says there is no difference at all: every point is the average of its surroundings.
Laplace wrote the equation down in the 1780s while studying the gravitational attraction of spheroids such as the slightly flattened Earth. Functions that satisfy it are called harmonic. They are as smooth as functions can be, and they have no peaks or pits inside a region: the highest and lowest values always lie on its boundary.
Watch a grid relax
That averaging property gives a simple way to solve the equation numerically. Fix the values on some cells, then repeatedly replace every other cell with the average of its four neighbours. The grid settles into the harmonic function with those boundary values. Paint fixed cells with the brushes, or pick a preset.
Outlined cells are fixed; red is +1, green is −1. The solver uses successive over-relaxation, a faster variant of plain averaging, and stops when the largest change in a sweep falls below 10−5.
Where it turns up
- Gravity and electrostatics. Outside any masses or charges the potential is harmonic. Siméon Denis Poisson, Laplace's student, added the source term to get ∇²φ = 4πGρ inside matter.
- Steady heat. Once temperatures stop changing, they satisfy Laplace's equation. The “heated edge” preset is the classic textbook plate.
- Fluids. The velocity potential of an ideal, irrotational flow is harmonic, which is how early aerodynamics was done.
- Spherical harmonics. Solutions on a sphere, which Laplace studied for the Earth's shape, are used today for gravity maps, lighting in computer graphics and the cosmic microwave background.
The Laplace transform
The other tool with his name is the transform F(s) = ∫0∞ f(t) e−st dt, which Laplace used in his work on probability. It turns differential equations into algebra and is the everyday language of control engineering and circuit analysis, although its modern use owes more to Oliver Heaviside and twentieth-century engineers than to Laplace himself.