UNIHIVE

Study Hub UNIPORT PHY 313

PHY 313 · Electricity and Magnetism I

Solving Laplace's equation

Boundary conditions, the uniqueness theorems, and separation of variables in Cartesian and spherical coordinates.

Our notes

2 min read

Boundary value problems

Most electrostatics problems give the potential (or charge) on boundaries and ask for V everywhere. Laplace's equation, with the boundary conditions, fixes the answer.

Uniqueness theorems

  1. First: the solution of Laplace's equation in a region is unique if V is given on all boundaries.
  2. Second: in a region surrounded by conductors, the field is unique if the total charge on each conductor is given.

Why this matters: if you find any solution that fits (by guessing, by images, by separation), it is the solution.

Separation of variables (Cartesian)

Try V(x, y) = X(x)Y(y). Then X″/X + Y″/Y = 0, so each term is a constant: X″ = k²X, Y″ = −k²Y. Solutions: exponentials (or sinh, cosh) in one variable and sines and cosines in the other. Apply the boundary conditions, then add terms (a Fourier series) to fit the last one.

Worked example: an infinite slot

Two grounded plates at y = 0 and y = a, extending to x → ∞; the end x = 0 is held at V₀.

  1. Y(y) = sin(nπy/a) fits V = 0 at y = 0 and a (n = 1, 2, 3...).
  2. X(x) = e^(−nπx/a) (decays as x → ∞).
  3. V = Σ Cₙ e^(−nπx/a) sin(nπy/a).
  4. At x = 0: Σ Cₙ sin(nπy/a) = V₀. Fourier's trick: Cₙ = (2/a)∫₀ᵃ V₀ sin(nπy/a) dy = 4V₀/(nπ) for odd n, 0 for even n.

Result: V(x, y) = (4V₀/π) Σ_(n odd) (1/n) e^(−nπx/a) sin(nπy/a).
Check: at the centre line y = a/2, far from the end, the n = 1 term dominates: V ≈ (4V₀/π) e^(−πx/a). At x = a, that is 1.273 × 0.0432 V₀ = 0.055 V₀: the potential dies off fast, as expected between grounded plates.

Spherical coordinates (azimuthal symmetry)

General solution: V(r, θ) = Σ (Aₗ rˡ + Bₗ / r^(l+1)) Pₗ(cos θ), with Legendre polynomials P₀ = 1, P₁ = cos θ, P₂ = (3cos²θ − 1)/2...

Classic result: an uncharged conducting sphere of radius R in a uniform field E₀ (along z):
V = −E₀ (r − R³/r²) cos θ.
Check: at r = R, V = 0 (the sphere is an equipotential); far away V → −E₀ r cos θ = −E₀z, the uniform field. ✓ The induced surface charge is σ = 3ε₀E₀ cos θ.

Other methods

Method of images (next topic), conformal mapping (2-D), and numerical relaxation: on a grid, repeatedly replace each interior point by the average of its four neighbours until the values settle (the averaging property in action; MTH 492 / PHY 490 covers numerical methods for PDEs).

Exams usually ask

  • State and use the uniqueness theorems.
  • Solve a Cartesian slot or box problem by separation of variables.
  • Solve the sphere-in-a-uniform-field problem.

Common mistake

Keeping the growing exponential e^(+nπx/a) in a region that extends to infinity. Boundary conditions at infinity kill it.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All PHY 313 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.