Part C · the analytic toolkit · spine

23

Static fields: electrostatics and magnetostatics, the same vector calculus twice

Coulomb's law is Newton's with a sign changed, so unit 05 transfers whole; what is new is the boundary-value problem, the vector potential, and a theorem that says how many field equations there must be before you have seen any of them.

needs 05, 10, 19~2½ h slides + 5 h problemsproblems: ./mr problems 23

23 · overview

One sphere, two derivations, five sections

A metal ball of radius $a = 5$ cm, earthed, in a uniform field $E_0 = 10^5\ \mathrm{V\,m^{-1}}$ along $\hat z$. Charge flows onto it until the field inside is zero. Where does it sit, and what field does it make?

the route, in four steps

1. Let $\varphi$ be the potential (volts, $\vec E = -\nabla\varphi$) and $(r,\theta)$ spherical coordinates, $\theta$ from $\hat z$. The metal forces $\varphi = 0$ on $r = a$; far away $\varphi \to -E_0r\cos\theta$, the applied potential; between, $\nabla^2\varphi = 0$.

2. That problem has at most one solution, so any method that finds one has found the one.

3. Every axisymmetric harmonic function is $\sum_\ell(A_\ell r^\ell + B_\ell r^{-\ell-1})P_\ell(\cos\theta)$. Infinity leaves only $A_1 = -E_0$; the surface forces $B_1 = E_0a^3$: $\ \varphi = -E_0\big(r - a^3/r^2\big)\cos\theta$.

4. Or make $E_0$ with two far charges and mirror each in the sphere: the mirror charges form a dipole at the centre with that same potential $E_0a^3\cos\theta/r^2$.

+ − + − + − + − + − φ = 0 3E₀ uniform E₀ far away

The answer, computed: field lines end on the induced charge at right angles and crowd onto the poles, where the field is $3E_0$.

Sections. 1 electrostatics, conductors · 2 Laplace and Poisson · 3 the sphere twice · 4 magnetostatics · 5 Helmholtz: why four equations. Hover the sphere for its numbers.

section 1

Electrostatics is gravity with two signs

Everything unit 05 proved transfers by a dictionary. The differences are the interesting part, and conductors are the biggest of them.

23 · electrostatics

Coulomb's law, and everything unit 05 already proved

the electric field · definition, then law

A static charge density $\rho$ (C m⁻³, $C^1$, compact support) defines $$\vec E(\vec x) = \frac{1}{4\pi\varepsilon_0}\!\int\!\rho(\vec y)\,\frac{\vec x-\vec y}{\lVert\vec x-\vec y\rVert^3}\,\mathrm dV,$$ $$\varphi(\vec x) = \frac{1}{4\pi\varepsilon_0}\!\int\!\frac{\rho(\vec y)}{\lVert\vec x-\vec y\rVert}\,\mathrm dV,$$ and a test charge $q$ at rest feels $q\vec E$. That last clause is Coulomb's law, and it is measured, not proved.

These are unit 05's integrals with $-G\rho_{\mathrm m}$ replaced by $\rho/4\pi\varepsilon_0$. Every theorem there was proved from the integrals, so every theorem transfers with the same substitution.

gravity (unit 05)electrostatics
$\vec g = -\nabla\Phi$$\vec E = -\nabla\varphi$
$\oint\vec g\cdot\mathrm d\vec A = -4\pi GM_{\text{enc}}$$\oint\vec E\cdot\mathrm d\vec A = Q_{\text{enc}}/\varepsilon_0$
$\nabla^2\Phi = 4\pi G\rho_{\mathrm m}$$\nabla^2\varphi = -\rho/\varepsilon_0$
$\nabla\times\vec g = \vec 0$$\nabla\times\vec E = \vec 0$
shell theorem, Earnshawthe same, verbatim
checks

Dimensions: $[\rho/\varepsilon_0] = \mathrm{C\,m^{-3}}/\mathrm{C^2N^{-1}m^{-2}} = \mathrm{N\,C^{-1}m^{-1}} = [\nabla\cdot\vec E]$ ✓. Strength: two protons repel $1.236\times10^{36}$ times more strongly than they attract gravitationally, at any distance.

23 · electrostatics

Two signs: gravity accumulates, electricity screens

difference 1 · no cancellation in gravity

Mass has one sign, so every bit of matter adds to the monopole $M$, and a body's potential depth $GM/R \propto \rho R^2$ grows without bound with its size. Charge has two signs, and opposite charges attract: matter pulls in the opposite charge until it is neutral, and the monopole cancels.

how neutral is neutral?

Two equal bodies, each with a fraction $f$ of its protons uncompensated. Electric repulsion equals gravitational attraction when $(fNe)^2/4\pi\varepsilon_0 = G(Nm_p)^2$, that is $$f = m_p\sqrt{4\pi\varepsilon_0G}/e = 9.0\times10^{-19}.$$ An imbalance of one charge in $10^{18}$ would switch gravity off. The planets orbit by gravity because matter is neutral to better than that.

difference 2 · no shielding of gravity

There is no negative mass, so there is no gravitational conductor and no gravitational Faraday cage. The next slide's conductor — a region where the field is forced to zero by charges rearranging — has no gravitational analogue at all.

what does not change

Superposition, the $1/r^2$ geometry, and hence every differential equation. The two theories differ in their sources and boundary conditions, never in their field equations.

A third difference arrives in section 3: a body's dipole moment can always be removed by choosing the origin at its centre of mass; a neutral body's electric dipole cannot be removed by any choice.

23 · electrostatics

Conductors

conductor

A closed region $K$ containing charges free to move under any force. In electrostatic equilibrium nothing moves, so the force $q\vec E$ on each free charge is zero: $\vec E = \vec 0$ in the interior of $K$.

theorem · what equilibrium forces

In equilibrium, on each connected conductor:

  1. $\rho = 0$ in the interior — all charge sits on the surface, with surface charge density $\sigma$;
  2. $\varphi$ is constant on $K$;
  3. just outside, $\vec E$ is normal to the surface, and $\vec E = (\sigma/\varepsilon_0)\,\hat n$.

Proof. (1) $\rho = \varepsilon_0\nabla\cdot\vec E = 0$. (2) $\nabla\varphi = -\vec E = \vec 0$ on a connected open set. (3) is the next slide's jump conditions with $\vec E = \vec 0$ on the inside. $\square$

what this says about the sphere

"Grounded" means joined by a wire to a reservoir fixing its potential; take that value as $0$. So the problem is: find $\varphi$ outside the ball with

$$\nabla^2\varphi = 0\ \ (r > a),\qquad \varphi = 0\ \ (r = a),$$ $$\varphi + E_0r\cos\theta \to 0\ \ (r\to\infty).$$

The surface charge is then read off as $\sigma = -\varepsilon_0\,\partial_r\varphi\,|_{r=a}$. Nothing about the charge is known in advance; it is an output.

the unknown moved

Unit 05 was given $\rho$ and computed the field. Here part of $\rho$ — the surface charge — is unknown, and what is given is a value of $\varphi$ on a surface. That turns an integral into a boundary-value problem.

23 · electrostatics

Across a charged surface

jump conditions

Let a surface $S$ carry charge density $\sigma$, with unit normal $\hat n$ pointing from side $-$ to side $+$, and let $\vec E$ be continuous up to $S$ from each side. Then $$(\vec E_+ - \vec E_-)\cdot\hat n = \frac{\sigma}{\varepsilon_0},\qquad (\vec E_+ - \vec E_-)\times\hat n = \vec 0 .$$ The normal component jumps by $\sigma/\varepsilon_0$; the tangential component is continuous.

proof

Normal: Gauss's law on a pillbox of face area $A$ and height $h$ straddling $S$: flux $(\vec E_+ - \vec E_-)\cdot\hat n\,A + O(h) = \sigma A/\varepsilon_0 + o(A)$. Let $h\to0$, divide by $A$, let $A\to0$.
Tangential: $\nabla\times\vec E = \vec 0$, so by Stokes the circulation round a thin rectangle straddling $S$ is zero: $(\vec E_+ - \vec E_-)\cdot\hat t\,\ell + O(h) = 0$ for every tangent $\hat t$. $\square$

side + side − σ n̂ pillbox E₊ E₋ t̂ loop

Gauss on the pillbox gives the normal jump; the circulation round the thin loop gives tangential continuity. The two arrows, just above and just below, share their sideways part; only the part along $\hat n$ jumps.

checks

A plane sheet: by symmetry $\vec E = \pm\frac{\sigma}{2\varepsilon_0}\hat n$ on the two sides, jump $\sigma/\varepsilon_0$ ✓. A conductor: $\vec E_- = \vec 0$ gives $\vec E_+ = (\sigma/\varepsilon_0)\hat n$ ✓. Dimensions: $[\sigma/\varepsilon_0] = \mathrm{C\,m^{-2}}/\mathrm{C^2N^{-1}m^{-2}} = \mathrm{N\,C^{-1}}$ ✓.

section 2

Laplace and Poisson: uniqueness, and the Green's function

Before looking for the answer, prove there is only one. Then find the potential of a point charge in every dimension, and see why three is special.

23 · Laplace

Green's identities

Green's identities

For a bounded region $D$ with piecewise-$C^1$ boundary and outward normal $\hat n$, and $u, v \in C^2(\bar D)$: $$\int_D\big(u\nabla^2v + \nabla u\cdot\nabla v\big)\,\mathrm dV = \oint_{\partial D}u\,\partial_nv\,\mathrm dA \tag{I}$$ $$\int_D\big(u\nabla^2v - v\nabla^2u\big)\,\mathrm dV = \oint_{\partial D}\big(u\,\partial_nv - v\,\partial_nu\big)\,\mathrm dA \tag{II}$$ where $\partial_nv = \nabla v\cdot\hat n$.

proof

$\nabla\cdot(u\nabla v) = \nabla u\cdot\nabla v + u\nabla^2v$ by the product rule. Integrate and apply the divergence theorem (unit 05): (I). Swap $u$ and $v$ and subtract: (II). $\square$

what (II) says

If $u$ and $v$ both vanish on $\partial D$, then $\int u\nabla^2v = \int v\nabla^2u$: the Laplacian is a symmetric operator for the inner product $\int_D uv$ under Dirichlet conditions. It is Lagrange's identity of unit 19 with three variables, and every consequence there — real eigenvalues, orthogonal modes — has an analogue here.

what (I) says

With $u = v$ and $\nabla^2u = 0$: $\int_D|\nabla u|^2 = \oint u\,\partial_nu$. The left side is, up to $\varepsilon_0/2$, the field energy in $D$; the identity says a harmonic function's energy is decided on the boundary. The next slide spends this.

Dimensions: each side of (I) is $[u][v]\,\mathrm L$ ✓.

23 · Laplace

Uniqueness, three ways

uniqueness theorem

Let $D$ be bounded, or the exterior of a bounded set. Poisson's equation $\nabla^2\varphi = -\rho/\varepsilon_0$ in $D$ has at most one solution continuous on $\bar D$ and $C^2$ inside with

  1. Dirichlet data: $\varphi$ given on $\partial D$; or
  2. conductor data: $\partial D$ a union of conductors, each with its total charge given;

and, if $D$ is unbounded, $\varphi \to 0$ at infinity (with $\nabla\varphi = O(r^{-2})$ in case 2).

proof of 1

The difference $w$ of two solutions is harmonic with $w = 0$ on $\partial D$. By the maximum principle (unit 05), $\max w$ and $\min w$ over $\bar D$ are attained on $\partial D$, so $w \equiv 0$. Unbounded $D$: apply this to $D\cap B_R$; $|w| \le \max_{|x| = R}|w| \to 0$. $\square$

proof of 2 · by energy

$w$ is harmonic, constant ($=W_i$) on the $i$-th conductor, and carries zero net charge there, $\oint_{S_i}\partial_nw = 0$ (Gauss). Identity (I) with $u = v = w$: $$\int_D|\nabla w|^2 = \sum_i W_i\oint_{S_i}\partial_nw = 0 .$$ So $\nabla w = 0$: the field is unique, and $\varphi$ up to a constant — fixed by $\varphi\to0$ at infinity, or by one conductor's potential. $\square$

for the sphere

$D$ is the exterior of the ball, the data are Dirichlet ($\varphi = 0$ on $r = a$), and the hypothesis at infinity is imposed on $w$, the difference of two solutions: both contain $-E_0r\cos\theta$, which cancels. So there is at most one answer, and any method that produces one has produced the one.

23 · Green's function

Radial solutions, and where the dimension enters

In $\mathbb R^n$ let $f$ depend on $r = \lVert\vec x\rVert$ only. Since $\partial_ir = x_i/r$, the chain rule (unit 03) gives $\partial_if = f'x_i/r$ and $$\partial_i^2f = f''\frac{x_i^2}{r^2} + f'\Big(\frac1r - \frac{x_i^2}{r^3}\Big).$$ Summing over $i$:

the radial Laplacian $$\nabla^2f = f'' + \frac{n-1}{r}f' = \frac{1}{r^{n-1}}\big(r^{n-1}f'\big)' .$$

So $f$ is harmonic on $\mathbb R^n\setminus\{0\}$ iff $r^{n-1}f' = $ const, iff $$f = \begin{cases}\alpha + \beta\,r^{2-n}, & n \ne 2,\\ \alpha + \beta\log r, & n = 2.\end{cases}$$

the geometry behind it

$r^{n-1}f'$ constant is flux conservation: the field $-f'$ crosses spheres whose area grows as $r^{n-1}$, so it must fall as $r^{1-n}$. The exponent is the dimension of the sphere at infinity, not a fact about charge.

r 2r

The same field lines cross the circle of radius $r$ and the one of radius $2r$. In $\mathbb R^n$ the outer sphere has $2^{n-1}$ times the area, so the lines — the field — are $2^{n-1}$ times thinner there.

23 · Green's function · example

Worked: the constant, in one, two and three dimensions

worked example 1 · the fundamental solution

Want: radial $\Gamma_n$, harmonic off $0$, with unit outward flux of $-\nabla\Gamma_n$ through every sphere about $0$ — the potential of a unit charge with $\varepsilon_0 = 1$.

Step 1. From the last slide, $-\Gamma_n'(r) = c\,r^{1-n}$. With $\omega_{n-1}$ the area of the unit sphere in $\mathbb R^n$, the flux through radius $r$ is $c\,r^{1-n}\cdot\omega_{n-1}r^{n-1} = c\,\omega_{n-1}$, independent of $r$. Set it to 1: $c = 1/\omega_{n-1}$.

Step 2. The "sphere" areas: $\omega_0 = 2$ (two points, $\pm r$), $\omega_1 = 2\pi$, $\omega_2 = 4\pi$.

Step 3. Integrate $-\Gamma_n' = r^{1-n}/\omega_{n-1}$, dropping the constant: $$\Gamma_1 = -\frac{|x|}{2},\qquad \Gamma_2 = -\frac{1}{2\pi}\log r,\qquad \boxed{\Gamma_3 = \frac{1}{4\pi r}}$$

Step 4 · checks. $n=3$: $\varphi = q\Gamma_3/\varepsilon_0 = q/4\pi\varepsilon_0r$, Coulomb ✓. $n=2$: a line charge $\lambda$ has $E = \lambda/2\pi\varepsilon_0s$, as Gauss on a cylinder gives directly ✓. $n=1$: a sheet $\sigma$ has $E = \sigma/2\varepsilon_0$ on each side, as the jump conditions gave ✓.

a number

A line charge of $1\ \mathrm{nC\,m^{-1}}$ at $1$ cm: $E = \lambda/2\pi\varepsilon_0s = 1798\ \mathrm{V\,m^{-1}}$.

the sign convention

Physics wants $\Gamma > 0$ near a positive source, so $\Gamma$ satisfies $-\nabla^2\Gamma = $ "unit source". Some books use $G = -\Gamma$ and $\nabla^2G = $ "unit source". Same object, opposite sign.

dimensions

$[\Gamma_n] = \mathrm L^{2-n}$: charge $\times\,\Gamma_n/\varepsilon_0$ is a potential only when the "charge" is per $\mathrm L^{3-n}$ — per metre for a line ($n=2$), per square metre for a sheet ($n=1$) ✓.

23 · Green's function

Why three is special

$n$field $\propto$potential $\propto$at $\infty$
1$r^0$$r$grows
2$r^{-1}$$\log r$grows, slowly
3$r^{-2}$$r^{-1}$$\to 0$
what the plot shows

All three potentials have the same value and the same field at $r = 1$; they are $\omega_{n-1}\Gamma_n$ shifted by a constant. Only the $n = 3$ curve has a limit as $r\to\infty$, and only a potential with a limit can have that limit called zero.

Three is the smallest dimension in which a point charge's potential can be normalised to zero at infinity. Unit 00 promised this: dimensional analysis cannot see it; geometry can.

0 1 2 3 4 5 6 -2 -1 0 1 2 r f(r) n = 1: 1 − r n = 2: −log r n = 3: 1/r − 1 limit −1

The radial harmonic functions with $f(1) = 0$ and $f'(1) = -1$: in one dimension $1 - r$ falls for ever, in two $-\log r$ falls for ever but slowly, in three $1/r - 1$ levels off at $-1$.

23 · Green's function

The representation formula, and the Green's function of a region

Green's representation formula

For $u \in C^2(\bar D)$, $D \subset \mathbb R^3$ bounded, and $\vec x \in D$: $$\begin{aligned}u(\vec x) = &\int_D\Gamma(\vec x-\vec y)\big(-\nabla^2u\big)\,\mathrm dV_y\\ &+ \oint_{\partial D}\big(\Gamma\,\partial_nu - u\,\partial_n\Gamma\big)\,\mathrm dA_y,\end{aligned}$$ with $\Gamma = \Gamma_3$ and derivatives in $\vec y$.

proof: identity (II) with a small ball cut out — full proof in the notes (N)

corollary · Poisson in all space

If $\nabla^2\varphi = -\rho/\varepsilon_0$ with $\rho$ of compact support, $\varphi\to0$ and $\nabla\varphi = O(r^{-2})$, then $\varphi = \frac{1}{4\pi\varepsilon_0}\int\frac{\rho(\vec y)}{\lVert\vec x-\vec y\rVert}\mathrm dV$ — unit 05's integral is the solution.

the Green's function of $D$

$G(\vec x,\vec y) = \Gamma(\vec x-\vec y) - h_{\vec x}(\vec y)$, where $h_{\vec x}$ is harmonic in $D$ and equals $\Gamma(\vec x - \cdot)$ on $\partial D$. So $G = 0$ on $\partial D$, and $$u(\vec x) = \int_DG\,(-\nabla^2u)\,\mathrm dV - \oint_{\partial D}u\,\partial_nG\,\mathrm dA .$$

what $G$ is, physically

$G(\vec x,\cdot)/\varepsilon_0$ is the potential of a unit charge at $\vec x$ in the presence of the grounded surface $\partial D$; $-h_{\vec x}/\varepsilon_0$ is the potential of the charge it induces. Finding $h$ for a sphere is the method of images (section 3).

23 · Laplace

Earnshaw, transferred

Earnshaw's theorem · electrostatic form

A point charge $q$ in a fixed electrostatic field, in a region free of other charge, has no point of stable equilibrium.

proof

Its potential energy $q\varphi$ is harmonic there. A stable equilibrium would be a strict local minimum of $q\varphi$ at an interior point $\vec x_0$: $q\varphi(\vec x_0) < q\varphi$ on a small sphere round $\vec x_0$. But by the mean value property (unit 05), $q\varphi(\vec x_0)$ is the average of $q\varphi$ over that sphere. Contradiction. $\square$

Unit 05 proved this for gravity. The proof is the same proof; only the potential is renamed.

what it does not forbid

Charges held by non-electric forces (atoms: quantum mechanics), fields that change in time (Paul's ion traps), and magnetic levitation of induced moments. It forbids only static, purely electric trapping of a charge by fixed sources.

23 · Laplace

Earnshaw on the sphere: a saddle, never a well

on the sphere

Along the axis above the north pole, $\varphi = -E_0(z - a^3/z^2)$ decreases steadily, so a positive test charge is pushed away and a negative one pulled in; sideways the curvature has the opposite sign. $\partial_z^2\varphi = +6E_0a^3/z^4 > 0$ on the axis, so $\partial_x^2\varphi + \partial_y^2\varphi = -6E_0a^3/z^4$: every "valley" in one direction is a "ridge" in another.

At $P$, $z = 1.5a$: $\partial_z^2\varphi = 6E_0a^3/z^4 = 1.19\,E_0/a$, and $\partial_x^2\varphi = \partial_y^2\varphi = -0.59\,E_0/a$ — summing to zero, as Laplace requires.

P P at z = 1.5a -0.3 0 0.3 −0.03 0.00 0.03 0.06 step from P / a Δφ / E₀a along the axis across it

Computed from $\varphi = -E_0(r - a^3/r^2)\cos\theta$: the potential near $P$ minus its linear part. Stepping along the axis it curves up; stepping across, down — no direction is a well for both signs at once.

section 3

The grounded sphere, twice

Once systematically, by separating variables with unit 19's completeness behind it; once by a trick, with two fictitious charges; and then the proof that the trick is the system in disguise.

23 · the sphere · Legendre

Separation in spherical coordinates

theorem · axisymmetric harmonic expansion

Let $u$ be $C^2$, harmonic and independent of $\phi$ on a shell $r_1 < r < r_2$. Then there are constants $A_\ell, B_\ell$ with $$u(r,\theta) = \sum_{\ell\ge0}\Big(A_\ell r^\ell + \frac{B_\ell}{r^{\ell+1}}\Big)P_\ell(\cos\theta),$$ the series converging in mean square on each sphere $r = $ const.

proof

Set $u_\ell(r) = \frac{2\ell+1}{2}\int_0^\pi u\,P_\ell(\cos\theta)\sin\theta\,\mathrm d\theta$. Laplace's equation (unit 19's spherical form) says $\partial_r(r^2\partial_ru) = -\Delta_{S^2}u$. Differentiate under the integral (Leibniz, unit 18) and move $\Delta_{S^2}$ onto $P_\ell$ by two integrations by parts in $\theta$, the boundary terms dying with $\sin\theta$: $$\big(r^2u_\ell'\big)' = \ell(\ell+1)\,u_\ell .$$ Euler's equation: $r^s$ solves it iff $s(s+1) = \ell(\ell+1)$, so $s = \ell$ or $-\ell-1$, and these span the two-dimensional solution space. Completeness of the $P_\ell$ in $L^2[-1,1]$ (unit 19) gives the series. $\square$

reading it

$r^\ell P_\ell$ is regular at the origin and grows; $r^{-\ell-1}P_\ell$ decays and is singular at the origin. A problem inside a sphere keeps the first kind; outside, conditions at infinity decide the $A_\ell$.

why completeness is essential

Without it the $u_\ell$ would be numbers attached to $u$ with no guarantee that they rebuild it. Unit 19 proved the $P_\ell$ complete, and that is what turns "try $r^\ell P_\ell$" into "every solution is a sum of these".

Without axial symmetry, the same proof with $Y_\ell^m$ in place of $P_\ell$ gives $\sum_{\ell,m}(A_{\ell m}r^\ell + B_{\ell m}r^{-\ell-1})Y_\ell^m$ (unit 19, completeness cited there).

23 · the sphere · example

Worked: the sphere by Legendre expansion

worked example 2 · the grounded sphere

Step 1 · the form. The data are axisymmetric, the answer is unique, and rotating it about $z$ gives another answer — so it is axisymmetric. On $r > a$: $\varphi = \sum_\ell(A_\ell r^\ell + B_\ell r^{-\ell-1})P_\ell(\cos\theta)$.

Step 2 · infinity. $\varphi + E_0rP_1 \to 0$, and $P_1(\cos\theta) = \cos\theta$. Its $\ell$-th coefficient $A_\ell r^\ell + B_\ell r^{-\ell-1} + E_0r\,\delta_{\ell1}$ must tend to $0$, so $$A_1 = -E_0,\qquad A_\ell = 0\ (\ell \ne 1).$$

Step 3 · the surface. $\varphi = 0$ at $r = a$ for every $\theta$, so every coefficient vanishes there: $A_\ell a^\ell + B_\ell a^{-\ell-1} = 0$, i.e. $$B_\ell = -A_\ell\,a^{2\ell+1}:\qquad B_1 = E_0a^3,\quad B_\ell = 0\ (\ell\ne1).$$

Step 4 · assemble. $$\boxed{\ \varphi = -E_0\Big(r - \frac{a^3}{r^2}\Big)\cos\theta\ }\qquad (r \ge a).$$

checks

Laplace: $r\cos\theta = z$ is harmonic; $r^{-2}\cos\theta = -\partial_z(1/r)$ is a derivative of a harmonic function, so harmonic ✓.
Boundary: $r = a$ gives $0$ ✓. Infinity: the correction $E_0a^3\cos\theta/r^2 \to 0$ ✓.
Dimensions: $[E_0r] = \mathrm{V\,m^{-1}}\cdot\mathrm m = \mathrm V$ ✓.
Limit $a\to0$: the ball disappears and $\varphi = -E_0z$, the bare field ✓.
Special case $\theta = \pi/2$: $\varphi = 0$ on the whole equatorial plane, which is at the ball's potential by the up–down antisymmetry of the problem ✓.

one hypothesis spent silently

Step 3 uses that $\varphi$ is continuous up to $r = a$, so that $u_\ell(r)\to u_\ell(a) = 0$. That is part of what "the potential is $0$ on the sphere" means, and it is exactly the uniqueness theorem's hypothesis.

23 · the sphere

Reading the answer: charge, dipole, and a factor of three

From $\varphi = -E_0(r - a^3/r^2)\cos\theta$: $$E_r = -\partial_r\varphi = E_0\Big(1 + \frac{2a^3}{r^3}\Big)\cos\theta,$$ $$E_\theta = -\frac1r\partial_\theta\varphi = -E_0\Big(1 - \frac{a^3}{r^3}\Big)\sin\theta .$$

three results

Surface charge (jump condition, $\vec E = 0$ inside): $$\boxed{\sigma = \varepsilon_0E_r|_{r=a} = 3\varepsilon_0E_0\cos\theta}$$ Induced dipole: the $r^{-2}$ term is $\dfrac{p\cos\theta}{4\pi\varepsilon_0r^2}$ with $$\boxed{p = 4\pi\varepsilon_0a^3E_0}$$ Field at the poles: $|\vec E| = 3E_0$. At $r = a$, $E_\theta = 0$: the field meets the conductor normally ✓.

φ = 0 −0.8 +0.8 −1.6 +1.6 −2.4 +2.4

Equipotentials of the answer, in steps of $0.4\,E_0a$, computed; field lines faint behind. The level $\varphi = 0$ is the sphere together with the equatorial plane. Above and below the poles the levels crowd together, towards a third of their far spacing at the surface: that is the $3E_0$.

23 · the sphere

The sphere, in numbers

with numbers · $a = 5.00$ cm, $E_0 = 1.00\times10^5\ \mathrm{V\,m^{-1}}$
peak $\sigma = 3\varepsilon_0E_0$$2.656\ \mu\mathrm{C\,m^{-2}}$
charge on the upper hemisphere, $3\pi\varepsilon_0E_0a^2$$+20.86\ \mathrm{nC}$
total induced charge$0$
dipole $p$$1.391\times10^{-9}\ \mathrm{C\,m}$
field at the poles$3.00\times10^5\ \mathrm{V\,m^{-1}}$

The pole field is a tenth of the roughly $3\times10^6\ \mathrm{V\,m^{-1}}$ at which dry air breaks down; raise $E_0$ tenfold and the ball sparks at its poles first.

checks

$[\varepsilon_0E_0] = \mathrm{C\,m^{-2}}$ ✓; $[\varepsilon_0a^3E_0] = \mathrm{C\,m}$ ✓. Total charge $\propto\int_0^\pi\cos\theta\sin\theta\,\mathrm d\theta = 0$ ✓. Limit $a\to0$: $p\to0$ ✓.

−1 0 1 −2.66 0 +2.66 z / a σ (μC m⁻²) +20.86 nC −20.86 nC equal heights, equal areas

$\sigma = 3\varepsilon_0E_0\,z/a$ is linear in height. A band of the sphere of height $\mathrm dz$ has area $2\pi a\,\mathrm dz$ wherever it is (right), so each triangle's area times $2\pi a$ is a hemisphere's charge: equal and opposite.

23 · the sphere · images

The method of images, and why it is allowed

the method of images

To solve a problem in a region $D$ bounded by grounded conductors, place fictitious charges outside $D$ so that the total potential vanishes on $\partial D$. The result is harmonic in $D$ (away from the real charges) and has the right boundary values, so by uniqueness it is the solution in $D$. Outside $D$ it means nothing.

the plane

Charge $q$ at height $d$ above the grounded plane $z = 0$: image $-q$ at depth $d$. Every point of the plane is equidistant from both, so $\varphi = 0$ there. Problem P2 finishes it.

+q −q, image equal distances z = 0, grounded conductor: no field here

Field lines of $q$ and its image, computed. Above the plane they are the real field: every line from $q$ ends on the plane, at right angles. Dashed, below, is the fictitious continuation to the image — the real field there is zero.

23 · the sphere · images

The Kelvin image in a sphere

Kelvin image in a sphere

A charge $q$ at distance $R > a$ from the centre of a grounded sphere of radius $a$ has image $$q' = -\frac{a}{R}\,q\quad\text{at distance}\quad b = \frac{a^2}{R}$$ along the same ray. Together they give $\varphi = 0$ on the sphere.

proof · Apollonius

Let $\hat e$ be the unit vector along the ray. For $\vec y$ on the sphere at angle $\gamma$ from it, $|\vec y - b\hat e|^2 = a^2 + b^2 - 2ab\cos\gamma = \frac{a^2}{R^2}\big(R^2 + a^2 - 2aR\cos\gamma\big) = \frac{a^2}{R^2}|\vec y - R\hat e|^2 .$ So $q/|\vec y - R\hat e| + q'/|\vec y - b\hat e| = 0$. $\square$

Limit $a,R\to\infty$ with $R - a = d$ fixed: $q'\to-q$ and $a - b = ad/R \to d$, the plane ✓.

γ y q q′ = −qa/R |y − Rê| |y − bê| b = a²/R R a

Drawn to scale with $R = 2.5a$, so that $b = 0.4a$ and $q' = -0.4q$; wherever $\vec y$ is on the sphere, its distances to the two charges are in the ratio $a/R$ — the ratio of the charges — and their potentials cancel.

23 · the sphere · example

Worked: the sphere by images

worked example 3 · two charges and their images

Step 1 · make the uniform field. Put $+Q$ at $z = -R$ and $-Q$ at $z = +R$. Near the origin each contributes $Q/4\pi\varepsilon_0R^2$ along $+\hat z$, so choose $$Q = 2\pi\varepsilon_0R^2E_0 .$$ As $R\to\infty$ the field near the ball tends to $E_0\hat z$ (next slide).

Step 2 · image each. By Kelvin: $+Q$ at $-R$ has image $-Qa/R$ at $-a^2/R$; $-Q$ at $+R$ has image $+Qa/R$ at $+a^2/R$. The four charges give $\varphi = 0$ on the sphere, by linearity.

Step 3 · the images form a dipole. Total image charge $0$. Moment $$p = \frac{Qa}{R}\cdot\frac{a^2}{R} - \frac{Qa}{R}\cdot\Big(-\frac{a^2}{R}\Big) = \frac{2Qa^3}{R^2} = 4\pi\varepsilon_0a^3E_0,$$ independent of $R$, with separation $2a^2/R \to 0$: an ideal dipole at the centre.

Step 4 · the limit. Sources: $-E_0r\cos\theta$. Images: $p\cos\theta/4\pi\varepsilon_0r^2 = E_0a^3\cos\theta/r^2$. Sum: $-E_0(r - a^3/r^2)\cos\theta$ — worked example 2's answer ✓.

−Q at +R +Q at −R +Qa/R −Qa/R a

Schematic, not to scale: with $R = 1$ m the source charges are $20$ ball radii away and the images only $a^2/R = 2.5$ mm from the centre.

numbers, $R = 1$ m

$Q = 5.563\ \mu\mathrm C$; images $\pm0.2782\ \mu\mathrm C$ at $\pm2.5$ mm; $p = 1.391\times10^{-9}\ \mathrm{C\,m}$ — the same as before, at every $R$.

23 · the sphere · reconciliation

Two derivations, term by term

one charge and its image, in Legendre form

Charge $q$ at $R\hat z$; image $q' = -qa/R$ at $b\hat z$. By unit 10's generating function, for $b < r < R$: $$4\pi\varepsilon_0\varphi = \sum_\ell\Big(\underbrace{\frac{q}{R^{\ell+1}}}_{A_\ell}r^\ell + \underbrace{\frac{q'b^\ell}{1}}_{B_\ell}\frac{1}{r^{\ell+1}}\Big)P_\ell(\cos\theta).$$ And $q'b^\ell = -\dfrac{qa}{R}\dfrac{a^{2\ell}}{R^\ell} = -\dfrac{q}{R^{\ell+1}}a^{2\ell+1}$, so $$\boxed{B_\ell = -A_\ell\,a^{2\ell+1}\ \text{ for every }\ell}$$ — exactly the Legendre boundary condition of worked example 2, step 3.

what the image is

The source contributes one growing term $A_\ell r^\ell$ per $\ell$. The sphere demands a decaying partner $-A_\ell a^{2\ell+1}r^{-\ell-1}$ for each. A single point charge at $a^2/R$ happens to supply all of them at once, because its coefficients $q'b^\ell$ are geometric in $\ell$ — as the $A_\ell$ are. That is the whole trick.

the limit, term by term

For the pair, $A_\ell = -\frac{2Q}{4\pi\varepsilon_0R^{\ell+1}}$ for odd $\ell$, $0$ for even. With $Q = 2\pi\varepsilon_0R^2E_0$: $A_1 = -E_0$, and $A_3 = -E_0/R^2$, $A_5 = -E_0/R^4$, …, all $\to0$. At $r = a$, $R = 1$ m the $\ell = 3$ term is $(a/R)^2 = 0.25\,\%$ of the $\ell = 1$ term.

23 · separation

Cylindrical coordinates: the same method, other special functions

In cylindrical coordinates $(s, \phi, z)$ (unit 19's polar Laplacian plus $\partial_z^2$): $$\nabla^2\varphi = \frac1s\partial_s(s\,\partial_s\varphi) + \frac1{s^2}\partial_\phi^2\varphi + \partial_z^2\varphi .$$ Separate $\varphi = S(s)\,\mathrm e^{\mathrm im\phi}Z(z)$ with $m\in\mathbb Z$ by periodicity and $Z'' = k^2Z$:

$$s^2S'' + sS' + (k^2s^2 - m^2)S = 0 .$$
caseradial solutions
$k \ne 0$$J_m(ks),\ Y_m(ks)$ — Bessel, unit 09
$k = 0$, $m \ne 0$$s^{m},\ s^{-m}$
$k = 0$, $m = 0$$1,\ \log s$

A problem with no $z$-dependence has $k = 0$, and then the radial solutions are powers — exactly as on the sphere, where they were $r^\ell$ and $r^{-\ell-1}$.

23 · separation

The cylinder beside the sphere

the cylinder beside the sphere

A grounded conducting cylinder, radius $a$, in a transverse field $E_0\hat x$: $k = 0$, $m = 1$, and the same two conditions give $$\varphi = -E_0\Big(s - \frac{a^2}{s}\Big)\cos\phi,\qquad \sigma = 2\varepsilon_0E_0\cos\phi .$$ Peak field $2E_0$ where the sphere had $3E_0$.

the factor is the dimension

In $\mathbb R^n$, $r^{1-n}\cos\theta = \frac{1}{2-n}\partial_z(r^{2-n})$ is harmonic ($n = 2$: $s^{-1}\cos\phi = \partial_x\log s$), and $\varphi = -E_0(r - a^n r^{1-n})\cos\theta$ solves the ball problem, with $E_r(a) = E_0\big(1 + (n-1)\big) = nE_0$. $n = 2$: cylinder ✓. $n = 3$: sphere ✓.

1 2 3 4 1 distance from the centre / a E / E₀ n = 4: 4 sphere, n = 3: 3 cylinder, n = 2: 2 applied field

The field on the line through the centre along $\vec E_0$, from the surface outwards: $E_0(1 + (n-1)a^n/r^n)$. It starts at $nE_0$ and falls to $E_0$, faster in higher dimension — the induced term is a dipole, $\propto r^{-n}$.

23 · multipoles

Multipoles, as a boundary-value tool

the exterior expansion

If all charge lies in $r < r_0$, then on $r > r_0$, with $\varphi\to0$, $$\varphi = \frac{1}{4\pi\varepsilon_0}\sum_\ell\frac{q_\ell}{r^{\ell+1}}P_\ell(\cos\theta),\quad q_\ell = \int\rho\,r'^\ell P_\ell(\cos\theta')\,\mathrm dV'$$ for axisymmetric $\rho$: unit 10's multipole moments, now as the $B_\ell$ of the expansion theorem.

proof, without the addition theorem

$\varphi$ is harmonic and axisymmetric on $r > r_0$; decay kills every $A_\ell$. On the axis $P_\ell(1) = 1$, so $4\pi\varepsilon_0\varphi(z\hat z) = \sum B_\ell z^{-\ell-1}$. But unit 10's expansion on the axis, where $\cos\gamma = \cos\theta'$ exactly, gives $\sum q_\ell z^{-\ell-1}$. A power series in $1/z$ has unique coefficients: $B_\ell = q_\ell$. $\square$

difference 3 · the dipole cannot be moved away

Shifting the origin by $\vec c$ changes the dipole to $\vec p - Q\vec c$. Gravity has $Q = M > 0$, so $\vec c = \vec p/M$ — the centre of mass — kills it: unit 10's vanishing $\ell = 1$ term. A neutral charge distribution has $Q = 0$, and its dipole is the same about every origin.

on the sphere

$\sigma = 3\varepsilon_0E_0\cos\theta = 3\varepsilon_0E_0P_1(\cos\theta)$, so $q_\ell = 3\varepsilon_0E_0a^{\ell+2}\cdot2\pi\int_{-1}^1P_1P_\ell\,\mathrm dx$, which is $0$ unless $\ell = 1$ (orthogonality, unit 10) and $4\pi\varepsilon_0E_0a^3$ when it is. The induced field is a pure dipole, exactly ✓.

section 4

Magnetostatics: the field with no sources

A field made by moving charge, with zero divergence everywhere, a curl fixed by the current, a potential that is a vector, and unit 04's vortex hiding in it.

23 · magnetostatics

The Lorentz force, currents, and unit 12's Lagrangian

Lorentz force · the definition of $\vec B$

A charge $q$ moving with velocity $\vec v$ feels $\vec F = q(\vec E + \vec v\times\vec B)$. The vector field $\vec B$ is defined by the velocity-dependent part; that the force has this form is measured.

current density

$\vec J$ (A m⁻²): charge crossing unit area per unit time, so the current through a surface is $I = \int_S\vec J\cdot\mathrm d\vec A$. Charge conservation plus unit 05's localisation lemma give the continuity equation $\partial_t\rho + \nabla\cdot\vec J = 0$. Magnetostatics is the case $\partial_t\rho = 0$, so $\nabla\cdot\vec J = 0$.

the magnetic force does no work

$\vec v\cdot(\vec v\times\vec B) = 0$, so $\frac{\mathrm d}{\mathrm dt}\big(\tfrac12m|\vec v|^2 + q\varphi\big) = 0$ in static fields. This is why unit 04 put magnetism "outside the frame": it is not a gradient, yet it cannot change the energy.

unit 12, paid

Unit 12 showed $L = \tfrac12m|\dot{\vec x}|^2 - q\varphi + q\dot{\vec x}\cdot\vec A$ gives $m\ddot{\vec x} = q(\vec E + \dot{\vec x}\times\vec B)$ if $\vec B = \nabla\times\vec A$ — and took the existence of $\vec A$ on trust. This section proves it: every static $\vec B$ is a curl, because it has no sources.

23 · magnetostatics

Biot–Savart, and the two equations it hides

Biot–Savart law · measured

A steady current density $\vec J$ ($C^1$, compact support, $\nabla\cdot\vec J = 0$) produces $$\vec B(\vec x) = \frac{\mu_0}{4\pi}\int\frac{\vec J(\vec y)\times(\vec x-\vec y)}{\lVert\vec x-\vec y\rVert^3}\,\mathrm dV_y .$$

theorem · the field equations of magnetostatics

With $\vec A_0(\vec x) = \frac{\mu_0}{4\pi}\int\frac{\vec J(\vec y)}{\lVert\vec x-\vec y\rVert}\mathrm dV_y$: $$\vec B = \nabla\times\vec A_0,\qquad \nabla\cdot\vec B = 0,\qquad \nabla\times\vec B = \mu_0\vec J .$$

proof

1. $\nabla_x\times\big(\vec J(\vec y)/|\vec x-\vec y|\big) = \nabla_x\big(1/|\vec x-\vec y|\big)\times\vec J = \vec J\times\frac{\vec x-\vec y}{|\vec x-\vec y|^3}$; differentiate under the integral as unit 05 did for $\vec g$.
2. $\nabla\cdot(\nabla\times\vec A) = 0$ for $C^2$ fields, by Clairaut.
3. $\nabla\times\nabla\times\vec A_0 = \nabla(\nabla\cdot\vec A_0) - \nabla^2\vec A_0$. Poisson, componentwise (unit 05): $\nabla^2\vec A_0 = -\mu_0\vec J$. And $\nabla\cdot\vec A_0 = 0$ because $\nabla\cdot\vec J = 0$ (notes). $\square$

no electrostatic analogue

$\nabla\cdot\vec E = \rho/\varepsilon_0$ has a source; $\nabla\cdot\vec B = 0$ has none. No magnetic charge has ever been found. It is an empirical fact, not a theorem — Biot–Savart builds it in.

Dimensions: $[\mu_0J\cdot\mathrm L] = \mathrm{N\,A^{-2}}\cdot\mathrm{A\,m^{-2}}\cdot\mathrm m = \mathrm T$ ✓.

23 · magnetostatics

Ampère's law is Stokes' theorem applied to $\vec B$

Ampère's law

For any oriented surface $S$ with boundary loop $\partial S$: $$\oint_{\partial S}\vec B\cdot\mathrm d\vec r = \mu_0\int_S\vec J\cdot\mathrm d\vec A = \mu_0I_{\text{enc}} .$$

Proof. Stokes' theorem (unit 04, for general surfaces cited there with proof in unit 34) and $\nabla\times\vec B = \mu_0\vec J$. $\square$

the surface does not matter — because $\nabla\cdot\vec J = 0$

Two surfaces with the same boundary together bound a region $V$. The difference of their fluxes is $\oint_{\partial V}\vec J\cdot\mathrm d\vec A = \int_V\nabla\cdot\vec J = 0$. A charging capacitor breaks this — unit 24's displacement current is the repair.

I ∂S S₁ S₂ V

One loop $\partial S$, two surfaces on it: the flat disc $S_1$ and the dome $S_2$. The wire pierces both, so both see current $I$. Together they enclose $V$; whatever current enters $V$ through one must leave through the other.

23 · magnetostatics

A long straight wire

a long straight wire

Current $I$ along the $z$-axis; $s$ is the distance from the axis. In Biot–Savart each element contributes along $\hat z\times(\vec x - \vec y)$, which is azimuthal, so $\vec B = B(s)\hat\phi$. Ampère on a circle of radius $s$: $2\pi sB = \mu_0I$, so $$\vec B = \frac{\mu_0I}{2\pi s}\hat\phi = \frac{\mu_0I}{2\pi}\,\vec F_{\mathrm V} .$$

This is unit 04's vortex, scaled: curl-free off the wire, circulation $\mu_0I$ round it. The "hole" in unit 04's domain was the wire. $1$ A at $1$ cm: $2.000\times10^{-5}$ T.

Dimensions: $[\mu_0I/s] = \mathrm{N\,A^{-2}}\cdot\mathrm A/\mathrm m = \mathrm T$ ✓. Limit $s\to\infty$: $B\to0$ ✓.

2πs B = μ₀I (dashed loop)

Looking down the wire, current towards you. $\vec B$ circles anticlockwise with length $\propto 1/s$; along the dashed circle $B$ is constant and parallel to the path, so the circulation is just $2\pi s\,B$.

23 · vector potential

The vector potential: Poincaré's lemma one degree up

Poincaré lemma for divergence-free fields

Let $U$ be open and star-shaped about $\vec 0$, and $\vec B \in C^1(U)$ with $\nabla\cdot\vec B = 0$. Then $\vec B$ has a vector potential on $U$, a field $\vec A$ with $\vec B = \nabla\times\vec A$: $$\vec A(\vec x) = \int_0^1t\,\vec B(t\vec x)\times\vec x\,\mathrm dt .$$

proof

By the product rule for curls (notes), with $\nabla\cdot\vec x = 3$, $(\vec B\cdot\nabla)\vec x = \vec B$ and $\nabla_x\cdot[\vec B(t\vec x)] = t(\nabla\cdot\vec B)(t\vec x) = 0$: $$\nabla\times\big(\vec B(t\vec x)\times\vec x\big) = 2\vec B(t\vec x) + t\,\tfrac{\mathrm d}{\mathrm dt}\vec B(t\vec x).$$ Times $t$, this is $\tfrac{\mathrm d}{\mathrm dt}\big(t^2\vec B(t\vec x)\big)$. Integrate over $[0,1]$, moving the curl inside (Leibniz, unit 18): $\nabla\times\vec A = \vec B(\vec x)$. $\square$

the ladder
closedthen locallyunit
$\nabla\times\vec F = \vec 0$$\vec F = \nabla W$04
$\nabla\cdot\vec B = 0$$\vec B = \nabla\times\vec A$23

Since $\nabla\cdot\vec B = 0$ on all of $\mathbb R^3$ — star-shaped — every static $\vec B$ has a global vector potential. The next slide shows the hypothesis is needed.

23 · vector potential

The monopole: a hole the lemma cannot cross

the hypothesis bites · the monopole

$\vec B = g\,\hat r/r^2$ on $\mathbb R^3\setminus\{0\}$ has $\nabla\cdot\vec B = 0$, but flux $4\pi g$ through the unit sphere. If $\vec B = \nabla\times\vec A$, Stokes on the two hemispheres, whose boundary circles run oppositely, would give flux $0$. So no $\vec A$ exists: one degree above the vortex, a sphere-shaped hole instead of a line.

Here $g$ is a constant, the monopole's strength. The domain $\mathbb R^3\setminus\{0\}$ is not star-shaped about any point: the segment from a point to its mirror image through the origin leaves it.

g north south

The unit sphere about the monopole, cut at the equator. Each hemisphere has the equator as its boundary, traversed in opposite senses (the two arrows). If $\vec B$ were a curl, Stokes would give each hemisphere's flux as that boundary circulation — two numbers summing to $0$, not $4\pi g$.

23 · vector potential

Gauge freedom, and the Coulomb gauge

gauge transformation

$\vec A\mapsto\vec A + \nabla\chi$, for any $C^2$ function $\chi$. It leaves $\vec B = \nabla\times\vec A$ unchanged, since the curl of a gradient is zero (unit 04). A choice of $\vec A$ within its class is a gauge.

the Coulomb gauge is always available

Given any $\vec A$ with $f = \nabla\cdot\vec A$ of compact support and $C^1$, let $\chi$ solve $\nabla^2\chi = -f$ (unit 05's integral). Then $\nabla\cdot(\vec A + \nabla\chi) = 0$. In this gauge $$\nabla^2\vec A = -\mu_0\vec J,$$ three copies of Poisson's equation.

magnetostatics is electrostatics three times

In Coulomb gauge each Cartesian component $A_i$ obeys the equation $\varphi$ obeys, with $\mu_0J_i$ for $\rho/\varepsilon_0$. So $\vec A_0$ of the Biot–Savart slide is the Coulomb-gauge potential, and every tool of section 2 applies to it componentwise.

only in Cartesian components

$\nabla^2\vec A$ means $(\nabla^2A_x, \nabla^2A_y, \nabla^2A_z)$. In spherical or cylindrical components the vector Laplacian is not the scalar Laplacian of each component — the unit vectors vary. Use $\nabla(\nabla\cdot\vec A) - \nabla\times\nabla\times\vec A$ there.

The gauge function is itself unique only up to adding a harmonic function: the freedom never quite goes away.

23 · vector potential · example

Worked: a uniform field, in two gauges

worked example 4 · $\vec B = B\hat z$, uniform

Step 1 · the lemma's formula. $\vec B(t\vec x) = \vec B$ is constant, so $$\vec A_{\mathrm S} = \int_0^1t\,\mathrm dt\;\vec B\times\vec x = \tfrac12\vec B\times\vec x = \tfrac B2(-y,\ x,\ 0),$$ the symmetric gauge.

Step 2 · check. $\nabla\times\vec A_{\mathrm S} = \big(0,\ 0,\ \partial_x(\tfrac B2x) - \partial_y(-\tfrac B2y)\big) = (0, 0, B)$ ✓. And $\nabla\cdot\vec A_{\mathrm S} = 0$: already Coulomb gauge.

Step 3 · another. $\vec A_{\mathrm L} = (0,\ Bx,\ 0)$, the Landau gauge: curl $= (0,0,\partial_x(Bx)) = (0,0,B)$ ✓, divergence $0$ ✓.

Step 4 · the gauge function. $\vec A_{\mathrm L} - \vec A_{\mathrm S} = \tfrac B2(y,\ x,\ 0) = \nabla\chi$ with $$\chi = \tfrac B2\,xy,$$ harmonic ($\nabla^2(xy) = 0$) — as it must be, since both potentials are in Coulomb gauge.

checks

Dimensions: $[A] = \mathrm{T\,m}$, and $[q\vec A] = \mathrm{C\,T\,m} = \mathrm{kg\,m\,s^{-1}}$, a momentum, as unit 12's $\vec p = m\dot{\vec x} + q\vec A$ requires ✓.

Circulation of $\vec A_{\mathrm S}$ round the circle of radius $s_0$ in the plane $z = 0$: $\tfrac B2s_0\cdot2\pi s_0 = B\pi s_0^2$, the enclosed flux ✓ (Stokes).

23 · vector potential · example

Two gauges, one field, drawn

x y B symmetric gauge

$\vec A_{\mathrm S} = \tfrac B2(-y, x, 0)$: a swirl about the origin, growing with distance from it — unchanged by rotations about $z$.

x y B Landau gauge

$\vec A_{\mathrm L} = (0, Bx, 0)$: a shear, the same on every horizontal line — unchanged by moving along $y$.

why two

$\vec A_{\mathrm S}$ is symmetric under rotations about $z$: the canonical angular momentum about $z$ is conserved (notes). $\vec A_{\mathrm L}$ is independent of $y$: $p_y$ is cyclic (unit 12). Same physics; a gauge makes different conservation laws visible.

23 · vector potential

The solenoid: closed but not exact, again

A long solenoid: radius $R$, $n$ turns per metre, current $I$. Ampère on rectangles gives (P9) $$\vec B = \mu_0nI\,\hat z\ \ (s < R),\qquad \vec B = \vec 0\ \ (s > R).$$ Flux $\Phi = \mu_0nI\pi R^2$. In the symmetric gauge, $\vec A = A(s)\hat\phi$ and Stokes on a disc of radius $s$ gives $2\pi sA(s) = $ enclosed flux:

$$\vec A = \frac{\mu_0nI\,s}{2}\hat\phi\ \ (s<R),$$ $$\vec A = \frac{\Phi}{2\pi s}\hat\phi = \frac{\Phi}{2\pi}\vec F_{\mathrm V}\ \ (s > R).$$
0 3.77 B (mT) B = 0 outside 0 2 4 5 6 8 0 15.08 37.7 s (cm) A (μT m) wall, s = R Φ/2πs

The running numbers ($n = 2000\ \mathrm{m^{-1}}$, $I = 1.5$ A, $R = 2$ cm), computed. $\vec B$ stops dead at the wall; $\vec A$ does not — it peaks there and decays as $\Phi/2\pi s$, still $15.08\ \mu\mathrm{T\,m}$ at $5$ cm, where $\vec B = \vec 0$.

23 · vector potential

Outside the solenoid: closed, not a gradient

the vortex, one rung up the ladder

Outside, $\nabla\times\vec A = \vec B = \vec 0$: $\vec A$ is closed. Yet $\oint\vec A\cdot\mathrm d\vec r = \Phi \ne 0$ round the solenoid, so $\vec A$ is not a gradient on the outside region. It is unit 04's vortex times $\Phi/2\pi$: locally $\nabla(\Phi\phi/2\pi)$, globally not.

what this means

In unit 04 the closed-not-exact object was a force, whose potential was a scalar. Here it is a potential, whose own potential would be a gauge function. On the outside region $\vec A$ is "pure gauge" near every point and not globally: no gauge transformation there removes it, because its circulation is the flux of a field it cannot see.

$n = 2000\ \mathrm{m^{-1}}$, $I = 1.5$ A, $R = 2$ cm: $B = 3.770$ mT, $\Phi = 4.737\ \mu\mathrm{Wb}$, and $|\vec A| = 15.08\ \mu\mathrm{T\,m}$ at $s = 5$ cm, where $\vec B = \vec 0$.

B ∮A·dr = Φ (dashed loop)

Looking down the solenoid's axis: $\vec B$ out of the page inside the circle, zero outside. $\vec A$ circles the axis everywhere — the same picture as the wire's $\vec B$ — and its circulation round any loop enclosing the solenoid is the whole flux $\Phi$.

23 · magnetostatics · the sphere

The sphere in a magnetic field

Where $\vec J = \vec 0$, $\nabla\times\vec B = \vec 0$, so on a simply connected current-free region $\vec B = -\nabla\psi$ (unit 04), and $\nabla\cdot\vec B = 0$ makes the magnetic scalar potential $\psi$ harmonic. Section 3's machinery applies unchanged; only the boundary condition differs.

the same ball, now a perfect diamagnet

An idealised superconductor excludes $\vec B$, so $\vec B\cdot\hat n = 0$ on its surface: $\partial_r\psi = 0$ at $r = a$ — Neumann data, not Dirichlet. The ball sits in a uniform applied field $\vec B_0 = B_0\hat z$, whose scalar potential is $-B_0r\cos\theta$; so $\psi\to-B_0r\cos\theta$ far away, and $\psi = (-B_0r + C/r^2)\cos\theta$, and $\partial_r\psi(a) = -B_0 - 2C/a^3 = 0$, so $$\psi = -B_0\Big(r + \frac{a^3}{2r^2}\Big)\cos\theta .$$

grounded conductor in $\vec E_0$diamagnet in $\vec B_0$
condition$\varphi = 0$$\partial_r\psi = 0$
$B_1$$+E_0a^3$$-\tfrac12B_0a^3$
field at poles$3E_0$$0$
field at equator$0$$\tfrac32B_0$
checks

$B_\theta(a) = -\frac1a\partial_\theta\psi = -\tfrac32B_0\sin\theta$ — tangent, as required. Limit $a\to0$: uniform ✓. The induced dipole is opposed to $\vec B_0$: diamagnetic ✓.

23 · magnetostatics · the sphere

Conductor and diamagnet, side by side

3E₀ 0 conductor in E₀: φ = 0 on the surface 0 3B₀/2 diamagnet in B₀: ∂ψ/∂r = 0 on the surface

Both computed: the conductor from worked example 2's $\varphi$, the diamagnet from the $\psi$ of the slide before. Left: $\varphi = 0$ on the surface, so the surface is a level set and field lines must meet it at right angles — they crowd onto the poles ($3E_0$) and leave the equator bare. Right: $\partial_r\psi = 0$, so no line may cross the surface; they part round it, leaving the poles empty and crowding at the equator ($\tfrac32B_0$). Same equation, same expansion, opposite boundary condition.

section 5

Helmholtz: why four equations

A field that decays is determined by its divergence and its curl. So a theory of two vector fields needs four equations, no more and no fewer, and its sources must satisfy a condition.

23 · Helmholtz

The Helmholtz theorem

Helmholtz theorem

Let $\vec F \in C^2(\mathbb R^3)$ with $\vec F\to\vec 0$ at infinity, and suppose $D = \nabla\cdot\vec F$ and $\vec C = \nabla\times\vec F$ are $C^1$ with compact support. Then $$\vec F = -\nabla\Phi + \nabla\times\vec A,$$ $$\Phi = \frac1{4\pi}\!\int\!\frac{D(\vec y)\,\mathrm dV}{\lVert\vec x-\vec y\rVert},\qquad \vec A = \frac1{4\pi}\!\int\!\frac{\vec C(\vec y)\,\mathrm dV}{\lVert\vec x-\vec y\rVert},$$ and $\vec F$ is the only vector field tending to $\vec 0$ with divergence $D$ and curl $\vec C$.

proof of uniqueness

Let $\vec W$ be the difference of two such fields: $\nabla\cdot\vec W = 0$, $\nabla\times\vec W = \vec 0$. Then $\nabla^2\vec W = \nabla(\nabla\cdot\vec W) - \nabla\times\nabla\times\vec W = \vec 0$: each component is harmonic and $\to0$. By the maximum principle on $B_R$, $|W_i| \le \max_{|\vec x| = R}|W_i| \to 0$. So $\vec W = \vec 0$. $\square$

existence: full proof in the notes (N)

the hypotheses are not decoration

Decay. $\vec F = E_0\hat z$ has zero divergence and zero curl and is not zero: without decay, any $\nabla h$ with $h$ harmonic can be added. The running example's applied field is exactly such an $\nabla h$, and Helmholtz applies only to the induced field.

A constraint on the data. $\vec C$ is a curl, so $\nabla\cdot\vec C = 0$ necessarily. Divergence and curl are not independent data: one scalar function, and one vector field that is itself divergence-free.

Here $D$ is a function and $\Phi$ its potential — not the region $D$ of section 2 or the solenoid's flux $\Phi$.

Dimensions: $[D] = [F]/\mathrm L$, so $[\Phi] = [F]\mathrm L^{-1}\cdot\mathrm L^2 = [F]\,\mathrm L$ and $[\nabla\Phi] = [F]$ ✓.

23 · Helmholtz

Counting Maxwell's equations before seeing them

the count

Electromagnetism has two vector fields, $\vec E$ and $\vec B$, decaying away from their sources. By Helmholtz each is fixed by its divergence and its curl. So the field equations must specify exactly four things: $$\nabla\cdot\vec E,\quad \nabla\times\vec E,\quad \nabla\cdot\vec B,\quad \nabla\times\vec B .$$ Fewer leaves a field undetermined; a fifth independent equation over-determines it.

staticssource
$\nabla\cdot\vec E = \rho/\varepsilon_0$Coulomb, via Gauss
$\nabla\times\vec E = \vec 0$$\vec E$ is a gradient
$\nabla\cdot\vec B = 0$no magnetic charge
$\nabla\times\vec B = \mu_0\vec J$Biot–Savart, via Ampère
and why 8 equations for 6 unknowns is not too many

A curl is not three free functions: it is divergence-free, so it carries two functions' worth of data. Divergence (1) + curl (2) = 3 per field — the three components. The count is exact.

the prediction

The curl data must be divergence-free: $\nabla\cdot(\mu_0\vec J) = \nabla\cdot(\nabla\times\vec B) = 0$. So magnetostatics requires $\nabla\cdot\vec J = 0$ — steady currents. When charge piles up somewhere, $\partial_t\rho \ne 0$, $\nabla\cdot\vec J \ne 0$, and the curl equation for $\vec B$ must acquire a term whose divergence cancels $\mu_0\nabla\cdot\vec J = -\mu_0\partial_t\rho$. That term is Maxwell's displacement current, unit 24.

23 · the sphere · closed

The sphere, closed: a third derivation

worked example 5 · the sphere from its sources

Step 1 · what Helmholtz sees. The induced field $\vec E_{\mathrm{ind}} = \vec E - E_0\hat z$ decays, is curl-free, and its divergence is the surface layer $\sigma = \sigma_0\cos\theta$. So it is the field of that layer: $\varphi_{\mathrm{ind}}(\vec x) = \frac{1}{4\pi\varepsilon_0}\oint\frac{\sigma(\vec y)}{|\vec x-\vec y|}\mathrm dA_y .$

Step 2 · on the axis. Expand $1/|\vec x-\vec y|$ by unit 10's series, with $r_<, r_>$ the smaller and larger of $z$ and $a$; the $\theta'$-integral against $\cos\theta' = P_1$ keeps only $\ell = 1$, with $\int_{-1}^1P_1^2 = \tfrac23$: $$\varphi_{\mathrm{ind}}(z\hat z) = \frac{\sigma_0a^2}{2\varepsilon_0}\cdot\frac23\cdot\frac{r_<}{r_>^2} .$$

Step 3 · off the axis, by the multipole slide's argument (harmonic, axisymmetric, fixed by the axis): $\varphi_{\mathrm{ind}} = \frac{\sigma_0}{3\varepsilon_0}r\cos\theta$ inside, $\frac{\sigma_0a^3}{3\varepsilon_0}\frac{\cos\theta}{r^2}$ outside.

Step 4 · put in $\sigma_0 = 3\varepsilon_0E_0$. Inside: $\varphi_{\mathrm{ind}} = E_0z$, cancelling the applied $-E_0z$ — total $0$, a conductor at potential $0$ ✓. Outside: $E_0a^3\cos\theta/r^2$ — the dipole of both earlier derivations ✓.

−2 −1 0 1 2 −2 −1 0 1 2 z / a φ / E₀a on the axis inside the ball total induced applied −E₀z

Step 4 on the axis, computed: the layer's own potential (induced) is $E_0z$ inside and a dipole tail outside; added to the applied $-E_0z$ it gives exactly $0$ in the ball.

Dimensions: $[\sigma_0a/\varepsilon_0] = \mathrm V$ ✓. Limit $z\to\infty$: $\varphi_{\mathrm{ind}}\sim p/4\pi\varepsilon_0z^2$ with $p = \tfrac{4\pi}3a^3\sigma_0$ ✓.

23 · the sphere · closed

Three routes, one answer

Legendre data on r = a → coefficients φ = 0 on r = a A₁ = −E₀, B₁ = E₀a³ images fictitious charges outside D + − image dipole 4πε₀a³E₀ Helmholtz the real source: σ ∝ cos θ σ ∝ cos θ ∮ σ/4πε₀|x − y| dA

The running example three ways. Legendre reads the answer off the boundary value; images replace the metal by charges outside the region; Helmholtz integrates the charge the metal actually carries. All three give $\varphi = -E_0(r - a^3/r^2)\cos\theta$.

the division of labour

The third needs $\sigma$ in advance, so it verifies rather than finds. That is the division of labour: boundary-value methods find the charge; the source integral confirms it makes the field.

23 · what next

What this unit hands on

20 distributions$-\nabla^2\Gamma = \delta$ becomes a theorem; the representation formula is its unpacking.
24 MaxwellHelmholtz's constraint on the curl data forces the displacement current; the retarded Green's function is $\Gamma$ with a delay; the jump conditions acquire time dependence.
25 the crisisthe Lorentz force's $\vec v\times\vec B$ depends on the frame, which Galilean relativity cannot accommodate.
28 the field tensor$\vec E$ and $\vec B$ become one antisymmetric tensor field, and $(\varphi, \vec A)$ one covector field; gauge freedom is adding a gradient in four dimensions.
34 formsthe vortex and the monopole are $H^1$ and $H^2$; both Poincaré lemmas are $\mathrm d^2 = 0$ and its converse on a star-shaped set.
35 field equationsmust reduce to Poisson's equation — this unit's and unit 05's — in the weak-field limit.
the three sentences to keep

A harmonic function is fixed by its boundary values, and every method of solution is a way of producing the one answer. A field with no sources is a curl, globally on $\mathbb R^3$ and not on a domain with holes. A decaying field is fixed by its divergence and its curl, so field theories count their equations.

23 · checkpoint

Done when

checkpoint

On paper and without notes, you can:

  • solve a spherical boundary-value problem by Legendre expansion and independently by images, and show the two agree coefficient by coefficient;
  • produce a vector potential for a given divergence-free $\vec B$ in a stated gauge, and verify both its curl and the gauge condition;
  • state the Helmholtz theorem with its hypotheses, prove its uniqueness half, and use it to say how many field equations electromagnetism must have, and what condition its sources must satisfy, before seeing them.

Failing it is unambiguous

An image placed inside the region; two derivations whose $\ell = 1$ coefficients differ; a claimed $\vec A$ whose curl is not $\vec B$, or no gauge named; or Helmholtz stated without decay — refuted by a uniform field.

Next

24 Maxwell, which needs 20 as well · 22 continuum mechanics, a sibling in this part · 25 after 24, where the Lorentz force meets a moving observer.