The math optional, made finite. Daily Practice

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(u2u+u2)dA=Γuunds.\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=u1u2v = u_1 - u_2 is harmonic with v=0v = 0 on Γ\Gamma. Applying the identity to vv gives Sv2dA=0\iint_S |\nabla v|^2\,dA = 0, hence v0v \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=w1w2u = 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: Su2dA=Γuu/nds=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: u20|\nabla u|^2 \ge 0 and its integral is 0, so u20u=const|\nabla u|^2 \equiv 0 \Rightarrow u = \text{const}. Boundary condition u=0u = 0 on Γ\Gamma forces u0u \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=w1w2u = 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(u2u+u2)dA=Γuunds.\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: Su2dA=0.\iint_S |\nabla u|^2\,dA = 0.

Step 3. Since u2=ux2+uy20|\nabla u|^2 = u_x^2 + u_y^2 \ge 0 everywhere and integrates to 0, we have u20|\nabla u|^2 \equiv 0, so uu is constant in SS. By continuity and u=0u = 0 on Γ\Gamma, this constant is 0. Hence u0u \equiv 0, i.e. w1w2w_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: 0u00 \le u \le 0, so u0u \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=1Bnsin(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=2asinh(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=1Bnsinnπxasinhnπya,Bn=2asinh(nπb/a)0af(ξ)sinnπξadξ.\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,cosnθ,sinnθ}\{1, \cos n\theta, \sin n\theta\} on [0,2π][0, 2\pi].

Solution Template

  1. General solution: T=A0+B0lnr+n=1(Anrn+Bnrn)cosnθ+(Cnrn+Dnrn)sinnθ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π(4n21)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 arba \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θ2sinnθdθ=8Knπ(4n21).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=18Knπ(4n21)sinnθ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+DnrnR_n(r) = C_n r^n + D_n r^{-n} satisfies: Rn(a)=0    Dn=Cna2n.Rn(b)=8Knπ(4n21).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=18Knπ(4n21)(r/a)n(a/r)n(b/a)n(a/b)nsinnθ.\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 Φyyk2Φ=0\Phi_{yy} - k^2\Phi = 0.
  2. Solve: Φ=A(k)eky+B(k)eky\Phi = A(k)e^{-|k|y} + B(k)e^{|k|y}. Decay condition (ϕ0\phi \to 0 as yy \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)eky\Phi(k,y) = F(k)e^{-|k|y}.
  4. Invert by convolution: ϕ=fPy\phi = f * P_y where Py(x)=F1(eky)=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)eky\Phi(k,y) = F(k)\,e^{-|k|y}.

Step 4 (Poisson kernel): Py(x)=12πekyeikxdk=12π[1yix+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 (u20|\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.)

We've mapped all 13 years of this exam. Get new chapters, tools, and solutions as we release them — free.