Harmonic Functions
What You’ll Learn
Section titled “What You’ll Learn”In this lesson you’ll learn what harmonic means, how every harmonic function is the real part of an analytic one, how to construct harmonic conjugates, and how the Dirichlet problem is solved on a disc and transported everywhere else.
The Concept
Section titled “The Concept”The definition
Section titled “The definition”A real function with continuous second partials is harmonic on a domain if it satisfies Laplace’s equation
Laplace’s equation is arguably the most important PDE in physics. It governs steady-state temperature, electrostatic and gravitational potential in empty space, incompressible irrotational fluid flow, and the equilibrium shape of a stretched membrane. All of those are the same equation, so all of them are the same mathematics.
The connection to analyticity
Section titled “The connection to analyticity”Two facts, and they run in both directions.
If is analytic, then and are both harmonic.
This came out of the Cauchy–Riemann equations in lesson 5: differentiate with respect to , differentiate with respect to , and add.
Conversely, if is harmonic on a simply connected domain, there is a harmonic , unique up to a constant, with analytic. That is the harmonic conjugate of .
Together these say that harmonic functions and analytic functions are two views of the same objects. Real two-dimensional potential theory is complex analysis in different clothing, which is why every result in this section has a physical reading.
The simple connectivity matters. On an annulus, is harmonic but its conjugate would have to be , which cannot be made single-valued there. That is the same obstruction as the branch cut for the logarithm.
Properties inherited from analyticity
Section titled “Properties inherited from analyticity”Because they are real parts of analytic functions, harmonic functions inherit the strong behaviour of the section.
Mean value property. The value at a point is the average over any circle about it inside the domain:
The figure tests this. For , the real part of , every circular average equals the centre value exactly. For , which has , the averages exceed the centre value and grow with the radius - in fact by exactly , which is the Laplacian times .
Maximum principle. A harmonic function on a bounded domain attains its maximum and minimum on the boundary, and if an interior maximum is attained the function is constant. This is immediate from the mean value property: a strict interior maximum could not equal the average of its neighbours.
Uniqueness. Two harmonic functions with the same boundary values are identical, since their difference is harmonic with zero boundary values, hence zero by the maximum principle. This is what makes physics well posed: specify the temperature on the boundary and the interior temperature is determined.
Smoothness. Harmonic functions are automatically infinitely differentiable, and even real-analytic, inherited from the corresponding property of analytic functions.
Liouville. A harmonic function bounded on all of is constant.
The Dirichlet problem
Section titled “The Dirichlet problem”Dirichlet problem. Given a domain and a continuous function on its boundary, find the harmonic function on matching those boundary values.
On the unit disc there is an explicit answer, the Poisson integral formula:
The kernel is a weighted average that concentrates near the nearest boundary point as . Setting recovers the mean value property, so the formula is its refinement to off-centre points.
For any other simply connected region the strategy is the one from the conformal mapping lesson:
- Map the region conformally to the disc.
- Carry the boundary data along.
- Apply the Poisson formula.
- Pull back.
Because harmonicity survives conformal maps, this solves the problem on every region you can map - and by the Riemann mapping theorem, that is every simply connected region.
Level curves and the physical picture
Section titled “Level curves and the physical picture”For analytic, the level curves of and are orthogonal, which we saw in lesson 6. Physically:
| Setting | ||
|---|---|---|
| equipotentials | field lines | electrostatics |
| isotherms | heat flow lines | conduction |
| velocity potential | streamlines | fluid flow |
The pair is called the complex potential, and gives the field directly: in fluid dynamics is the velocity vector. One analytic function encodes an entire two-dimensional field, which is the compression that makes the method powerful.
Worked Examples
Section titled “Worked Examples”Example 1: Verify is harmonic and find its conjugate.
Solution. and , so ✓
For the conjugate, use , so . Then , and this must equal , forcing .
∎
Example 2: Show is not harmonic.
Solution. .
Consequently it has no harmonic conjugate, and indeed involves and is not analytic. The figure shows the failure quantitatively: circular averages exceed the centre value. ∎
Example 3: Verify is harmonic away from 0.
Solution. With , . Then
and by symmetry . They cancel, so on . ∎
Its conjugate is , and . On any annulus around 0 the conjugate cannot be single-valued, which shows the simple connectivity hypothesis is not removable. Physically this is the potential of a point charge, whose field lines wind around the charge and never close.
Example 4: Find the harmonic conjugate of .
Solution. Check first: and , which sum to 0 ✓
From , integrate in :
Then must equal , so .
∎
Example 5: Use the maximum principle.
is harmonic on with on the boundary circle. What is inside?
Solution. The constant function 3 is harmonic and matches the boundary data. By uniqueness there is only one such function, so
∎
Example 6: Solve a Dirichlet problem on the disc.
is harmonic on with boundary values . Find .
Solution. Guess a low-order candidate: is harmonic and equals when .
By uniqueness this is the answer, with no integration needed. ✓
At the centre, , which is the average of over the circle. Consistent with the mean value property, and a good check to run on any such solution.
Example 7: Use the complex potential.
The complex potential of uniform flow past a cylinder of radius is . Find the streamlines and the velocity.
Solution. With ,
so the stream function is
On this is identically 0, so the circle is a streamline - the flow does not cross the cylinder, which is exactly the physical boundary condition.
The velocity comes from the derivative:
which vanishes at , the two stagnation points at the front and back of the cylinder, and tends to far away as it should. ∎
One analytic function delivered the entire flow field, boundary condition included.
Real-World Applications
Section titled “Real-World Applications”Steady heat conduction. Temperature in a body with fixed boundary temperatures and no internal sources is harmonic. Solving for it is the Dirichlet problem, and conformal mapping handles awkward cross-sections.
Electrostatics. Potential in a charge-free region is harmonic, and field lines are the conjugate’s level curves. Capacitance calculations for irregular electrodes were built on this before numerical solvers.
Groundwater and porous flow. Darcy flow has a harmonic pressure head, so aquifer models and seepage under dams are solved as Dirichlet problems. Flow nets drawn by hand in civil engineering are exactly these orthogonal families.
Aerodynamics. Potential flow around bodies is the complex potential of Example 7, and adding circulation gives lift. The stagnation points are physically observable.
Membrane deflection. A stretched membrane with a fixed boundary takes a harmonic shape under small deflection, which is why soap-film experiments were once used as analog computers for Laplace’s equation.
Image processing. Harmonic inpainting fills a missing region by solving Laplace’s equation with the surrounding pixels as boundary data. The maximum principle guarantees no new extremes appear inside the patch, which is why the result looks smooth.
Retrying will remove your ✅ checkmark until you pass again.