Part 0 · The Toolkit — Chapter 0.7

Fields, Flux, and the Big Theorems

Green, Stokes, Gauss. Three names, three theorems, and one idea, which you already met in Chapter 0.2.

Where we are

Everything so far has been about functions: you feed in a point, you get out a number or a vector. Physics from Chapter 2.6 onward is not about functions in that sense. It is about fields. A field is a number, or a vector, attached to every point of space at once. The electromagnetic field, the metric of spacetime, the Higgs field, every quantum field: all of them are fields in that sense. So this chapter builds the calculus of fields, and that means answering two questions. How much of a field is flowing out through a surface? And how much is circulating around a loop?

Those two questions produce the divergence and the curl, and then produce three theorems that every physics course states and almost none derives: Green's theorem, Stokes' theorem, and the divergence theorem. Here is the headline, and it is worth having before you start rather than after you finish.

They are not three theorems. They are one theorem, and it is the Fundamental Theorem of Calculus from Chapter 0.2 wearing different numbers of dimensions. Chapter 0.2 proved that abf=f(b)f(a)\int_a^b f' = f(b)-f(a) by chopping an interval into pieces and noticing that every interior endpoint appears twice with opposite signs and cancels, so only the boundary survives. Every theorem in this chapter is that argument, in a region of higher dimension, with faces or edges cancelling instead of points. By §5 you will have seen the whole family collapse into a single line, Mdω=Mω\int_M\dd\omega = \oint_{\partial M}\omega, which Chapter 3.5 will make precise and which is the most reused structural fact in theoretical physics.

Two sections carry more than their weight. §2 contains a genuine surprise. A field can be curl-free everywhere it is defined and still have no potential, because of a hole in the domain. Physics can measure the difference. That is topology entering physics, in Part 0. And §3 discovers that the divergence is nothing but the trace of the Jacobian, which by Chapter 0.4's identity makes it the fractional rate at which a flow changes volume. That one line turns Liouville's theorem (Chapter 1.3) into a triviality.

Tools you'll need  — Chapter 0.2: the integral as a limit of tagged sums, both halves of the Fundamental Theorem, and above all the telescoping argument that produced it. Chapter 0.4: the determinant as the factor by which a linear map scales volume, the trace, and the identity det(I+ϵA)=1+ϵtrA+O(ϵ2)\det(I+\epsilon A)=1+\epsilon\,\mathrm{tr}A+O(\epsilon^{2}). Chapter 0.5: the inner product, and the spectral theorem for symmetric matrices (used once, in §4). Chapter 0.6: the gradient, the Jacobian, the chain rule along a curve, Clairaut's theorem on mixed partials, and the change-of-variables formula. §3 and §4 each cash a specific theorem from Chapter 0.4. §7 is Clairaut twice.

1 · Scalar and vector fields

This first section is short, and its job is to fix vocabulary. We name the two kinds of object the rest of the chapter operates on, agree on how to draw them, and then flag one thing the notation hides.

A scalar field on a region URnU\subseteq\R^{n} is a function ϕ:UR\phi:U\to\R: one number per point. Temperature through a room, pressure through the atmosphere, electrostatic potential, the density of a fluid, the concentration of a drug in tissue. A vector field is a function F:URn\vv F:U\to\R^{n}: one vector per point. Fluid velocity, the electric field, the gravitational field, the current density of a conserved substance.

We write the components of a vector field as functions of position,

F(x)  =  (F1(x),F2(x),,Fn(x)), \vv F(\vv x) \;=\; \big(F^{1}(\vv x),\,F^{2}(\vv x),\,\ldots,\,F^{n}(\vv x)\big), (0.7.1)

with the index upstairs, following the convention of Chapter 0.6 §4: vector components carry upper indices, derivatives produce lower ones. In three dimensions we will freely write F=(Fx,Fy,Fz)\vv F = (F^{x},F^{y},F^{z}) when that is clearer.

1.1 · Field lines

The standard picture of a vector field is a set of field lines: curves that are everywhere tangent to F\vv F. A field line through x0\vv x_{0} is the solution of

dxds  =  F(x(s)),x(0)=x0, \dv{\vv x}{s} \;=\; \vv F\big(\vv x(s)\big), \qquad \vv x(0)=\vv x_{0}, (0.7.2)

That is a system of ordinary differential equations, which is Chapter 0.8's subject. Two facts about those solutions are worth stating now, because the pictures depend on them.

The first is that if F\vv F is continuously differentiable then through every point there passes exactly one field line. So field lines never cross, except where F=0\vv F=\vv 0. (⚑ This is the existence-and-uniqueness theorem for ODEs, which we quote here and Chapter 0.8 states properly.)

The second is about what a field line is when the field is a velocity. In that case the field lines are the paths that particles actually follow. So (0.7.2) is not a visualisation device. It is the equation of motion.

Field-line density is the usual proxy for field strength, and §5 will tell you exactly when that proxy is honest: field lines can only begin or end where the divergence is nonzero, which is why "lines of E\vv E start on positive charges and end on negative ones" is a theorem rather than a picture.

1.2 · A vector field is not a vector

This deserves saying once, plainly, because the notation actively hides it and Chapter 3.2 will charge you for the misunderstanding.

A single vector is one arrow. A vector field assigns an arrow to each point, and the arrow attached to p\vv p lives in its own private copy of Rn\R^{n}. That copy is the space of displacements from p\vv p. Nothing in the definition lets you compare the arrow at p\vv p with the arrow at q\vv q, because they are elements of two different vector spaces that merely happen to look identical.

In flat space with Cartesian coordinates they are identical, which is why you have never had to think about it. You slide arrows around freely, subtract F(q)F(p)\vv F(\vv q)-\vv F(\vv p), and get the derivative. That move is the one thing that stops working on a curved space. Take the sphere. A tangent vector at the north pole lies in a plane, a tangent vector at the equator lies in a different plane, and there is no basis-free way to say they point "the same way".

The collection of all these private copies, one vector space glued to every point, is the tangent bundle, and it is the central object of Chapter 3.2. Repairing the subtraction, so that "the derivative of a vector field" means something on a curved space, is the covariant derivative of Chapter 3.3. The leftover from that repair is the gravitational field.

For this chapter we are in flat space with Cartesian coordinates and we will slide arrows around without apology. Just know which cheque is being written.

In plain terms 0.7.1

The object everything from here on is built around differs in kind from anything the toolkit has handled so far. A number is one number and an arrow is one arrow, whereas a field is a value fastened to every point of space at once, so that naming one means naming infinitely many things together and being able to say how they change as you walk from place to place.

That is the shape every fundamental description in this book eventually takes: the electric and magnetic fields, the geometry of spacetime, and the objects whose ripples we call particles. Getting comfortable with the type of thing now costs nothing and saves a great deal later.

One warning belongs at the outset, because the notation works hard to conceal it. The arrow a field attaches to one point and the arrow it attaches to another belong to separate spaces that merely resemble each other, so comparing them, which is what subtracting them to build a derivative requires, is an assumption rather than an operation. On a flat page with square axes the assumption is invisible because it happens to be true. On a curved surface it fails outright, since nothing entitles you to say that a direction at the pole and one at the equator point the same way, and repairing that failure is where gravity eventually comes from.

2 · Line integrals, conservative fields, and a topological surprise

Here is the plan for this section. We ask the first of the chapter's two questions: how much does a field push you along as you walk a path? The answer is the line integral, and §2.1 builds it. Then we ask when that integral depends only on where the path starts and ends, which is §2.2 and §2.3. The answer looks routine until §2.4, where it stops being routine.

2.1 · The definition

Start with the physics that forces the definition. A constant force F\vv F acting through a straight displacement d\vv d does work W=FdW=\vv F\cdot\vv d. The dot product is there because only the component of the force along the motion does anything, which is Chapter 0.5's orthogonal projection wearing a physical hat.

Now let the force vary and the path curve. Chop the path CC into NN short segments with endpoints x0,,xN\vv x_{0},\ldots,\vv x_{N}, let Δxi=xixi1\Delta\vv x_{i}=\vv x_{i}-\vv x_{i-1}, and pick a sample point on each segment. Over a short enough segment the force is nearly constant and the segment is nearly straight, so

W    i=1NF(xi1)Δxi. W \;\approx\; \sum_{i=1}^{N}\vv F(\vv x_{i-1})\cdot\Delta\vv x_{i}. (0.7.3)

That is a Riemann sum of exactly the kind Chapter 0.2 built the integral from, and we define the line integral as its limit as the segments shrink:

CFdr    limmaxΔxi0  i=1NF(xi1)Δxi. \int_{C}\vv F\cdot\dd\vv r \;\equiv\; \lim_{\max\abs{\Delta\vv x_{i}}\to0}\;\sum_{i=1}^{N}\vv F(\vv x_{i-1})\cdot\Delta\vv x_{i}. (0.7.4)

To compute one, parametrise. Let x(t)\vv x(t), t[a,b]t\in[a,b], trace out CC. Then Δxix˙(ti)Δti\Delta\vv x_{i}\approx\dot{\vv x}(t_{i})\,\Delta t_{i} by the linearisation of Chapter 0.1, and (0.7.4) becomes an ordinary one-dimensional integral:

CFdr  =  abF(x(t))x˙(t)  dt. \int_{C}\vv F\cdot\dd\vv r \;=\; \int_{a}^{b}\vv F\big(\vv x(t)\big)\cdot\dot{\vv x}(t)\;\dd t. (0.7.5)

Everything from Chapter 0.2 now applies. Before we use the line integral, let's be clear about what it depends on. There are two things it does not depend on and one thing it does.

  • It does not depend on which parametrisation you chose.
  • It does not depend on how you chopped the curve up.
  • It does depend on the direction of travel. Reversing the direction flips the sign.

Both claims are proved in the grind box.

Grind box — the line integral is parametrisation-independent, and orientation is the only thing that matters

Let x(t)\vv x(t), t[a,b]t\in[a,b], and y(u)\vv y(u), u[c,d]u\in[c,d], be two parametrisations of the same curve, related by a reparametrisation t=τ(u)t=\tau(u) with τ\tau differentiable, τ(c)=a\tau(c)=a, τ(d)=b\tau(d)=b and τ>0\tau'\gt0 (an increasing change of clock). Then y(u)=x(τ(u))\vv y(u) = \vv x(\tau(u)), and by the chain rule along a curve (Chapter 0.6 §5.1),

y˙(u)=x˙(τ(u))τ(u). \dot{\vv y}(u) = \dot{\vv x}\big(\tau(u)\big)\,\tau'(u).

Substituting into (0.7.5) and using the substitution rule of Chapter 0.2 with t=τ(u)t=\tau(u), dt=τ(u)du\dd t = \tau'(u)\dd u:

cdF(y(u))y˙(u)du=cdF(x(τ))x˙(τ)τ(u)du=abF(x(t))x˙(t)dt. \int_{c}^{d}\vv F\big(\vv y(u)\big)\cdot\dot{\vv y}(u)\,\dd u = \int_{c}^{d}\vv F\big(\vv x(\tau)\big)\cdot\dot{\vv x}(\tau)\,\tau'(u)\,\dd u = \int_{a}^{b}\vv F\big(\vv x(t)\big)\cdot\dot{\vv x}(t)\,\dd t.

Identical. The line integral is a property of the curve and the field, not of the clock you used. This is the same mechanism that made the ordinary integral independent of the partition: the τ\tau' produced by the chain rule is exactly cancelled by the τ\tau' produced by the substitution rule.

Orientation. Now take τ<0\tau'\lt0, which means running the curve backwards, so τ(c)=b\tau(c)=b and τ(d)=a\tau(d)=a. The same computation goes through but the limits are swapped, and Chapter 0.2's convention ba=ab\int_b^a = -\int_a^b gives

CFdr  =  CFdr. \int_{-C}\vv F\cdot\dd\vv r \;=\; -\int_{C}\vv F\cdot\dd\vv r.

So a line integral carries a sign that encodes a direction. That is not a nuisance: it is the entire mechanism of §5. When two adjacent cells share an edge, they traverse it in opposite directions, the two contributions cancel, and only the outer boundary survives. Orientation is what makes the cancellation happen, which is why every theorem in this chapter comes with a right-hand rule attached.

A cheap sanity check on (0.7.4): if F\vv F is everywhere perpendicular to the path, every term in the sum vanishes and the integral is zero. A magnetic force does no work for exactly this reason, since qv×Bq\vv v\times\vv B is perpendicular to v\vv v by construction.

2.2 · Gradient fields, and the Fundamental Theorem hiding in plain sight

Suppose F\vv F is the gradient of some scalar field: F=ϕ\vv F = \nabla\phi. Put that into (0.7.5) and watch what happens.

Cϕdr  =  abϕ(x(t))x˙(t)  dt=  abddtϕ(x(t))  dt  =  ϕ(x(b))ϕ(x(a)). \begin{aligned} \int_{C}\nabla\phi\cdot\dd\vv r \;&=\; \int_{a}^{b}\nabla\phi\big(\vv x(t)\big)\cdot\dot{\vv x}(t)\;\dd t\\[4pt] &=\; \int_{a}^{b}\dv{}{t}\,\phi\big(\vv x(t)\big)\;\dd t \;=\; \phi\big(\vv x(b)\big)-\phi\big(\vv x(a)\big). \end{aligned} (0.7.6)

Two steps there deserve naming. The middle step is Chapter 0.6's chain rule along a curve, ddtϕ(x(t))=ϕx˙\dv{}{t}\phi(\vv x(t)) = \nabla\phi\cdot\dot{\vv x}. The last step is the Fundamental Theorem of Calculus from Chapter 0.2. Two tools, one line, and the result is worth stopping on:

The gradient theorem

Cϕdr  =  ϕ(B)ϕ(A) \int_{C}\nabla\phi\cdot\dd\vv r \;=\; \phi(B)-\phi(A)

where AA and BB are the endpoints of CC. The integral of a derivative over a curve is the original function evaluated on the boundary of that curve. And the boundary of a curve is its two endpoints, the far one counting positively and the near one negatively.

That is the Fundamental Theorem again, with a one-dimensional domain sitting inside a three-dimensional space instead of on the real line. The structure is identical: derivative, integrated over a region, equals the undifferentiated thing on the boundary. Hold that sentence. §5 will repeat it twice more with the dimension raised.

2.3 · Four conditions that want to be equivalent

A field that is a gradient is called conservative, because if F\vv F is a force then ϕ-\phi is a potential energy and the total energy is conserved. Four conditions on a field F\vv F defined on a region UU compete for that name:

Condition
(A)F=ϕ\vv F = \nabla\phi for some single-valued ϕ\phi on UU
(B)CFdr\int_{C}\vv F\cdot\dd\vv r depends only on the endpoints of CC
(C)CFdr=0\oint_{C}\vv F\cdot\dd\vv r = 0 for every closed loop CC in UU
(D)×F=0\nabla\times\vv F = \vv 0 everywhere in UU

We prove (A) \Rightarrow (B) \Leftrightarrow (C) \Rightarrow (A) now, and (A) \Rightarrow (D) in §7. The remaining arrow, (D) \Rightarrow (C), is the interesting one, and it is false without an extra hypothesis about the shape of UU.

(A) \Rightarrow (B). Done: (0.7.6) gives ϕ(B)ϕ(A)\phi(B)-\phi(A), which mentions the path nowhere.

(B) \Leftrightarrow (C). Suppose (B). Any closed loop can be cut at two points into two paths C1C_{1} and C2C_{2} running from AA to BB. The loop is then C1C_{1} followed by C2C_{2} reversed, so by the orientation rule of the grind box its integral is C1C2\int_{C_{1}} - \int_{C_{2}}, which is 00 by (B). Conversely, suppose (C) and let C1,C2C_{1},C_{2} be any two paths from AA to BB. Then C1C_{1} followed by reversed C2C_{2} is a closed loop, so C1C2=0\int_{C_{1}}-\int_{C_{2}} = 0. That is (B).

(C) \Rightarrow (A). This is the one that builds something. Assume (C), fix a basepoint x0U\vv x_{0}\in U, and define

ϕ(x)    x0xFdr, \phi(\vv x) \;\equiv\; \int_{\vv x_{0}}^{\vv x}\vv F\cdot\dd\vv r, (0.7.7)

the integral taken along any path in UU from x0\vv x_{0} to x\vv x. By (C), and hence (B), the answer does not depend on which path, so ϕ\phi is a genuine single-valued function. Now compute iϕ\partial_{i}\phi at x\vv x. Choose the path that reaches x+tei\vv x + t\vv e_{i} by first going to x\vv x any way you like and then travelling along the straight segment x+sei\vv x + s\vv e_{i}, s[0,t]s\in[0,t]. On that segment x˙=ei\dot{\vv x}=\vv e_{i}, so Fx˙=Fi\vv F\cdot\dot{\vv x} = F^{i}, and

ϕ(x+tei)ϕ(x)  =  0tFi(x+sei)  ds. \phi(\vv x + t\vv e_{i}) - \phi(\vv x) \;=\; \int_{0}^{t}F^{i}(\vv x + s\vv e_{i})\;\dd s. (0.7.8)

Divide by tt and let t0t\to0. The right-hand side is exactly the object the first half of the Fundamental Theorem (Chapter 0.2) differentiates, and it gives Fi(x)F^{i}(\vv x) provided FiF^{i} is continuous. Hence iϕ=Fi\partial_{i}\phi = F^{i} for every ii, i.e. ϕ=F\nabla\phi=\vv F. \blacksquare

So (A), (B) and (C) are the same condition wearing three costumes. None of the three is checkable in practice, because you cannot test infinitely many loops. Condition (D) is different. It is a local test, three derivatives evaluated at a point, and you can check it in ten seconds. Which is exactly why the failure of (D) \Rightarrow (C) matters so much.

2.4 · The counterexample, in full

Take the plane with the origin deleted, U=R2{0}U = \R^{2}\setminus\{\vv 0\}, and on it the field

F(x,y)  =  (yx2+y2,  xx2+y2). \vv F(x,y) \;=\; \left(\frac{-y}{x^{2}+y^{2}},\;\frac{x}{x^{2}+y^{2}}\right). (0.7.9)

It is perfectly smooth on UU, since the only bad point has been removed. Our first job is to compute its curl. In the plane that means the single surviving component xFyyFx\partial_{x}F^{y}-\partial_{y}F^{x}, which §4 derives. By the quotient rule,

xFy=xxx2+y2=(x2+y2)x(2x)(x2+y2)2=y2x2(x2+y2)2,yFx=yyx2+y2=(x2+y2)+y(2y)(x2+y2)2=y2x2(x2+y2)2. \begin{aligned} \partial_{x}F^{y} &= \partial_{x}\frac{x}{x^{2}+y^{2}} = \frac{(x^{2}+y^{2}) - x\,(2x)}{(x^{2}+y^{2})^{2}} = \frac{y^{2}-x^{2}}{(x^{2}+y^{2})^{2}},\\[6pt] \partial_{y}F^{x} &= \partial_{y}\frac{-y}{x^{2}+y^{2}} = \frac{-(x^{2}+y^{2}) + y\,(2y)}{(x^{2}+y^{2})^{2}} = \frac{y^{2}-x^{2}}{(x^{2}+y^{2})^{2}}. \end{aligned} (0.7.10)

They are equal, so ×F=0\nabla\times\vv F = \vv 0 at every point of UU. Condition (D) holds everywhere, with no exceptions and no fine print.

Now integrate around the circle of radius RR centred at the origin, parametrised by x(t)=(Rcost,Rsint)\vv x(t)=(R\cos t,\,R\sin t) for t[0,2π]t\in[0,2\pi]. On that circle x2+y2=R2x^{2}+y^{2}=R^{2}, so

F=1R(sint,  cost),x˙=R(sint,  cost), \vv F = \frac{1}{R}\big(-\sin t,\;\cos t\big), \qquad \dot{\vv x} = R\big(-\sin t,\;\cos t\big), (0.7.11)

and their dot product is sin2t+cos2t=1\sin^{2}t+\cos^{2}t = 1, because the factors of RR cancel exactly. That constant is all we need to finish the integral. Therefore

CFdr  =  02π1  dt  =  2π, \oint_{C}\vv F\cdot\dd\vv r \;=\; \int_{0}^{2\pi}1\;\dd t \;=\; 2\pi, (0.7.12)

for every radius RR. Condition (C) fails, spectacularly and by a fixed amount. A curl-free field with a nonzero circulation.

Where did the potential go? It exists locally. On the right half-plane x>0x\gt0, the function ϕ=arctan(y/x)\phi=\arctan(y/x) has ϕ=F\nabla\phi = \vv F (differentiate it and see). Geometrically ϕ\phi is the polar angle θ\theta, and Chapter 0.6's polar grind box already told us θ=θ^/r\nabla\theta = \hat{\boldsymbol\theta}/r, which in Cartesian components is (y,x)/r2(-y,x)/r^{2}. That is precisely (0.7.9).

So the "potential" of this field is the angle. And the angle is not a function on UU: go once round the origin and it has increased by 2π2\pi. It is multivalued, and (0.7.12) is measuring exactly that increment.

The repair to the theorem is a condition on the shape of UU, not on F\vv F. A region is simply connected if every closed loop in it can be shrunk continuously to a point without leaving the region. A disc is simply connected. A disc with a puncture is not, because a loop around the puncture has nothing to shrink through.

With that hypothesis the missing arrow works, and §5 supplies the proof in one line. If the loop CC bounds a surface SS lying inside UU, Stokes' theorem gives

CFdr  =  S(×F)dA  =  0. \oint_{C}\vv F\cdot\dd\vv r \;=\; \int_{S}(\nabla\times\vv F)\cdot\dd\vv A \;=\; 0. (0.7.13)

For the punctured plane there is no such SS. Any surface spanning a loop around the origin must contain the origin, where F\vv F does not exist. So the theorem does not fail. Its hypothesis does.

The circle above was centred on the hole, and the factors of RR cancelling looks like the sort of luck a symmetrical choice buys you. The figure below hands you the loop.

R = 1.00
λ = 0.30
∮ F·dr = 6.2831853 2π = 6.2831853 winding ∮/2π = 1.000000
curl along the loop (square of side 1e-5): max 1.796e-9 mean 1.235e-10 — no local test detects anything
loop centre (0.300, -0.200) closest approach to the origin 0.4063
The circulation that does not care about the loop. Upper panel: the punctured plane, with the deleted point ringed in orange and the field drawn as unit arrows so that only its direction is shown. The blue loop is r(θ)=R(1+λcos3θ+0.667λsin5θ)r(\theta)=R\,(1+\lambda\cos3\theta+0.667\lambda\sin5\theta) about a centre you drag. The circulation CFdr\oint_{C}\vv F\cdot\dd\vv r is a midpoint sum over 2000020\,000 segments of that exact polygon, and the winding number underneath it is that same sum divided by 2π2\pi. Nothing is read off (0.7.12). The curl is computed by the definition §4.1 is about to give: the circulation of the same field round a square of side 10510^{-5}, divided by its area, evaluated at 200200 points along the loop. Lower panel: the running potential ϕ(s)=0sFdr\phi(s)=\int_{0}^{s}\vv F\cdot\dd\vv r against the fraction of the way round, with the orange bracket measuring how far it is from closing. Maul the loop. Drag the centre, run the radius over its whole range, crank the lumpiness until the shape is grotesque. As long as the hole stays inside, the readout says 6.28318536.2831853 and will not move a digit, and 2π2\pi is 6.28318536.2831853. Meanwhile the curl along that loop reads 2×1092\times10^{-9} at its very worst and 101010^{-10} on average. That residue is the little square's own truncation error and falls by four whenever you halve its side. Push the loop right up against the deleted point and it climbs like 1/r41/r^{4}, which is a difference quotient straining on a field that is genuinely steep there, not the field acquiring a curl. There is no local measurement that can tell. Now drag the loop clear of the hole. The lower trace snaps shut and the circulation falls in one step to a couple of parts in 101010^{10}, which is the sum's own arithmetic with nothing underneath it. The winding number goes from 1.0000001.000000 to 0.000000-0.000000 with nothing in between: the quantity is an integer because it is counting something. Two turns gives 12.566371=4π12.566371 = 4\pi. And (xy)\nabla(xy) is the control: a field that is curl-free on the whole plane, with no hole in its domain, whose trace closes on every loop you can draw and whose circulation is 101510^{-15} everywhere. The two fields are locally indistinguishable. What separates them is that one of them has had a point taken out from under it.

2.5 · Why a physicist should care: the potential knows more than the field

It is tempting to file §2.4 as a curiosity about a contrived function. It is not. It is the reason one of the central objects of modern physics, the gauge potential, is physically real.

Consider an infinite solenoid along the zz-axis carrying a current. Inside, there is a uniform magnetic field B=Bz^\vv B = B\hat{\vv z}. Outside, B=0\vv B = \vv 0 exactly: the field is confined. Now §7 will show that B\vv B can be written as ×A\nabla\times\vv A for a vector potential A\vv A, and §5's Stokes theorem gives, for any loop CC encircling the solenoid,

CAdr  =  S(×A)dA  =  SBdA  =  Φ, \oint_{C}\vv A\cdot\dd\vv r \;=\; \int_{S}(\nabla\times\vv A)\cdot\dd\vv A \;=\; \int_{S}\vv B\cdot\dd\vv A \;=\; \Phi, (0.7.14)

That last quantity is the total magnetic flux threading the solenoid. Look at what we have. Outside the solenoid A\vv A is curl-free, since its curl is B\vv B and B\vv B vanishes there. Yet its circulation around the solenoid is Φ0\Phi\neq0. That is (0.7.9) again, with the solenoid playing the part of the deleted origin. The region outside a solenoid is not simply connected.

Classically this is harmless: a charged particle outside feels force qv×B=0q\vv v\times\vv B = \vv 0 and nothing happens. Quantum mechanically it is not harmless. Chapter 6.3 will derive that a charged particle's wavefunction, carried along a path, acquires a phase

Δφ  =  qCAdr, \Delta\varphi \;=\; \frac{q}{\hbar}\int_{C}\vv A\cdot\dd\vv r, (0.7.15)

So a beam split around either side of the solenoid and recombined shows an interference shift of qΦ/q\Phi/\hbar. That shift is determined entirely by the circulation of A\vv A, in a region where B\vv B is identically zero. This is the Aharonov–Bohm effect, predicted in 1959 and measured (Chambers 1960, then conclusively by Tonomura and co-workers in 1986 with a superconductor-shielded toroidal magnet, which closed the last loopholes about leakage fields). Those are experimental facts, quoted. This book will derive the phase in Chapter 6.3 but cannot derive the measurement.

The moral is exactly §2.4's:

What the counterexample is telling you

The potential can carry physical information that the field strength does not. B\vv B is zero throughout the region the particle visits. Adr\oint\vv A\cdot\dd\vv r is not zero. The interference pattern moves. So the gauge potential AμA^{\mu} of Chapters 2.6 and 6.3 is not a computational convenience that could in principle be eliminated in favour of the "real" fields. It is closer to the fundamental object, and the field strength is what you get by differentiating it.

Note also which quantity is physical. Not A\vv A itself. You may add χ\nabla\chi to it without changing B\vv B (§7), and that changes CAdr\int_{C}\vv A\cdot\dd\vv r for an open path. What is physical is the integral around a closed loop, which by the gradient theorem (0.7.6) is unchanged, since χdr=0\oint\nabla\chi\cdot\dd\vv r=0. The observable is the holonomy of the potential, and the reason it is observable is topological.

In plain terms 0.7.2

There is a genuine surprise waiting here, the first place in the book where the shape of a region rather than the behaviour of a field decides a physical fact. Adding a field's push along a path is how you ask how much work it did, and when the field is a gradient the answer depends only on the two ends, which is the accumulation theorem of the second chapter with a curve standing where an interval used to.

Four conditions compete for the name conservative, three of them global and untestable, since nobody can check infinitely many loops, and one local and settled in seconds. The local one does not imply the others. Delete one point from the plane and there is a field with no swirl anywhere it exists whose push around any loop enclosing the gap is a fixed number that never dwindles, because its potential is the angle, and the angle is not a function: go round once and it has grown.

The repair is a condition on the region, not on the field. What makes this physics rather than a curiosity is that the potential of a magnetic field behaves this way outside a solenoid, so an electron beam split around one shifts its interference pattern although the field vanishes everywhere the electrons go. The potential carries something the field strength does not.

3 · Divergence, derived — and its identity with trace

Now the chapter's second question. Instead of walking along a curve, we surround a point and ask how much of the field leaves. The plan is three steps. First a definition that mentions no coordinates at all, in §3.2. Then the familiar formula, derived from that definition with a box, in §3.3. Then §3.4, where the formula turns out to be something Chapter 0.4 already handed us.

3.1 · Flux

Fix a surface SS with a chosen side, and let n^\hat{\vv n} be the unit normal pointing out of that side. Write dA=n^dA\dd\vv A = \hat{\vv n}\,\dd A for the vector area element. The flux of F\vv F through SS is

ΦS[F]    SFdA  =  SFn^  dA. \Phi_{S}[\vv F] \;\equiv\; \int_{S}\vv F\cdot\dd\vv A \;=\; \int_{S}\vv F\cdot\hat{\vv n}\;\dd A. (0.7.16)

The dot product is not decoration. Suppose F=ρv\vv F = \rho\vv v, the mass per unit volume times the velocity of a fluid. In a short time dt\dd t, the material that crosses a small patch of area dA\dd A is the material that was sitting in an oblique cylinder with base dA\dd A and slant vdt\vv v\,\dd t. The volume of such a cylinder is base times perpendicular height, which is (vn^)dtdA(\vv v\cdot\hat{\vv n})\,\dd t\,\dd A. Anything moving parallel to the surface never crosses it, and the dot product is what discards exactly that part of the motion. So the mass crossing per unit time is ρvn^dA=FdA\rho\,\vv v\cdot\hat{\vv n}\,\dd A = \vv F\cdot\dd\vv A, and

What flux means

SFdA\int_{S}\vv F\cdot\dd\vv A is the rate at which stuff crosses SS, counted positive in the direction of n^\hat{\vv n}. For a closed surface with n^\hat{\vv n} pointing outward, VFdA\oint_{\partial V}\vv F\cdot\dd\vv A is the net rate at which stuff leaves VV.

3.2 · The definition, before any coordinates

Now shrink the region. If stuff is leaving a small region faster than it enters, something inside is producing it. Define the divergence of F\vv F at a point p\vv p as the outflow per unit volume in the limit of a vanishing region containing p\vv p:

  F(p)    limV0  1VVFdA.   \boxed{\;\nabla\cdot\vv F(\vv p) \;\equiv\; \lim_{V\to0}\;\frac{1}{\abs{V}}\oint_{\partial V}\vv F\cdot\dd\vv A.\;} (0.7.17)

Look at what that definition does not contain: no coordinates, no basis, no components. It is built from a flux and a volume, both of which are geometric. That matters, because the formula we are about to derive looks entirely coordinate-dependent, and it will be reassuring to know it cannot be.

3.3 · The box, done properly

Take the region to be a rectangular box centred at p=(x,y,z)\vv p=(x,y,z) with sides Δx\Delta x, Δy\Delta y, Δz\Delta z, so V=ΔxΔyΔz\abs{V}=\Delta x\,\Delta y\,\Delta z. It has six faces, which pair up.

The pair perpendicular to xx. On the face at x+Δx2x+\tfrac{\Delta x}{2} the outward normal is +x^+\hat{\vv x}, so the integrand Fn^\vv F\cdot\hat{\vv n} is FxF^{x}. On the face at xΔx2x-\tfrac{\Delta x}{2} the outward normal is x^-\hat{\vv x} and the integrand is Fx-F^{x}. Each face has area ΔyΔz\Delta y\,\Delta z, and over such a small face FxF^{x} equals its value at the face's centre plus a correction that integrates away (the grind box does this bookkeeping exactly). So the two faces together contribute

[Fx(x+Δx2,y,z)Fx(xΔx2,y,z)]ΔyΔz. \Big[F^{x}\big(x+\tfrac{\Delta x}{2},y,z\big) - F^{x}\big(x-\tfrac{\Delta x}{2},y,z\big)\Big]\,\Delta y\,\Delta z. (0.7.18)

The bracket is a difference of the same function at two nearby points, which is precisely what Chapter 0.1 taught us to expand. Writing Fx(x±Δx2)=Fx(x)±Δx2xFx+O(Δx2)F^{x}(x\pm\tfrac{\Delta x}{2}) = F^{x}(x) \pm \tfrac{\Delta x}{2}\partial_{x}F^{x} + O(\Delta x^{2}) and subtracting, the values at xx cancel and the two first-order terms add:

[    ]  =  xFxΔx  +  O(Δx3), \Big[\;\cdots\;\Big] \;=\; \partial_{x}F^{x}\,\Delta x \;+\; O(\Delta x^{3}), (0.7.19)

where the O(Δx2)O(\Delta x^{2}) terms also cancel by the symmetry of the two-sided difference, leaving O(Δx3)O(\Delta x^{3}). So the xx-pair contributes xFx  ΔxΔyΔz=xFxV\partial_{x}F^{x}\;\Delta x\,\Delta y\,\Delta z = \partial_{x}F^{x}\,\abs{V}, plus something smaller.

The other two pairs. Identical arguments, with xx replaced by yy and by zz. Adding all three pairs and dividing by V\abs{V}:

1VVFdA  =  xFx+yFy+zFz  +  O(Δ). \frac{1}{\abs{V}}\oint_{\partial V}\vv F\cdot\dd\vv A \;=\; \partial_{x}F^{x} + \partial_{y}F^{y} + \partial_{z}F^{z} \;+\; O(\Delta). (0.7.20)

We want the divergence itself rather than the flux out of a box of finite size, so take the limit as the box shrinks. The correction term O(Δ)O(\Delta) dies with it, and what is left is the formula:

  F  =  xFx+yFy+zFz  =  iFi.   \boxed{\;\nabla\cdot\vv F \;=\; \partial_{x}F^{x} + \partial_{y}F^{y} + \partial_{z}F^{z} \;=\; \partial_{i}F^{i}.\;} (0.7.21)

The last form uses the summation convention of Chapter 0.6 §5.2, and note that the index structure is correct: one up, one down, summed. That is the formula every textbook writes down first. Here it is a consequence instead. The definition it came from, (0.7.17), is the one that survives a change of coordinates, a curved space, and Chapter 3.3.

Grind box — the error terms in the box argument, honestly

Two steps above were waved at. Both are repairable, and it is worth seeing how, because the same two gaps reappear in §5.

(i) The field varies across each face. We replaced faceFxdA\int_{\text{face}}F^{x}\,\dd A by Fx(face centre)×areaF^{x}(\text{face centre})\times\text{area}. Expand FxF^{x} about the face centre in the two in-face directions, writing the offset as (η,ζ)(\eta,\zeta):

Fx=Fcentrex+ηyFx+ζzFx+O(Δ2). F^{x} = F^{x}_{\text{centre}} + \eta\,\partial_{y}F^{x} + \zeta\,\partial_{z}F^{x} + O(\Delta^{2}).

Integrate over the face, which is symmetric about its centre: ηdA=0\int\eta\,\dd A = 0 and ζdA=0\int\zeta\,\dd A=0, so the two linear terms vanish exactly, not approximately. What remains is

faceFxdA=FcentrexΔyΔz+O(Δ4), \int_{\text{face}}F^{x}\,\dd A = F^{x}_{\text{centre}}\,\Delta y\,\Delta z + O(\Delta^{4}),

since the quadratic remainder is O(Δ2)O(\Delta^{2}) times an area O(Δ2)O(\Delta^{2}). Divided by V=O(Δ3)\abs{V}=O(\Delta^{3}) this is O(Δ)O(\Delta) and vanishes in the limit. The symmetry of the box did the work. Had we used a lopsided region we would have had to keep the linear terms.

(ii) The limit must not depend on the shape of the shrinking region. (0.7.17) says "V0V\to0" without specifying how, but we computed with boxes. For a continuously differentiable F\vv F the answer is the same for any reasonable family of shrinking regions, and here is the mechanism. Near p\vv p the field is F(p)+J(p)h+o(h)\vv F(\vv p) + J(\vv p)\,\vv h + o(\abs{\vv h}) by Chapter 0.6's total derivative. The constant part F(p)\vv F(\vv p) contributes zero flux through any closed surface, since as much goes in one side as out the other (or formally, apply §5 to a constant field). The linear part contributes exactly trJV\mathrm{tr}\,J\cdot\abs{V} for any region, which is §3.4. And the o(h)o(\abs{\vv h}) part contributes o(h)×area=o(V)o(\abs{\vv h})\times\text{area} = o(\abs{V}) for any region whose surface area does not blow up relative to its volume. So the limit is trJ\mathrm{tr}\,J regardless of shape.

That last observation is worth extracting: the divergence only depends on the linear part of the field, i.e. on the Jacobian. Which is the next subsection's entire content.

3.4 · Divergence is the trace of the Jacobian

Compare (0.7.21) with the Jacobian matrix of Chapter 0.6 §2.2, whose entries are Jij=jFiJ^{i}{}_{j} = \partial_{j}F^{i}:

J  =  (xFxyFxzFxxFyyFyzFyxFzyFzzFz),trJ=iFi. J \;=\; \begin{pmatrix} \partial_{x}F^{x} & \partial_{y}F^{x} & \partial_{z}F^{x}\\ \partial_{x}F^{y} & \partial_{y}F^{y} & \partial_{z}F^{y}\\ \partial_{x}F^{z} & \partial_{y}F^{z} & \partial_{z}F^{z}\end{pmatrix}, \qquad \mathrm{tr}\,J = \partial_{i}F^{i}. (0.7.22)

The divergence is the trace of the Jacobian. That is not a curiosity. Combined with Chapter 0.4 it converts the definition into a statement about volume, and it does so in four lines. Here are those four lines.

Let F\vv F be a velocity field, so that a particle at x\vv x moves to x+ϵF(x)\vv x + \epsilon\vv F(\vv x) in a short time ϵ\epsilon. Call that map Φϵ\Phi_{\epsilon}. Its derivative is

DΦϵ(x)  =  I+ϵJ(x), \mathrm{D}\Phi_{\epsilon}(\vv x) \;=\; I + \epsilon\,J(\vv x), (0.7.23)

differentiating xx+ϵF(x)\vv x\mapsto\vv x+\epsilon\vv F(\vv x) term by term. Chapter 0.6 §8 proved that a differentiable map multiplies the volume of a small region by det\abs{\det} of its derivative. And Chapter 0.4 §6 proved the identity we now need:

det(I+ϵA)  =  1+ϵtrA+O(ϵ2). \det(I+\epsilon A) \;=\; 1 + \epsilon\,\mathrm{tr}A + O(\epsilon^{2}). (0.7.24)

Put the three together. A blob of volume V(0)V(0) carried by the flow for a time ϵ\epsilon has volume

V(ϵ)  =  det ⁣(I+ϵJ)V(0)  =  (1+ϵtrJ+O(ϵ2))V(0), V(\epsilon) \;=\; \det\!\big(I+\epsilon J\big)\,V(0) \;=\; \Big(1 + \epsilon\,\mathrm{tr}J + O(\epsilon^{2})\Big)V(0), (0.7.25)

What we actually want is a rate rather than a ratio, so subtract V(0)V(0) from both sides, divide by V(0)V(0) and by ϵ\epsilon, and let ϵ0\epsilon\to0. The O(ϵ2)O(\epsilon^{2}) term drops out and we are left with

  1VdVdt  =  trJ  =  F.   \boxed{\;\frac{1}{V}\,\dv{V}{t} \;=\; \mathrm{tr}\,J \;=\; \nabla\cdot\vv F.\;} (0.7.26)
The reading to carry forward

The divergence of a velocity field is the fractional rate of change of the volume of a blob carried along by the flow. Positive divergence: the blob expands. Negative: it contracts. Zero: the flow is incompressible, and "divergence-free" and "volume-preserving" are the same sentence.

And the reason is Chapter 0.4's one-line identity. Three facts stack up.

  • The determinant is what a linear map does to volume.
  • The trace is the rate at which a map changes volume when it barely does anything at all.
  • The Jacobian is the linear map that a flow is, locally, over a short time.

Divergence is the composition of those three facts, and nothing else.

Integrating (0.7.26) along a trajectory (it is ddtlnV=F\dv{}{t}\ln V = \nabla\cdot\vv F, an equation of the type Chapter 0.1 solved) gives the finite version,

V(t)  =  V(0)exp ⁣(0tF  dt), V(t) \;=\; V(0)\,\exp\!\left(\int_{0}^{t}\nabla\cdot\vv F\;\dd t'\right), (0.7.27)

with the integral taken along the path of the blob. The figure below measures both sides of this.

One immediate dividend, banked now and spent in Chapter 1.3. A mechanical system's state is a point (q,p)(q,p) in phase space, moving with velocity q˙=Hp\dot q = \pdv{H}{p}, p˙=Hq\dot p = -\pdv{H}{q}. That is a vector field on phase space, and its divergence is

q ⁣(Hp)+p ⁣(Hq)  =  2Hqp2Hpq  =  0 \pdv{}{q}\!\left(\pdv{H}{p}\right) + \pdv{}{p}\!\left(-\pdv{H}{q}\right) \;=\; \frac{\partial^{2}H}{\partial q\,\partial p} - \frac{\partial^{2}H}{\partial p\,\partial q} \;=\; 0 (0.7.28)

by Clairaut's theorem (Chapter 0.6 §6.1). Zero divergence, so by (0.7.26) phase-space volume is exactly conserved by Hamiltonian flow. That is Liouville's theorem, one of the deepest facts in classical mechanics and the foundation of statistical mechanics, and it has just cost us two lines.

Grind box — divergence in spherical coordinates, from the flux definition

Because (0.7.17) mentions no coordinates, we can evaluate it in any we like. Take a "box" bounded by the coordinate surfaces rr and r+drr+\dd r, θ\theta and θ+dθ\theta+\dd\theta, ϕ\phi and ϕ+dϕ\phi+\dd\phi. From Chapter 0.6 §8.2 its volume is

dV=r2sinθ  drdθdϕ, \dd V = r^{2}\sin\theta\;\dd r\,\dd\theta\,\dd\phi,

and the three pairs of faces have areas r2sinθdθdϕr^{2}\sin\theta\,\dd\theta\,\dd\phi (the rr-faces), rsinθdrdϕr\sin\theta\,\dd r\,\dd\phi (the θ\theta-faces) and rdrdθr\,\dd r\,\dd\theta (the ϕ\phi-faces). Write the field in the orthonormal basis, F=Frr^+Fθθ^+Fϕϕ^\vv F = F^{r}\hat{\vv r} + F^{\theta}\hat{\boldsymbol\theta} + F^{\phi}\hat{\boldsymbol\phi}.

The rr-pair. The outward normals are ±r^\pm\hat{\vv r}, so the net contribution is the difference of Fr×(area)F^{r}\times(\text{area}) at r+drr+\dd r and at rr. Here the area itself depends on rr, which is the entire novelty. So the difference is of the product:

r(Frr2sinθ)drdθdϕ. \partial_{r}\Big(F^{r}\,r^{2}\sin\theta\Big)\,\dd r\,\dd\theta\,\dd\phi.

Divide by dV\dd V: the sinθ\sin\theta cancels and we get 1r2r(r2Fr)\dfrac{1}{r^{2}}\partial_{r}\big(r^{2}F^{r}\big).

The θ\theta-pair. Same move. The area rsinθdrdϕr\sin\theta\,\dd r\,\dd\phi depends on θ\theta through sinθ\sin\theta, so the net contribution is θ(Fθrsinθ)dθdrdϕ\partial_{\theta}\big(F^{\theta}r\sin\theta\big)\dd\theta\,\dd r\,\dd\phi, and dividing by dV\dd V gives 1rsinθθ(sinθFθ)\dfrac{1}{r\sin\theta}\partial_{\theta}\big(\sin\theta\,F^{\theta}\big).

The ϕ\phi-pair. The area rdrdθr\,\dd r\,\dd\theta does not depend on ϕ\phi, so we get ϕ(Fϕr)dϕdrdθ\partial_{\phi}(F^{\phi}r)\,\dd\phi\,\dd r\,\dd\theta, and dividing by dV\dd V gives 1rsinθϕFϕ\dfrac{1}{r\sin\theta}\partial_{\phi}F^{\phi}. Adding:

F=1r2r(r2Fr)+1rsinθθ(sinθFθ)+1rsinθFϕϕ. \nabla\cdot\vv F = \frac{1}{r^{2}}\pdv{}{r}\big(r^{2}F^{r}\big) + \frac{1}{r\sin\theta}\pdv{}{\theta}\big(\sin\theta\,F^{\theta}\big) + \frac{1}{r\sin\theta}\pdv{F^{\phi}}{\phi}.

Every factor in that intimidating formula has now been accounted for: each one is an area or a volume from Chapter 0.6's Jacobian, and the derivatives act on the products because the areas themselves vary. Nothing was memorised.

The one that matters. For a purely radial field F=f(r)r^\vv F = f(r)\hat{\vv r} only the first term survives, so F=r2(r2f)\nabla\cdot\vv F = r^{-2}\big(r^{2}f\big)'. Take f=1/r2f = 1/r^{2}:

r^r2  =  1r2ddr(r2r2)  =  1r2ddr(1)  =  0(r0). \nabla\cdot\frac{\hat{\vv r}}{r^{2}} \;=\; \frac{1}{r^{2}}\dv{}{r}\big(r^{2}\cdot r^{-2}\big) \;=\; \frac{1}{r^{2}}\dv{}{r}(1) \;=\; 0 \qquad (r\neq0).

The inverse-square field is divergence-free everywhere it is defined. Remember that. The warning callout below is about the four words in brackets.

A cross-check worth making. Chapter 3.5 §6.4 will prove the general formula F=1gi(gFi)\nabla\cdot\vv F = \tfrac{1}{\sqrt g}\,\partial_{i}\big(\sqrt g\,F^{i}\big), where g\sqrt g is the volume factor of Chapter 0.6 §8.3 and the FiF^{i} are coordinate-basis components. We quote it here only to check it against what we just derived. In spherical coordinates g=r2sinθ\sqrt g = r^{2}\sin\theta, and the coordinate components are related to the orthonormal ones by Fcoordθ=Fθ/rF^{\theta}_{\text{coord}} = F^{\theta}/r and Fcoordϕ=Fϕ/(rsinθ)F^{\phi}_{\text{coord}} = F^{\phi}/(r\sin\theta), because θ\partial_{\theta} has length rr and ϕ\partial_{\phi} has length rsinθr\sin\theta. Substituting reproduces the three terms above exactly. The flux box and the metric formula are the same statement.

In plain terms 0.7.3

Shrink a closed surface down around a point, keep account of how much more leaves it than enters, divide by the volume enclosed, and the number surviving the shrinking is the divergence. Notice what the recipe never mentions: no axes, no components, no choice of description whatsoever. That matters, because the formula it produces looks like a statement about coordinates, and it cannot be one.

What the formula turns out to be is the sum of the diagonal entries of the array of first derivatives, which the linear algebra chapters singled out as the one quantity in an array that no change of description can disturb. Set that beside the other fact established there, that a map barely different from doing nothing multiplies volumes by one plus that sum, and the meaning arrives in a line. Carry a small blob of dye along with the flow and the divergence is the fractional rate at which the blob swells.

Positive means expanding, negative means squeezing, and zero means the flow rearranges without ever compressing. That reading is worth more than the formula, because it converts one of the deepest statements in classical mechanics, that the volume occupied by a spread of possible states never changes as they evolve, into a two-line consequence of the fact that mixed second derivatives are indifferent to their order.

4 · Curl, derived — and what a Jacobian is made of

4.1 · The definition

Divergence measured outflow per unit volume. The other thing a field can do near a point is go round, so measure circulation per unit area. Fix a direction n^\hat{\vv n}, take a small loop lying in the plane perpendicular to n^\hat{\vv n} and traversed counterclockwise as seen from the tip of n^\hat{\vv n} (the right-hand rule, which is a choice we are making and must then keep), and define

  n^(×F)(p)    limA0  1AAFdr.   \boxed{\;\hat{\vv n}\cdot\big(\nabla\times\vv F\big)(\vv p) \;\equiv\; \lim_{A\to0}\;\frac{1}{\abs{A}}\oint_{\partial A}\vv F\cdot\dd\vv r.\;} (0.7.29)

Again: no coordinates. But writing the left side that way asserts something we have not earned yet. It says that the resulting numbers, one for each direction n^\hat{\vv n}, are the components of a single vector. Equivalently, it says that the answer depends linearly on n^\hat{\vv n}. That is not obvious from (0.7.29). The computation below establishes it, because the answer it produces is manifestly a dot product of n^\hat{\vv n} with a fixed vector.

4.2 · The rectangle

Take n^=z^\hat{\vv n}=\hat{\vv z} and a rectangle in the plane z=constz=\text{const}, centred at p=(x,y,z)\vv p = (x,y,z), with sides Δx\Delta x and Δy\Delta y, traversed counterclockwise. Walk the four sides, keeping track of direction:

SideDirectionContribution
bottom, at yΔy2y-\tfrac{\Delta y}{2}+x^+\hat{\vv x}+Fx(x,yΔy2)Δx+F^{x}\big(x,\,y-\tfrac{\Delta y}{2}\big)\,\Delta x
right, at x+Δx2x+\tfrac{\Delta x}{2}+y^+\hat{\vv y}+Fy(x+Δx2,y)Δy+F^{y}\big(x+\tfrac{\Delta x}{2},\,y\big)\,\Delta y
top, at y+Δy2y+\tfrac{\Delta y}{2}x^-\hat{\vv x}Fx(x,y+Δy2)Δx-F^{x}\big(x,\,y+\tfrac{\Delta y}{2}\big)\,\Delta x
left, at xΔx2x-\tfrac{\Delta x}{2}y^-\hat{\vv y}Fy(xΔx2,y)Δy-F^{y}\big(x-\tfrac{\Delta x}{2},\,y\big)\,\Delta y

Group the two yy-directed sides together and the two xx-directed sides together:

Fdr  =  [Fy(x+Δx2)Fy(xΔx2)]Δy  [Fx(y+Δy2)Fx(yΔy2)]Δx. \begin{aligned} \oint\vv F\cdot\dd\vv r \;=\; &\Big[F^{y}\big(x+\tfrac{\Delta x}{2}\big)-F^{y}\big(x-\tfrac{\Delta x}{2}\big)\Big]\Delta y\\[4pt] -\; &\Big[F^{x}\big(y+\tfrac{\Delta y}{2}\big)-F^{x}\big(y-\tfrac{\Delta y}{2}\big)\Big]\Delta x. \end{aligned} (0.7.30)

Each bracket is the same two-sided difference that appeared in (0.7.19), so each is a derivative times the spacing, up to higher order:

Fdr  =  (xFyyFx)ΔxΔy  +  O(Δ3). \oint\vv F\cdot\dd\vv r \;=\; \Big(\partial_{x}F^{y} - \partial_{y}F^{x}\Big)\,\Delta x\,\Delta y \;+\; O(\Delta^{3}). (0.7.31)

We want circulation per unit area rather than circulation, so divide by the area ΔxΔy\Delta x\,\Delta y and let the rectangle shrink. The O(Δ3)O(\Delta^{3}) term goes with it:

(×F)z  =  xFyyFx. \big(\nabla\times\vv F\big)_{z} \;=\; \partial_{x}F^{y} - \partial_{y}F^{x}. (0.7.32)

The other two components come from the same computation with the labels rotated xyzxx\to y\to z\to x, since nothing in the argument singled out zz:

×F  =  (yFzzFy,    zFxxFz,    xFyyFx). \nabla\times\vv F \;=\; \Big(\partial_{y}F^{z}-\partial_{z}F^{y},\;\; \partial_{z}F^{x}-\partial_{x}F^{z},\;\; \partial_{x}F^{y}-\partial_{y}F^{x}\Big). (0.7.33)

Each component is manifestly linear in F\vv F and the three of them assemble into a vector, which retroactively justifies the notation of (0.7.29). In two dimensions only the last component exists, and it is a scalar. That is the object §2 was computing.

4.3 · Every Jacobian splits in exactly one way

Now the structural fact, which explains what the curl is rather than how to compute it. Any square matrix JJ can be written as a symmetric part plus an antisymmetric part:

J  =  12(J+JT)S,  ST=S  +  12(JJT)A,  AT=A. J \;=\; \underbrace{\tfrac12\big(J+J^{\mathsf T}\big)}_{S,\ \ S^{\mathsf T}=S} \;+\; \underbrace{\tfrac12\big(J-J^{\mathsf T}\big)}_{A,\ \ A^{\mathsf T}=-A}. (0.7.34)

The split exists (just add the two pieces and the transposes cancel) and it is unique: if J=S+AJ = S'+A' with SS' symmetric and AA' antisymmetric, transposing gives JT=SAJ^{\mathsf T}=S'-A', and adding and subtracting the two equations forces S=12(J+JT)S'=\tfrac12(J+J^{\mathsf T}) and A=12(JJT)A'=\tfrac12(J-J^{\mathsf T}). So the decomposition is not a choice.

Apply it to the Jacobian of a velocity field. An antisymmetric matrix has zeros on its diagonal (Aii=AiiA_{ii}=-A_{ii} forces Aii=0A_{ii}=0), so trA=0\mathrm{tr}A=0 and

F  =  trJ  =  trS. \nabla\cdot\vv F \;=\; \mathrm{tr}\,J \;=\; \mathrm{tr}\,S. (0.7.35)

All of the divergence lives in the symmetric part. And the antisymmetric part, written out with Jij=jFiJ^{i}{}_{j}=\partial_{j}F^{i}, is

A  =  12(0yFxxFyzFxxFzxFyyFx0zFyyFzxFzzFxyFzzFy0). A \;=\; \frac12\begin{pmatrix} 0 & \partial_{y}F^{x}-\partial_{x}F^{y} & \partial_{z}F^{x}-\partial_{x}F^{z}\\ \partial_{x}F^{y}-\partial_{y}F^{x} & 0 & \partial_{z}F^{y}-\partial_{y}F^{z}\\ \partial_{x}F^{z}-\partial_{z}F^{x} & \partial_{y}F^{z}-\partial_{z}F^{y} & 0 \end{pmatrix}. (0.7.36)

Every entry is one of the three components of (0.7.33), up to a sign. Writing ω×F\vv\omega\equiv\nabla\times\vv F, the matrix is exactly

A  =  12(0ωzωyωz0ωxωyωx0). A \;=\; \frac12\begin{pmatrix} 0 & -\omega_{z} & \omega_{y}\\ \omega_{z} & 0 & -\omega_{x}\\ -\omega_{y} & \omega_{x} & 0\end{pmatrix}. (0.7.37)

Check one entry to be sure: A21=12(xFyyFx)=12ωzA_{21} = \tfrac12(\partial_{x}F^{y}-\partial_{y}F^{x}) = \tfrac12\omega_{z} by (0.7.32), and that is what sits in row 2, column 1 of (0.7.37). The other five follow the same way.

A matrix of that shape does something recognisable. Apply it to a displacement h\vv h:

Ah  =  12(ωyh3ωzh2ωzh1ωxh3ωxh2ωyh1)  =  12ω×h. A\vv h \;=\; \frac12\begin{pmatrix} \omega_{y}h^{3} - \omega_{z}h^{2}\\ \omega_{z}h^{1} - \omega_{x}h^{3}\\ \omega_{x}h^{2} - \omega_{y}h^{1}\end{pmatrix} \;=\; \tfrac12\,\vv\omega\times\vv h. (0.7.38)

And hΩ×h\vv h\mapsto\vv\Omega\times\vv h is precisely the velocity field of a rigid rotation with angular velocity Ω\vv\Omega. Put the pieces together with Chapter 0.6's linearisation F(p+h)=F(p)+Jh+o(h)\vv F(\vv p+\vv h) = \vv F(\vv p) + J\vv h + o(\abs{\vv h}):

What a flow does to a small blob

F(p+h)  =  F(p)translate  +  Shstrain  +  12ω×hrotate  +  o(h) \vv F(\vv p+\vv h) \;=\; \underbrace{\vv F(\vv p)}_{\text{translate}} \;+\; \underbrace{S\,\vv h}_{\text{strain}} \;+\; \underbrace{\tfrac12\,\vv\omega\times\vv h}_{\text{rotate}} \;+\; o(\abs{\vv h})

A small ball of tracer particles is doing three things at once.

  • It is carried along at F(p)\vv F(\vv p).
  • It is stretched or squeezed along the eigenvectors of the symmetric part SS. Since SS is symmetric, Chapter 0.5's spectral theorem gives it an orthonormal eigenbasis, and the eigenvalues are the stretching rates along those axes. Their sum is the divergence, by (0.7.35).
  • It is rotated rigidly at angular velocity 12×F\tfrac12\nabla\times\vv F.

So: the curl is twice the local angular velocity of the flow. The factor of two is not a convention anybody chose. It fell out of (0.7.38).

This is the cleanest possible statement of what divergence and curl are. They are the two invariant pieces of the Jacobian: the trace, and the antisymmetric part. Note also what they are not: they are not everything. The traceless symmetric part of SS is left over. It describes pure shear, and it is invisible to both operators. A field can therefore deform a blob dramatically while having zero divergence and zero curl. The figure below is built to show you exactly that, because no static picture can.

4.4 · Why the curl is a vector only in three dimensions

Count. An antisymmetric n×nn\times n matrix is determined by its entries strictly above the diagonal, of which there are 12n(n1)\tfrac12 n(n-1). A vector in nn dimensions has nn components. Those two counts agree when

12n(n1)=nn1=2n=3. \tfrac12 n(n-1) = n \qquad\Longleftrightarrow\qquad n-1 = 2 \qquad\Longleftrightarrow\qquad n = 3. (0.7.39)

Only in three dimensions. The table is short and worth memorising:

nnantisymmetric componentsvector componentscurl is…
212a scalar
333a vector, the lucky coincidence
464an antisymmetric matrix, irreducibly

In two dimensions there is one number and it does not point anywhere, which is why §2 wrote (×F)z(\nabla\times\vv F)_{z} and treated it as a scalar. In four dimensions there are six components and no vector to pack them into, so the antisymmetric object has to stay a matrix.

Foreshadowing that is exact, not analogical

Spacetime is four-dimensional. So when Chapter 2.6 antisymmetrises the derivative of the gauge potential AμA_{\mu}, the result cannot be a vector. It must be the antisymmetric tensor

Fμν  =  μAννAμ, F_{\mu\nu} \;=\; \partial_{\mu}A_{\nu} - \partial_{\nu}A_{\mu},

with 1243=6\tfrac12\cdot4\cdot3 = 6 independent components. And the electromagnetic field has exactly six numbers at each point: three of E\vv E and three of B\vv B. They are not two vectors. They are the six entries of one antisymmetric matrix, split into a "time-space" block and a "space-space" block by an observer's choice of what time means. That is why a moving observer sees electric and magnetic fields mix into each other.

The reason B\vv B ever looked like a vector is (0.7.39). In the three-dimensional space-space block, and only there, an antisymmetric matrix has as many entries as a vector, so you can repackage it. The magnetic field is not a vector. It is a 3×33\times3 antisymmetric matrix that has been allowed to impersonate one. Chapter 2.6 stops the impersonation, and the cross product goes with it, because a×b\vv a\times\vv b is a three-dimensional accident for exactly the same reason.

Grind box — the index form, ϵijk\epsilon_{ijk}, and the dimension count again

Define the Levi-Civita symbol ϵijk\epsilon_{ijk} to be +1+1 if (ijk)(ijk) is a cyclic permutation of (123)(123), 1-1 if it is an odd permutation, and 00 if any index repeats. Then (0.7.33) is the single line below, with one note about heights first. Everything in this chapter is Cartesian and Euclidean, where δij=δij\delta_{ij}=\delta^{ij} and raising an index changes nothing, so we suppress the distinction and write all of ϵ\epsilon's indices down. Chapter 2.4 reinstates it, and from there onward Chapter 0.6 §5.2's one-up-one-down test applies literally.

(×F)i  =  ϵijkjFk, \big(\nabla\times\vv F\big)_{i} \;=\; \epsilon_{ijk}\,\partial_{j}F^{k},

summed over jj and kk. Check the case i=3i=3: the nonzero terms are ϵ312=+1\epsilon_{312}=+1 and ϵ321=1\epsilon_{321}=-1, giving 1F22F1\partial_{1}F^{2}-\partial_{2}F^{1}, which is (0.7.32). ✓

The contraction identity. We will use

ϵijkϵklm  =  δilδjmδimδjl, \epsilon_{ijk}\,\epsilon_{klm} \;=\; \delta_{il}\delta_{jm} - \delta_{im}\delta_{jl},

and here is the argument rather than an assertion. Both sides are antisymmetric under iji\leftrightarrow j and under lml\leftrightarrow m, and both vanish unless {i,j}={l,m}\{i,j\}=\{l,m\} as sets with iji\ne j (on the left, because the sum over kk needs k{i,j}k\notin\{i,j\} and k{l,m}k\notin\{l,m\}, and in three dimensions that leaves at most one kk). So it is enough to check one representative case, i=l=1i=l=1, j=m=2j=m=2: the left side is ϵ12kϵk12=ϵ123ϵ312=1\epsilon_{12k}\epsilon_{k12} = \epsilon_{123}\epsilon_{312} = 1, and the right side is δ11δ22δ12δ21=1\delta_{11}\delta_{22}-\delta_{12}\delta_{21} = 1. ✓ Antisymmetry propagates the check to every other case.

The antisymmetric part in index form. With ω=×F\vv\omega=\nabla\times\vv F,

ϵijkωk=ϵijkϵklmlFm=iFjjFi=2Aij, \epsilon_{ijk}\omega_{k} = \epsilon_{ijk}\epsilon_{klm}\partial_{l}F^{m} = \partial_{i}F^{j} - \partial_{j}F^{i} = -2A_{ij},

using Aij=12(jFiiFj)A_{ij}=\tfrac12(\partial_{j}F^{i}-\partial_{i}F^{j}) from (0.7.34). So Aij=12ϵijkωkA_{ij} = -\tfrac12\epsilon_{ijk}\omega_{k}, which is (0.7.37) written compactly, and ωk=ϵkijAij\omega_{k} = -\epsilon_{kij}A_{ij} inverts it.

And now the dimension count, structurally. The repackaging works because ϵijk\epsilon_{ijk} has three indices and can convert a two-index antisymmetric object into a one-index object. In nn dimensions the Levi-Civita symbol has nn indices, so it converts an antisymmetric 22-index object into an antisymmetric (n2)(n-2)-index one. For n=3n=3 that is a vector. For n=4n=4 it is another antisymmetric matrix, which is why Chapter 2.6's F~μν=12ϵμνρσFρσ\tilde F^{\mu\nu} = \tfrac12\epsilon^{\mu\nu\rho\sigma}F_{\rho\sigma} (the "dual" field, which swaps E\vv E and B\vv B) is a matrix and not a vector. The cross product, the curl-as-vector, and the fact that a rotation in three dimensions has an axis are all the same coincidence: 12n(n1)=n\tfrac12 n(n-1)=n at n=3n=3. In four dimensions a rotation has no axis. It has an invariant plane instead, and Chapter 2.2's Lorentz transformations are exactly such rotations.

t = 0.35
∇·F = +2.000 · measured ln(A/A₀)/t = +2.000
(∇×F)_z = +0.000 · measured 2ϑ/t = -0.000
blob: area ×2.014, stretched ×1.42 / ×1.42, turned -0.0°
What the flow does to a blob. Green arrows are the field, all drawn the same length so that only their direction is being claimed. The dashed grey circle is a ring of tracer particles placed around the sample point. The solid blue shape is where the flow has carried them after a time tt, integrated numerically rather than linearised, so this is the real flow and the linear theory of §4.3 is what is being tested. The short radial spokes mark the same material particle before and after, so you can see rotation directly. The two readouts are measurements, not restatements. The blob's area ratio gives ln(A/A0)/t\ln(A/A_{0})/t, which by (0.7.27) must equal the divergence. The best-fit rotation angle ϑ\vartheta of the deformed blob gives 2ϑ/t2\vartheta/t, which by (0.7.38) must equal the curl. Compare each with the analytic value printed beside it. Now work through the presets. Source: the circle grows and stays a circle, giving pure divergence of 22 and no rotation. Rotation: it turns without changing size or shape, giving pure curl of 22 and zero divergence. Shear: both readouts are zero, and the circle is visibly crushed into an ellipse. That is the point of the figure. Divergence and curl are independent, and between them they do not capture everything a flow does. The leftover is the traceless symmetric part, and the ellipse's axes are its eigenvectors, here (1,1)(1,1) and (1,1)(1,-1). Note that this field is (xy)\nabla(xy), so it is conservative and incompressible, and it still shreds the blob. Mixed: here F=y+1\nabla\cdot\vv F = y+1 and (×F)z=1x(\nabla\times\vv F)_{z} = 1-x, so you can dial each independently by dragging. Try (1,1)(1,-1) for zero-and-zero, (1,1)(1,1) for pure divergence, and (1,1)(-1,-1) for pure curl. For this field the measured and analytic numbers differ, because the blob travels to places with different divergence during the time tt. Drag tt toward zero and watch them converge. That gap is the limit in (0.7.17), made visible.
In plain terms 0.7.4

Where the divergence measured swelling, what is left to measure is turning, and turning is detected by walking a small closed loop and totting up how much the field carried you along as you went. Do it in the plane perpendicular to each of three directions and the three answers assemble into a vector, though the assembling is arithmetical luck rather than law: the count of independent antisymmetric quantities matches the count of directions only in three dimensions. In four it does not, which is why the electric and magnetic fields will later have to stop impersonating two vectors and admit to being six entries of one antisymmetric object, and why the cross product goes the same way.

Underneath both operators lies a single decomposition. Any array splits, in exactly one way, into a part unchanged by swapping its two labels and a part that reverses sign, and applied to the derivatives of a flow this says that near any point a flow carries a small blob along, stretches it along three perpendicular axes, and spins it rigidly.

The divergence is the total stretching and the curl is twice the rate of spin. They were never two inventions but two pieces of one derivative, and they do not exhaust it, since the shearing left over is invisible to both: a flow can shred a blob while reporting zero for each.

5 · The three theorems are one theorem

5.1 · The statements

Here are the three results, so you know where we are going.

The divergence theorem (Gauss, Ostrogradsky). For a region VV with closed boundary surface V\partial V, outward normal:

V(F)  dV  =  VFdA. \int_{V}\big(\nabla\cdot\vv F\big)\;\dd V \;=\; \oint_{\partial V}\vv F\cdot\dd\vv A. (0.7.40)

Stokes' theorem. For a surface SS with boundary curve S\partial S, oriented by the right-hand rule relative to the surface normal:

S(×F)dA  =  SFdr. \int_{S}\big(\nabla\times\vv F\big)\cdot\dd\vv A \;=\; \oint_{\partial S}\vv F\cdot\dd\vv r. (0.7.41)

Green's theorem. For a region RR in the plane with boundary curve R\partial R traversed counterclockwise, and any two functions P,QP,Q:

R(QxPy)dxdy  =  R(Pdx+Qdy). \int_{R}\left(\pdv{Q}{x} - \pdv{P}{y}\right)\dd x\,\dd y \;=\; \oint_{\partial R}\big(P\,\dd x + Q\,\dd y\big). (0.7.42)

Green's theorem is not independent: put F=(P,Q,0)\vv F = (P,Q,0) and take SS to be the flat region RR with n^=z^\hat{\vv n}=\hat{\vv z}. Then (0.7.32) makes the left side of (0.7.41) into the left side of (0.7.42), and Fdr=Pdx+Qdy\vv F\cdot\dd\vv r = P\,\dd x + Q\,\dd y makes the right sides agree. Green's theorem is the special case of Stokes' theorem for a flat surface. Two to go.

5.2 · The divergence theorem, derived by cancellation

Chop the region VV into NN small cells V1,,VNV_{1},\ldots,V_{N}. Picture a fine grid of boxes. For each cell, the definition of divergence (0.7.17) says that its outward flux is the divergence at an interior point times its volume, up to something smaller:

VkFdA  =  (F)(pk)Vk  +  o(Vk). \oint_{\partial V_{k}}\vv F\cdot\dd\vv A \;=\; \big(\nabla\cdot\vv F\big)(\vv p_{k})\,\abs{V_{k}} \;+\; o\big(\abs{V_{k}}\big). (0.7.43)

Now sum over all cells. Look at the two sides separately.

The right side is a Riemann sum. k(F)(pk)Vk\sum_{k}(\nabla\cdot\vv F)(\vv p_{k})\abs{V_{k}} is exactly the tagged sum that Chapter 0.2 defined the integral to be the limit of, so as the cells shrink it converges to V(F)dV\int_{V}(\nabla\cdot\vv F)\,\dd V.

The left side collapses. Every face of every cell is either an interior face, shared with a neighbouring cell, or a piece of the outer boundary V\partial V. Consider an interior face shared by cells kk and \ell. The same field F\vv F is integrated over the same patch of surface twice, once with the outward normal of cell kk and once with the outward normal of cell \ell. Those two normals are opposite, because outward from kk is inward to \ell. So the two contributions are +Fn^dA+\int\vv F\cdot\hat{\vv n}\,\dd A and Fn^dA-\int\vv F\cdot\hat{\vv n}\,\dd A, and they cancel exactly. Not approximately: they are the same integral with opposite signs.

Every interior face is shared by exactly two cells, so every interior contribution cancels. What survives is the sum over faces lying on V\partial V, which is precisely VFdA\oint_{\partial V}\vv F\cdot\dd\vv A. Equating the two limits gives the theorem:

  V(F)  dV  =  VFdA.   \boxed{\;\int_{V}\big(\nabla\cdot\vv F\big)\;\dd V \;=\; \oint_{\partial V}\vv F\cdot\dd\vv A.\;} (0.7.44)
You have seen this argument before

Chapter 0.2 proved the Fundamental Theorem like this: partition [a,b][a,b], telescope G(b)G(a)=i[G(xi)G(xi1)]G(b)-G(a) = \sum_{i}\big[G(x_{i})-G(x_{i-1})\big], notice that every interior partition point appears twice with opposite signs and cancels, and conclude that only the boundary survives.

That is the paragraph you just read, with "partition point" replaced by "face". In one dimension the cells are intervals and their boundaries are points. In three dimensions the cells are boxes and their boundaries are squares. The mechanism is identical: add up local changes, watch the interior cancel in pairs, keep what is left on the boundary. And it is the only mechanism in this chapter.

5.3 · Stokes' theorem, by the identical move

Tile the surface SS with small patches S1,,SNS_{1},\ldots,S_{N}, each with its own boundary loop oriented consistently with the surface normal. By the definition of curl (0.7.29), each patch satisfies

SkFdr  =  (×F)(pk)n^kSk  +  o(Sk). \oint_{\partial S_{k}}\vv F\cdot\dd\vv r \;=\; \big(\nabla\times\vv F\big)(\vv p_{k})\cdot\hat{\vv n}_{k}\,\abs{S_{k}} \;+\; o\big(\abs{S_{k}}\big). (0.7.45)

Sum. The right side is a Riemann sum for S(×F)dA\int_{S}(\nabla\times\vv F)\cdot\dd\vv A. On the left, every interior edge is shared by exactly two patches. Because the two patches are traversed with a consistent orientation, they walk that shared edge in opposite directions. By the orientation rule of §2.1's grind box, the two line integrals over that edge are negatives of each other and cancel exactly. Only edges on the outer boundary S\partial S survive, giving (0.7.41). \blacksquare

The consistency of the orientations is where the right-hand rule earns its keep: it is the rule that guarantees adjacent patches disagree about the direction of their shared edge. If you have ever wondered why Stokes' theorem comes with a hand attached, that is why.

5.4 · One theorem

Line up everything this book has proved that has this shape.

TheoremRegion MMBoundary M\partial MThe thing ω\omegaIts derivative dω\dd\omega
FTC (0.2)intervaltwo endpointsfffdxf'\,\dd x
Gradient (§2.2)curvetwo endpointsϕ\phiϕdr\nabla\phi\cdot\dd\vv r
Stokes / Greensurfaceclosed curveFdr\vv F\cdot\dd\vv r(×F)dA(\nabla\times\vv F)\cdot\dd\vv A
Divergencevolumeclosed surfaceFdA\vv F\cdot\dd\vv A(F)dV(\nabla\cdot\vv F)\,\dd V

Every row says the same thing, and the operators \nabla, ×\nabla\times, \nabla\cdot are three appearances of one operation applied to objects of three different types. Chapter 3.5 will build the objects properly. They are called differential forms, the operation is the exterior derivative d\dd, and ω\omega ranges over forms of degree 0,1,20,1,2. Once those definitions are in place, all four rows become one equation:

  Mdω  =  Mω.   \boxed{\;\int_{M}\dd\omega \;=\; \oint_{\partial M}\omega.\;} (0.7.46)

⚑ We are quoting the general form, not deriving it: the machinery needed to define ω\omega and dω\dd\omega on a manifold of arbitrary dimension is Chapter 3.5's job, and doing it here would be building a cathedral to hang a door. But nothing in the table above is being taken on faith. All four rows have been derived, in Chapter 0.2 and in this chapter, by the same cancellation argument. What Chapter 3.5 adds is notation good enough to say it once.

One structural remark to file. A boundary has no boundary. The boundary of a disc is a circle, and a circle has no endpoints. The boundary of a ball is a sphere, and a sphere has no edge. Symbolically (M)=\partial(\partial M) = \emptyset. Under the correspondence of the table, that fact about regions must correspond to a fact about derivatives, and it does. It is d2=0\dd^{2}=0, and §7 proves the two instances of it you already know.

Grind box — what the cancellation argument does and does not establish

The subdivision argument is the right picture, it is how every working physicist thinks about these theorems, and it is not a proof. Three gaps, in increasing order of seriousness.

(i) Uniformity of the remainder. We wrote o(Vk)o(\abs{V_{k}}) for each cell and then summed NN of them, with NN\to\infty. A sum of many small errors need not be small. What is needed is that the error is εVk\varepsilon\abs{V_{k}} with a single ε\varepsilon that works for all cells at once and tends to zero as the grid refines. Then the total error is εV0\varepsilon\abs{V}\to0. Uniformity of that kind is supplied by continuity of the partial derivatives on a closed bounded region, which is the same hypothesis, and the same reason, as in Chapter 0.6 §8's grind box.

(ii) The boundary is a staircase. Cells that straddle V\partial V are not fully inside, and a grid of boxes approximates a curved boundary by a staircase whose area does not in general converge to the true area even when the enclosed volume does. Repairing this honestly means either using cells adapted to the boundary or a limiting argument that controls the boundary layer's contribution. That control is available for piecewise-smooth boundaries, and genuinely false for sufficiently ugly ones.

(iii) We assumed the definitions converge. (0.7.43) is the definition of divergence read backwards, which presumes the limit in (0.7.17) exists and is approached uniformly over the region. For C1C^{1} fields it does, by the argument in §3.3's grind box. For fields that are merely differentiable it can fail.

The honest statement of the theorem is therefore: for a compact region with piecewise-smooth boundary and a continuously differentiable field, (0.7.44) holds. That covers everything in this book. What you should take from the argument is the mechanism, which is that interior faces cancel in pairs. The mechanism is what generalises to Chapter 3.5's manifolds, where there is no grid of boxes to draw and the cancellation is enforced algebraically by the antisymmetry of forms instead.

In plain terms 0.7.5

Three results with three names, three sets of hypotheses and three right-hand rules turn out to be one result stated at three different sizes. The argument establishing each is the one the second chapter used on an interval: chop the region into cells, add up what happens locally inside each of them, and observe that every internal wall is shared by two neighbours who count it with opposite signs, so all of it cancels in pairs and only the outermost skin survives.

What is left is a sentence worth learning in preference to the formulas. Whatever a derivative accumulates throughout a region is bookkept entirely on that region's boundary, and the dimension of the region is free: the two ends of an interval, the two ends of a curve, the rim of a surface, the skin of a solid. Written once, in a language general enough for curved spaces of any dimension, the four statements become one line, and that line is the most reused structural fact in theoretical physics.

A corollary hides in the geometry and will be spent shortly. A boundary has no boundary of its own, since a disc is bounded by a circle and a circle stops nowhere, and a ball by a sphere, which has no edge. Under the correspondence above, that fact about regions must appear as a fact about derivatives, and it does.

6 · The continuity equation

Now the single most reused equation in physics, and it is three lines from §5.

Let ρ(x,t)\rho(\vv x,t) be the density of some substance. It could be charge per unit volume, mass per unit volume, or probability per unit volume. Let J(x,t)\vv J(\vv x,t) be its current density, meaning the vector field whose flux through a surface is the rate at which the substance crosses it (§3.1). Fix a region VV, fixed in space and not moving. The amount inside is

QV(t)  =  Vρ(x,t)  dV. Q_{V}(t) \;=\; \int_{V}\rho(\vv x,t)\;\dd V. (0.7.47)

Now impose the physical assumption, which is the entire content of the derivation: the substance is neither created nor destroyed, so the only way the amount inside VV can change is by flowing through the boundary. Outflow decreases it, hence the minus sign:

dQVdt  =  VJdA. \dv{Q_{V}}{t} \;=\; -\oint_{\partial V}\vv J\cdot\dd\vv A. (0.7.48)

Handle each side. On the left, VV is fixed, so the time derivative passes through the integral and lands on the integrand as a partial derivative (differentiating under the integral sign, legitimate here for the same reason as in Chapter 0.2 §4.4: the integrand and its tt-derivative are continuous and the domain is fixed). On the right, apply the divergence theorem (0.7.44):

Vρt  dV  =  VJ  dVV(ρt+J)dV=0. \int_{V}\pdv{\rho}{t}\;\dd V \;=\; -\int_{V}\nabla\cdot\vv J\;\dd V \qquad\Longrightarrow\qquad \int_{V}\left(\pdv{\rho}{t} + \nabla\cdot\vv J\right)\dd V = 0. (0.7.49)

And now the step that does the real work: VV was arbitrary. We never said which region. So the integral of that bracket vanishes over every region whatsoever, and a continuous function with that property is zero.

Lemma — vanishing integrals over all regions

If gg is continuous and VgdV=0\int_{V}g\,\dd V = 0 for every region VV, then g0g\equiv0.

Proof. Suppose g(p)>0g(\vv p)\gt0 for some p\vv p. By continuity there is a ball BB around p\vv p on which g>12g(p)g\gt\tfrac12 g(\vv p), and then BgdV12g(p)B>0\int_{B}g\,\dd V \ge \tfrac12 g(\vv p)\,\abs{B} \gt 0, contradicting the hypothesis for V=BV=B. The same argument with signs reversed handles g(p)<0g(\vv p)\lt0. Hence gg vanishes everywhere. \blacksquare

Continuity is essential and is doing exactly the work you would expect: it is what stops the function from being nonzero on a set too small for any ball to notice.

The bracket in (0.7.49) is continuous and its integral vanishes over every region, so the lemma applies and the bracket itself is zero everywhere:

  ρt  +  J  =  0.   \boxed{\;\pdv{\rho}{t} \;+\; \nabla\cdot\vv J \;=\; 0.\;} (0.7.50)

6.1 · What it says, and why "local" is the important word

Read it at a point. The density here goes down exactly as fast as the current here diverges, which is to say exactly as fast as stuff flows away from here. That is a much stronger statement than "the total amount in the universe is constant".

To see how much stronger, ask what the weaker version would tolerate. Global conservation would permit a charge to vanish in London and simultaneously appear in Sydney, since the books would balance. (0.7.50) forbids it. To leave a region the substance must cross the boundary, and to get anywhere it must travel through the intervening space.

What a conservation law actually is

A local conservation law is a continuity equation. "XX is conserved" means there exists a current JX\vv J_{X} such that ρXt+JX=0\pdv{\rho_{X}}{t}+\nabla\cdot\vv J_{X}=0. The global statement is the integrated version, not the definition.

The global version follows by integrating over all space. Take VV to be a ball of radius RR and integrate (0.7.50) over it. The divergence theorem turns the second term back into a surface flux:

ddtx<Rρ  dV  =  x=RJdA. \dv{}{t}\int_{\abs{\vv x}\lt R}\rho\;\dd V \;=\; -\oint_{\abs{\vv x}=R}\vv J\cdot\dd\vv A. (0.7.51)

The surface area grows like R2R^{2}, so if J\vv J falls off faster than 1/R21/R^{2} the right side tends to zero as RR\to\infty, and the total amount in the universe is constant. So global conservation is a consequence of local conservation plus a boundary condition at infinity. And when the boundary condition fails, as it does for a radiating system, it fails for good physical reasons.

6.2 · Where it turns up

Constantly. A partial list, all of which this book reaches:

  • Charge, in electromagnetism (Chapter 2.6). ρ\rho is charge density and J\vv J the electric current. Problem 4 shows that Maxwell's equations do not merely permit this equation. They force it, and the mechanism is §7's identity (×A)=0\nabla\cdot(\nabla\times\vv A)=0.
  • Probability, in quantum mechanics (Chapter 4.6). With ρ=ψ2\rho = \abs{\psi}^{2} and a current built from ψ\psi and ψ\nabla\psi, the Schrödinger equation implies exactly (0.7.50). That is what "the wavefunction stays normalised" means locally: probability does not teleport.
  • Noether currents (Chapters 1.4 and 5.2). Noether's theorem does not produce a conserved number. It produces a conserved current satisfying μJμ=0\partial_{\mu}J^{\mu}=0, of which (0.7.50) is the component-by-component reading. Every continuous symmetry gives one.
  • Energy and momentum, in general relativity (Chapter 3.6). μTμν=0\nabla_{\mu}T^{\mu\nu}=0 is this equation for the energy–momentum tensor, with an index left over because energy and momentum travel together. In general relativity it is not imposed. It is forced by a geometric identity, which is d2=0\dd^{2}=0 yet again.
  • Diffusion (the callout at the end of §7). Combine it with Fick's law and out falls the diffusion equation.

One notational preview, because it explains why the equation looks lopsided. In relativity ρ\rho and J\vv J are not separate objects: they are the four components of a single four-vector Jμ=(ρc,J)J^{\mu}=(\rho c,\,\vv J), and (0.7.50) is

μJμ  =  0, \partial_{\mu}J^{\mu} \;=\; 0, (0.7.52)

a four-dimensional divergence set to zero. The time derivative and the spatial divergence are the same operation, split up by an observer's choice of what counts as time. Chapter 2.4 makes this precise. Note in passing that it is the same "one object, split by an observer" story as E\vv E and B\vv B in §4.4.

In plain terms 0.7.6

Conservation is normally stated globally, as the claim that some grand total, added over everything, never changes. The version obtained here is considerably stronger and considerably stranger, and the whole of the derivation is one physical sentence: the substance is neither made nor destroyed, so the only way the amount inside a region can change is by crossing the boundary. Convert that crossing into an integral over the region, notice that the region was never specified, and a claim about every region collapses into a claim at each point.

The strength of the local statement is easiest to feel by asking what the global one would tolerate. Global conservation is content for a charge to vanish in London at the instant an identical charge appears in Sydney, because the books balance either way. The local statement forbids it outright, since to leave anywhere the substance must cross the surface enclosing it, and to arrive anywhere it must travel through the space in between. Nothing teleports, and that is a far larger assertion about the world than any accountancy of totals.

This is what conservation comes to mean for the rest of the book. Charge, probability, energy and momentum are each conserved in precisely this sense, and the familiar global version is what you get by adding the local one up and assuming nothing interesting is going on infinitely far away.

7 · Second-derivative identities, and the Laplacian

Two identities, both one line of Clairaut, both structurally important out of all proportion to their difficulty.

7.1 · The curl of a gradient vanishes

Take F=ϕ\vv F = \nabla\phi, so Fi=iϕF^{i}=\partial_{i}\phi, and put it into (0.7.33). The zz-component is

(×ϕ)z  =  x(yϕ)y(xϕ)  =  0 \big(\nabla\times\nabla\phi\big)_{z} \;=\; \partial_{x}\big(\partial_{y}\phi\big) - \partial_{y}\big(\partial_{x}\phi\big) \;=\; 0 (0.7.53)

by Clairaut's theorem (Chapter 0.6 §6.1), which says mixed partials commute when they are continuous. The other two components are the same statement with the labels rotated. Hence

  ×ϕ  =  0  for every twice-differentiable ϕ. \boxed{\;\nabla\times\nabla\phi \;=\; \vv 0\;}\qquad\text{for every twice-differentiable }\phi. (0.7.54)

That completes the chain (A) \Rightarrow (D) of §2.3: a gradient field is curl-free, always, everywhere, with no hypothesis on the domain. It is the converse that needed the domain to be simply connected, and §2.4 is why.

7.2 · The divergence of a curl vanishes

Write it out. With F=×A\vv F = \nabla\times\vv A, (0.7.21) gives

(×A)  =  x(yAzzAy)+  y(zAxxAz)+  z(xAyyAx). \begin{aligned} \nabla\cdot\big(\nabla\times\vv A\big) \;=\;& \partial_{x}\big(\partial_{y}A^{z}-\partial_{z}A^{y}\big)\\ +\;& \partial_{y}\big(\partial_{z}A^{x}-\partial_{x}A^{z}\big)\\ +\;& \partial_{z}\big(\partial_{x}A^{y}-\partial_{y}A^{x}\big). \end{aligned} (0.7.55)

Six terms. Pair them off: xyAz\partial_{x}\partial_{y}A^{z} against yxAz-\partial_{y}\partial_{x}A^{z}, xzAy-\partial_{x}\partial_{z}A^{y} against +zxAy+\partial_{z}\partial_{x}A^{y}, and yzAx\partial_{y}\partial_{z}A^{x} against zyAx-\partial_{z}\partial_{y}A^{x}. Each pair cancels by Clairaut. So

  (×A)  =  0  for every twice-differentiable A. \boxed{\;\nabla\cdot\big(\nabla\times\vv A\big) \;=\; 0\;}\qquad\text{for every twice-differentiable }\vv A. (0.7.56)

7.3 · Why the vector potential exists

Maxwell's equations contain B=0\nabla\cdot\vv B = 0: there are no magnetic charges. Compare that with (0.7.56). Any field written as a curl automatically satisfies that condition, so the ansatz

B  =  ×A \vv B \;=\; \nabla\times\vv A (0.7.57)

is consistent with Maxwell for any A\vv A whatsoever. The converse says that every divergence-free field can be written this way. That converse is true on regions without holes, and it is the ⚑ Poincaré lemma, which we quote here and Chapter 3.5 proves.

The parallel with §2 is exact and not accidental. There, curl-free implied "is a gradient" only on a simply connected domain. Here, divergence-free implies "is a curl" only on a domain without cavities. Both are instances of one statement about the topology of the region, which Chapter 3.5 calls de Rham cohomology. In each case it is measuring the difference between the fields that are closed and those that are exact.

Now put the two identities side by side, because together they are the skeleton of gauge theory:

  • (0.7.56) is why the vector potential exists: it makes B=×A\vv B=\nabla\times\vv A compatible with B=0\nabla\cdot\vv B=0.
  • (0.7.54) is why the vector potential is not unique: replacing AA+χ\vv A\to\vv A+\nabla\chi for any function χ\chi leaves B=×A\vv B=\nabla\times\vv A unchanged, since ×χ=0\nabla\times\nabla\chi = \vv 0.

That second bullet is gauge freedom, and it is the seed of Chapter 6.3, where demanding that χ\chi be allowed to vary from point to point generates the electromagnetic interaction. Two one-line consequences of Clairaut, and between them they set up the entire structure of the Standard Model.

7.4 · Both identities are d2=0\dd^{2}=0

Line up the operators by what they act on:

functions      vector fields   ×   vector fields      functions. \text{functions} \;\xrightarrow{\ \nabla\ }\; \text{vector fields} \;\xrightarrow{\ \nabla\times\ }\; \text{vector fields} \;\xrightarrow{\ \nabla\cdot\ }\; \text{functions}. (0.7.58)

Composing two consecutive arrows gives zero, both times: ×=0\nabla\times\nabla=0 and ×=0\nabla\cdot\nabla\times=0. In Chapter 3.5's language the three objects are differential forms of degree 0,1,20,1,2, all three arrows are the same operator d\dd, and the two identities are the single statement

dd  =  0. \dd\circ\dd \;=\; 0. (0.7.59)

Which is, by the correspondence of §5.4, the algebraic shadow of (M)=\partial(\partial M)=\emptyset: a boundary has no boundary. We are flagging that as a promise rather than a derivation, and Chapter 3.5 makes it precise. But you can already see that the two facts you just proved are not two facts.

7.5 · The Laplacian

The remaining composition of two first-order operators is the one that is not zero: divergence of a gradient. Define the Laplacian

2ϕ    ϕ  =  iiϕ  =  2ϕx2+2ϕy2+2ϕz2. \nabla^{2}\phi \;\equiv\; \nabla\cdot\nabla\phi \;=\; \partial_{i}\partial_{i}\phi \;=\; \pdv{^{2}\phi}{x^{2}} + \pdv{^{2}\phi}{y^{2}} + \pdv{^{2}\phi}{z^{2}}. (0.7.60)

Structurally it is the trace of the Hessian of Chapter 0.6 §6. And since the trace is basis-independent (Chapter 0.4 §6), so is the Laplacian, even though the formula above mentions a particular set of axes.

One reading is immediate from §3. 2ϕ\nabla^{2}\phi is the flux of ϕ\nabla\phi per unit volume, so it is positive where the gradient field converges on the point, which is where the surroundings are pushing inward. The sharper reading is the following, and it is the one to carry.

The mean-value reading

Expand ϕ\phi around p\vv p to second order, using Chapter 0.6 §6.2's multivariable Taylor:

ϕ(p+h)  =  ϕ(p)+hiiϕ+12hihjijϕ+O(h3). \phi(\vv p+\vv h) \;=\; \phi(\vv p) + h^{i}\partial_{i}\phi + \tfrac12 h^{i}h^{j}\partial_{i}\partial_{j}\phi + O(\abs{\vv h}^{3}). (0.7.61)

Average this over the sphere h=a\abs{\vv h}=a. Three averages are needed and all three are pure symmetry.

First order. hi=0\avg{h^{i}}=0, because h\vv h and h-\vv h both lie on the sphere and cancel.

Second order. hihj\avg{h^{i}h^{j}} is a symmetric array built from a sphere, and a sphere has no preferred direction, so the only array it can be is a multiple of δij\delta^{ij}: hihj=cδij\avg{h^{i}h^{j}} = c\,\delta^{ij}. Fix cc by taking the trace of both sides, meaning set j=ij=i and sum. The left becomes h2=a2\avg{\abs{\vv h}^{2}}=a^{2} and the right becomes 3c3c in three dimensions. Hence c=a2/3c=a^{2}/3 and

hihj  =  a23δij. \avg{h^{i}h^{j}} \;=\; \frac{a^{2}}{3}\,\delta^{ij}. (0.7.62)

Third order. Cubic in h\vv h, so it changes sign under hh\vv h\to-\vv h and averages to zero. The first surviving correction is therefore quartic.

Putting them together, and noting δijijϕ=2ϕ\delta^{ij}\partial_{i}\partial_{j}\phi = \nabla^{2}\phi:

  ϕˉsphere(a)ϕ(p)  =  a262ϕ(p)  +  O(a4).   \boxed{\;\bar\phi_{\text{sphere}}(a) - \phi(\vv p) \;=\; \frac{a^{2}}{6}\,\nabla^{2}\phi(\vv p) \;+\; O(a^{4}).\;} (0.7.63)
What the Laplacian measures

2ϕ\nabla^{2}\phi at a point tells you how much the field there differs from its average on a small sphere around it. It is positive if the point is a dip relative to its surroundings, and negative if it is a bump. In nn dimensions the coefficient is a2/2na^{2}/2n, so in the plane it is a2/4a^{2}/4.

An immediate consequence, free of charge. Suppose 2ϕ=0\nabla^{2}\phi=0 everywhere. Such a ϕ\phi is called harmonic. Then the value at every point equals its average over every small sphere around it.

So ϕ\phi can have no strict interior maximum. At a strict maximum, every nearby value is smaller, so the spherical average would be strictly less than the central value, contradicting equality. Applying the identical argument to ϕ-\phi, which is harmonic whenever ϕ\phi is, rules out strict interior minima too. Hence a harmonic function attains its extremes on the boundary.

That is the maximum principle. It is why you cannot trap a charged particle in a static electric field, which is Earnshaw's theorem: the potential energy is harmonic in charge-free space, so it has no minimum to sit in. And it fell out of a symmetry argument about hihj\avg{h^{i}h^{j}}.

Poisson's equation

Combine §3 with §2. Gauss's law in differential form says E=ρ/ϵ0\nabla\cdot\vv E = \rho/\epsilon_{0} (we take this as the physical input, and Chapter 2.6 derives it). And the electric field is minus the gradient of a potential, E=ϕ\vv E=-\nabla\phi, which is possible because the electrostatic field is curl-free and §2.3 then supplies ϕ\phi. Substituting one into the other:

  2ϕ  =  ρϵ0.   \boxed{\;\nabla^{2}\phi \;=\; -\frac{\rho}{\epsilon_{0}}.\;} (0.7.64)

Poisson's equation, and with ρ=0\rho=0 it is Laplace's equation 2ϕ=0\nabla^{2}\phi=0. Read it through (0.7.63): charge density is exactly the amount by which the potential fails to equal its own local average. Where there is no charge, the potential is the smoothest interpolation of its boundary values that exists.

The same equation governs Newtonian gravity, 2Φ=4πGρ\nabla^{2}\Phi = 4\pi G\rho, and that is not a coincidence of two inverse-square forces. Chapter 3.6 will show that the Einstein field equations reduce to precisely this in the weak-field, slow-motion limit, with Φ\Phi the 0000-component of the metric perturbation. Poisson's equation is what general relativity looks like when you squint.

Grind box — 2(1/r)=0\nabla^{2}(1/r)=0, and the 4π4\pi that has gone missing

For a function of rr alone, the spherical divergence formula from §3's grind box gives

2f(r)=(f(r)r^)=1r2ddr(r2f(r)). \nabla^{2}f(r) = \nabla\cdot\big(f'(r)\hat{\vv r}\big) = \frac{1}{r^{2}}\dv{}{r}\Big(r^{2}f'(r)\Big).

Take f=1/rf=1/r, so f=1/r2f' = -1/r^{2} and r2f=1r^{2}f' = -1, a constant:

21r  =  1r2ddr(1)  =  0(r0). \nabla^{2}\frac{1}{r} \;=\; \frac{1}{r^{2}}\dv{}{r}(-1) \;=\; 0 \qquad (r\neq0).

So the Coulomb potential is harmonic everywhere except at the source. That is consistent with (0.7.64), since ρ=0\rho=0 away from the point charge.

Now the trouble. Apply the divergence theorem to E=(1/r)=r^/r2\vv E = -\nabla(1/r) = \hat{\vv r}/r^{2} on a ball of radius RR centred at the origin. The left side is VEdV=0\int_{V}\nabla\cdot\vv E\,\dd V = 0, since the integrand vanishes at every point where it is defined. The right side is

r=Rr^r2r^  dA=1R24πR2=4π, \oint_{\abs{\vv r}=R}\frac{\hat{\vv r}}{r^{2}}\cdot\hat{\vv r}\;\dd A = \frac{1}{R^{2}}\cdot 4\pi R^{2} = 4\pi,

independent of RR. Zero on one side, 4π4\pi on the other. Something is wrong, and it is not the theorem: the theorem requires E\vv E to be continuously differentiable everywhere inside VV, and this one is not even defined at the origin. The hypothesis fails, so the conclusion is not owed to us.

The repair is to stop pretending the origin is not there and write

r^r2  =  4πδ3(r), \nabla\cdot\frac{\hat{\vv r}}{r^{2}} \;=\; 4\pi\,\delta^{3}(\vv r),

where δ3\delta^{3} is an object that is zero everywhere except the origin and integrates to one. No function does that, which is why δ\delta is not a function but a distribution, and why Chapter 0.9 exists. The 4π4\pi is not a fudge factor: it is the surface area of the unit sphere, and it is there because the flux computation above returned 4π4\pi for every RR. Notice the pattern with §2.4, where a deleted point produced a circulation of 2π2\pi, which is the circumference of the unit circle. In both cases the removed point is doing all the work, and the number the integral returns is counting it.

Familiar ground

You have been using this chapter's two central objects for your whole career, under other names.

Fick's first law says that a solute moves down its concentration gradient:

J  =  DC. \vv J \;=\; -D\,\nabla C.

Every symbol is now something you have derived. CC is a scalar field. C\nabla C points in the direction of steepest increase of concentration and has magnitude equal to the steepness (Chapter 0.6 §3.1), so C-\nabla C points downhill. That minus sign is the whole physical claim. J\vv J is a current density in the sense of §3.1: its flux through a membrane is the number of molecules crossing per second. And DD, the diffusion coefficient, must have units of length2/time\text{length}^{2}/\text{time} for the equation to balance, which is the single most useful thing about it.

Fick's second law is not a second law. It is the first law fed into §6. Diffusing solute is neither created nor destroyed, so the continuity equation (0.7.50) applies:

Ct+J=0Ct=(DC). \pdv{C}{t} + \nabla\cdot\vv J = 0 \qquad\Longrightarrow\qquad \pdv{C}{t} = -\nabla\cdot\big(-D\nabla C\big).

With DD constant it comes out of the divergence, and \nabla\cdot\nabla is the Laplacian:

  Ct  =  D2C.   \boxed{\;\pdv{C}{t} \;=\; D\,\nabla^{2}C.\;}

Two lines. That is the diffusion equation, identical to the heat equation, and §7.5 tells you what it means without solving it: the concentration at a point rises exactly in proportion to the amount by which it falls short of the average concentration on a small sphere around it. Diffusion is a field chasing its own neighbourhood average. Every qualitative fact about it reads straight off (0.7.63): that peaks flatten, that dips fill in, and that sharp edges blur fastest because that is where 2C\nabla^{2}C is largest.

How far, how fast. The structure of the equation fixes the scaling with no solution required. By dimensional analysis (Chapter 0.3 §5), the only length that can be assembled from DD and an elapsed time tt is

    Dtt    2D. \ell \;\sim\; \sqrt{D\,t} \qquad\Longleftrightarrow\qquad t \;\sim\; \frac{\ell^{2}}{D}.

Diffusion time grows as the square of the distance, and that quadratic is the reason tissue is organised the way it is. Take D106 cm2/sD\approx10^{-6}\ \mathrm{cm^{2}/s}, a reasonable figure for a small drug in tissue (a small molecule in free water is nearer 10510^{-5}, and a monoclonal antibody in tumour stroma is nearer 10710^{-7}):

distancet=2/Dt = \ell^{2}/D
100 μm100\ \mu\mathrm{m}100100 s, under two minutes
11 mm10410^{4} s, about 3 hours
11 cm10610^{6} s, about 12 days

Ten times further, a hundred times longer. Diffusion is superb over cellular distances and catastrophic over organ distances, which is why every organism above a millimetre or so has a circulatory system: bulk flow to cross the centimetres, diffusion for the last hundred microns.

The viable rim. Now do the calculation you actually care about. Oxygen diffuses from a capillary into tissue that consumes it at roughly a constant rate kk per unit volume. In steady state Ct=0\pdv{C}{t}=0 and the equation becomes D2C=kD\,\nabla^{2}C = k. Work in one dimension, measuring xx from the vessel wall and requiring the flux to vanish at the far edge x=Lx=L of the supplied region. Then C=k/DC'' = k/D integrates to

C(x)=C0k2Dx(2Lx),and C(L)=0  L=2DC0k. C(x) = C_{0} - \frac{k}{2D}\,x\,(2L-x), \qquad\text{and } C(L)=0 \ \Longrightarrow\ L = \sqrt{\frac{2DC_{0}}{k}}.

Read the answer: C0/kC_{0}/k is the time the tissue would take to consume its dissolved oxygen if the supply were cut, so L=2DτL=\sqrt{2D\,\tau} with τ\tau that time. That is the same Dt\sqrt{Dt}, wearing a clinical hat. Tissue oxygen stores last of order τ2\tau\approx21010 s, and oxygen in tissue has D2×105 cm2/sD\approx2\times10^{-5}\ \mathrm{cm^{2}/s}, giving L90L\approx90200 μm200\ \mu\mathrm{m}.

The measured viable rim around a capillary in a tumour cord is 100100150 μm150\ \mu\mathrm{m}, beyond which the centre is necrotic. That is the observation Thomlinson and Gray made in 1955, and an experimental fact we quote rather than derive. The order of magnitude is not a coincidence. It is (0.7.50) plus Fick.

The same equation, with a much smaller DD and a binding term, is drug penetration into a tumour. It is why an antibody can saturate the perivascular cuff and never reach the core, and why penetration depth scales as the square root of everything you can change.

Now the sting. Write the diffusion equation next to the equation Chapter 4.6 will derive for a free quantum particle:

Ct=D2Cversusiψt=22m2ψ. \pdv{C}{t} = D\,\nabla^{2}C \qquad\text{versus}\qquad \ii\hbar\,\pdv{\psi}{t} = -\frac{\hbar^{2}}{2m}\nabla^{2}\psi.

Divide the second by i\ii\hbar and it reads ψt=i2m2ψ\pdv{\psi}{t} = \dfrac{\ii\hbar}{2m}\nabla^{2}\psi. It is the diffusion equation with an imaginary diffusion coefficient, Di/2mD\to\ii\hbar/2m. One equation, one factor of i\ii. Diffusion spreads and damps: a peak flattens and never comes back. Schrödinger spreads and oscillates: a wavepacket spreads too, but nothing is lost, and the parts can come back and interfere.

This is the third time in Part 0 that an i\ii has converted decay into rotation. Chapter 0.1's callout put C=C0ektC=C_{0}\ee^{-kt} beside ψ=ψ0eiEt/\psi=\psi_{0}\ee^{-\ii Et/\hbar}. Chapter 0.3 explained the mechanism, that ekt\ee^{-kt} shrinks while eiθ\ee^{\ii\theta} turns at constant length. And now the same substitution has turned an irreversible smearing-out into unitary quantum evolution.

Three times is not a coincidence. Chapter 4.6 says what it is: the i\ii is what makes time evolution a rotation in the space of states rather than a contraction, which is exactly what conserving total probability requires. And the substitution tiτt\to-\ii\tau that converts one into the other has a name, Wick rotation. Chapter 5.6 uses it to turn quantum field theory into statistical mechanics, which is the same trade you already saw at the end of Chapter 0.6.

⚠ Why this isn't obvious

1. "Curl-free" is a local statement. "Has a potential" is a global one. This is the trap of §2, and it is worth stating as sharply as possible. The field F=(y,x)/(x2+y2)\vv F=(-y,x)/(x^{2}+y^{2}) is smooth on its whole domain and its curl vanishes at every single point of that domain. There is no point at which any local measurement detects anything unusual. And yet no single-valued potential exists, and the circulation around the hole is 2π2\pi.

What went wrong is not analysis. It is the shape of the region. The theorem "curl-free \Rightarrow conservative" needs every loop to bound a surface inside the domain, and a loop encircling a puncture does not. So the implication holds on a disc and fails on an annulus, with the field unchanged. A property of the domain, invisible to any local test, has changed the conclusion.

And physics notices. The Aharonov–Bohm effect is precisely this configuration, made experimental: B=0\vv B=\vv 0 everywhere the electron goes, and the interference pattern moves anyway, because the electron responds to Adr\oint\vv A\cdot\dd\vv r and the solenoid is the hole. This is the first place in the book where a topological fact has a measurable consequence. It is not the last: the quantisation of magnetic charge, the θ\theta-vacuum of QCD (Chapter 6.5), instantons, and the stability of solitons and branes (Chapter 7.7) are all this same observation with more indices.

2. The divergence theorem needs the field to exist everywhere inside. Not almost everywhere. Everywhere. The grind box above worked the example: r^/r2\hat{\vv r}/r^{2} has zero divergence at every point where it is defined, but its flux through any sphere about the origin is 4π4\pi. If you apply (0.7.44) without checking the hypothesis you will prove 0=4π0=4\pi.

This is not a pathological worry. It is the situation for every point charge and every point mass in physics, which is to say most of the first two years of the subject. The honest resolution is that (r^/r2)\nabla\cdot(\hat{\vv r}/r^{2}) is not zero but 4πδ3(r)4\pi\delta^{3}(\vv r), an object that is not a function, and Chapter 0.9 builds it properly. Until then, the rule is: when you use Gauss's theorem, look inside the region and ask what is there.

Notice that both warnings have the same shape. In each case a single removed point carries all the content, and the integral around it returns a number that is measuring the point rather than the field. That number is 2π2\pi in the plane and 4π4\pi on the sphere. This is not an analogy. Chapter 3.5's cohomology is the machinery for saying it once.

In plain terms 0.7.7

What remains is a pair of identities, each a single application of the fact that mixed second derivatives ignore their order. The swirl of a gradient vanishes everywhere and always, and so does the outflow of a curl. Neither computation is worth remembering, and both are worth remembering for what they license.

The first is why a field with no sources anywhere can be written as the curl of something else, which is how the magnetic potential comes to exist. The second is why that potential is not unique, since adding the gradient of any function leaves every observable untouched, and that redundancy is the seed from which every force in the Standard Model grows. The two identities are themselves one identity, the algebraic shadow of the remark that a boundary has no boundary.

Composing the two derivatives in the one order that does not give zero produces the operator governing more equations in physics than any other, and it has a plain reading: it reports the amount by which a field at a point falls short of its average over a small sphere around that point. Diffusion is a substance chasing its neighbourhood average, and heat spreading is the identical statement. The calculus of fields is now complete, and what is missing is any way of solving the equations it produces, which is where the next chapter goes.

8 · Worked examples

Worked example 1 — the inverse-square law is a fact about spheres

Given Gauss's law in differential form, E=ρ/ϵ0\nabla\cdot\vv E = \rho/\epsilon_{0}, find the electric field of a spherically symmetric charge distribution of total charge qq contained within radius aa.

Step 1: symmetry fixes the form of the answer. The charge distribution is unchanged by every rotation about the centre, so the field must be too. A vector field invariant under all such rotations can only point radially, since any transverse component would be turned into a different transverse component by some rotation. Its magnitude can only depend on rr, for the same reason. Hence E=E(r)r^\vv E = E(r)\,\hat{\vv r}, with one unknown function of one variable instead of three functions of three.

Step 2: apply the divergence theorem to the ball VV of radius r>ar\gt a:

VEdA  =  VE  dV  =  1ϵ0Vρ  dV  =  qϵ0. \oint_{\partial V}\vv E\cdot\dd\vv A \;=\; \int_{V}\nabla\cdot\vv E\;\dd V \;=\; \frac{1}{\epsilon_{0}}\int_{V}\rho\;\dd V \;=\; \frac{q}{\epsilon_{0}}.

Step 3: evaluate the flux. On the sphere n^=r^\hat{\vv n}=\hat{\vv r}, so En^=E(r)\vv E\cdot\hat{\vv n}=E(r), which is constant over the surface and comes out of the integral, leaving the area:

E(r)4πr2=qϵ0  E(r)=q4πϵ0r2.   E(r)\cdot 4\pi r^{2} = \frac{q}{\epsilon_{0}} \qquad\Longrightarrow\qquad \boxed{\;E(r) = \frac{q}{4\pi\epsilon_{0}r^{2}}.\;}

Three lines, and Coulomb's law has been derived rather than postulated. Two things fell out for free. Only the charge enclosed appeared, so for r<ar\lt a the same argument gives E(r)=qenc(r)/4πϵ0r2E(r)=q_{\text{enc}}(r)/4\pi\epsilon_{0}r^{2}. And a hollow shell, having no enclosed charge, exerts no force anywhere inside it. That is Newton's shell theorem, which cost him a page of classical geometry.

Now the observation that matters. Look at where the r2r^{2} came from. It came from 4πr24\pi r^{2}, the area of a sphere. Nothing about electricity produced it. The physical input was that flux is conserved, meaning field lines start on charges and go somewhere. The geometric input was that the same number of lines is spread over a surface whose area grows as r2r^{2}.

So run the argument in nn spatial dimensions. The sphere of radius rr has area Ωn1rn1\Omega_{n-1}r^{n-1}, where Ωn1\Omega_{n-1} is the area of the unit sphere (a pure number whose value we do not need). Step 3 becomes EΩn1rn1=q/ϵ0E\cdot\Omega_{n-1}r^{n-1} = q/\epsilon_{0}, so

E(r)    1rn1,ϕ(r)    1rn2  (n>2),ϕlnr  (n=2). E(r) \;\propto\; \frac{1}{r^{\,n-1}}, \qquad \phi(r)\;\propto\;\frac{1}{r^{\,n-2}}\ \ (n\gt2), \qquad \phi\propto\ln r\ \ (n=2).

The inverse-square law is not a law about forces. It is the statement that we live in three spatial dimensions.

That is a testable claim, and Chapter 7.8 tests it. If there are extra spatial dimensions curled up on a scale RR, then at separations much smaller than RR the flux spreads into all the dimensions and gravity falls off as 1/rn11/r^{n-1} with n>3n\gt3, while at separations much larger than RR the extra directions are used up and the familiar 1/r21/r^{2} returns. Sub-millimetre torsion-balance measurements of the gravitational inverse-square law are therefore literally searches for extra dimensions, and the bound on RR they produce is a bound on the geometry of spacetime, obtained by weighing things very carefully at short range.

Worked example 2 — taking a Jacobian apart

For F=(x2y,   3xz2,   yz)\vv F = \big(x^{2}y,\;\,3x-z^{2},\;\,yz\big), compute the divergence and the curl at p=(1,1,1)\vv p = (1,1,1), decompose the Jacobian into its symmetric and antisymmetric parts, and check the identification of §4.3.

The Jacobian. Differentiate each component with respect to each variable, following Chapter 0.6 §2.2. Row ii is FiF^{i} and column jj is j\partial_{j}:

J(x,y,z)=(2xyx20302z0zy),J(1,1,1)=(210302011). J(x,y,z) = \begin{pmatrix} 2xy & x^{2} & 0\\ 3 & 0 & -2z\\ 0 & z & y\end{pmatrix}, \qquad J(1,1,1) = \begin{pmatrix} 2 & 1 & 0\\ 3 & 0 & -2\\ 0 & 1 & 1\end{pmatrix}.

Divergence is the trace, by (0.7.22):

F=2xy+0+y=y(2x+1),Fp=3. \nabla\cdot\vv F = 2xy + 0 + y = y(2x+1), \qquad \nabla\cdot\vv F\big|_{\vv p} = 3.

Curl, from (0.7.33):

×F=(y(yz)z(3xz2),    z(x2y)x(yz),    x(3xz2)y(x2y)), \nabla\times\vv F = \big(\partial_{y}(yz)-\partial_{z}(3x-z^{2}),\;\; \partial_{z}(x^{2}y)-\partial_{x}(yz),\;\; \partial_{x}(3x-z^{2})-\partial_{y}(x^{2}y)\big), =(z+2z,    00,    3x2)=(3z,0,3x2),ωp=(3,0,2). = \big(z+2z,\;\;0-0,\;\;3-x^{2}\big) = \big(3z,\,0,\,3-x^{2}\big), \qquad \vv\omega\big|_{\vv p} = (3,\,0,\,2).

The split. By (0.7.34), at p\vv p:

S=12(J+JT)=(22020120121),A=12(JJT)=(01010320320). S = \tfrac12\big(J+J^{\mathsf T}\big) = \begin{pmatrix} 2 & 2 & 0\\ 2 & 0 & -\tfrac12\\ 0 & -\tfrac12 & 1\end{pmatrix}, \qquad A = \tfrac12\big(J-J^{\mathsf T}\big) = \begin{pmatrix} 0 & -1 & 0\\ 1 & 0 & -\tfrac32\\ 0 & \tfrac32 & 0\end{pmatrix}.

The checks. trS=2+0+1=3=F\mathrm{tr}\,S = 2+0+1 = 3 = \nabla\cdot\vv F ✓, and trA=0\mathrm{tr}\,A = 0 ✓, confirming (0.7.35): the whole divergence lives in the symmetric part. Now compare AA with the prediction (0.7.37) using ω=(3,0,2)\vv\omega=(3,0,2):

12(0ωzωyωz0ωxωyωx0)=12(020203030)=(01010320320). \frac12\begin{pmatrix}0 & -\omega_{z} & \omega_{y}\\ \omega_{z} & 0 & -\omega_{x}\\ -\omega_{y} & \omega_{x} & 0\end{pmatrix} = \frac12\begin{pmatrix}0 & -2 & 0\\ 2 & 0 & -3\\ 0 & 3 & 0\end{pmatrix} = \begin{pmatrix}0 & -1 & 0\\ 1 & 0 & -\tfrac32\\ 0 & \tfrac32 & 0\end{pmatrix}.

Identical, entry by entry. ✓ And the cross-product form (0.7.38), tested on h=(1,2,3)\vv h=(1,2,3):

Ah  =  (2,  72,  3),12ω×h  =  12(3,0,2)×(1,2,3)  =  12(4,7,6)  =  (2,72,3).   \begin{aligned} A\vv h \;&=\; \big(-2,\;-\tfrac72,\;3\big),\\[4pt] \tfrac12\,\vv\omega\times\vv h \;&=\; \tfrac12(3,0,2)\times(1,2,3) \;=\; \tfrac12\big(-4,\,-7,\,6\big) \;=\; \big(-2,\,-\tfrac72,\,3\big). \;\checkmark \end{aligned}

What the numbers say physically. Treat F\vv F as a velocity field. A small blob of tracer sitting at (1,1,1)(1,1,1) is doing three things at once. Its volume is growing at a fractional rate of 33 per unit time, by (0.7.26). It is spinning rigidly at angular velocity 12ω=(1.5,0,1)\tfrac12\vv\omega = (1.5,\,0,\,1), an axis lying in the xzxz-plane, with angular speed 1232+22=12131.80\tfrac12\sqrt{3^{2}+2^{2}} = \tfrac12\sqrt{13}\approx1.80 radians per unit time. And it is being strained according to SS, whose eigenvectors (Chapter 0.5) are the principal axes of the distortion and whose eigenvalues are the stretch rates along them. Those eigenvalues necessarily sum to 33, since trS\mathrm{tr}\,S is the divergence. Every number in the Jacobian has been accounted for: one in the trace, three in the curl, and the remaining five in the traceless symmetric part that neither operator sees.

9 · Your turn

Problem 1 — verify the divergence theorem, both sides

(a) For F=(xy,  y2,  z)\vv F = \big(xy,\;y^{2},\;z\big) and VV the unit cube 0x,y,z10\le x,y,z\le1, compute VFdV\int_{V}\nabla\cdot\vv F\,\dd V and VFdA\oint_{\partial V}\vv F\cdot\dd\vv A separately, doing all six faces, and check that they agree. (b) For F=r=(x,y,z)\vv F = \vv r = (x,y,z) and VV a ball of radius RR, do the same, and read off a formula for the volume of any region in terms of a surface integral.

Solution

(a) Volume side. F=x(xy)+y(y2)+z(z)=y+2y+1=3y+1\nabla\cdot\vv F = \partial_{x}(xy)+\partial_{y}(y^{2})+\partial_{z}(z) = y + 2y + 1 = 3y+1. Over the unit cube the xx and zz integrations give factors of 11:

V(3y+1)dV=01(3y+1)dy=32+1=52. \int_{V}(3y+1)\,\dd V = \int_{0}^{1}(3y+1)\,\dd y = \tfrac32 + 1 = \tfrac52.

Surface side. Six faces, each with area element 11 and outward normal ±\pm a coordinate direction. Only the component of F\vv F along that normal contributes.

facen^\hat{\vv n}Fn^\vv F\cdot\hat{\vv n} thereintegral
x=1x=1+x^+\hat{\vv x}xy=yxy = y01 ⁣ ⁣01ydydz=12\int_{0}^{1}\!\!\int_{0}^{1}y\,\dd y\,\dd z = \tfrac12
x=0x=0x^-\hat{\vv x}xy=0-xy = 000
y=1y=1+y^+\hat{\vv y}y2=1y^{2}=111
y=0y=0y^-\hat{\vv y}y2=0-y^{2}=000
z=1z=1+z^+\hat{\vv z}z=1z=111
z=0z=0z^-\hat{\vv z}z=0-z=000

Total flux =12+1+1=52=\tfrac12+1+1 = \tfrac52. ✓ Equal to the volume integral, as (0.7.44) demands.

Worth noticing why three faces contributed nothing: on each of them the relevant field component vanishes. The theorem does not care. It only asks that the totals match.

(b) r=1+1+1=3\nabla\cdot\vv r = 1+1+1 = 3, so the volume side is 343πR3=4πR33\cdot\tfrac43\pi R^{3} = 4\pi R^{3}. On the sphere n^=r^\hat{\vv n}=\hat{\vv r} and rr^=r=R\vv r\cdot\hat{\vv r} = r = R, a constant, so the flux is R4πR2=4πR3R\cdot4\pi R^{2} = 4\pi R^{3}. ✓

Since r=3\nabla\cdot\vv r = 3 for any region, the divergence theorem gives a general formula for volume as a surface integral:

vol(V)  =  13VrdA. \mathrm{vol}(V) \;=\; \frac13\oint_{\partial V}\vv r\cdot\dd\vv A.

That is how a CAD package computes the volume of a mesh: it never fills the interior, it just sums a quantity over the triangles of the surface. The divergence theorem is why that works.

Problem 2 — the field with no potential

For F=(y,x)/(x2+y2)\vv F = \big({-y},\,x\big)/(x^{2}+y^{2}) on the punctured plane, do three things. (a) Confirm (×F)z=0(\nabla\times\vv F)_{z}=0 everywhere it is defined. (b) Compute Fdr\oint\vv F\cdot\dd\vv r around the circle of radius RR centred at the origin, and around the circle of radius 11 centred at (3,0)(3,0). (c) Explain, in a paragraph, what the two results together imply about the existence of a potential, and identify precisely which hypothesis of which theorem fails.

Solution

(a) Done in (0.7.10): both xFy\partial_{x}F^{y} and yFx\partial_{y}F^{x} equal (y2x2)/(x2+y2)2(y^{2}-x^{2})/(x^{2}+y^{2})^{2}, so their difference vanishes at every point of the punctured plane.

(b) Around the origin, (0.7.12) gives 2π2\pi for every RR. The radius cancels because F=1/R\abs{\vv F}=1/R while the circumference is 2πR2\pi R.

For the circle of radius 11 about (3,0)(3,0): this loop does not enclose the origin, so it bounds a disc lying entirely inside the domain, and Stokes' theorem (0.7.41) applies to give Fdr=(×F)dA=0\oint\vv F\cdot\dd\vv r = \int(\nabla\times\vv F)\cdot\dd\vv A = 0 by part (a). Zero, with no integration needed. (Direct numerical evaluation of the parametrised integral confirms it to machine precision.)

Two loops in the same field, one giving 2π2\pi and one giving 00. The difference is not the field. It is where the loops are.

(c) By §2.3, a potential exists on a region if and only if every closed loop in that region has zero circulation. The loop around the origin has circulation 2π02\pi\neq0, so no single-valued potential exists on the punctured plane, even though the field is curl-free at every single point of it. Locally the potential exists and equals the polar angle θ\theta. Globally θ\theta is not a function, since going once round increases it by 2π2\pi, and that increment is exactly the circulation we computed.

The failing hypothesis is precisely identified. The implication "curl-free \Rightarrow conservative" is proved by taking a loop, spanning it with a surface, and applying Stokes' theorem, which requires the surface to lie inside the region where F\vv F is defined. Any surface spanning a loop around the origin must pass through the origin, where F\vv F does not exist. So Stokes' theorem is not available, and the implication is not owed to us. On a simply connected region, such as a disc, or the right half-plane, or anything with no hole, every loop does bound such a surface and the implication is restored. Note what this means practically: the local test (D) can never detect the obstruction, because the obstruction is not local. You have to know the shape of the domain.

Problem 3 — how long does diffusion take?

(a) From the diffusion equation Ct=D2C\pdv{C}{t}=D\nabla^{2}C, use dimensional analysis (Chapter 0.3) to show that the only length scale available after a time tt is Dt\sqrt{Dt}, and say what dimensional analysis cannot tell you here. (b) For a molecule with D106 cm2/sD\approx10^{-6}\ \mathrm{cm^{2}/s}, estimate the time to diffuse 100 μm100\ \mu\mathrm{m}, then 11 mm, then 11 cm. (c) Interpret: why is 100 μm100\ \mu\mathrm{m} a number that keeps appearing in histology?

Solution

(a) Read the units off the equation itself. The left side has dimensions [C]/[T][C]/[T], and the right side has [D][C]/[L]2[D][C]/[L]^{2}. Equating,

[D]=[L]2[T]. [D] = \frac{[L]^{2}}{[T]}.

The problem supplies exactly two quantities with dimensions, DD and tt, and one combination of them has dimensions of length: Dt\sqrt{Dt}, uniquely, since DatbD^{a}t^{b} has dimensions L2aTbaL^{2a}T^{b-a}, and L1T0L^{1}T^{0} forces a=12a=\tfrac12, b=12b=\tfrac12. Hence =cDt\ell = c\sqrt{Dt} for some pure number cc.

What dimensional analysis cannot give is cc, and cc depends on what you mean by "the distance diffused". Solving the equation gives a Gaussian profile with x2=2Dt\avg{x^{2}}=2Dt in one dimension and r2=6Dt\avg{r^{2}}=6Dt in three, so cc is 2\sqrt2 or 6\sqrt6 or 11 depending on the question. That is a factor of two or so in tt, which for an order-of-magnitude question does not matter and for a quantitative one does. Same lesson as Chapter 0.3's pendulum: the scaling is free, the constant is not.

(b) Using t=2/Dt = \ell^{2}/D with D=106 cm2/sD = 10^{-6}\ \mathrm{cm^{2}/s} and remembering 100 μm=102100\ \mu\mathrm{m} = 10^{-2} cm:

t=(102cm)2106cm2/s=104106 s=100 s. t = \frac{(10^{-2}\,\mathrm{cm})^{2}}{10^{-6}\,\mathrm{cm^{2}/s}} = \frac{10^{-4}}{10^{-6}}\ \mathrm{s} = 100\ \mathrm{s}.

Then 1 mm=1011\ \mathrm{mm}=10^{-1} cm gives t=102/106=104t = 10^{-2}/10^{-6} = 10^{4} s \approx 2.8 hours, and 11 cm gives t=1/106=106t = 1/10^{-6} = 10^{6} s \approx 11.6 days.

(c) The quadratic is the whole story: ten times the distance costs a hundred times the time. Under two minutes to cross 100 μm100\ \mu\mathrm{m} is entirely compatible with a cell's metabolic timescale. Twelve days to cross a centimetre is not compatible with anything. So diffusion is a viable transport mechanism up to roughly a hundred microns and useless beyond it, and every tissue is built to respect that boundary: capillaries spaced tens of microns apart, alveolar walls under a micron thick, and tumour cords with a viable rim of about 100100150 μm150\ \mu\mathrm{m} and a necrotic centre. Anything that must travel further than the diffusion limit is moved by bulk flow instead. The number in the histology is the number in (0.7.63).

Worth noting what this implies about therapy. If a drug must penetrate 200 μm200\ \mu\mathrm{m} from the nearest vessel rather than 100100, it does not take twice as long. It takes four times as long, during which it is being cleared. Penetration depth at fixed clearance goes like the square root of everything, which is why it is so stubbornly hard to improve.

Problem 4 — the identity that makes electromagnetism work

(a) Prove (×A)=0\nabla\cdot(\nabla\times\vv A)=0 for any twice-continuously-differentiable A\vv A, stating exactly which theorem you use. (b) Take the divergence of Faraday's law ×E=Bt\nabla\times\vv E = -\pdv{\vv B}{t} and say what it tells you about B\nabla\cdot\vv B. (c) Take the divergence of the Ampère–Maxwell law ×B=μ0J+μ0ϵ0Et\nabla\times\vv B = \mu_{0}\vv J + \mu_{0}\epsilon_{0}\pdv{\vv E}{t}, use Gauss's law E=ρ/ϵ0\nabla\cdot\vv E = \rho/\epsilon_{0}, and interpret the result. (d) What would break if the identity in (a) were false?

Solution

(a) Expand as in (0.7.55):

(×A)=xyAzxzAy+yzAxyxAz+zxAyzyAx. \nabla\cdot(\nabla\times\vv A) = \partial_{x}\partial_{y}A^{z} - \partial_{x}\partial_{z}A^{y} + \partial_{y}\partial_{z}A^{x} - \partial_{y}\partial_{x}A^{z} + \partial_{z}\partial_{x}A^{y} - \partial_{z}\partial_{y}A^{x}.

The first and fourth terms cancel, as do the second and fifth, and the third and sixth. In each case they cancel because the two differentiations are in the opposite order on the same component. The theorem used is Clairaut's (Chapter 0.6 §6.1), whose hypothesis is that the second partials are continuous. That is why the problem said twice continuously differentiable. Nothing else is used, and in particular no property of A\vv A beyond smoothness.

(b) Taking the divergence of Faraday's law, the left side vanishes by (a), and the right side is t(B)-\pdv{}{t}(\nabla\cdot\vv B) since space and time derivatives commute. So

t(B)=0. \pdv{}{t}\big(\nabla\cdot\vv B\big) = 0.

This is a genuinely nice result: B\nabla\cdot\vv B cannot change in time. So "there are no magnetic monopoles" is not an independent dynamical law that has to hold at every instant. It is an initial condition. Set B=0\nabla\cdot\vv B=0 once and Faraday's law keeps it zero forever. Maxwell's equations are internally consistent about this because of (a).

(c) Same move on Ampère–Maxwell. The left side vanishes by (a), so

0=μ0J+μ0ϵ0t(E)=μ0(J+ρt), 0 = \mu_{0}\,\nabla\cdot\vv J + \mu_{0}\epsilon_{0}\,\pdv{}{t}\big(\nabla\cdot\vv E\big) = \mu_{0}\left(\nabla\cdot\vv J + \pdv{\rho}{t}\right),

using Gauss's law in the last step. Dividing by μ0\mu_{0}:

ρt+J=0. \pdv{\rho}{t} + \nabla\cdot\vv J = 0.

That is the continuity equation (0.7.50). Charge conservation is not an extra assumption in electromagnetism. It is forced by the structure of Maxwell's equations, and the thing doing the forcing is the identity in (a).

Historically this is how the displacement current was found. Without the μ0ϵ0Et\mu_{0}\epsilon_{0}\pdv{\vv E}{t} term, the same computation would give J=0\nabla\cdot\vv J=0, which is false whenever charge accumulates anywhere, as it does in a capacitor charging. Maxwell added the term precisely to repair the inconsistency, and the repaired equations then predicted electromagnetic waves. A term added to make a mathematical identity come out right turned out to be light.

(d) Three things break, in increasing order of severity. First, B=×A\vv B=\nabla\times\vv A would no longer automatically satisfy B=0\nabla\cdot\vv B=0, so the vector potential could not be used to represent a physical magnetic field. With it goes the entire Lagrangian and Hamiltonian formulation of electromagnetism, the Aharonov–Bohm effect, and the gauge principle of Chapter 6.3, all of which are written in terms of A\vv A rather than B\vv B. Second, by (b) B\nabla\cdot\vv B would be free to develop in time, so monopoles could appear from nothing. Third, and worst, by (c) Maxwell's equations would be flatly inconsistent with charge conservation: the two curl equations would impose a condition on ρ\rho and J\vv J that real charges do not satisfy, and the system would have no solutions for generic sources.

All of that rests on the commutativity of mixed partial derivatives. It is worth appreciating how much weight Clairaut's theorem is carrying.

The brick you just laid

You now have the calculus of fields. Here is the inventory.

  • Line integrals, with the gradient theorem showing that a conservative field's line integral is the Fundamental Theorem in disguise. And the equivalence chain (A)–(D) with its one broken link, which is broken by topology and not by analysis.
  • Divergence, defined coordinate-free as flux per unit volume, derived into iFi\partial_{i}F^{i} by a box, and then recognised as the trace of the Jacobian, which by Chapter 0.4 makes it the fractional rate of volume change of a flowing blob.
  • Curl, defined as circulation per unit area, derived by a rectangle, and recognised as the antisymmetric part of the Jacobian, which is twice the local angular velocity. The count 12n(n1)=n\tfrac12 n(n-1)=n explains why it can pretend to be a vector in three dimensions and nowhere else.
  • One theorem in four costumes, all four proved by the same interior-cancellation argument that Chapter 0.2 used on an interval.
  • The continuity equation, which is what a conservation law is.
  • The two second-derivative identities, which between them create the vector potential and its gauge freedom, plus the Laplacian, read as the gap between a field and its own local average.

Where this gets spent.

  • Line integrals and potentials → Chapter 2.6 and Chapter 6.3, where AμA^{\mu} becomes fundamental, and the Aharonov–Bohm effect, which is §2.4 measured in a laboratory. The lesson that a curl-free field need not be a gradient is the first topological fact in this book and it recurs in Chapters 6.5 and 7.7.
  • Divergence as trace → Chapter 1.3, where Liouville's theorem is (0.7.26) plus Clairaut and takes one line, and Chapter 5.7, where the same determinant reappears as a Jacobian in a functional integral.
  • Curl as the antisymmetric part → Chapter 2.6, where four dimensions leave the antisymmetric object no vector to hide in and it becomes FμνF_{\mu\nu}, and Chapter 6.1, where antisymmetric matrices become the Lie algebra of the rotation group.
  • The unified Stokes theorem → Chapter 3.5, which builds differential forms and proves Mdω=Mω\int_{M}\dd\omega=\oint_{\partial M}\omega once and for all, and everywhere afterwards, because conservation laws, Gauss's law, and the Bianchi identities are all this one statement.
  • The continuity equation → Chapter 4.6 (probability current), Chapters 1.4 and 5.2 (Noether currents), Chapter 3.6 (μTμν=0\nabla_{\mu}T^{\mu\nu}=0). If you learn to recognise μJμ=0\partial_{\mu}J^{\mu}=0 on sight you will find it in every part of this book.
  • d2=0\dd^{2}=0 → Chapter 3.5, where the two identities of §7 become one, and Chapter 3.6, where the same statement (as the Bianchi identity) is what forces energy–momentum conservation in general relativity rather than merely permitting it.
  • The Laplacian and Poisson's equation → Chapter 0.9 (where 2\nabla^{2} meets the delta function and the 4π4\pi is finally accounted for), Chapter 4.6 (the kinetic term of the Schrödinger equation is a Laplacian), and Chapter 3.6, where the Einstein field equations collapse to 2Φ=4πGρ\nabla^{2}\Phi = 4\pi G\rho in the Newtonian limit.

One sentence to carry above all others. Chapter 0.2 said: integrate a derivative over a region and the interior cancels, leaving the boundary. This chapter said it three more times in higher dimensions and gave the result three different names. Chapter 3.5 will say it once. Everything in between is bookkeeping on that one idea: Gauss's law, Stokes' theorem, conservation of charge, and conservation of energy–momentum.