TExcelTAD
Home › Electromagnetic Theory: Maxwell's Equations to Waves › Poisson's and Laplace's Equations

Poisson's and Laplace's Equations

Gauss's law and Coulomb's law solve problems where the charge is known everywhere. Real problems are usually posed the other way round: you know the voltages on some conductors (a ground plane at 0 V0\ \text{V}, a track at 3.3 V3.3\ \text{V}, a shield) and want the field in between, where the charges on the conductors are unknown. One second-order differential equation for the potential handles this: Poisson's equation, which becomes Laplace's equation in charge-free space. Its uniqueness theorem is what makes the method of images, shielding and every numerical field solver work.

From Gauss's law to one equation for VV

Combine Gauss's law with the gradient relation (Electric Potential and the Gradient Relation):

∇⋅D=ρv,D=εE,E=−∇V  ⇒  ∇⋅(ε∇V)=−ρv\nabla \cdot \mathbf{D} = \rho_v, \quad \mathbf{D} = \varepsilon\mathbf{E}, \quad \mathbf{E} = -\nabla V \;\Rightarrow\; \nabla \cdot (\varepsilon\nabla V) = -\rho_v

In a homogeneous region (ε\varepsilon constant):

∇2V=−ρvε(Poisson),∇2V=0(Laplace, where ρv=0)\nabla^2 V = -\frac{\rho_v}{\varepsilon} \quad \text{(Poisson)}, \qquad \nabla^2 V = 0 \quad \text{(Laplace, where } \rho_v = 0\text{)}

The Laplacian in the three coordinate systems (Gradient, Divergence, Curl and the Laplacian):

∇2V=∂2V∂x2+∂2V∂y2+∂2V∂z2=1ρ∂∂ρ(ρ∂V∂ρ)+1ρ2∂2V∂ϕ2+∂2V∂z2=1r2∂∂r(r2∂V∂r)+1r2sin⁡θ∂∂θ(sin⁡θ∂V∂θ)+1r2sin⁡2θ∂2V∂ϕ2\begin{aligned} \nabla^2 V &= \frac{\partial^2 V}{\partial x^2} + \frac{\partial^2 V}{\partial y^2} + \frac{\partial^2 V}{\partial z^2} \\ &= \frac{1}{\rho}\frac{\partial}{\partial\rho}\left(\rho\frac{\partial V}{\partial\rho}\right) + \frac{1}{\rho^2}\frac{\partial^2 V}{\partial\phi^2} + \frac{\partial^2 V}{\partial z^2} \\ &= \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) + \frac{1}{r^2\sin^2\theta}\frac{\partial^2 V}{\partial\phi^2} \end{aligned}

Laplace's equation is the same one met in heat flow and potential flow (Laplace's Equation); electrostatics just supplies the boundary conditions.

Uniqueness and what it buys

Uniqueness theorem. In a region bounded by conductors, a solution of Poisson's equation that takes the given potential on every boundary (or, for floating conductors, carries the given total charge) is the only one. The proof: the difference of two solutions satisfies Laplace's equation with zero boundary values, and ∫∣∇(V1−V2)∣2 dv=0\int \lvert\nabla(V_1 - V_2)\rvert^2\,dv = 0 by the divergence theorem, so the difference is zero.

Three consequences used throughout the course:

  • Any method is allowed. A guessed solution, an image charge, a series or a computer grid: if it satisfies the equation and the boundary conditions, it is the answer (The Method of Images, Separation of Variables).
  • Shielding. A charge-free cavity in a conductor has $V = $ constant as a solution, so that is the only one (Conductors in Electrostatic Fields).
  • No maxima inside. A solution of Laplace's equation equals the average of its values on any sphere (or circle, in 2-D) around a point, so it has no local maximum or minimum in a charge-free region. A charge can never be held in stable equilibrium by electrostatic forces alone (Earnshaw's theorem), and the averaging property is exactly what the iterative finite-difference method uses.

One-dimensional solutions

When VV depends on one coordinate only, Laplace's equation integrates twice:

Symmetry Laplace's equation General solution Example
Planar, V(x)V(x) V′′=0V'' = 0 V=Ax+BV = Ax + B parallel plates
Cylindrical, V(ρ)V(\rho) 1ρ(ρV′)′=0\frac{1}{\rho}(\rho V')' = 0 V=Aln⁡ρ+BV = A\ln\rho + B coax
Spherical, V(r)V(r) 1r2(r2V′)′=0\frac{1}{r^2}(r^2 V')' = 0 V=A/r+BV = A/r + B concentric spheres

Fit AA and BB to the two electrode voltages, then E=−∇V\mathbf{E} = -\nabla V, ρs=Dn\rho_s = D_n and C=Q/VC = Q/V: the formulas of Capacitance of Common Geometries come out without any Gauss surface.

A Poisson problem: the depletion region

rho_v = +q Nd |E|, maximum at x = 0 V(W) W0x p+ side at the left (very thin), n side from 0 to W

In a one-sided abrupt junction (The PN Junction) the lightly doped n side is depleted of electrons over a width WW, leaving the fixed donor charge ρv=+qNd\rho_v = +qN_d. In 1-D Poisson's equation is V′′=−qNd/εsV'' = -qN_d/\varepsilon_s; with E=0E = 0 at the depletion edge x=Wx = W and V(0)=0V(0) = 0:

E(x)=−qNdεs(W−x),V(x)=qNdεs(Wx−x22),V(W)=qNdW22εsE(x) = -\frac{qN_d}{\varepsilon_s}(W - x), \qquad V(x) = \frac{qN_d}{\varepsilon_s}\left(Wx - \frac{x^2}{2}\right), \qquad V(W) = \frac{qN_dW^2}{2\varepsilon_s}

So the total junction voltage Vbi+VRV_\text{bi} + V_R sets the width, W=2εs(Vbi+VR)/(qNd)W = \sqrt{2\varepsilon_s(V_\text{bi} + V_R)/(qN_d)}, and the junction capacitance per area is εs/W∝(Vbi+VR)−1/2\varepsilon_s/W \propto (V_\text{bi} + V_R)^{-1/2}: the principle of the varactor diode.

Worked example

Given: silicon (εs=11.7ε0\varepsilon_s = 11.7\varepsilon_0), Nd=1016 cm−3=1022 m−3N_d = 10^{16}\ \text{cm}^{-3} = 10^{22}\ \text{m}^{-3}, total junction voltage Vbi+VR=5 VV_\text{bi} + V_R = 5\ \text{V}, q=1.602×10−19 Cq = 1.602 \times 10^{-19}\ \text{C}.

Find: WW, the peak field and the capacitance per cm2\text{cm}^2.

Solve:

W=2⋅11.7⋅8.854×10−12⋅51.602×10−19⋅1022 m=0.804 μmEmax=qNdWεs=1602⋅0.804×10−61.036×10−10 V/m=1.24×107 V/mC=εsW=1.036×10−100.804×10−6 F/m2=1.29×10−4 F/m2=12.9 nF/cm2\begin{aligned} W &= \sqrt{\frac{2 \cdot 11.7 \cdot 8.854 \times 10^{-12} \cdot 5}{1.602 \times 10^{-19} \cdot 10^{22}}}\ \text{m} = 0.804\ \mu\text{m} \\ E_\text{max} &= \frac{qN_dW}{\varepsilon_s} = \frac{1602 \cdot 0.804 \times 10^{-6}}{1.036 \times 10^{-10}}\ \text{V/m} = 1.24 \times 10^7\ \text{V/m} \\ C &= \frac{\varepsilon_s}{W} = \frac{1.036 \times 10^{-10}}{0.804 \times 10^{-6}}\ \text{F/m}^2 = 1.29 \times 10^{-4}\ \text{F/m}^2 = 12.9\ \text{nF/cm}^2 \end{aligned}

Check: Emax=2V/W=10 V/0.804 μmE_\text{max} = 2V/W = 10\ \text{V}/0.804\ \mu\text{m}, the same, as a triangle of field must give. 12 MV/m12\ \text{MV/m} is a field that would break down air four times over; silicon at this doping avalanches at roughly three times that (about 40 MV/m40\ \text{MV/m}), so this junction is still safe.

In Python: check solutions symbolically, then solve Poisson numerically

python · try it yourself
import numpy as np
import sympy as sp

x, y, z = sp.symbols("x y z", real=True)
lap = lambda f: sp.simplify(sp.diff(f, x, 2) + sp.diff(f, y, 2) + sp.diff(f, z, 2))
print("Laplacian of 1/r:         ", lap(1 / sp.sqrt(x**2 + y**2 + z**2)))
print("Laplacian of ln(rho):     ", lap(sp.log(sp.sqrt(x**2 + y**2))))
print("Laplacian of x^2 - y^2:   ", lap(x**2 - y**2))
print("Laplacian of x^2 + y^2:   ", lap(x**2 + y**2))

# 1-D Poisson for the depletion region: V'' = -q Nd / eps, V(0) = 0, V'(W) = 0
q, eps, Nd, W = 1.602e-19, 11.7 * 8.854e-12, 1e22, 0.804e-6
n = 41
h = W / (n - 1)
A = np.zeros((n, n)); b = np.full(n, -q * Nd / eps * h**2)
A[0, 0] = 1.0; b[0] = 0.0                          # Dirichlet at the junction
for i in range(1, n - 1):
    A[i, i-1:i+2] = [1.0, -2.0, 1.0]
A[-1, -2:] = [2.0, -2.0]                           # ghost node: V'(W) = 0
V = np.linalg.solve(A, b)
xs = np.linspace(0, W, n)
V_exact = q * Nd / eps * (W * xs - xs**2 / 2)
print(f"V(W): finite differences {V[-1]:.4f} V, exact {V_exact[-1]:.4f} V")
print(f"max |error| on the grid: {float(np.max(np.abs(V - V_exact))):.2e} V")
E0 = -(V[1] - V[0]) / h
print(f"E(0) from the first step: {E0/1e6:.2f} MV/m (exact {-q*Nd*W/eps/1e6:.2f} MV/m)")
Laplacian of 1/r:          0
Laplacian of ln(rho):      0
Laplacian of x^2 - y^2:    0
Laplacian of x^2 + y^2:    4
V(W): finite differences 4.9983 V, exact 4.9983 V
max |error| on the grid: 8.53e-14 V
E(0) from the first step: -12.28 MV/m (exact -12.43 MV/m)

The grid potential is exact here because the true solution is a parabola, which the three-point second difference reproduces exactly (Finite Differences). The field, taken as a one-sided first difference, is still 1.2 %1.2\ \% off (the error of a one-sided difference is h∣V′′∣/2h\lvert V''\rvert/2, here h/2Wh/2W of the peak field): derivatives of a field solution are always less accurate than the potential, a point that returns in Finite Differences for Laplace and Poisson. The function x2+y2x^2 + y^2 is not harmonic, so it cannot be a potential in a charge-free region.

Guided lab: the C–V curve of a diode

Hand calculation. For an abrupt junction C∝(Vbi+VR)−1/2C \propto (V_\text{bi} + V_R)^{-1/2}; with Vbi≈0.7 VV_\text{bi} \approx 0.7\ \text{V}, going from VR=1 VV_R = 1\ \text{V} to 9 V9\ \text{V} should reduce CC by 9.7/1.7=2.39\sqrt{9.7/1.7} = 2.39. A linearly graded junction gives the cube root instead, 1.791.79.

Simulation. The Python solver with V(W)=Vbi+VRV(W) = V_\text{bi} + V_R for a few values, solved for WW.

What you would measure. Use a varactor (tuning) diode or a small rectifier diode. Apply reverse bias from a bench supply set to 00 to 9 V9\ \text{V} with the current limit at 1 mA1\ \text{mA}, through a 100 kΩ100\ \text{k}\Omega resistor, and measure CC with an LCR meter coupled through a 100 nF100\ \text{nF} DC-blocking capacitor (or with the meter's internal bias, if it has one); measure and subtract the fixture's own capacitance with the diode removed. Plot ln⁡C\ln C against ln⁡(Vbi+VR)\ln(V_\text{bi} + V_R): the slope is about −0.5-0.5 for an abrupt junction and −0.33-0.33 for a graded one, and tuning varactors with hyperabrupt doping show steeper slopes. Expect a few percent scatter from the fixture correction and from the assumed VbiV_\text{bi} (±0.1 V\pm 0.1\ \text{V} matters most at low bias).

Hazards and safe setup. Low voltage, current-limited; observe the diode's polarity (cathode to the positive supply for reverse bias).

Pitfalls

  • Laplace where there is charge. Inside a depletion region, a space-charge region or an electron beam, use Poisson.
  • ∇2\nabla^2 of a vector versus a scalar. Here ∇2\nabla^2 acts on the scalar VV; in curvilinear coordinates the vector Laplacian is different.
  • Non-uniform ε\varepsilon. Then ∇⋅(ε∇V)=−ρv\nabla \cdot (\varepsilon\nabla V) = -\rho_v; you cannot pull ε\varepsilon out. Solve region by region and join with the boundary conditions (Electrostatic Boundary Conditions).
  • Insufficient boundary conditions. A floating conductor needs its total charge; an open region needs V→0V \to 0 far away.

Practice

  1. Concentric spheres r=1 cmr = 1\ \text{cm} at 100 V100\ \text{V} and r=3 cmr = 3\ \text{cm} at 0 V0\ \text{V}. Find V(2 cm)V(2\ \text{cm}) using V=A/r+BV = A/r + B.
  2. Coax: ρ=1 mm\rho = 1\ \text{mm} at 10 V10\ \text{V}, ρ=4 mm\rho = 4\ \text{mm} at 0 V0\ \text{V}. Find VV and EE at ρ=2 mm\rho = 2\ \text{mm}.
  3. If NdN_d in the worked example is quadrupled at the same 5 V5\ \text{V}, what happens to WW and EmaxE_\text{max}?
Answer
  1. A/0.01+B=100A/0.01 + B = 100, A/0.03+B=0A/0.03 + B = 0: A=1.5 V⋅mA = 1.5\ \text{V} \cdot \text{m}, B=−50 VB = -50\ \text{V}; V(0.02)=75−50=25 VV(0.02) = 75 - 50 = 25\ \text{V}.
  2. V=10ln⁡(4/ρ)/ln⁡4V = 10\ln(4/\rho)/\ln 4 (mm): V(2)=10⋅0.693/1.386=5.0 VV(2) = 10 \cdot 0.693/1.386 = 5.0\ \text{V}; E=10/(ρln⁡4)=10/(0.002⋅1.386)=3.61 kV/mE = 10/(\rho\ln 4) = 10/(0.002 \cdot 1.386) = 3.61\ \text{kV/m}, outward.
  3. W∝Nd−1/2W \propto N_d^{-1/2} halves to 0.402 μm0.402\ \mu\text{m}; Emax=2V/WE_\text{max} = 2V/W doubles to 24.9 MV/m24.9\ \text{MV/m}.

Test yourself

In a homogeneous region with charge density ρv\rho_v, the potential satisfies…

  1. ∇2V=ρv/ε\nabla^2 V = \rho_v/\varepsilon
  2. ∇2V=−ρv/ε\nabla^2 V = -\rho_v/\varepsilon
  3. ∇V=−ρv/ε\nabla V = -\rho_v/\varepsilon
  4. ∇2V=0\nabla^2 V = 0

The general solution of Laplace's equation with cylindrical symmetry, V(ρ)V(\rho), is…

  1. Aρ+BA\rho + B
  2. A/ρ+BA/\rho + B
  3. Aln⁡ρ+BA\ln\rho + B
  4. Aρ2+BA\rho^2 + B

Why may we trust a solution found by guessing (for example with image charges)?

  1. because guesses are usually right
  2. the uniqueness theorem: one solution satisfies the equation and the boundary conditions
  3. because Laplace's equation is linear only
  4. because the field is conservative

Raising the reverse bias of an abrupt junction from 11 to 9 V9\ \text{V} (Vbi=0.7 VV_\text{bi} = 0.7\ \text{V}) changes its capacitance by a factor of about…

  1. 0.42
  2. 0.56
  3. 0.11
  4. 2.39