Electromagnetism · Upper Division

Electrostatics: Boundary Problems

Laplace's and Poisson's equations govern the electric potential. Their solutions via separation of variables and the method of images are the central technical tools of classical electrostatics.

PrerequisitesElectric fields (Ch. 15) · Maxwell's equations (Ch. M) · Partial differential equations · Fourier series
Learning Goals
  • Derive Poisson's and Laplace's equations from Gauss's law and E=−∇VE = -\nabla V.
  • Apply separation of variables in Cartesian coordinates to solve Laplace's equation with given boundary conditions.
  • Expand the solution in spherical coordinates using Legendre polynomials and match boundary conditions.
  • Use the method of images to find the potential and surface charge for a charge above a grounded conductor.
  • Construct the multipole expansion and identify the leading term for a neutral charge distribution.

ES.1 Poisson's and Laplace's Equations

From Gauss's law (∇·E = ρ/ε₀) and E = −∇V, the electric potential V satisfies Poisson's equation.Poisson and Laplace1810s · Potential theory before fieldsLaplace and Poisson were developing tools for celestial mechanics — predicting planetary positions, asking whether the solar system was stable — when they wrote the equations that now bear their names. They were not thinking about electric fields. The remarkable thing is that the same differential equation governs gravity, electrostatics, heat conduction, fluid flow, and the quantum probability amplitude. The universe reuses its mathematics with startling economy.Source: Pierre-Simon Laplace and Simeon-Denis Poisson, early papers on gravitational and electrostatic potential theory.Further reading: Pierre-Simon Laplace · Siméon Denis Poisson

∇2V=−ρ/ε0(Poisson)\nabla^2 V = -\rho/\varepsilon_0 \qquad \text{(Poisson)}(ES.1)

In charge-free regions (ρ = 0), this reduces to Laplace's equation:

∇2V=0(Laplace)\nabla^2 V = 0 \qquad \text{(Laplace)}(ES.2)

Solutions to Laplace's equation are called harmonic functions. They satisfy the mean value theorem: the value at any point equals the average over any sphere centered there. Consequence: harmonic functions have no local maxima or minima in a charge-free region — the potential maximum is always on the boundary.

Theorem ES.1 — Uniqueness Theorem
A solution to Laplace's equation with specified boundary conditions is unique. Specifically: if two solutions V1V_{1} and V2V_{2} both satisfy ∇2V=0\nabla^{2}V = 0 in a region and agree on all boundaries, then V1=V2V_{1} = V_{2} everywhere inside. Proof: let U=V1−V2U = V_{1} - V_{2}, which satisfies ∇2U=0\nabla^{2}U = 0 and U=0U = 0 on boundaries. By the mean value theorem, U has no interior extremum →U=0\to U = 0 everywhere. ∎ This theorem justifies the method of images: if you find any solution satisfying both Laplace's equation and the boundary conditions — by any method, however clever — it must be the correct solution.

ES.2 Separation of Variables

In Cartesian coordinates, try V(x,y,z) = X(x)Y(y)Z(z). Laplace's equation becomes:

X′′/X+Y′′/Y+Z′′/Z=0X''/X + Y''/Y + Z''/Z = 0(ES.3)

Each term must be a constant (separation constants). For boundary conditions that demand oscillatory behavior in x and y but exponential in z, choose: X'' = −k²X, Y'' = −l²Y, Z'' = (k²+l²)Z. The general solution is built from products of sines/cosines and exponentials. Boundary conditions then fix the allowed k, l and the coefficients (via Fourier series on the boundary).

Example ES.1 — Infinite Rectangular Pipe

A rectangular pipe (0≤x≤a,0≤y≤b0 \le x \le a, 0 \le y \le b) extends in z. Three walls are grounded (V=0V=0); the top wall (y=by=b) is held at V0(x)V_{0}(x). Find V(x,y).

Separated solutions:V(x,y)=X(x)Y(y)V(x,y) = X(x)Y(y). Boundary conditions: V=0V=0 at x=0,a→X=sin⁡(nπx/a)x=0,a \to X = \sin(n\pi x/a). V=0V=0 at y=0→Y(0)=0→Y=sinh⁡(nπy/a)y=0 \to Y(0)=0 \to Y = \sinh(n\pi y/a).
General solution:V(x,y)=∑nCnsin⁡(nπx/a) sinh⁡(nπy/a)V(x,y) = \sum_n C_n \sin(n\pi x/a)\,\sinh(n\pi y/a)
Top boundary:Aty=bAt y=b: V0(x)=∑nCnsin⁡(nπx/a) sinh⁡(nπb/a)V_0(x) = \sum_n C_n \sin(n\pi x/a)\,\sinh(n\pi b/a). This is a Fourier sine series.
Coefficients:Cn=2asinh⁡(nπb/a)∫0aV0(x)sin⁡(nπx/a) dxC_n = \frac{2}{a\sinh(n\pi b/a)} \int_0^a V_0(x) \sin(n\pi x/a)\,dx
Special case:ForV0(x)=V0For V_{0}(x) = V_{0} (constant): Cn=4V0nπsinh⁡(nπb/a)C_n = \dfrac{4V_0}{n\pi\sinh(n\pi b/a)} for odd n, 0 for even n.

ES.3 Separation in Spherical Coordinates

In spherical coordinates, Laplace's equation becomes:

1r2∂∂r(r2∂V∂r)+1r2sin⁡θ∂∂θ(sin⁡θ ∂V∂θ)+⋯=0\frac{1}{r^2}\frac{\partial}{\partial r}\left(r^2\frac{\partial V}{\partial r}\right) + \frac{1}{r^2\sin\theta}\frac{\partial}{\partial\theta}\left(\sin\theta\,\frac{\partial V}{\partial\theta}\right) + \cdots = 0(ES.4)

For azimuthal symmetry (V independent of φ), the separated solutions are:

V(r,θ)=∑l=0∞(Alrl+Blr−(l+1))Pl(cos⁡θ)V(r,\theta) = \sum_{l=0}^{\infty} \left(A_l r^l + B_l r^{-(l+1)}\right) P_l(\cos\theta)(ES.5)

where Pₗ(cos θ) are Legendre polynomials: P₀ = 1, P₁ = cos θ, P₂ = ½(3cos²θ−1), P₃ = ½(5cos³θ−3cosθ), ... The rˡ term is regular at the origin; r−(l+1)r^{-(l+1)} is regular at infinity (multipole fields). A pure r−(l+1)r^{-(l+1)} term with Pₗ is called a 2l2^l-pole: l=0 monopole, l=1 dipole, l=2 quadrupole.

Example ES.2 — Conducting Sphere in a Uniform Field

A grounded conducting sphere of radius R is placed in a uniform external field E0z^E_{0}\hat{z}. Find the potential outside.

Far-field:V→−E0rcos⁡θ=−E0rP1(cos⁡θ)V \to -E_{0}r \cos \theta = -E_{0}r P_{1}(\cos \theta) as r→∞r \to \infty
General l=1l=1 solution:V=(Ar+B/r2)cos⁡θV = (Ar + B/r^{2}) \cos \theta. Far field: A=−E0A = -E_{0}.
Boundary condition:V(R,θ)=0→(−E0R+B/R2)cos⁡θ=0→B=E0R3V(R, \theta) = 0 \to (-E_{0}R + B/R^{2}) \cos \theta = 0 \to B = E_{0}R^{3}.
Result:V(r,θ)=−E0rcos⁡θ+E0R3cos⁡θ/r2=−E0(r−R3/r2)cos⁡θV(r,\theta) = -E_{0}r \cos \theta + E_{0}R^{3} \cos \theta / r^{2} = -E_{0}(r - R^{3}/r^{2}) \cos \theta
Interpretation:The r term is the applied field; the R3/r2R^{3}/r^{2} term is an induced dipole with moment p=4πε0E0R3p = 4\pi\varepsilon_{0}E_{0}R^{3}. Near the sphere (at r=R):Er=−∂V/∂r=3E0cos⁡θ—r=R): E_{r} = -\partial V/\partial r = 3E_{0} \cos \theta — the field is three times the applied value at the poles.

ES.4 The Method of Images

The method of images uses the uniqueness theorem to find potentials near conductors: replace the conductor with fictitious image charges placed so that the boundary condition (V = 0 on conductor surface) is satisfied.

Example ES.3 — Point Charge Above a Grounded Plane

Charge +q at height d above an infinite grounded conducting plane (z=0z = 0). Find V and the surface charge density.

Image charge:Place −q-q at position z=−dz = -d (mirror image below the plane).
Verify BC:On the plane (z=0z=0), the potential from +q and −q-q cancels by symmetry: V=0✓V=0 ✓
Potential (z > 0):V=q4πε0[1r+−1r−]V = \frac{q}{4\pi\varepsilon_0}\left[\frac{1}{r_+} - \frac{1}{r_-}\right], where r±=x2+y2+(z∓d)2r_\pm = \sqrt{x^2 + y^2 + (z \mp d)^2}
Surface charge:σ=−ε0∂V∂z∣z=0=−qd2π (x2+y2+d2)3/2\sigma = -\varepsilon_0 \left.\frac{\partial V}{\partial z}\right|_{z=0} = -\frac{qd}{2\pi\,(x^2+y^2+d^2)^{3/2}}
Total charge:∫σdA=−q\int\sigma dA = -q (the plane carries total charge −q-q, as required by Gauss's law).
Force:F=q×(field from −q)=−q216πε0d2 z^\mathbf{F} = q \times (\text{field from } {-q}) = -\frac{q^2}{16\pi\varepsilon_0 d^2}\,\hat{\mathbf{z}} — attractive, as expected.
Definition ES.2 — Common Traps
  • Uniqueness depends on boundary conditions: satisfying the PDE alone is not enough.
  • Image charges are mathematical devices: they replace conductors only in the allowed physical region.
  • Regularity chooses radial terms: discard terms that diverge at the origin or infinity when the physical region requires it.
  • Surface charge comes from the normal field: use the conductor boundary field, not the full image-space fiction.
Exercises — ES.1–ES.4 Electrostatics Boundary Problems
0.
A point charge q=2μCq = 2 \mu C is held at d=0.3md = 0.3 m above a grounded conducting plane. Using the method of images, find the attractive force on the charge.
N
Straightforward
1.State Green's reciprocity theorem for electrostatics and prove it using integration by parts on Poisson's equation.
Straightforward
2.Solve for the potential of a dielectric sphere (relative permittivity εr\varepsilon_{r}) in a uniform applied field E0E_{0}. Find the field inside and the polarization.
Intermediate
3.A charge q is placed between two parallel grounded conducting planes separated by distance d. Set up the method of images (infinite series). How does this connect to electrostatic energy in ionic crystals?
Intermediate
4.Derive the multipole expansion for the potential of a localized charge distribution. Find the leading terms for a neutral system and an electric dipole. What is the practical importance for intermolecular forces?
Challenging
Key Takeaways
  • Poisson: ∇2V=−ρ/ε0\nabla^{2}V = -\rho/\varepsilon_{0}. Laplace: ∇2V=0\nabla^{2}V = 0 in charge-free regions.
  • Uniqueness: BCs uniquely determine the solution — justifies any method that satisfies both PDE and BCs.
  • Separation of variables: Cartesian → sines/exponentials; spherical →rl\to rˡ and Pl(cos⁡θ)P_{l}(\cos \theta).
  • Legendre polynomials Pl(cos⁡θ)P_{l}(\cos \theta): monopole (l=0l=0), dipole (l=1l=1), quadrupole (l=2l=2)...
  • Method of images: replace conductors with image charges; uniqueness guarantees correctness.
  • Multipole expansion: V=Q/r+p⋅r^/r2V = Q/r + p\cdot \hat{r}/r^{2} + ... Neutral systems → dipole falls as 1/r21/r^{2}.