Laplace equation: Dirichlet/Neumann, separation of variables

At a Glance

Why This Chapter Matters

Every Laplace equation question carries 10–20 marks and involves one of three techniques: the energy-integral uniqueness proof, separation of variables on a rectangle or annulus, or Fourier transform derivation of the Poisson kernel. The 2024 and 2025 papers together accounted for 40 marks from this one atom. The hardest trap — encountered in 2018 — is that the boundary datum cos⁡(θ/2)\cos(\theta/2) has period 4π4\pi, not 2π2\pi, so it must be expanded in a Fourier series rather than matched to a single harmonic. Knowing this trap is worth 10 marks on its own.

Minimum Theory

Laplace’s equation. ∇2u=uxx+uyy=0\nabla^2 u = u_{xx} + u_{yy} = 0 (or in polar: urr+1rur+1r2uθθ=0u_{rr} + \tfrac{1}{r}u_r + \tfrac{1}{r^2}u_{\theta\theta} = 0). A solution is called harmonic. Harmonic functions satisfy the maximum principle: on a bounded domain Ω\Omega, uu attains its max and min on the boundary ∂Ω\partial\Omega.

Uniqueness via Green’s identity. Green’s first identity: ∬S(u ∇2u+∣∇u∣2)dA=∮Γu ∂u∂n ds.\iint_S \left(u\,\nabla^2 u + |\nabla u|^2\right)dA = \oint_\Gamma u\,\frac{\partial u}{\partial n}\,ds. For the Dirichlet problem (uu prescribed on Γ\Gamma): if two solutions u1,u2u_1, u_2 both satisfy the same BVP, their difference v=u1−u2v = u_1 - u_2 is harmonic with v=0v = 0 on Γ\Gamma. Applying the identity to vv gives ∬S∣∇v∣2 dA=0\iint_S |\nabla v|^2\,dA = 0, hence v≡0v \equiv 0.

Separation of variables on a rectangle. For u(x,y)=X(x)Y(y)u(x,y) = X(x)Y(y):

Rectangular domain with three zero BCs and one inhomogeneous edge; the separation-of-variables chain.

Question Archetypes

ArchetypeRecognition cue
uniqueness-proof”Prove the solution of ∇2w=f\nabla^2 w = f with prescribed boundary data is unique.”
laplace-rectangle”Solve uxx+uyy=0u_{xx}+u_{yy}=0 on a rectangle with zero BCs on three edges.”
laplace-polar”Steady temperature in an annulus” with a trigonometric boundary condition.
laplace-fourier-transform”Show that the solution on the half-plane is given by the Poisson integral.”

uniqueness-proof (1 question; 2017)

Recognition Cues

Solution Template

  1. Suppose two solutions w1w_1, w2w_2. Define u=w1−w2u = w_1 - w_2.
  2. Establish the homogeneous problem: ∇2u=0\nabla^2 u = 0 in SS; u=0u = 0 on Γ\Gamma.
  3. Apply Green’s first identity to uu: ∬S∣∇u∣2 dA=∮Γu ∂u/∂n ds=0\iint_S |\nabla u|^2\,dA = \oint_\Gamma u\,\partial u/\partial n\,ds = 0 (boundary term vanishes since u=0u = 0 on Γ\Gamma).
  4. Conclude: ∣∇u∣2≥0|\nabla u|^2 \ge 0 and its integral is 0, so ∣∇u∣2≡0⇒u=const|\nabla u|^2 \equiv 0 \Rightarrow u = \text{const}. Boundary condition u=0u = 0 on Γ\Gamma forces u≡0u \equiv 0.

Worked Example

2017 Paper 2, 2017-P2-Q5d (10 marks)

Prove uniqueness for ∇2w=f\nabla^2 w = f in SS with w=gw = g on Γ\Gamma.

Step 1. Suppose w1w_1 and w2w_2 both satisfy the problem. Let u=w1−w2u = w_1 - w_2. By linearity, ∇2u=0\nabla^2 u = 0 in SS and u=0u = 0 on Γ\Gamma.

Step 2. Apply Green’s first identity to uu (with uu in both positions): ∬S(u ∇2u+∣∇u∣2)dA=∮Γu ∂u∂n ds.\iint_S \left(u\,\nabla^2 u + |\nabla u|^2\right)dA = \oint_\Gamma u\,\frac{\partial u}{\partial n}\,ds. The right side is 0 (since u=0u = 0 on Γ\Gamma). The first term on the left is 0 (since ∇2u=0\nabla^2 u = 0). Hence: ∬S∣∇u∣2 dA=0.\iint_S |\nabla u|^2\,dA = 0.

Step 3. Since ∣∇u∣2=ux2+uy2≥0|\nabla u|^2 = u_x^2 + u_y^2 \ge 0 everywhere and integrates to 0, we have ∣∇u∣2≡0|\nabla u|^2 \equiv 0, so uu is constant in SS. By continuity and u=0u = 0 on Γ\Gamma, this constant is 0. Hence u≡0u \equiv 0, i.e. w1≡w2w_1 \equiv w_2. □\square

Alternative. By the maximum principle, a harmonic function on Sˉ\bar S attains its max and min on Γ\Gamma. Since u=0u = 0 on Γ\Gamma: 0≤u≤00 \le u \le 0, so u≡0u \equiv 0.

Common Traps


laplace-rectangle (1 question; 2025)

Recognition Cues

Solution Template

  1. Assume u(x,y)=X(x)Y(y)u(x,y) = X(x)Y(y). Substitute, separate: X′′/X=−Y′′/Y=−λX''/X = -Y''/Y = -\lambda.
  2. Solve the xx-problem with homogeneous BCs (X(0)=X(a)=0X(0) = X(a) = 0): λn=(nπ/a)2\lambda_n = (n\pi/a)^2, Xn=sin⁡(nπx/a)X_n = \sin(n\pi x/a).
  3. Solve the yy-problem with Y(0)=0Y(0) = 0: Yn=sinh⁡(nπy/a)Y_n = \sinh(n\pi y/a) (not cosh⁡\cosh — that would fail Y(0)=0Y(0) = 0).
  4. Superpose: u=∑n=1∞Bnsin⁡(nπx/a)sinh⁡(nπy/a)u = \sum_{n=1}^\infty B_n \sin(n\pi x/a)\sinh(n\pi y/a).
  5. Apply top BC u(x,b)=f(x)u(x,b) = f(x): Fourier sine series gives Bn=2a sinh⁡(nπb/a)∫0af(ξ)sin⁡(nπξ/a) dξB_n = \dfrac{2}{a\,\sinh(n\pi b/a)}\int_0^a f(\xi)\sin(n\pi\xi/a)\,d\xi.

Worked Example

2025 Paper 2, 2025-P2-Q6a (20 marks)

Solve ∇2u=0\nabla^2 u = 0 on [0,a]×[0,b][0,a]\times[0,b] with u(0,y)=u(a,y)=u(x,0)=0u(0,y)=u(a,y)=u(x,0)=0 and u(x,b)=f(x)u(x,b)=f(x).

Following the template: the three homogeneous BCs force sine eigenfunctions and sinh⁡\sinh in yy. Superposition then gives:

u(x,y)=∑n=1∞Bn sin⁡nπxa sinh⁡nπya,Bn=2a sinh⁡(nπb/a)∫0af(ξ)sin⁡nπξa dξ.\boxed{u(x,y) = \sum_{n=1}^\infty B_n\,\sin\frac{n\pi x}{a}\,\sinh\frac{n\pi y}{a},\quad B_n = \frac{2}{a\,\sinh(n\pi b/a)}\int_0^a f(\xi)\sin\frac{n\pi\xi}{a}\,d\xi.}

Common Traps


laplace-polar (1 question; 2018)

Recognition Cues

Key trap. The general Laplace solution in an annulus is 2π2\pi-periodic in θ\theta (since TT must be single-valued). A datum like cos⁡(θ/2)\cos(\theta/2) has period 4π4\pi — it is not a single 2π2\pi-periodic harmonic. It must be expanded in a Fourier series in {1,cos⁡nθ,sin⁡nθ}\{1, \cos n\theta, \sin n\theta\} on [0,2π][0, 2\pi].

Solution Template

  1. General solution: T=A0+B0ln⁡r+∑n=1∞(Anrn+Bnr−n)cos⁡nθ+(Cnrn+Dnr−n)sin⁡nθT = A_0 + B_0\ln r + \sum_{n=1}^\infty (A_n r^n + B_n r^{-n})\cos n\theta + (C_n r^n + D_n r^{-n})\sin n\theta.
  2. Fourier-expand the outer BC on [0,2π][0, 2\pi]. For Kcos⁡(θ/2)K\cos(\theta/2), only sine terms survive (it’s odd about θ=π\theta = \pi): bn=8Knπ(4n2−1)b_n = \frac{8Kn}{\pi(4n^2-1)}.
  3. Match modes. For each nn: apply inner BC (T(a,θ)=0T(a,\theta) = 0) and outer BC mode coefficients. Solve the 2×22\times2 system for Cn,DnC_n, D_n (sine family only).

Worked Example

2018 Paper 2, 2018-P2-Q8c (20 marks)

Annulus a≤r≤ba \le r \le b; T(a,θ)=0T(a,\theta) = 0; T(b,θ)=Kcos⁡(θ/2)T(b,\theta) = K\cos(\theta/2). Find the temperature distribution.

Fourier expansion of Kcos⁡(θ/2)K\cos(\theta/2) on [0,2π][0, 2\pi]: all cosine and constant terms vanish (odd symmetry about π\pi); the sine coefficients are: bn=1π∫02πKcos⁡θ2sin⁡nθ dθ=8Knπ(4n2−1).b_n = \frac{1}{\pi}\int_0^{2\pi} K\cos\frac{\theta}{2}\sin n\theta\,d\theta = \frac{8Kn}{\pi(4n^2-1)}.

So Kcos⁡(θ/2)=∑n=1∞8Knπ(4n2−1)sin⁡nθK\cos(\theta/2) = \sum_{n=1}^\infty \dfrac{8Kn}{\pi(4n^2-1)}\sin n\theta for 0<θ<2π0 < \theta < 2\pi.

Match modes (only sine family survives). For each nn, the radial function Rn(r)=Cnrn+Dnr−nR_n(r) = C_n r^n + D_n r^{-n} satisfies: Rn(a)=0  ⇒  Dn=−Cna2n.Rn(b)=8Knπ(4n2−1).R_n(a) = 0 \;\Rightarrow\; D_n = -C_n a^{2n}. \qquad R_n(b) = \frac{8Kn}{\pi(4n^2-1)}.

Solving: T(r,θ)=∑n=1∞8Knπ(4n2−1)⋅(r/a)n−(a/r)n(b/a)n−(a/b)n sin⁡nθ.\boxed{T(r,\theta) = \sum_{n=1}^\infty \frac{8Kn}{\pi(4n^2-1)}\cdot\frac{(r/a)^n - (a/r)^n}{(b/a)^n - (a/b)^n}\,\sin n\theta.}

Common Traps


laplace-fourier-transform (1 question; 2024)

Recognition Cues

Solution Template

  1. Fourier transform in xx: Φ(k,y)=ϕ^\Phi(k,y) = \widehat\phi. The PDE becomes Φyy−k2Φ=0\Phi_{yy} - k^2\Phi = 0.
  2. Solve: Φ=A(k)e−∣k∣y+B(k)e∣k∣y\Phi = A(k)e^{-|k|y} + B(k)e^{|k|y}. Decay condition (ϕ→0\phi \to 0 as y→∞y \to \infty) forces B=0B = 0.
  3. Apply BC: Φ(k,0)=F(k)=f^\Phi(k,0) = F(k) = \widehat f, so Φ(k,y)=F(k)e−∣k∣y\Phi(k,y) = F(k)e^{-|k|y}.
  4. Invert by convolution: ϕ=f∗Py\phi = f * P_y where Py(x)=F−1(e−∣k∣y)=yπ(y2+x2)P_y(x) = \mathcal{F}^{-1}(e^{-|k|y}) = \dfrac{y}{\pi(y^2+x^2)}.
  5. Compute Py(x)P_y(x): split the integral at k=0k=0, evaluate each half as a standard exponential, add.

Worked Example

2024 Paper 2, 2024-P2-Q6a (20 marks)

Show ϕ(x,y)=yπ∫−∞∞f(ξ) dξy2+(x−ξ)2\phi(x,y) = \dfrac{y}{\pi}\int_{-\infty}^\infty \dfrac{f(\xi)\,d\xi}{y^2+(x-\xi)^2}.

Steps 1–3 give Φ(k,y)=F(k) e−∣k∣y\Phi(k,y) = F(k)\,e^{-|k|y}.

Step 4 (Poisson kernel): Py(x)=12π∫−∞∞e−∣k∣yeikx dk=12π[1y−ix+1y+ix]=12π⋅2yy2+x2=yπ(y2+x2).P_y(x) = \frac{1}{2\pi}\int_{-\infty}^\infty e^{-|k|y}e^{ikx}\,dk = \frac{1}{2\pi}\left[\frac{1}{y-ix} + \frac{1}{y+ix}\right] = \frac{1}{2\pi}\cdot\frac{2y}{y^2+x^2} = \frac{y}{\pi(y^2+x^2)}.

Step 5 (Convolution): ϕ(x,y)=∫−∞∞f(ξ) Py(x−ξ) dξ=yπ∫−∞∞f(ξ) dξy2+(x−ξ)2.□\phi(x,y) = \int_{-\infty}^\infty f(\xi)\,P_y(x-\xi)\,d\xi = \frac{y}{\pi}\int_{-\infty}^\infty \frac{f(\xi)\,d\xi}{y^2+(x-\xi)^2}. \quad\square

Common Traps

Marks-Aware Writing

10-mark uniqueness: Three steps: difference is harmonic with zero boundary data; apply Green’s identity (write it out); conclude gradient vanishes and boundary forces u=0u=0. State both hypotheses in step 3 explicitly (∣∇u∣2≥0|\nabla u|^2 \ge 0 and integral = 0 implies identically 0).

20-mark separation of variables: Write out the full separation (all three steps: ODE for XX, eigenvalue problem, ODE for YY). Justify why cosh⁡\cosh is excluded (Y(0)≠0Y(0)\ne0). Write the superposition. Derive the Fourier coefficient formula with the correct sinh⁡\sinh denominator.

20-mark Fourier transform (2024): Show each step: FT of PDE, ODE solution, decay argument, application of BC, convolution theorem, Poisson kernel computation. Don’t skip the kernel calculation — it’s worth multiple marks.

Practice Set

(No additional practice items in the scaffold — the four worked examples cover all archetypes.)

Ready to drill what you just read?

Daily Practice turns these patterns into one adaptive set a day — practised daily until they're automatic, free for everyone.

See Daily Practice →

This chapter is part of the Maths Coverage Map — 14 years, mapped. Get the take-away PDF free.