JOVANA
Explore Library Glossary Getting Started Three Levels Fields How it works Mission
Join the mission
All guides

Laplace's Equation and Harmonic Functions

Meet the equation of equilibrium: Laplacian u = 0. Its solutions, the harmonic functions, are the smooth, perfectly balanced steady states that heat settles into and that electric and gravitational potentials obey. See where they come from, why they are elliptic, and why no point can ever be hotter than all its neighbours.

The equation of perfect balance

You arrive at this rung having seen equations that move. The heat equation u_t = k u_xx watches temperature spread; the wave equation u_tt = c^2 u_xx watches a string ripple. Both carry a time derivative, because both describe something changing. Now strip time away entirely and ask a quieter question: once everything has stopped changing, what shape does the answer hold? That frozen, settled profile is the subject of this whole rung, and the equation it satisfies is the most studied in all of PDE: Laplace's equation, written Laplacian u = 0, which in two dimensions reads u_xx + u_yy = 0.

The symbol Laplacian u is the Laplacian of u — in the plane it is just u_xx + u_yy, the sum of the pure second derivatives, and in three dimensions u_xx + u_yy + u_zz. You met it briefly when you classified second-order equations; here it takes centre stage. A solution of Laplacian u = 0 is called a harmonic function, and the name carries a promise: these functions are extraordinarily smooth, rigid, and well-behaved. Examples are easy to write down. In the plane, u = x, u = x^2 - y^2, and u = x^3 - 3 x y^2 are all harmonic — check the last one: u_xx = 6x and u_yy = -6x, which cancel. But u = x^2 + y^2 is not harmonic, since u_xx + u_yy = 2 + 2 = 4, not zero.

Where harmonic functions come from

Laplace's equation is not an abstraction invented for its own sake — it is what is left over when time runs out. Take the heat equation u_t = k(u_xx + u_yy) on a metal plate and let it run forever. Heat keeps sloshing from hot to cold until nothing has any reason to move, and the temperature stops changing: u_t = 0. Drop that into the heat equation and the right side must vanish too, leaving k(u_xx + u_yy) = 0, that is Laplacian u = 0. The final, unchanging temperature pattern — the steady-state heat distribution — is exactly a harmonic function. Every guide you read in the heat rung was, in a sense, a story about how a plate relaxes toward this answer.

The same equation surfaces wherever a quantity has reached equilibrium with no sources stirring it. The electrostatic potential in a region empty of charge is harmonic; so is the gravitational potential in empty space, and the velocity potential of a smooth, incompressible, irrotational fluid flow. This is why the field is sometimes called potential theory. In each case the physics says the same thing in different words: in the absence of any source or sink, a potential cannot have an interior peak or pit — it must spread itself into the unique balanced shape that Laplacian u = 0 demands.

Heat equation:      u_t = k (u_xx + u_yy)
let time run out:   u_t -> 0
what remains:       u_xx + u_yy = 0      (Laplace's equation)

harmonic examples (plane):   x,   x^2 - y^2,   x^3 - 3xy^2
NOT harmonic:                x^2 + y^2   ->   u_xx + u_yy = 4
The steady state of diffusion is harmonic. The pure second derivatives must cancel, not merely be small.

Why it is elliptic — and what that costs

Recall how you classified a second-order equation A u_xx + B u_xy + C u_yy + ... by the sign of its discriminant B^2 - A C. For Laplace's equation the principal part is u_xx + u_yy, so A = 1, B = 0, C = 1, giving B^2 - A C = -1 < 0. That negative discriminant is the badge of the elliptic type, and Laplace's equation is the cleanest member of that family — the model equation every other elliptic problem is compared against. Where the heat equation was the parabolic head and the wave equation the hyperbolic head, Laplace's equation is the elliptic head.

The type is not a label — it dictates how the equation behaves and which data you are allowed to give it. Elliptic equations have no characteristics: there are no special curves along which information travels, because nothing travels at all. A hyperbolic equation has a finite speed of propagation and a wave can carry a kink without smoothing it; an elliptic equation has no notion of speed and no preferred direction. As a result, a change to the data anywhere on the boundary is felt instantly and everywhere inside — there is no front, no delay, no domain of dependence. Every interior point listens to the entire boundary at once.

This is also a warning about what you may not ask. For the hyperbolic wave equation, prescribing both u and its normal derivative on a curve — Cauchy data — is the natural, well-posed setup. Do the same to Laplace's equation and it becomes the textbook example of an ill-posed problem: tiny, smooth wiggles in the Cauchy data can blow up into enormous oscillations a short distance away, so the solution does not depend continuously on the data. Type is destiny: elliptic problems want boundary data on a closed curve, not initial data on an open one. Which data is well-posed is exactly the question the next two guides settle.

The signature of being harmonic: averaging

Here is the single most beautiful fact about harmonic functions, the one the next guide is devoted to and which this guide only opens the door to. A harmonic function has the mean-value property: the value at the centre of any circle (or sphere, in 3D) equals the average of its values around that circle. No bias up, no bias down — the centre is precisely the mean of the rim. This is the exact mathematical echo of the balance we read off the curvature: if a point were above its surrounding average, the graph would be cupped downward there, forcing u_xx + u_yy < 0, which a harmonic function forbids. So nothing can poke up above its neighbourhood, and nothing can sag below it.

From averaging flows the property that makes harmonic functions feel almost magical — the maximum principle. If a harmonic function is the average of its surroundings at every point, then its largest and smallest values cannot hide in the interior; they must sit on the boundary. Picture the steady temperature of a plate: the hottest and coldest spots are always somewhere on the edge, never in the middle, because any interior peak would have to exceed the average of its neighbours, which the mean-value property forbids. Heat has nowhere to pile up once it has settled. This single principle, proved properly in the next guide, will hand you something precious: uniqueness.

What this rung will build

With the equation and its character in hand, here is the road ahead. The maximum principle gives uniqueness almost for free: if two harmonic functions agree on the boundary, their difference is harmonic with zero boundary values, so by the maximum principle its biggest and smallest values are both zero everywhere — the two solutions are identical. That is why fixing u on the boundary pins down a single answer inside, the Dirichlet problem; fixing instead the normal derivative is the Neumann problem, which you will see needs a small compatibility condition to be solvable. Guide four then writes the actual answer on a disk as a clean integral, the Poisson formula, and guide five adds a source to get Laplacian u = f, Poisson's equation, built from the Newtonian and logarithmic potentials.

Two honest caveats to close. First, harmonic functions are remarkably smooth — in fact infinitely differentiable, even real-analytic, in the interior no matter how rough the boundary data is. This is the elliptic version of the smoothing you saw in the heat equation, and it is a genuine theorem, not a coincidence. Second, all of this beauty depends on there being no source. The moment a charge, a heat source, or a sink appears, the right side stops being zero and you are solving Poisson's equation Laplacian u = f instead — still elliptic, still well-behaved, but no longer purely about perfect balance. Harmonic functions are the empty-room case; the last guide of this rung furnishes the room.