A real-valued function (or ) is harmonic if it has continuous second partial derivatives and satisfies Laplace’s equation:
The Laplacian (also written ) is the divergence of the Gradient: .
Why they show up everywhere in physics
Laplace’s equation describes equilibrium / steady state in a lot of physical systems:
- Steady-state electrostatic potentials in regions without charge. The electric field is ; Gauss’s law gives . With , .
- Irrotational incompressible fluid flow. Velocity (irrotational), (incompressible). So .
- Steady heat conduction. Heat equation in steady state gives .
- Membrane displacements under tension (in equilibrium).
- Gravitational potential in vacuum regions.
Find the right harmonic function with the right boundary conditions and you’ve solved the problem.
Harmonic = real/imaginary part of analytic
The result that ties complex analysis to physics:
Theorem. If is analytic on a domain , then and are both harmonic on .
Proof. From the Cauchy-Riemann equations and , differentiate the first w.r.t. and the second w.r.t. :
By Clairaut’s theorem , so . Same argument for . ∎
(One technical catch: this proof uses Clairaut’s equality of mixed partials, which requires to be . With just our definition of analyticity (once complex differentiable on an open set) we don’t yet know that. The fact that analytic functions are automatically infinitely differentiable, hence , comes from the Cauchy integral formula. No circularity: the CIF only uses analyticity, not harmonicity.)
So analytic functions automatically solve Laplace’s equation in 2D. That’s the bridge between complex analysis and 2D steady-state physics.
Harmonic conjugate
If is harmonic on a simply connected domain, there exists a harmonic function (the harmonic conjugate of ) such that is analytic.
Recipe to find from :
- From , integrate: .
- From , get an equation for .
- Integrate.
Same shape as finding a potential function for a conservative field. The Cauchy–Riemann equations are exactly the cross-partial conditions of vector calculus for the field to be both conservative and source-free.
Worked example. . Check harmonic: , , sum . ✓
Find : , integrate w.r.t. : . Then must equal , so , . Stream function: .
Combined: .
So is the real part of the analytic function .
Properties of harmonic functions
These mirror the properties of analytic functions:
- Maximum principle. A non-constant harmonic function attains its maximum and minimum on the boundary of its domain, never in the interior. (Same statement as the Maximum modulus principle for analytic functions, since is the modulus of an analytic function.)
- Mean value property. The value at the center of any disk equals the average over the bounding circle.
- Uniqueness from boundary values. A harmonic function on a bounded domain is determined by its boundary values (Dirichlet problem). That’s why boundary conditions are enough to solve the steady-state problems above.
- Infinitely differentiable. Any harmonic function is automatically .
These all follow from the connection to analytic functions via harmonic conjugates and the Cauchy integral formula.
In context
This viewpoint is the basis for 2D conformal mapping in physics: transform a hard region to an easy one via an analytic function, solve Laplace’s equation on the easy region (often a disk or half-plane), pull back via the inverse map. Laplace’s equation is preserved by conformal maps, which makes this work.