10.01.02 · em-sr / electrostatics

Laplace equation and boundary value problems

draft3 tiersLean: nonepending prereqs

Anchor (Master): Jackson, *Classical Electrodynamics*, 3e (1999), Ch. 2; Zangwill, *Modern Electrodynamics*, Ch. 4

Intuition [Beginner]

In a region with no electric charges, the electric potential satisfies Laplace's equation: the sum of its second spatial derivatives is zero at every point. The potential is a smooth surface with no sources or sinks — it cannot have a local maximum or minimum anywhere inside the charge-free region.

A direct consequence: the value of at any interior point equals the average of over a small sphere centred on that point. If were larger than all its neighbours somewhere, the average would fall short — a contradiction. This mean value property rules out interior peaks and valleys.

To get a unique solution you must fix boundary conditions — the values of on the surface enclosing the region. This is the Dirichlet problem: find a function satisfying Laplace's equation inside that matches given values on the boundary. One technique is the method of images: place a fake "image" charge outside the region so that the combined potential of real and image charges satisfies the boundary condition. Uniqueness then guarantees the result is correct.

Visual [Beginner]

Imagine a rubber sheet stretched over a frame. Clamp each edge at a chosen height. The sheet settles into the shape of minimum energy — no interior bumps or sags. The height of the sheet satisfies Laplace's equation; the clamped edges are the boundary conditions.

For electrostatics, replace "rubber-sheet height" with "electric potential" and "clamped edges" with "voltages on conducting surfaces." The potential between conductors is as smooth as the rubber sheet. It has no local peaks or valleys inside.

Cross-section of the potential between two parallel conducting plates held at V = 1 (left) and V = 0 (right). Equipotential lines are smooth curves interpolating between boundary values, with no local extrema in the interior. The potential satisfies Laplace's equation.

Worked example [Beginner]

A point charge sits at height above a flat conducting plane held at . The plane is grounded — charge redistributes freely to keep the potential at zero.

Step 1: set up the image. Place a fake charge at the mirror position, a depth below the plane. On the plane (), every point is equidistant from both charges, so their potentials cancel and .

Step 2: write the potential above the plane. For ,

where is the distance to the real charge and is the distance to the image.

Step 3: verify. Both terms are point-charge potentials, so each satisfies Laplace's equation on its own. The boundary condition at holds by construction. Uniqueness says this is the only solution.

Step 4: force. The real charge feels the Coulomb force from the image: , directed toward the plane. The grounded plane attracts the charge as though an opposite charge sat behind it.

Check your understanding [Beginner]

Formal definition [Intermediate+]

In a region where the charge density vanishes, Gauss's law 10.01.01 pending gives . Writing and requiring the curl to vanish (electrostatics), the potential satisfies Laplace's equation

In spherical coordinates :

In cylindrical coordinates :

A function satisfying on an open set is called harmonic. Harmonic functions satisfy two fundamental properties:

  1. Mean value property. For any point in the domain, equals the average of over any sphere centred at and contained in the domain:
  1. Maximum principle. A non-constant harmonic function on a connected open set attains its maximum and minimum values only on the boundary.

Boundary conditions

Three standard types:

  • Dirichlet: is specified on . "Fix the voltages on the conductors."
  • Neumann: (the outward normal derivative) is specified on . "Fix the surface charge density on the conductors."
  • Mixed (Robin): Dirichlet on part of , Neumann on the rest.

For Neumann conditions the solution is unique up to an additive constant (the potential is determined only to within a gauge). For Dirichlet conditions the solution is unique. Both statements are proved below.

Separation of variables

The standard constructive method for solving Laplace's equation in regions whose boundaries align with coordinate surfaces. Write as a product of single-variable functions, substitute into Laplace's equation, and obtain ODEs for each factor.

Cartesian. . Substitution gives

Each ratio must be a constant (say , , ), yielding exponential or trigonometric solutions. Boundary conditions determine the separation constants and the expansion coefficients.

Spherical. For azimuthal symmetry ( independent of ), write . Separation gives

where is a non-negative integer separation constant. The angular equation produces Legendre's equation, with regular solutions (Legendre polynomials). The radial equation gives . The general azimuthally symmetric solution is

The full azimuthal dependence introduces associated Legendre functions and spherical harmonics , treated systematically in Jackson Ch. 3.

Cylindrical. . The radial equation becomes Bessel's equation, with solutions and (Bessel functions of the first and second kind). This arises in problems with cylindrical conducting boundaries.

Method of images

The idea: replace a complicated boundary-value problem with a simpler one involving fictitious charges. The method works when the boundary geometry admits a finite (or tractably infinite) set of image charges that satisfy the boundary condition exactly.

Plane. Treated in the Beginner tier: a point charge at distance from a grounded plane is mirrored by at the mirror point.

Sphere. A point charge at distance from the centre of a grounded conducting sphere of radius (with ) requires an image charge at distance from the centre, along the radial line from the centre to . This preserves the spherical boundary at . For a sphere held at non-zero potential , add a second image charge at the centre.

Cylinder. An infinite grounded conducting cylinder of radius with a parallel line charge at distance from the axis requires an image line charge at distance from the axis. The 2D cross-section is conformally equivalent to the plane problem.

Multipole expansion

Far from a localised charge distribution, the potential can be expanded in inverse powers of :

where is the total charge (monopole moment), is the dipole moment, and is the quadrupole tensor. Each successive term falls off faster; at large the leading non-vanishing term dominates.

For a neutral distribution (), the dipole term dominates. If also, the quadrupole dominates. The multipole expansion is the Taylor expansion of about ; it converges only outside the smallest sphere enclosing all the charge.

Counterexamples to common slips

  • Laplace's equation does not hold where charges exist. Inside a region with the governing equation is Poisson's equation . Applying Laplace methods to a charge-containing region without accounting for the source term produces wrong results.
  • The image-charge potential is valid only inside the region of interest. Outside the region the image potential is physically meaningless. For the point charge above a grounded plane, the image formula holds for ; below the plane the field is zero (inside the conductor) and the image formula does not apply.
  • Separation of variables requires the boundary to align with a coordinate surface. Rectangular boundaries require Cartesian coordinates, spherical boundaries require spherical coordinates. A boundary that does not match any standard coordinate system is not amenable to elementary separation of variables — numerical methods or Green's functions (Master tier) are needed.
  • The multipole expansion converges only outside the smallest sphere containing all the charge. Using it inside the charge distribution gives a divergent or meaningless series.
  • The Neumann problem determines only up to a constant. Specifying on the boundary fixes the shape of but not its absolute level. This is not an error — it reflects the gauge freedom of the potential.

Key theorem with proof [Intermediate+]

Theorem (First uniqueness theorem — Dirichlet). The solution to Laplace's equation in a region , subject to specified values of on the boundary , is unique.

Proof. Suppose and both satisfy in and on . Define . Then in (linearity of the Laplacian) and on .

Apply Green's first identity with :

The left-hand volume integral: kills the first term, leaving . The right-hand surface integral: on kills it entirely. So

The integrand is non-negative everywhere. The only way its integral vanishes is at every point, which means is constant. Since on , that constant is zero. So and everywhere in .

Corollary (Second uniqueness theorem — Neumann). If is specified on and in , then the solution is unique up to an additive constant.

Proof. The same difference function satisfies on (both solutions share the same normal derivative). Green's first identity again gives — the surface integral now vanishes because , not because . So and . Neumann data alone cannot fix this constant; it is the gauge freedom of the potential.

Mixed boundary conditions (Dirichlet on , Neumann on , with ) are handled the same way: the surface integral splits into two pieces, each vanishing on its respective part, and uniqueness follows.

Worked example: separation of variables in a rectangular pipe

An infinitely long rectangular pipe has cross-section , . Three walls are grounded (); the wall at is held at . Find inside.

Laplace's equation in 2D: . The boundary conditions are , , , .

Separate: . Substituting and dividing by :

where is the separation constant (sign chosen to give oscillatory solutions in , needed to satisfy the homogeneous boundary conditions ). The -equation with gives with for .

The -equation for each is with , giving .

The general solution satisfying the three grounded walls is

Apply the fourth boundary condition :

This is a Fourier sine series for the constant on . Multiplying by and integrating over gives the coefficients:

For even , . For odd , . The final solution is

Each term satisfies Laplace's equation individually; the sum converges pointwise inside the pipe. The first term () dominates far from the wall, giving the qualitative shape of the potential.

Exercises [Intermediate+]

Green's functions for the Laplacian [Master]

The Green's function for the Laplacian in a region satisfies

with appropriate boundary conditions on . Physically, is the potential at due to a unit point charge at in the presence of grounded or otherwise conditioned boundaries. In free space (, no boundaries):

Dirichlet Green's function

satisfies for (all ). Given Dirichlet data on , the solution to Laplace's equation in is

where is the outward normal derivative with respect to the source coordinate . Once is known for a given domain, any set of boundary values is handled by a single surface integral. Constructing is the hard part; evaluating the integral is mechanical.

Neumann Green's function

satisfies on (where is the area of ), a condition that enforces the Gauss-law constraint for the Neumann problem. The solution with Neumann data on is

where is the average of over — the undetermined constant inherent to the Neumann problem.

Symmetry and reciprocity

Both and are symmetric: . The proof applies Green's second identity to and on minus two small balls around and , uses the defining equation , and notes that the boundary terms vanish by the boundary conditions on . Physically: the potential at due to a unit charge at equals the potential at due to a unit charge at .

Constructing Green's functions by images

For the upper half-space (, grounded plane at ):

where is the reflection of across . For the grounded sphere of radius centred at the origin:

where . For general domains lacking this kind of symmetry, must be found by separation of variables, eigenfunction expansion, or numerical methods.

Eigenfunction expansion

On a bounded domain with Dirichlet boundary conditions, the Laplacian has a discrete spectrum with eigenfunctions satisfying and . The Dirichlet Green's function expands as

This representation makes the symmetry manifest and shows that is a positive-definite kernel. It converges for ; at coincidence the sum diverges logarithmically (in 2D) or as (in 3D), reflecting the point-charge singularity.

Conformal mapping in two dimensions [Master]

In two dimensions, Laplace's equation is the real part of the Cauchy-Riemann equations. If is holomorphic, both and are harmonic. The conjugate pair are harmonic conjugates: level curves of and intersect at right angles — equipotentials and field lines form an orthogonal net.

A conformal map (holomorphic with ) preserves Laplace's equation: if is harmonic, then is harmonic in . This transforms a boundary-value problem on a complicated domain into one on a simpler domain without changing the governing equation.

Strategy. Given a simply connected domain with boundary data, the Riemann mapping theorem guarantees a conformal map from onto the unit disk. On the unit disk, the Dirichlet problem is solved by Poisson's integral formula:

where is the boundary data on the unit circle and are polar coordinates inside the disk. Composing with the conformal map solves the original problem.

Schwarz-Christoffel formula. For polygonal domains (boundaries consisting of straight-line segments), the Schwarz-Christoffel formula gives the conformal map from the upper half-plane to the polygon explicitly as an integral of a product of power functions. This is the workhorse tool for 2D electrostatics problems involving polygonal conductors (microstrip lines, coaxial cable cross-sections, etc.).

For domains that are not simply connected (annuli, exterior of obstacles), the mapping must be handled case-by-case. The group of conformal automorphisms of the unit disk is (Mobius transformations preserving the disk), and any two simply connected proper domains in are conformally equivalent.

The Dirichlet principle [Master]

Variational characterisation

Among all functions on that take prescribed Dirichlet boundary values, the one that satisfies Laplace's equation minimises the Dirichlet energy

To see this, let be the harmonic solution and let be any smooth perturbation vanishing on . Write . Then

The cross term vanishes by Green's first identity together with and :

So , with equality only when (since and force ). The harmonic function is the unique energy minimiser.

The converse is also true: if minimises among all functions with the given boundary data, then is harmonic. This follows by setting the first variation to zero. The Dirichlet principle establishes a one-to-one correspondence between solutions of Laplace's equation and minimisers of the electrostatic energy.

Historical note on the Dirichlet principle

Riemann (1851) used this minimisation principle freely, attributing it to Dirichlet's lectures, to prove existence of harmonic functions with given boundary data. Weierstrass (1870) objected: the argument assumes the infimum is attained by a smooth function, but there exist variational problems where the infimum is not achieved by any admissible function. His counterexample, a functional whose infimum is but whose minimising sequence has no limit in the admissible class, showed that the "obvious" existence argument had a gap.

Hilbert (1900–1901) rescued the principle by developing the direct method of the calculus of variations: work in a suitable function space (what we now call the Sobolev space ), prove existence of a minimiser via weak compactness, show the minimiser satisfies the Euler-Lagrange equation (Laplace's equation) in a weak (distributional) sense, and finally invoke elliptic regularity theory to upgrade to a classical solution. This programme — variational existence, weak solutions, regularity — became the template for 20th-century PDE theory. The Sobolev and Banach-space machinery it motivated is now standard in every graduate analysis course.

Capacity

The electrostatic capacity (or capacitance) of a conductor is

where the infimum is taken over all functions that equal 1 on and vanish at infinity. By the Dirichlet principle, the infimum is attained by the equilibrium potential — the harmonic function satisfying these boundary conditions. For a sphere of radius , direct calculation gives .

Capacity measures how much charge a body can hold at unit potential. It is a conformal invariant in 2D (by the invariance of the Dirichlet energy under conformal maps, Exercise 10), and connects electrostatics to potential theory, probability, and geometric measure theory. The logarithmic capacity in 2D plays the role of the Newtonian capacity in 3D.

Harmonic measure

Let be a bounded domain with boundary (disjoint pieces). The harmonic measure is the harmonic function in equal to 1 on and 0 on the remaining pieces. By the maximum principle, and — the harmonic measures form a probability distribution over boundary components at each interior point.

Probabilistic interpretation (Kakutani, 1944): equals the probability that a Brownian motion started at first exits through . The Dirichlet problem is equivalent to computing exit probabilities for Brownian motion. This bridges electrostatics, potential theory, and stochastic analysis: the Laplacian is both the operator governing electrostatic potentials and the infinitesimal generator of Brownian motion. The connection runs deep — virtually every classical result about harmonic functions has a probabilistic counterpart, and vice versa.

Historical notes [Master]

Pierre-Simon Laplace introduced the equation bearing his name in Théorie des attractions des sphéroïdes et de la figure des planètes (1782, published 1785), in the context of gravitational potentials of celestial bodies. He wrote the operator in spherical coordinates and used it to study the external gravitational field. The Cartesian form was written out explicitly by Legendre and Laplace in the 1780s.

George Green's An Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism (1828) introduced Green's functions and Green's identities, providing the general framework for boundary-value problems. Green, a self-taught miller's son from Nottingham, published the essay at his own expense; it was largely ignored until Lord Kelvin (William Thomson) rediscovered it in 1845 and recognised its power.

The method of images was developed by William Thomson in 1845 for the theory of telegraphy, specifically to compute the capacitance of telegraph cables. His insight — that a point charge near a conducting sphere can be replaced by an image charge — turned an intractable boundary-value problem into elementary algebra.

The Dirichlet principle was used by Riemann in his 1851 dissertation and his 1857 papers on Abelian functions to prove existence of harmonic functions with prescribed boundary data. Weierstrass's critique (published 1870, circulated earlier) showed the variational argument had a gap. Hilbert's 1901 paper on the Dirichlet principle inaugurated the direct method of the calculus of variations and led to the development of Sobolev spaces, weak solutions, and modern elliptic PDE theory. Poisson's integral formula for the disk (1820) and Thomson's method of images (1845) are the two constructive pillars that Green's framework unifies.

Connections to other fields [Master]

Quantum mechanics

The time-independent Schrödinger equation reduces to Laplace's equation in the free-particle, zero-energy limit (, ). The eigenfunction expansion of the Dirichlet Green's function developed above is identical in structure to the resolution of the identity in quantum mechanics: mirrors the spectral representation of the resolvent . The separation-of-variables technique for the Laplacian in spherical coordinates produces the same angular eigenfunctions (Legendre polynomials, spherical harmonics) that appear as angular-momentum eigenstates in the hydrogen atom.

Complex analysis

In 2D, harmonic functions are real parts of holomorphic functions. This equivalence makes conformal mapping a complete solution theory for 2D electrostatics: the Riemann mapping theorem guarantees that any simply connected domain can be mapped to the disk, where Poisson's formula solves the Dirichlet problem. The Cauchy-Riemann equations simultaneously encode Laplace's equation and the orthogonality of equipotentials and field lines. The theory of analytic continuation, harmonic conjugates, and boundary behaviour of holomorphic functions all have direct electrostatic readings.

Probability and stochastic analysis

The Laplacian is the infinitesimal generator of Brownian motion. The harmonic measure equals the probability that a Brownian path started at first exits the domain through (Kakutani's theorem, 1944). The Dirichlet problem finding a harmonic function with given boundary data is equivalent to computing the expected value of the boundary data at the Brownian exit point. This connection makes Monte Carlo methods (walking random walks to estimate exit probabilities) a viable numerical technique for boundary-value problems, and it underlies the modern probabilistic approach to potential theory.

General relativity and differential geometry

The flat-space Laplacian generalises to the Laplace-Beltrami operator on a Riemannian manifold . The uniqueness theorems, maximum principle, and Dirichlet principle all survive this generalisation; the proofs carry over with the volume element replacing the Euclidean measure. In general relativity 13.02.01, harmonic coordinates (coordinates satisfying ) are used to fix gauge freedom in the Einstein equations, and scalar fields on curved spacetimes satisfy the curved-space Klein-Gordon equation, whose spatial part is the Laplace-Beltrami operator.

Computational methods

The Dirichlet principle — minimise — is the theoretical foundation of the finite element method (FEM) for electrostatics. The domain is discretised into a mesh of elements, the potential is approximated by piecewise polynomial basis functions, and the variational problem reduces to a sparse linear system where is the stiffness matrix (discrete analogue of ). The convergence of FEM solutions to the true harmonic function is guaranteed by the same elliptic regularity theory that rescued the Dirichlet principle from Weierstrass's objection.

Bibliography [Master]

  • Laplace, P.-S. (1785). "Théorie des attractions des sphéroïdes et de la figure des planètes." Mémoires de l'Académie royale des Sciences de Paris, 1782 (published 1785), 113–196. Origin of Laplace's equation in the gravitational context.

  • Green, G. (1828). An Essay on the Application of Mathematical Analysis to the Theories of Electricity and Magnetism. Nottingham: privately printed. Introduction of Green's functions and Green's identities. Reprinted in Mathematical Papers of George Green, ed. N. M. Ferrers (1871).

  • Thomson, W. (Lord Kelvin) (1845). "Extraits de deux mémoires sur le développement des fonctions de Laplace et de Lamé." Journal de mathématiques pures et appliquées, 10, 213–224. Rediscovery of Green's work; development of the method of images.

  • Riemann, B. (1851). "Grundlagen für eine allgemeine Theorie der Functionen einer veränderlichen complexen Grösse." Inaugural dissertation, Göttingen. Use of the Dirichlet principle in complex analysis.

  • Weierstrass, K. (1870). "Über das sogenannte Dirichlet'sche Princip." Mathematische Werke, II, 49–54. Critique of the existence argument in the Dirichlet principle.

  • Hilbert, D. (1901). "Über das Dirichlet'sche Princip." Jahresbericht der Deutschen Mathematiker-Vereinigung, 8, 184–188. Rehabilitation of the Dirichlet principle via the direct method.

  • Kakutani, S. (1944). "Two-dimensional Brownian motion and harmonic functions." Proceedings of the Imperial Academy, Tokyo, 20, 706–714. Probabilistic representation of harmonic measure.

  • Griffiths, D. J. (2017). Introduction to Electrodynamics, 4th ed. Cambridge University Press. Ch. 3 (Potentials): accessible treatment of Laplace's equation, separation of variables, and images.

  • Jackson, J. D. (1999). Classical Electrodynamics, 3rd ed. Wiley. Ch. 2 (Boundary-Value Problems in Electrostatics I): Green's functions, eigenfunction expansions, and image methods at graduate level.

  • Zangwill, A. (2013). Modern Electrodynamics. Cambridge University Press. Ch. 4: comprehensive treatment of potential theory including conformal mapping and variational methods.