Part A · the equation of motion · spine

05

Flux, Gauss, and gravity stops being a force between pairs

Integration over regions and over surfaces, the divergence theorem, and the moment gravity becomes a field with a local law rather than a sum over pairs.

needs 04~2½ h slides + 5 h problemsproblems: ./mr problems 05

05 · overview

One ball, five sections

A uniform ball of mass $M$ and radius $R$ — the Earth, idealised. Newton's law gives the force between two points, so its field — the force per unit mass, $\vec g$ — is an integral over the ball, done afresh for every field point. Two questions, and the routes this deck takes to them:

route 1 · the tunnel: 84.3 minutes

1. The flux of $\vec g$ out of a closed surface — how much of it crosses the surface — counts only the mass inside: $-4\pi G$ times it. The $1/r^2$ makes this so.

2. The ball is the same in every direction, so $\vec g$ is radial and equal all over each sphere about the centre. One sphere then gives $g(r)$: inside, $\vec g = -(GM/R^3)\,\vec r$.

3. Along a straight tunnel only the component along it acts: $\ddot x = -(GM/R^3)\,x$, simple harmonic. Period $2\pi\sqrt{R^3/GM} = 84.3$ min, for every tunnel.

route 2 · tides: two bulges

1. The Earth falls freely towards the Moon, so its centre feels nothing. A point displaced by $\vec\xi$ feels the difference of the Moon's field across $\vec\xi$.

2. To first order that difference is a matrix times $\vec\xi$: the second derivatives of the Moon's potential $\Phi$ — potential energy per unit mass, $\vec g = -\nabla\Phi$ — a symmetric matrix with trace zero in empty space.

3. For a point mass $M$ at distance $d$ its eigenvalues are $(-2,1,1)\,GM/d^3$: stretched along the Moon line, both ways, and squeezed across it.

The plan. 1 integrals over regions, and one shell by brute force · 2 flux and the divergence theorem · 3 the field equation, the shell theorem in three lines, the tunnel · 4 empty space: why gravity cannot trap you · 5 tides.

section 1

Integrating over regions

The same Riemann sum, with length replaced by volume — and then the two theorems that make it computable.

05 · regions

The integral over a box

definition · the multiple integral

Let $B = [a_1,b_1]\times\cdots\times[a_n,b_n]$ and let $f : B \to \mathbb R$ be bounded. A partition $P$ cuts each edge, splitting $B$ into subboxes $B_k$ of volume $|B_k|$. Put $$\begin{aligned} L(f,P) &= \textstyle\sum_k \big(\inf_{B_k} f\big)\,|B_k|,\\ U(f,P) &= \textstyle\sum_k \big(\sup_{B_k} f\big)\,|B_k| .\end{aligned}$$ $f$ is integrable if $\sup_P L = \inf_P U$, and then $\int_B f$ is that common value.

Word for word the one-variable definition, with length replaced by volume. Nothing new has been assumed.

measure zero

$N \subseteq \mathbb R^n$ has measure zero if for every $\varepsilon > 0$ it can be covered by countably many boxes of total volume less than $\varepsilon$. A point, a line segment, a smooth surface in $\mathbb R^3$: all measure zero.

Lebesgue's criterion · cited

A bounded $f$ on a box is integrable iff its set of discontinuities has measure zero.

Proved in Spivak, Calculus on Manifolds, Thm 3-8, for boxes in $\mathbb R^n$; Rudin, Principles, Thm 11.33, is the one-variable case. We use it only as a licence: every integrand in this course is continuous off a surface.

05 · regions

Regions that are not boxes

definition

For bounded $D \subseteq \mathbb R^n$ and $f$ bounded on $D$, extend by zero: $$f_D(x) = \begin{cases} f(x) & x \in D\\ 0 & x \notin D\end{cases}$$ and set $\int_D f := \int_B f_D$ for any box $B \supseteq D$. The value does not depend on which $B$.

$D$ is admissible if $\partial D$ has measure zero. Then $f_D$ is discontinuous only on $\partial D$ together with the discontinuities of $f$, so Lebesgue's criterion applies. Its volume is $|D| = \int_D 1$.

the hypothesis is not free

$D = \mathbb Q^3 \cap [0,1]^3$ has $\partial D = [0,1]^3$, which does not have measure zero, and $\int_D 1$ does not exist: every subbox contains both rational and irrational points, so $L = 0$ and $U = 1$ for every partition.

Every region in this unit is a ball, a shell, a box, or a region with a piecewise-smooth boundary, and all of those are admissible.

05 · regions

Fubini: one integral at a time

Fubini's theorem

Let $B = R \times S$ with $R \subseteq \mathbb R^p$, $S \subseteq \mathbb R^q$ boxes, and let $f = f(x,y)$ be continuous on $B$. Then $$\begin{aligned}\int_B f &= \int_R\!\Big(\int_S f\,\mathrm{d}y\Big)\mathrm{d}x\\ &= \int_S\!\Big(\int_R f\,\mathrm{d}x\Big)\mathrm{d}y .\end{aligned}$$

full proof in the notes (N)

An $n$-fold integral is $n$ ordinary ones. Every explicit computation in this unit is Fubini plus a substitution.

two traps

On a non-box region the limits change when the order does; they are not carried along — the next slide shows how. And integrability is a hypothesis, not a formality: for a non-integrable $f$ the two iterated integrals can both exist and differ (the notes give one).

On a region that is not a box, Fubini is applied to $f_D$, the extension by zero of the previous slide — the proof in the notes covers it, since $f_D$ is integrable and, for every region in this unit, its inner integrals exist. The zero part simply cuts each inner integral off at the boundary of $D$.

05 · regions · example

One triangle, sliced two ways

the order is a choice, and it matters

$\displaystyle\int_0^1\!\!\int_x^1 e^{y^2}\,\mathrm{d}y\,\mathrm{d}x$ — the inner integral has no elementary antiderivative. The region is $\{0 \le x \le y \le 1\}$; describe it the other way round:

$$\begin{aligned}\int_0^1\!\!\int_0^y e^{y^2}\,\mathrm{d}x\,\mathrm{d}y &= \int_0^1\! y\,e^{y^2}\,\mathrm{d}y\\ &= \tfrac12(e-1) = 0.8591 .\end{aligned}$$
x y 1 1 0 y = x x y 1 1 0 y = x x outside, y inside y outside, x inside ∫ exp(y²) dy, y from x to 1: no antiderivative ∫ dx, x from 0 to y, is y: then ∫ y exp(y²) dy

The same triangle twice. Left: fix $x$ and the slice runs from the diagonal up to $1$, so the inner integral is of $e^{y^2}$ alone. Right: fix $y$ and the slice runs from $0$ to the diagonal; the integrand does not depend on $x$, so the inner integral is just the slice's length $y$ — and $y$ is the factor that makes $e^{y^2}$ integrable.

05 · regions

Change of variables, and what a determinant is for

change of variables · cited

Let $\Psi : U \to V$ be a $C^1$ diffeomorphism between open sets of $\mathbb R^n$ and let $f$ be integrable on $V$. Then $$\int_V f = \int_U (f\circ\Psi)\,\big|\det D\Psi\big| .$$

Rudin, Principles, Thm 10.9; Spivak, Calculus on Manifolds, Thm 3-13. The proof is an induction on dimension using the inverse function theorem of unit 04, and it is long.

It stays true if $\Psi$ fails to be a diffeomorphism on a set of measure zero — which is exactly the case for every coordinate system we use.

Read the formula as bookkeeping. A small box of volume $\mathrm dV_u$ around $u$ is carried by $\Psi$ to a small curved region around $\Psi(u)$; the integrand is evaluated there, and the box's volume has to be converted into the image's.

A $C^1$ map is linear to first order at each point (unit 03), and $D\Psi(u)$ is that linear map. So the conversion factor is whatever a linear map does to volume — and the next slide shows that is $|\det|$. The theorem says the volume distortion is the local one, integrated.

05 · regions

What a linear map does to volume

why $|\det|$, and not something else

For a linear $T : \mathbb R^n \to \mathbb R^n$ and a box $B$, $$|T(B)| = |\det T|\cdot|B| .$$

Both sides, read as functions of the $n$ columns of $T$, are multilinear, vanish when two columns agree, and equal $|B|$ at $T = I$. The determinant is the unique such function up to scale (linear algebra), so they agree.

A curved chart is linear only cell by cell, so it scales each small cell by its own factor $|\det D\Psi|$ — for polar coordinates, $r$.

B T(B) Te₁ Te₂ linear T: area × |det T| |B| = 1, |T(B)| = |det T| = 2 dr r dφ O polar chart Ψ(r, φ) cell area ≈ r dr dφ

Left: the columns of $T = \begin{pmatrix}1.5 & 0.5\\ 0.5 & 1.5\end{pmatrix}$ are the images of the unit vectors, and they span $T(B)$; its area is $\det T = 2.25 - 0.25 = 2$. Right: under the polar chart a cell $\mathrm dr\times\mathrm d\varphi$ becomes a near-rectangle of sides $\mathrm dr$ and $r\,\mathrm d\varphi$, so its area is $r\,\mathrm dr\,\mathrm d\varphi$ and $|\det D\Psi| = r$: cells far out are bigger.

05 · regions

Spherical coordinates, and where the chart dies

spherical coordinates

$\Psi(r,\theta,\varphi) = (r\sin\theta\cos\varphi,\ r\sin\theta\sin\varphi,\ r\cos\theta)$ on $r > 0$, $\theta \in (0,\pi)$, $\varphi \in (0,2\pi)$. $\theta$ is the polar angle from the $z$-axis, $\varphi$ the azimuth.

the coordinate singularity

On the polar axis $\theta \in \{0,\pi\}$, and at $r = 0$, $\varphi$ is not defined at all and $\Psi$ is not injective: the whole circle of $\varphi$ values maps to one point.

Nothing is wrong with space there: the chart is at fault, not the geometry — a distinction that returns at the Schwarzschild radius in unit 36. The bad set — the axis, plus the half-plane where $\varphi$ jumps from $2\pi$ to $0$ — has measure zero, so the change of variables formula still applies to the whole ball.

x y z θ φ r P O on the axis, every φ names the same point

$P$ is reached by tilting $\theta$ down from the $z$-axis and turning $\varphi$ round it from the $x$-axis; the dashed drop to the $xy$-plane shows where $\varphi$ is measured. Near the pole the circles of constant $\theta$ shrink, and on the axis itself a whole circle of $\varphi$ values lands on one point.

05 · regions

The volume element $r^2\sin\theta$

The three columns of $D\Psi$ are $$\partial_r\Psi = \hat r,\quad \partial_\theta\Psi = r\,\hat\theta,\quad \partial_\varphi\Psi = r\sin\theta\,\hat\varphi,$$ with $\hat r, \hat\theta, \hat\varphi$ orthonormal. For a matrix with orthogonal columns $A^{\!\top}\!A$ is diagonal, so $(\det A)^2 = \prod_i\lVert c_i\rVert^2$ and

the Jacobian determinant $$\big|\det D\Psi\big| = r^2\sin\theta, \qquad \mathrm{d}V = r^2\sin\theta\,\mathrm{d}r\,\mathrm{d}\theta\,\mathrm{d}\varphi .$$

It vanishes at $r = 0$ and on the polar axis — the coordinate singularity of the previous slide, seen as cells squeezed to nothing.

check

$\displaystyle |B_R| = \int_0^R\!\!\int_0^\pi\!\!\int_0^{2\pi}\! r^2\sin\theta\,\mathrm{d}\varphi\,\mathrm{d}\theta\,\mathrm{d}r = 2\pi\cdot2\cdot\tfrac{R^3}{3} = \tfrac43\pi R^3$ ✓, and it has dimensions $L^3$ ✓.

z r sin θ θ r dr r dθ r sin θ dφ O

The cell's three edges, drawn in the plane through the $z$-axis: $\mathrm dr$ outward, $r\,\mathrm d\theta$ along the meridian, and $r\sin\theta\,\mathrm d\varphi$ round the circle of latitude, whose radius is $r\sin\theta$. They are at right angles, so the volume is their product.

05 · regions · example

Worked example 1 — a shell, by brute force (setting up)

Take a thin shell of radius $a$, mass $m$. Model it as a solid shell of thickness $\delta$ and density $\rho = \sigma/\delta$, and let $\delta \to 0$ at the end. Put the field point $P$ on the $z$-axis at distance $r$; by symmetry that costs nothing.

Unit 04 gave the potential energy of one pair, $-Gm_1m_2/s$. Divide by the test mass at $P$ to get the potential $\Phi$, potential energy per unit mass, and superpose: $$\Phi(r) = -G\!\!\int_{\text{shell}}\frac{\mathrm{d}m}{s},\qquad s = \lVert \vec r - \vec a\rVert .$$

The law of cosines gives $s$ in the coordinates we have: with $\theta$ the polar angle of the source point, $$s = \sqrt{r^2 + a^2 - 2ar\cos\theta} .$$

θ a r s P O z ring at angle θ: every point of it is at distance s from P s² = r² + a² − 2ar cos θ

$s$ depends on the source point only through $\theta$: the whole ring at that angle is at one distance from $P$. That is why the azimuth $\varphi$ will integrate out for free.

05 · regions · example

Worked example 1 — down to one integral

the integral

With $\mathrm dm = \rho\,r'^2\sin\theta\,\mathrm dr'\,\mathrm d\theta\,\mathrm d\varphi$ and nothing depending on $\varphi$, Fubini does the azimuth for free: $$\Phi(r) = -2\pi G\sigma a^2\!\!\int_0^\pi\!\frac{\sin\theta\,\mathrm{d}\theta}{\sqrt{r^2+a^2-2ar\cos\theta}} .$$

Substitute $u = \cos\theta$, $\mathrm du = -\sin\theta\,\mathrm d\theta$: $$\Phi(r) = -2\pi G\sigma a^2\!\!\int_{-1}^{1}\!\frac{\mathrm{d}u}{\sqrt{r^2+a^2-2aru}} .$$

One ordinary integral, no vectors left. The next slide evaluates it.

polar cap: height Δz equatorial band: height Δz same area: 2πa Δz each, like the cylinder

Why $u = \cos\theta$ is the natural variable: $u$ is height along the axis in units of $a$, and slices of equal height cut the shell into bands of equal area — a cap near the pole is wide in $\theta$ but small in radius, a band at the equator the reverse. So the mass is spread uniformly in $u$ over $[-1,1]$.

05 · regions · example

Worked example 1 — the cancellation

evaluate

$\dfrac{\mathrm d}{\mathrm du}\Big[-\dfrac{\sqrt{r^2+a^2-2aru}}{ar}\Big] = \dfrac{1}{\sqrt{r^2+a^2-2aru}}$, so

$$\begin{aligned}\int_{-1}^1 &= \frac{\sqrt{(r+a)^2} - \sqrt{(r-a)^2}}{ar}\\[-2pt] &= \frac{(r+a) - |r-a|}{ar} .\end{aligned}$$

Outside ($r > a$): $|r - a| = r - a$, so the bracket is $2a$ and the integral is $2/r$.
Inside ($r < a$): $|r - a| = a - r$, the bracket is $2r$, the integral is $2/a$.

With $m = 4\pi a^2\sigma$: outside, $\Phi = -Gm/r$; inside, $\Phi = -Gm/a$, constant. The field $\vec g$, the force per unit mass on a test body, is $-\nabla\Phi$ (unit 04: force is minus the gradient of potential energy). So outside $\vec g = -(Gm/r^2)\,\hat r$, and inside $\vec g = \vec 0$.

the shell theorem, and where it hides

Outside, the shell pulls exactly as a point of the same mass at its centre. Inside, the field is exactly zero — not small, zero.

The entire theorem is the step $\sqrt{(r-a)^2} = |r-a|$. Write $r - a$ there, as the algebra invites you to, and both halves are wrong.

The next slide plots both halves and checks them.

05 · regions · example

The shell's potential and field, plotted

checks

$[Gm/r] = \mathrm{L^2T^{-2}}$, an energy per mass ✓. $a \to 0$: a point mass ✓. $r \to \infty$: $\Phi \to 0$ ✓. At $r = a$ both branches give $-Gm/a$ ✓, though $\vec g$ jumps. Numerically, with $G = m = a = 1$, quadrature gives $\Phi(2) = -0.500000$ and $\Phi(0.5) = -1.000000$ ✓ — the two dots.

$\Phi$ is continuous with a kink at the shell; $g = -\Phi'$ is the slope, so the kink is a jump in $g$, of size $Gm/a^2 = 4\pi G\sigma$.

0 −0.5 −1 a: the shell 2a 3a 4a Φ = −Gm/a g = 0 Φ = −Gm/r g = −Gm/r² quadrature r Φ in Gm/a, g in Gm/a²

Inside, $\Phi$ is flat, so its slope — the field — is zero everywhere in the cavity. Outside, both curves are the point mass's. The field jumps at the shell because the shell has finite mass in zero thickness.

section 2

Flux

How much of a vector field crosses a surface — and the one theorem that turns that into a volume integral.

05 · flux

Surfaces, and the vector area element

parametrised surface

A $C^1$ map $\Sigma : D \subseteq \mathbb R^2 \to \mathbb R^3$ on an admissible $D$, with $D\Sigma$ of rank $2$ and $\Sigma$ injective on the interior of $D$. Its two tangent vectors at $(u,v)$ are $\partial_u\Sigma$ and $\partial_v\Sigma$.

the vector area element $$\mathrm{d}\vec A = (\partial_u\Sigma \times \partial_v\Sigma)\,\mathrm{d}u\,\mathrm{d}v .$$

Direction: normal to both tangents, so normal to the surface. Length: $\lVert\partial_u\Sigma\times\partial_v\Sigma\rVert$, the area of the parallelogram they span, which is the local area distortion of $\Sigma$.

du dv v u D Σ ∂ᵤΣ du ∂ᵥΣ dv dA

A rectangle $\mathrm du\times\mathrm dv$ in the domain lands on the surface as a small curved patch. To first order it is the parallelogram spanned by $\partial_u\Sigma\,\mathrm du$ and $\partial_v\Sigma\,\mathrm dv$; $\mathrm d\vec A$ is their cross product, normal to the patch, with length its area.

05 · flux

Flux, and why the parametrisation does not matter

the flux of a field $$\int_\Sigma \vec F\cdot\mathrm{d}\vec A = \iint_D \vec F(\Sigma)\cdot(\partial_u\Sigma\times\partial_v\Sigma)\,\mathrm{d}u\,\mathrm{d}v$$

Read: at each patch, how much of $\vec F$ points through it, times the patch's area. Writing $\hat n$ for the unit normal and $\mathrm dA = \lVert\mathrm d\vec A\rVert$, the integrand is $\vec F\cdot\hat n\,\mathrm dA$: only the component of $\vec F$ across the surface counts.

independence of the parametrisation

Reparametrising by a $C^1$ diffeomorphism changes the flux by the factor $\operatorname{sgn}\det$ of that reparametrisation, and by nothing else — unit 04's parametrisation invariance of the line integral, one dimension up.

full proof in the notes (N)

So flux is a property of the surface and the field, plus one binary choice — which side the normal points to. The next slide is about that choice.

05 · flux

Orientation, and the sphere's area element

orientation

A choice of unit normal field $\hat n$, continuous over the surface. A closed surface is by convention oriented outward.

two ways this goes wrong

Sign. Flip $\hat n$ and every flux changes sign. Gauss's law is a statement about the outward one; half the sign errors in this subject are here.

Existence. Not every surface admits a continuous $\hat n$: on a Möbius band, transport $\hat n$ once round and it comes back reversed. Flux is undefined there. Every surface in this unit is the boundary of a solid region, and those are always orientable.

the sphere of radius $a$

$\Sigma(\theta,\varphi) = a(\sin\theta\cos\varphi, \sin\theta\sin\varphi, \cos\theta)$. From the spherical-coordinate columns, $\partial_\theta\Sigma = a\hat\theta$ and $\partial_\varphi\Sigma = a\sin\theta\,\hat\varphi$, and $\hat\theta\times\hat\varphi = \hat r$, so

$$\mathrm{d}\vec A = a^2\sin\theta\,\hat r\,\mathrm{d}\theta\,\mathrm{d}\varphi ,$$

outward, as wanted. Total area $\displaystyle a^2\!\!\int_0^\pi\!\!\int_0^{2\pi}\!\sin\theta\,\mathrm d\varphi\,\mathrm d\theta = 4\pi a^2$ ✓.

And the band between $\theta_1$ and $\theta_2$ has area $2\pi a^2(\cos\theta_1 - \cos\theta_2)$ — the formula example 1 obtained as a limit of volumes, now derived directly.

05 · flux

Solid angle

solid angle

For an oriented surface $\Sigma$ not meeting the origin, $$\Omega(\Sigma) = \int_\Sigma \frac{\hat r\cdot\mathrm{d}\vec A}{r^2} = \int_\Sigma \frac{\vec r\cdot\mathrm{d}\vec A}{r^3} .$$ It is the signed area of the radial projection of $\Sigma$ onto the unit sphere: the fraction of the sky that $\Sigma$ covers, times $4\pi$. Dimensionless; the unit is called the steradian.

on a sphere about the origin

$\mathrm d\vec A = a^2\sin\theta\,\hat r\,\mathrm d\theta\,\mathrm d\varphi$ and $r = a$, so the $a^2$ cancels exactly: $$\Omega = \int_0^\pi\!\!\int_0^{2\pi}\!\sin\theta\,\mathrm d\varphi\,\mathrm d\theta = 4\pi$$ for every radius. That cancellation is the whole of section 3.

dA₁ dA₂ O same Ω

Both intercepts of the cone have $\hat r\cdot\mathrm d\vec A/r^2$ equal: a patch twice as far and twice as wide, or tilted, projects to the same piece of sky.

The Moon subtends $6.418\times10^{-5}$ sr and the Sun $6.794\times10^{-5}$ sr — a ratio of $0.945$, which is why total eclipses are only just total.

05 · flux

Why $1/r^2$, and no other power

Consider the radial field $\vec F_p = \hat r/r^p$ and ask for its flux through a sphere of radius $R$ about the origin:

$$\oint_{S_R}\vec F_p\cdot\mathrm{d}\vec A = \frac{1}{R^p}\cdot 4\pi R^2 = 4\pi R^{2-p} .$$
theorem

In $\mathbb R^3$, the flux of $\hat r/r^p$ through a sphere about the origin is independent of the radius iff $p = 2$. In $\mathbb R^n$ the unique exponent is $n-1$.

The same exponent shows up a second way, through the divergence $\operatorname{div}\vec F = \sum_i\partial_iF_i$ (in Cartesian components; Divergence, defined without coordinates defines it properly, as a trace). Writing $\vec F_p = \vec x\,f(r)$ with $f = r^{-p-1}$, $$\operatorname{div}(\vec x f) = 3f + r f'(r) = (2-p)\,r^{-p-1},$$ which vanishes on $r>0$ exactly when $p = 2$.

0 1 2 3 1 2 3 p = 1: grows p = 2: the same for every R p = 3: dies away R, radius of the sphere flux / 4π

Flux of $\hat r/r^p$ through spheres of growing radius $R$: the field weakens as $R^{-p}$ while the area grows as $R^2$. Only for $p = 2$ do the two cancel, at every radius.

05 · flux

What the exponent means

what this means physically

A field whose flux through every enclosing sphere is the same is a field with no sources except at the origin. The inverse square is not an empirical accident about the exponent; it is the statement that gravity is produced by mass and by nothing else, in three dimensions.

checks

Dimensions: $[\vec g]\,\mathrm L^2 = \mathrm{L^3T^{-2}}$, and $[GM] = \mathrm{L^3T^{-2}}$ ✓ — the two sides of Gauss's law will match.
$p = 2$, $n = 3$: flux $4\pi$, the solid angle of the whole sky ✓.
$p = 0$ (a constant radial field): flux $4\pi R^2$, growing — sources everywhere, and indeed $\operatorname{div} = 2/r \ne 0$ ✓.

Experimentally the exponent is $2$ to the precision of lunar laser ranging; departures at sub-millimetre range are sought as signs of extra dimensions.

R 2R 3R

The field-line picture of $p = 2$: lines start only at the mass and never end, so every sphere about it is crossed by all of them. On a sphere of area $4\pi R^2$ that makes their density, the field strength, fall as $1/R^2$.

05 · flux

Divergence, defined without coordinates

divergence

For a $C^1$ field $\vec F : U \subseteq \mathbb R^n \to \mathbb R^n$, the total derivative $D\vec F(a)$ is a linear map $\mathbb R^n\to\mathbb R^n$ (unit 03). Define $$\operatorname{div}\vec F(a) := \operatorname{tr} D\vec F(a).$$ A number attached to a point, with no basis involved.

components

In any linear coordinates, $\operatorname{div}\vec F = \sum_i \partial_i F_i$.

Proof. The matrix of $D\vec F(a)$ in a basis has entries $\partial_jF_i$; the trace of a linear map is the sum of its matrix's diagonal entries in any basis, since $\operatorname{tr}(P^{-1}AP) = \operatorname{tr}(A)$. $\square$

House rule: the object is the trace of a linear map. The formula $\sum\partial_iF_i$ is a theorem about its matrix, not the definition.

"the field spreads out" is not the definition

$\hat r/r^2$ points away from the origin everywhere and has divergence $0$ everywhere it is defined. Spreading direction and divergence are different questions: the field spreads, but it also weakens at exactly the rate that keeps the flux constant.

Conversely $\vec F = (y, 0, 0)$ has $\operatorname{div} = 0$ and does not look radial at all.

The honest physical reading comes from the next slide: $$\operatorname{div}\vec F(a) = \lim_{|D|\to0}\frac1{|D|}\oint_{\partial D}\vec F\cdot\mathrm{d}\vec A,$$ the flux out of a shrinking region per unit volume — a local source strength.

05 · flux

The divergence theorem, proved for a box

the divergence theorem

Let $D \subset \mathbb R^3$ be compact with piecewise-$C^1$ boundary, oriented outward, and let $\vec F$ be $C^1$ on an open set containing $D$. Then $$\int_D \operatorname{div}\vec F\,\mathrm{d}V = \oint_{\partial D}\vec F\cdot\mathrm{d}\vec A .$$

proof, for a box $B = [a_1,b_1]\times[a_2,b_2]\times[a_3,b_3]$

By linearity it is enough to take $\vec F = F_3\hat e_3$. Fubini, then the fundamental theorem of calculus on the inner integral:

$$\int_B \partial_3F_3\,\mathrm{d}V = \iint\Big[\int_{a_3}^{b_3}\!\partial_3F_3\,\mathrm{d}x_3\Big]\,\mathrm{d}x_1\mathrm{d}x_2$$ $$= \iint\big(F_3(\cdot,b_3) - F_3(\cdot,a_3)\big)\,\mathrm{d}x_1\mathrm{d}x_2 .$$

On the top face $\hat n = +\hat e_3$ and on the bottom $\hat n = -\hat e_3$, so that is exactly the flux through top and bottom; the four side faces have $\hat n\cdot\hat e_3 = 0$ and contribute nothing. Sum the three components. $\square$

what the theorem is made of

Fubini and the fundamental theorem of calculus, once per axis. Nothing else. The content is $\int_a^b f' = f(b)-f(a)$ with "boundary" now meaning a surface.

Unit 04's fundamental theorem of line integrals was the same statement for a curve; unit 04's Stokes' theorem for a surface with a boundary curve. Unit 34 proves all four at once, in every dimension.

check on a known case

$\vec F = \vec x$ has $\operatorname{div} = 3$, so the left side is $3|D|$. On a sphere of radius $R$, $\vec x\cdot\hat n = R$, so the right side is $R\cdot4\pi R^2 = 3\cdot\tfrac43\pi R^3$ ✓.

05 · flux

From a box to any region

Step 1 · additivity. Cut $D$ into two pieces along a common face. Each interior face is traversed twice, once with $\hat n$ and once with $-\hat n$, and the two contributions cancel exactly. So both sides of the theorem are additive, and the theorem holds for any finite union of boxes.

Step 2 · exhaustion. Approximate $D$ from inside and outside by unions of small boxes. Both sides converge, because $\operatorname{div}\vec F$ is bounded on the compact $D$ and the boundary has finite area.

Step 3 · curved boundaries. Near each boundary point, change variables to flatten the boundary — this is the inverse function theorem of unit 04 — prove it there, and patch the local statements with a partition of unity.

Step 3 is where the work is. Stated as cited: Spivak, Calculus on Manifolds, Thm 5-8, which is this statement, and his Thm 5-5 for the general $n$; or Rudin, Principles, Thm 10.51. Unit 34 proves it in general.

D₁ D₂ outward for D₁ outward for D₂

The shared face carries opposite normals, so its two flux contributions cancel and only $\partial(D_1\cup D_2)$ survives.

the hypothesis that will bite

$\vec F$ must be $C^1$ on all of $D$. Every interesting application in section 3 has a field that is singular at a point, and the theorem is applied to a region that excludes it.

section 3

Gravity becomes a field

From a sum over pairs to a differential equation satisfied at every point of space.

05 · the field

The field of a continuous distribution

Newton's law of gravitation · constitutive input

Two point masses attract along the line joining them with $\lVert\vec F\rVert = Gm_1m_2/s^2$, with $G = 6.67430\times10^{-11}\ \mathrm{m^3\,kg^{-1}\,s^{-2}}$. This is a force law, not a theorem: it is measured, as unit 00 insisted.

the gravitational field and its potential

For a density $\rho$ of compact support, $$\vec g(\vec x) = -G\!\!\int\!\rho(\vec y)\frac{\vec x - \vec y}{\lVert\vec x-\vec y\rVert^3}\,\mathrm{d}V(\vec y),$$ $$\Phi(\vec x) = -G\!\!\int\!\frac{\rho(\vec y)}{\lVert\vec x-\vec y\rVert}\,\mathrm{d}V(\vec y),$$ and $\vec g = -\nabla\Phi$. $\vec g$ is force per unit mass; $\Phi$ is potential energy per unit mass.

superposition

Both integrals are linear in $\rho$. That is the whole content of "gravitational forces add", and it is a physical assumption in exactly the same sense as the force law — one that general relativity will withdraw, since its field equations are nonlinear.

the integral converges inside the matter

Near $\vec y = \vec x$ the integrand grows as $s^{-2}$, while $\mathrm dV = s^2\sin\theta\,\mathrm ds\,\mathrm d\theta\,\mathrm d\varphi$ vanishes as $s^2$. The product is bounded, so the improper integral converges — the $s^2$ of the volume element beats the $s^{-2}$ of the force. In one or two dimensions it would not.

Dimensions: $[G] = \mathrm{L^3M^{-1}T^{-2}}$, $[\vec g] = \mathrm{LT^{-2}}$, $[\Phi] = \mathrm{L^2T^{-2}}$ ✓.

05 · the field

Gauss's law for gravity

Gauss's law for gravity

For any closed surface $S$ bounding a region $D$, with no mass sitting exactly on $S$, $$\oint_S \vec g\cdot\mathrm{d}\vec A = -4\pi G\,M_{\text{enc}}, \qquad M_{\text{enc}} = \int_D\rho\,\mathrm{d}V .$$

proof

By superposition it suffices to take a single point mass $m$ at $\vec y$. Then $\vec g = -Gm(\vec x - \vec y)/\lVert\vec x-\vec y\rVert^3$, so $$\oint_S\vec g\cdot\mathrm{d}\vec A = -Gm\,\Omega_{\vec y}(S),$$ the solid angle of $S$ seen from $\vec y$. If $\vec y \in D$ that is $4\pi$; if $\vec y \notin D$ it is $0$. Integrate over $\rho$, swapping the two integrals by Fubini. $\square$

the two solid-angle values: full proof in the notes (N), and problem P6

+ − + y inside y outside S inside: every ray leaves once, Ω = 4π outside: each ray enters and leaves, Ω = 0

Why the solid angle is $4\pi$ or $0$. From inside, each ray from $\vec y$ crosses $S$ once more outward than inward, so $S$ covers the whole sky. From outside, each ray that meets $S$ enters ($\hat r\cdot\hat n < 0$) and leaves ($\hat r\cdot\hat n > 0$) through patches of the same solid angle, which cancel.

05 · the field

Gauss's law: the sign, and a check

signs, once and for all

$\vec g$ points inward and $\hat n$ outward, so the flux is negative. Gravity has one sign of source and attracts; electrostatics has two and like charges repel, which is why its Gauss law reads $\oint\vec E\cdot\mathrm d\vec A = Q/\varepsilon_0$ with a plus. The dictionary is $-G \leftrightarrow 1/4\pi\varepsilon_0$, used in both directions in unit 23.

check

A sphere of radius $R$ around a point mass: $\vec g\cdot\hat n = -Gm/R^2$, area $4\pi R^2$, flux $-4\pi Gm$ — and $R$ has cancelled, as the $1/r^2$ slide promised. Dimensions: $\mathrm{LT^{-2}}\cdot\mathrm L^2 = \mathrm{L^3T^{-2}} = [GM]$ ✓.

One number per closed surface. The law constrains the flux, not the field; turning it into the field takes the symmetry argument two slides on.

05 · the field

The field equation

the local form

On an open set where $\rho$ is $C^1$, $$\operatorname{div}\vec g = -4\pi G\rho, \qquad\text{equivalently}\qquad \nabla^2\Phi = 4\pi G\rho ,$$ with $\nabla^2\Phi := \operatorname{div}(\nabla\Phi)$, the Laplacian of section 4. The second is Poisson's equation.

proof

For every admissible $D$, the divergence theorem and Gauss's law give $$\int_D\operatorname{div}\vec g\,\mathrm{d}V = \oint_{\partial D}\vec g\cdot\mathrm{d}\vec A = -4\pi G\!\int_D\rho\,\mathrm{d}V .$$ So $\int_D h = 0$ for every ball $D$, where $h = \operatorname{div}\vec g + 4\pi G\rho$ is continuous. If $h(a) \ne 0$, continuity gives a ball on which $h$ keeps its sign, and the integral over it is not zero. Hence $h \equiv 0$. $\square$

what has just happened

The left-hand statement mentions only the field and the density at one point. An integral over every other mass in the universe has been replaced by a differential equation, local in space.

This is the form in which gravity will be generalised. Unit 35's Einstein field equations are the same kind of object — a local differential relation between a field and its source — and $\nabla^2\Phi = 4\pi G\rho$ is what they must reduce to when the field is weak and the motion slow.

checks

Dimensions: $[\operatorname{div}\vec g] = \mathrm{T^{-2}}$, $[G\rho] = \mathrm{L^3M^{-1}T^{-2}}\cdot\mathrm{ML^{-3}} = \mathrm{T^{-2}}$ ✓.
In vacuum $\rho = 0$: $\nabla^2\Phi = 0$, and indeed $\nabla^2(1/r) = 0$ away from the origin — section 4 uses nothing else ✓.

05 · the field

What "by symmetry" actually buys

equivariance of the field

Let $G \subseteq O(3)$ and suppose $\rho\circ A = \rho$ for every $A \in G$. Then $$\vec g(A\vec x) = A\,\vec g(\vec x) \quad\text{for all } A \in G .$$ Consequently $\vec g(\vec x)$ is fixed by every element of the stabiliser $G_{\vec x} = \{A \in G : A\vec x = \vec x\}$, so it lies in the subspace $\operatorname{Fix}(G_{\vec x})$.

Proof. Substitute $\vec y = A\vec z$ in the defining integral; $|\det A| = 1$ and $\lVert A\vec u\rVert = \lVert\vec u\rVert$, so $\vec g(A\vec x) = -G\!\int\rho(A\vec z)\,A(\vec x-\vec z)/\lVert\vec x-\vec z\rVert^3\,\mathrm dV = A\vec g(\vec x)$, using $\rho(A\vec z) = \rho(\vec z)$. $\square$

Read the consequence with $A\vec x = \vec x$: then $\vec g(\vec x) = A\,\vec g(\vec x)$. Any symmetry that leaves the point where it is must leave the field there unchanged too.

x O rotations about Ox: they fix x and ρ a sideways part is turned round only g(r) r̂ is fixed ρ depends on r alone

For a spherically symmetric $\rho$, the rotations about the axis through $\vec x$ fix $\vec x$. A field vector with any sideways part would be turned round a cone by them, yet must stay put: so the sideways part is zero and $\vec g(\vec x)$ points along the axis.

05 · the field

The spherical case: one unknown function

the spherical case

$\rho$ a function of $r$ alone: take $G = O(3)$. The stabiliser of $\vec x \ne 0$ is the copy of $O(2)$ fixing the axis through $\vec x$, whose fixed subspace is $\operatorname{span}(\hat r)$ — one dimension. So $$\vec g(\vec x) = g(r)\,\hat r ,$$ one unknown function of one variable. Gauss's law then determines it with a single equation per radius.

And $g(r)$ really is one number per sphere: a rotation carries any point of the sphere $S_r$ to any other and preserves $\rho$, so by equivariance it carries the field at one to the field at the other, same length.

That is the exact trade: symmetry reduces the unknown from a vector field on $\mathbb R^3$ to a scalar function on $(0,\infty)$, and Gauss's law does the rest. Neither alone is enough.

The same theorem gives $\vec g = g(s)\hat s$ for an infinite cylinder and $\vec g = g(z)\hat z$ for an infinite slab, once translations join the group.

05 · the field · example

Worked example 2 — the shell theorem in three lines

the whole argument

1. $\rho$ depends on $r$ alone, so $\vec g = g(r)\hat r$ by the equivariance theorem.

2. On the sphere $S_r$, $\vec g\cdot\hat n = g(r)$ is constant, so the flux is $4\pi r^2 g(r)$.

3. Gauss: $4\pi r^2g(r) = -4\pi G M(r)$, so $$\boxed{\,g(r) = -\frac{G\,M(r)}{r^2}\,}$$ with $M(r)$ the mass strictly inside radius $r$.

For the shell: $M(r) = 0$ for $r < a$ and $m$ for $r > a$. Both halves of the shell theorem, and the page of algebra in example 1 was a page of algebra reproving a cancellation that symmetry had already guaranteed.

the uniform ball

$M(r) = M r^3/R^3$ inside, $M$ outside, so

$$g(r) = \begin{cases} -\dfrac{GM}{R^3}\,r, & r \le R\\[6pt] -\dfrac{GM}{r^2}, & r \ge R .\end{cases}$$

Linear inside, inverse-square outside. Only the mass below you pulls; the shell above you does nothing.

At the surface $g_0 = GM/R^2 = 9.8203\ \mathrm{m\,s^{-2}}$, with $GM = 3.986004418\times10^{14}\ \mathrm{m^3s^{-2}}$, $R = 6371$ km.

checks

Continuous at $r = R$ ✓. $r\to0$: $g\to0$, as symmetry demands — no preferred direction at the centre ✓. $r\to\infty$: a point mass ✓. Dimensions $\mathrm{LT^{-2}}$ throughout ✓.

05 · the field

The potential inside the ball

$\vec g = -\nabla\Phi$ and $\vec g$ is radial, so $\Phi$ depends on $r$ alone and $g(r) = -\Phi'(r)$. Integrating the two branches and matching at $r = R$:

the gravitational potential of a uniform ball $$\Phi(r) = \begin{cases} -\dfrac{GM}{2R^3}\big(3R^2 - r^2\big), & r \le R\\[8pt] -\dfrac{GM}{r}, & r \ge R \end{cases}$$

Inside it is a parabola in $r$ with its minimum at the centre — a harmonic-oscillator potential, which is the whole of the next example. Outside, the ball is a point.

checks

$r = R$: both branches give $-GM/R = -6.2565\times10^7\ \mathrm{J\,kg^{-1}}$ ✓.
$r = 0$: $\Phi(0) = -3GM/2R = -9.3847\times10^7\ \mathrm{J\,kg^{-1}}$, deeper than the surface value by exactly half of it ✓.
Poisson, inside: $\Phi = \text{const} + \frac{GM}{2R^3}r^2$ and $\nabla^2 r^2 = 6$, so $$\nabla^2\Phi = \frac{3GM}{R^3} = 3G\cdot\frac{\tfrac43\pi R^3\rho}{R^3} = 4\pi G\rho\ \checkmark$$ Poisson, outside: $\nabla^2(1/r) = 0$ for $r>0$ ✓, as it must be with no mass there.
Dimensions $\mathrm{L^2T^{-2}}$ ✓.

Two derivatives of $\Phi$, two checks: the first derivative reproduces $g$, the second reproduces $\rho$. Every result in this unit can be audited the same way.

05 · the field

The ball's field and potential, plotted

Inside, $g$ is linear in $r$: the mass below grows as $r^3$ and its pull falls as $1/r^2$. Zero at the centre, $-g_0$ at the surface.

$\Phi$ joins smoothly at $R$: same value and same slope, because $g = -\Phi'$ is continuous there.

The well's depth. $\Phi(0) - \Phi(R) = -GM/2R$, half the energy needed to escape from the surface. A body falling from rest at the surface reaches the centre at $\sqrt{GM/R} = 7.91\ \mathrm{km\,s^{-1}}$; escape takes $\sqrt{2GM/R} = 11.19\ \mathrm{km\,s^{-1}}$ — a ratio of exactly $\sqrt2$.

0 −0.5 −1 −1.5 R 2R 3R Φ(0) = −3GM/2R g ∝ r g = −GM/r² Φ = −GM/r dotted: −GM/r, a point mass r Φ in GM/R, g in g₀ = GM/R²

Both curves in units of the surface values, $g_0 = GM/R^2 = 9.8203\ \mathrm{m\,s^{-2}}$ and $GM/R$. At $r = R$ they meet at $-1$ only because of those units. A point mass would keep plunging (dotted); the ball's potential turns over into a parabola, the harmonic-oscillator well of the next example.

05 · the field · example

Worked example 3 — the tunnel, and 84 minutes

the computation

Bore a straight tunnel, its line passing at perpendicular distance $b$ from the centre. With $\hat t$ along it and $x$ the signed distance from its midpoint, $\vec r = b\,\hat n_\perp + x\,\hat t$, $\hat n_\perp\cdot\hat t = 0$.

Inside, $\vec g = -(GM/R^3)\,\vec r$: proportional to the position vector itself. The frictionless walls push only normal to $\hat t$, so along the tunnel

$$\ddot x = \vec g\cdot\hat t = -\frac{GM}{R^3}\,\vec r\cdot\hat t = -\frac{GM}{R^3}\,x ,$$

and $b$ has vanished. With $\omega^2 = GM/R^3$ this is unit 00's third case; quadrature from $\dot x^2 = \omega^2(x_0^2-x^2)$ gives $T = 2\pi/\omega$, worked in the notes.

O b r g x −ω²x −ω²b N R

$\vec g = -\omega^2\vec r$ points at the centre. Split along and across the tunnel: along it, $-\omega^2x$, which is all the body feels; across it, $-\omega^2 b$, which the wall's normal force $N$ cancels. $b$ appears only in the part that does nothing.

05 · the field · example

84 minutes, from anywhere to anywhere

the number

$\omega = 1.24153\times10^{-3}\ \mathrm{s^{-1}}$, so $T = 2\pi\sqrt{R^3/GM} = 5060.8\ \mathrm s = 84.3$ min, and the one-way trip is $42.2$ minutes — from anywhere to anywhere.

checks

Dimensions $\sqrt{\mathrm L^3/(\mathrm{L^3T^{-2}})} = \mathrm T$ ✓; independent of the falling body's mass ✓. Through the centre, top speed $\omega R = 7.91\ \mathrm{km\,s^{-1}}$, the circular-orbit speed at the surface — and $T$ is that orbit's period ✓. The tunnel motion is the orbit's shadow on a diameter.

Idealised away: uniform density — the real Earth is centrally condensed, and P12 gets $75.9$ min — and also air, rotation and rock at $5000\ \mathrm K$.

ωt skimming orbit train at R cos ωt the orbit's shadow

A satellite skimming the surface and a train in a tunnel along a diameter, released together: the train stays directly below the satellite, at $x = R\cos\omega t$, because the satellite's horizontal coordinate obeys the same $\ddot x = -\omega^2 x$. A chord of half-length $x_0$ is the shadow of a circle of radius $x_0$ at the same $\omega$.

05 · the field

Where Gauss's law is true and useless

Gauss's law holds for every closed surface and every mass distribution. It determines $\vec g$ only when symmetry has already reduced $\vec g$ to one unknown number on the surface.

a uniform cube

Take $\rho$ constant on a cube of side $L$, and a concentric cubical surface outside it. Gauss gives $$\oint\vec g\cdot\mathrm{d}\vec A = -4\pi G\rho L^3$$ — one number. But the symmetry group is the $48$-element octahedral group, and the stabiliser of a generic face point is trivial, or on a mirror line is generated by one reflection: its fixed subspace has dimension $3$ or $2$. Only at face centres, edge midpoints and corners is it $1$. The direction of $\vec g$ is not fixed, its magnitude varies across the face, and one equation cannot produce two unknown functions of two variables.

face centre: 2.60, normal edge: 2.19, at 45° in units of GρL; uniform-symmetric Gauss would claim 2.09 everywhere, normal to the face

The cube's actual field on its own surface, in the plane through its centre parallel to a face, computed from the defining integral. Normal and strongest at face centres, at $45^\circ$ at the edges, and turning in between: no single number $g$ can be pulled out of the flux integral.

05 · the field

When Gauss's law does fix the field

the precise statement

Gauss's law determines $g$ on a surface $S$ when there is a group $G$ preserving $\rho$ and $S$ such that

  • $\operatorname{Fix}(G_{\vec x})$ is one-dimensional at each $\vec x \in S$, fixing the direction of $\vec g$; and
  • $G$ acts transitively on $S$, fixing its magnitude to one constant.

The three classic families: spheres about a spherically symmetric source, and — allowing translations, for idealised infinite sources — coaxial cylinders about a cylindrical one and planes parallel to a slab.

The cube of the previous slide fails both conditions on a generic face point. The sphere meets both everywhere, which is why example 2 took three lines.

Everything else needs the integral of example 1, or the multipole expansion of unit 10, or a numerical solution of Poisson's equation. The cube's field does have a closed form, in logarithms and arctangents — but it comes from doing the integral, not from Gauss (cited: Nagy, Geophysics 31 (1966) 362).

section 4

Empty space

What Laplace's equation forces on a potential — and why gravity alone cannot hold anything still.

05 · empty space

The Laplacian is a trace

the Laplacian

Unit 04's Hessian of $f$ at $a$ is the symmetric bilinear form $\operatorname{Hess}f(a)$ with matrix $(\partial_i\partial_jf)$ — symmetric by Clairaut's theorem (unit 03). Define $$\nabla^2 f := \operatorname{tr}\operatorname{Hess}f = \operatorname{div}(\nabla f),$$ which in Cartesian coordinates is $\sum_i\partial_i^2f$.

Invariance: an orthogonal change of coordinates takes the matrix $H$ to $Q^{\!\top}HQ = Q^{-1}HQ$, whose trace is unchanged. The Laplacian is a geometric object, not an artefact of axes.

harmonic function

$f$ with $\nabla^2f = 0$ on an open set — a solution of Laplace's equation. By Poisson, $\Phi$ is harmonic exactly where there is no mass.

what the Laplacian measures

For $f$ of class $C^4$, the average of $f$ over the sphere of radius $r$ about $a$ is $$\langle f\rangle_r = f(a) + \frac{r^2}{6}\nabla^2f(a) + O(r^4).$$ So $\nabla^2f(a)$ is, up to a constant, how much $f$ at $a$ falls short of its own neighbourhood average.

full proof in the notes (N)

Harmonic therefore means: equal to its own average, to this order. Section 4's first theorem upgrades "to this order" to "exactly".

The factor is $r^2/2n$ in $\mathbb R^n$; the $6$ is $2\times3$.

05 · empty space

The mean value property

the mean value property

If $\Phi$ is harmonic on an open set containing the closed ball $\bar B(a,R)$, then for every $0 < r \le R$ $$\Phi(a) = \frac{1}{4\pi r^2}\oint_{S(a,r)}\Phi\,\mathrm{d}A .$$

proof

Put $A(r) = \dfrac{1}{4\pi}\displaystyle\int_{S^2}\Phi(a+r\hat n)\,\mathrm d\Omega$, the average over the unit sphere $S^2$ of directions $\hat n$, with $\mathrm d\Omega = \sin\theta\,\mathrm d\theta\,\mathrm d\varphi$. Differentiating under the integral sign (legitimate: see the notes), $$A'(r) = \frac{1}{4\pi}\int_{S^2}\!\nabla\Phi\cdot\hat n\,\mathrm{d}\Omega = \frac{1}{4\pi r^2}\oint_{S(a,r)}\!\nabla\Phi\cdot\mathrm{d}\vec A$$ $$= \frac{1}{4\pi r^2}\int_{B(a,r)}\!\nabla^2\Phi\,\mathrm{d}V = 0$$ by the divergence theorem. So $A$ is constant on $(0,R]$, and $A(r)\to\Phi(a)$ as $r\to0$ by continuity. $\square$

this is the shell theorem, read backwards

Apply it to $\Phi(\vec x) = -Gm/\lVert\vec x\rVert$, harmonic away from the origin, and to a sphere of radius $s$ centred at $\vec d$ with $s < \lVert\vec d\rVert$: $$\Big\langle \frac{1}{\lVert\vec x\rVert}\Big\rangle_{\text{sphere}} = \frac{1}{\lVert\vec d\rVert} .$$ That average is exactly example 1's integral, with the roles of shell and field point exchanged — and the answer, $1/\max$, is exactly what example 1 found.

Two computations that looked unrelated are one theorem. The inside case of example 1 is the same statement for a sphere enclosing the origin, where the mean value property does not apply, and the answer is $1/a$ rather than $1/\lVert\vec d\rVert$.

05 · empty space

The maximum principle, and why gravity cannot trap you

the maximum principle

A harmonic function on a connected open $U$ that attains its maximum at an interior point is constant. Consequently, on a compact $D$, $\max_D\Phi = \max_{\partial D}\Phi$ — and the same for minima, applying this to $-\Phi$.

proof

Let $M = \max_U\Phi$ and $E = \{x\in U : \Phi(x) = M\}$, nonempty and closed in $U$ by continuity. $E$ is also open: if $\Phi(a) = M$ then for small $r$ the mean value property gives $M = \langle\Phi\rangle_r$ with $\Phi \le M$ pointwise, and a continuous function $\le M$ with average $M$ is identically $M$ — so a whole ball lies in $E$. A nonempty subset of a connected set that is open and closed is the whole set. $\square$

Earnshaw's theorem, now with its reason

Unit 04 met this as an arithmetic fact about one configuration: the Hessian's eigenvalues summed to zero, so they could not all be positive. That sum is $\nabla^2\Phi$, and it vanishes because there is no mass there.

So in vacuum $\Phi$ has no strict interior minimum anywhere, for any arrangement of sources: no point of empty space is a stable equilibrium under static gravity alone.

The same argument in electrostatics is why every charged-particle trap — Penning, Paul, magnetic, optical — uses motion, magnetism or time dependence to evade it.

05 · empty space

Two masses and a saddle

Two equal masses $m$ at distance $2a$. By symmetry the midpoint is an equilibrium: the pulls cancel. Is it stable?

Along the line joining them $\Phi$ has a maximum there — nudge the body towards either mass and it falls on. Across the line $\Phi$ has a minimum. The curvatures are $-4$, $+2$, $+2$ in units of $Gm/a^3$: they sum to $\nabla^2\Phi = 0$, as Earnshaw demands.

consistency check

$\Phi$ inside the ball does have a minimum, at the centre — no contradiction, since there $\rho \ne 0$ and $\Phi$ is not harmonic ✓.

−2 −3 −4 −0.5 0 0.5 across: a minimum along: a maximum m m distance from the midpoint, in a Φ in Gm/a

$\Phi$ along two lines through the midpoint, computed: $-2Gm/(a(1-u^2))$ along the line of the masses, $-2Gm/(a\sqrt{1+u^2})$ across it, with $u$ the distance from the midpoint in units of $a$. One bends down, one up — a saddle, as every equilibrium in empty space must be.

section 5

Tides

What a field does to a body that is not a point — and the object unit 33 will rename.

05 · tides

Two free-fallers, and what is left over

Two particles in free fall, at $\vec x(t)$ and $\vec x(t)+\vec\xi(t)$, both obeying $\ddot{\vec x} = -\nabla\Phi$. Subtract:

$$\begin{aligned}\ddot{\vec\xi} &= -\big[\nabla\Phi(\vec x + \vec\xi) - \nabla\Phi(\vec x)\big]\\ &= -D(\nabla\Phi)(\vec x)\,\vec\xi + O(\lVert\vec\xi\rVert^2),\end{aligned}$$

using the total derivative of unit 03 and Taylor of unit 04. In components,

the equation of tidal deviation $$\ddot\xi_i = -\big(\partial_i\partial_j\Phi\big)\,\xi_j + O(\lVert\vec\xi\rVert^2) .$$

The field itself has cancelled. An observer falling with the first particle cannot detect $\vec g$ at all; only its variation from place to place survives.

this is what a tide is

The Earth is in free fall towards the Moon. Its centre feels nothing. Its surface, displaced by $\vec\xi$ from the centre, feels $-\partial_i\partial_j\Phi_{\text{Moon}}\,\xi_j$ — and the ocean responds to that residue, not to the Moon's pull, which is thirty times larger and is entirely cancelled by the free fall.

and this is the equivalence principle in embryo

Unit 03's fictitious forces are proportional to $m$; so is gravity, so a uniform field can be abolished by falling. What cannot be abolished is $\partial_i\partial_j\Phi$ — which unit 30 makes the definition of a real gravitational field, and unit 33 renames the Riemann tensor.

05 · tides

The tidal tensor

the tidal tensor

$T := \operatorname{Hess}\Phi$, the symmetric bilinear form $$T(\vec u,\vec v) = \sum_{i,j}\partial_i\partial_j\Phi\;u_iv_j$$ on each tangent space. It is a multilinear map. Its components in a basis are the numbers $T_{ij} = \partial_i\partial_j\Phi$; that they transform as $T' = Q^{\!\top}TQ$ under a change of basis is a theorem about the matrix of a bilinear form, not the definition of the object.

Unit 16 makes this the general definition of a $(0,2)$-tensor and shows every tensor in the rest of the course is the same kind of thing.

trace-free in vacuum

$\operatorname{tr}T = \nabla^2\Phi = 4\pi G\rho$. So in vacuum $T$ is trace-free, and by the spectral theorem it has an orthonormal eigenbasis — the principal axes — with real eigenvalues $$\lambda_1 + \lambda_2 + \lambda_3 = 0 .$$

the physical consequence, immediately

Unless all three vanish, they cannot all have the same sign. Every stretch is paid for by a squeeze. There is no such thing as a purely compressive tide in empty space — which is the eigenvalue form of Earnshaw's theorem, and the reason a tide always has an axis.

Dimensions: $[T] = \mathrm{T^{-2}}$, the square of a frequency — a positive eigenvalue $\lambda$ is an $\omega^2$ for the deviation equation, and a negative one a growth rate squared ✓.

05 · tides · example

Worked example 4 — the tidal tensor of a point mass

the computation

Unit 04 computed these second derivatives once; here they are the object, not a step. $\Phi = -GM/r$, so with $\partial_i r = x_i/r$, $$\partial_i\Phi = \frac{GM\,x_i}{r^3}, \qquad T_{ij} = \partial_j\partial_i\Phi = GM\Big(\frac{\delta_{ij}}{r^3} - \frac{3x_ix_j}{r^5}\Big)$$ $$= \frac{GM}{r^3}\big(\delta_{ij} - 3n_in_j\big)$$

with $\hat n = \vec x/r$. Trace: $\delta_{ii} = 3$ and $n_in_i = 1$, so $\operatorname{tr}T = (GM/r^3)(3-3) = 0$ ✓, as vacuum requires.

Eigenvectors. $(\delta - 3\hat n\hat n^{\!\top})\hat n = \hat n - 3\hat n = -2\hat n$, and for any $\vec v \perp \hat n$, $(\delta - 3\hat n\hat n^{\!\top})\vec v = \vec v$. So

$$\lambda = \frac{GM}{r^3}\,(-2,\ 1,\ 1),$$

the first along $\hat n$, the other two in the plane perpendicular to it. Sum $= 0$ ✓.

the numbers, for the Moon

$GM_{\mathrm m}/d^3 = 8.632\times10^{-14}\ \mathrm{s^{-2}}$. Across an Earth radius the stretch is $2(GM_{\mathrm m}/d^3)R = 1.100\times10^{-6}\ \mathrm{m\,s^{-2}}$, one part in $8.9\times10^{6}$ of $g_0$.

The Sun: $5.051\times10^{-7}\ \mathrm{m\,s^{-2}}$ — the Moon wins by $2.18$, although the Sun's direct pull is $179$ times larger. Tides go as $1/d^3$ and pulls as $1/d^2$.

05 · tides · example

Reading the bulges off the eigenvectors

worked example 4, continued

$\ddot{\vec\xi} = -T\vec\xi$, so along $\hat n$: $\ddot\xi = +2GM\xi/r^3$ — stretch, outward, on both sides since $\xi$ and $-\xi$ are both eigenvectors. Perpendicular: $\ddot\xi = -GM\xi/r^3$ — squeeze.

Two bulges along one axis, and a waist around it. One eigenvector, one theorem.

For the Moon, $M$ is its mass and $r = d$ its distance. At a general point $\vec\xi$ of the Earth's surface the residual is $-T\vec\xi = (GM/d^3)\big(3(\hat n\cdot\vec\xi)\,\hat n - \vec\xi\big)$: the eigen-directions get pure stretch or pure squeeze, everything in between a mixture.

Moon stretch: +2GM/d³ squeeze: −GM/d³ dashed: equilibrium tide, exaggerated

The residual acceleration $-T\vec\xi$ at sixteen points of the Earth's surface, computed, with the Moon off to the right at distance $d$. Outward and twice as long on the Moon line, at both ends; inward across it. The ocean settles into the dashed shape: two bulges and a waist (heights exaggerated by a factor of a few million).

05 · tides

The explanation that is usually given, and why it is wrong

the familiar story

"The near side is pulled harder than the centre, so the water piles up there. The far side is pulled less, so it gets left behind. Hence two bulges."

The arithmetic of the differences is right, and the conclusion is right, but the reasoning smuggles in the frame. "Left behind" relative to what? Only relative to the freely falling centre — which is to say, only after the subtraction on the slide "Two free-fallers" has already been performed.

the statement that survives scrutiny

In the frame falling with the Earth's centre, the residual field on a test mass at $\vec\xi$ is exactly $-T\vec\xi$. Its eigenvector along the Moon line has eigenvalue $-2GM/d^3$, so the residual is outward at both ends of that axis, and inward around the waist. The two bulges and the sign of each come from one eigenvector, with no appeal to who is pulled harder.

The test of the difference: the familiar story gives no reason for the waist to be squeezed, and no reason for the two bulges to be of nearly equal size. The tensor gives both, and gives their five per cent asymmetry as the next term in $R/d$.

A second common error is to attribute the tides to the Earth's rotation about the Earth–Moon barycentre. That contributes a genuine centrifugal term — and it is already included, exactly, in the free-fall subtraction.

05 · closing

What this unit unlocks

The three results to keep.

  • $\displaystyle\int_D\operatorname{div}\vec F\,\mathrm dV = \oint_{\partial D}\vec F\cdot\mathrm d\vec A$ — Fubini and the fundamental theorem, once per axis.
  • $\nabla^2\Phi = 4\pi G\rho$ — a local law in place of a sum over pairs; with symmetry, $g(r) = -GM(r)/r^2$ in three lines.
  • $T_{ij} = \partial_i\partial_j\Phi$ — symmetric, trace-free in vacuum, eigenvalues $(-2,1,1)GM/r^3$ for a point mass.

And the habit underneath all three: define the object without coordinates — a trace, a bilinear form — and let the component formula be a theorem.

Where each one is used again.

  • 10: what to do when the body is not spherical — the multipole expansion, and a real satellite's orbit.
  • 22: the divergence theorem as the engine turning every integral conservation law into a local one, with the stress tensor supplying the flux.
  • 23: the same vector calculus for electrostatics, with Green's functions solving Poisson's equation in general.
  • 30: the tidal tensor is what an accelerating frame cannot imitate — which is why the equivalence principle is local.
  • 33: $T_{ij} \to R_{i0j0}$, and $\nabla^2\Phi = 4\pi G\rho$ becomes the $00$ component of unit 35's field equations.

05 · checkpoint

Done when

checkpoint

With a blank sheet and no notes, you can:

  • prove the shell theorem by Gauss's law in under half a page — stating why $\vec g$ is radial, computing the flux, and getting both the exterior and the interior half;
  • compute the tidal tensor $\partial_i\partial_j\Phi$ of a point mass, show $\operatorname{tr}T = 0$, find the eigenvalues $(-2,1,1)GM/r^3$, and read the two bulges off the eigenvectors.

Falsifiable both ways: a factor of $4\pi$ lost, $M$ used where $M(r)$ belongs, a trace that is not zero, or one bulge instead of two, each fails it. Record it with ./mr done 05.

Problems

./mr problems 05 — 12 problems, about 5 hours. Hints and worked solutions fold under each problem on the same page.

Next

10 multipoles, when the body is not a sphere (needs 08 too) · 16 tensors properly · 22 the divergence theorem doing physics · 23 electrostatics · 30 and 33, where the tidal tensor gets its real name.