Part A · the equation of motion · spine
Energy in three dimensions is an integral along a path, and asking when that integral forgets the path is what builds the gradient, the curl and the first theorem of this course that is really about topology.
needs 03~2½ h slides + 5 h problemsproblems: ./mr problems 04
04 · overview
Two fields, each defined on everything but one point, each passing the same local test at every point. One is the force the Earth exerts; the other turns out to be measuring the hole. Every section tests them both.
A loop round a missing point of space lifts over it and shrinks away; round a missing point of the plane it cannot. Section 3 shows that this, and not the field, decides whether a potential exists.
1 · work. Line integrals, energy, and the gradient.
2 · conservative fields. Three conditions that are one, and two exceptions.
3 · the curl. Green, Stokes, Poincaré: the local test, and what it cannot see.
4 · landscapes. Taylor, the Hessian, stability from its signature.
5 · constraints. Two function theorems, and multipliers from them.
Getting around. A dotted underline is a glossary term — click it, or press G. A solid underline like the vortex is a piece of the running example: hover it. N shows the notes, where the long proofs are.
section 1
Where energy comes from when the force depends on where you are.
04 · work
A particle obeys $m\ddot{\vec r} = \vec F(\vec r)$. Unit 00's move in one dimension was to multiply by $\dot x$. Do the same with $\vec v = \dot{\vec r}$, using the product rule for the dot product (unit 03):
$$\frac{\mathrm d}{\mathrm dt}\Big(\tfrac12 m \lVert\vec v\rVert^2\Big) = m\,\vec v\cdot\dot{\vec v} = \vec F(\vec r)\cdot\vec v .$$Integrate from $t_0$ to $t_1$:
$$\Delta\Big(\tfrac12 m\lVert\vec v\rVert^2\Big) = \int_{t_0}^{t_1}\vec F(\vec\gamma(t))\cdot\dot{\vec\gamma}(t)\,\mathrm dt .$$In one dimension the right-hand side is $\int_{x_0}^{x_1}F(x)\,\mathrm dx$: an integral over an interval, and the path between the endpoints is the interval. In three dimensions there are infinitely many paths from $\vec r_0$ to $\vec r_1$, and the integral is taken along one of them.
So the object on the right is new, it deserves a name and a theory, and the first question about it is whether it depends on the path.
It sometimes does. Rub your hands together and return them to where they started: the work is not zero.
04 · work
Let $\vec F : U \to \mathbb R^n$ be a continuous vector field on an open $U \subseteq \mathbb R^n$, and let $\vec\gamma : [a,b] \to U$ be piecewise $C^1$. The line integral of $\vec F$ along $\vec\gamma$ is
$$\int_{\vec\gamma}\vec F\cdot\mathrm d\vec r \;:=\; \int_a^b \vec F(\vec\gamma(t))\cdot\dot{\vec\gamma}(t)\,\mathrm dt .$$When $\vec F$ is a force, this number is the work it does.
If $\varphi : [c,d]\to[a,b]$ is $C^1$ with $\varphi' > 0$, $\varphi(c)=a$, $\varphi(d)=b$, then $\int_{\vec\gamma\circ\varphi} = \int_{\vec\gamma}$. Reversing the orientation multiplies the integral by $-1$.
Why: the chain rule gives $(\vec\gamma\circ\varphi)^{\textstyle\cdot}(s) = \dot{\vec\gamma}(\varphi(s))\varphi'(s)$, and substituting $t = \varphi(s)$ in the one-variable integral is exactly the change of variable $\mathrm dt = \varphi'(s)\,\mathrm ds$.
Dimensions. $[\vec F]\,[\dot{\vec\gamma}]\,[t] = \mathrm{N}\cdot\mathrm{m\,s^{-1}}\cdot\mathrm s = \mathrm{N\,m} = \mathrm J$. Work is an energy.
Special case. Constant $\vec F$, straight $\vec\gamma$ from $\vec r_0$ to $\vec r_1$: the integrand is $\vec F\cdot(\vec r_1 - \vec r_0)$, constant, so the integral is $\vec F\cdot(\vec r_1 - \vec r_0)$ — school physics, force times distance times the cosine.
The definition looks like it depends on the parametrisation. The theorem says it depends only on the image and the direction of travel, which is why one may write $\int_C$ for an oriented curve $C$.
04 · work · example
The straight line $\vec\gamma(t) = (t,t)$, $\dot{\vec\gamma} = (1,1)$: $$\int_0^1\big(t^2\cdot 1 + t\cdot 1\big)\mathrm dt = \tfrac13+\tfrac12 = \tfrac56 \approx 0.8333 .$$
The parabola $\vec\gamma(t) = (t,t^2)$, $\dot{\vec\gamma} = (1,2t)$: $$\int_0^1\big(t^4\cdot 1 + t\cdot 2t\big)\mathrm dt = \tfrac15+\tfrac23 = \tfrac{13}{15} \approx 0.8667 .$$
Right, then up: on $y=0$ the integrand is $y^2\dot x = 0$; on $x=1$ it is $x\dot y = 1$. Total $0 + 1 = \mathbf 1$.
Three paths, three numbers. So $\int_{\vec\gamma}\vec F\cdot\mathrm d\vec r$ genuinely is a functional of the path, not of its endpoints.
The field's arrows grow to the right with height ($F_1 = y^2$) and upwards with $x$ ($F_2 = x$). The corner path runs its whole vertical leg at $x = 1$, where $F_2$ is largest, and collects the most.
04 · work · example
The loop out along the parabola and back along the line runs anticlockwise round the thin region between them. Section 3's integrand $1 - 2y$ is positive on the lower part and negative on the upper; the lower part is larger, and the net is $+\tfrac1{30}$.
Going out along the parabola and back along the line is a closed loop with $\oint = \tfrac{13}{15}-\tfrac56 = \tfrac{1}{30}$, not zero.
Section 3 will predict that number from $\partial_x F_2 - \partial_y F_1 = 1 - 2y$ without computing a single line integral: integrate it over the region the loop encloses.
Contrast the inverse-square field on the awkward-path slide, where a path $13$ times longer than necessary gives the same answer in every digit computed.
04 · work
Let $\vec\gamma$ be a $C^2$ solution of $m\ddot{\vec r} = \vec F$ on $[t_0,t_1]$, with $\vec F$ any force whatsoever — position-dependent, velocity-dependent, time-dependent. Writing $T = \tfrac12 m\lVert\vec v\rVert^2$ for the kinetic energy,
$$T(t_1) - T(t_0) \;=\; \int_{\vec\gamma}\vec F\cdot\mathrm d\vec r .$$$\dot T = m\,\vec v\cdot\dot{\vec v} = \vec v\cdot\vec F$ by the product rule and the equation of motion. Integrate over $[t_0,t_1]$ and apply the fundamental theorem of calculus on the left; the right-hand side is by definition $\int_{\vec\gamma}\vec F\cdot\mathrm d\vec r$ evaluated along the actual trajectory. $\square$
Dimensions. $\mathrm{kg}\,(\mathrm{m\,s^{-1}})^2 = \mathrm{kg\,m^2\,s^{-2}} = \mathrm J$, and the right-hand side was checked to be joules.
Special case. $\vec F$ constant and vertical, $\vec F = -mg\hat z$: $T_1 - T_0 = -mg\,\Delta z$, the schoolroom exchange of kinetic for height.
Special case. $\vec F \perp \vec v$ throughout: $\dot T = 0$, speed constant. Circular motion at constant speed does no work, and neither does a magnetic field.
04 · work
Unit 03 defined the derivative of $f : U \to \mathbb R$ at $a$ as a linear map $Df(a) : \mathbb R^n \to \mathbb R$ — an element of the dual space $(\mathbb R^n)^*$, that is, a covector. Nothing so far makes it a vector.
On a finite-dimensional real inner product space, $v \mapsto \langle v, \cdot\rangle$ is a linear isomorphism $V \to V^*$.
Why: injective, since $\langle v,v\rangle = 0$ forces $v=0$; and $\dim V = \dim V^*$.
The gradient $\nabla f(a)$ is the preimage of $Df(a)$: the unique vector with $\langle\nabla f(a),\vec h\rangle = Df(a)\vec h$ for all $\vec h$.
A covector drawn as what it is: the parallel level lines of $\vec h \mapsto Df(a)\vec h$, its value on $\vec h$ the number of lines crossed. "Perpendicular to the lines" needs an inner product; the arrow it picks out, of length one over the spacing, is $\nabla f(a)$.
Physically the covector is primary: work per unit displacement is a linear function of displacement. Force is what the Euclidean inner product makes of it.
04 · work
In an orthonormal basis, $\nabla f(a) = \big(\partial_1 f(a),\dots,\partial_n f(a)\big)$.
Why: $\langle\nabla f, e_i\rangle = Df(a)e_i = \partial_i f(a)$, and there the $i$-th coordinate is the inner product with $e_i$.
The components of $\nabla f$ are the partial derivatives only in an orthonormal basis. In polar coordinates $(r,\theta)$, with the orthonormal pair $\hat r = (\cos\theta,\sin\theta)$ along the ray and $\hat\theta = (-\sin\theta,\cos\theta)$ across it, $$\nabla f = \partial_r f\,\hat r + \tfrac1r\partial_\theta f\,\hat\theta ,$$ and that $1/r$ is the inner product showing through. The distinction becomes a definition in unit 16 and an operation with a name — raising an index — in unit 26.
Changing $r$ by $\mathrm dr$ moves the point $\mathrm dr$ metres; changing $\theta$ by $\mathrm d\theta$ moves it $r\,\mathrm d\theta$. So $\partial_\theta f$ is a rate per radian, and per metre along $\hat\theta$ it is $\tfrac1r\partial_\theta f$.
04 · work
For $V : U \to \mathbb R$ of class $C^1$ on an open $U \subseteq \mathbb R^n$ and $\vec\gamma : [a,b] \to U$ piecewise $C^1$,
$$\int_{\vec\gamma}\nabla V\cdot\mathrm d\vec r \;=\; V(\vec\gamma(b)) - V(\vec\gamma(a)) .$$On each $C^1$ piece the chain rule of unit 03 gives $\frac{\mathrm d}{\mathrm dt}V(\vec\gamma(t)) = \nabla V(\vec\gamma(t))\cdot\dot{\vec\gamma}(t)$, which is the integrand. The fundamental theorem of calculus turns each piece into a difference of endpoint values, and the sum telescopes because $\vec\gamma$ is continuous at the joins. $\square$
Checks. $\nabla V$ is $\mathrm{J/m} = \mathrm N$, so both sides are joules. With $V = -\vec F_0\cdot\vec r$ the theorem returns $\vec F_0\cdot(\vec r_1-\vec r_0)$, the constant-force answer.
$\vec F$ is conservative on $U$ if $\vec F = -\nabla V$ for some $C^1$ function $V : U \to \mathbb R$, the potential energy. Then $\int_{\vec\gamma}\vec F\cdot\mathrm d\vec r = V(\vec\gamma(a)) - V(\vec\gamma(b))$.
Mathematics writes $\vec F = \nabla\phi$; physics writes $\vec F = -\nabla V$, so that a ball rolls downhill in $V$ and $T+V$ is conserved. This course uses the physics sign, and $V$ always means potential energy, in joules.
04 · work · worked example
$\vec F_{\mathrm N}(\vec r) = -GMm\,\vec r/r^3$ on $U = \mathbb R^3\setminus\{0\}$, where $r = \lVert\vec r\rVert$. Claim: $\vec F_{\mathrm N} = -\nabla V$ with $V(\vec r) = -GMm/r$.
Step 1 — differentiate $r$. $r = (x^2+y^2+z^2)^{1/2}$ is $C^\infty$ on $U$, and $\partial_x r = \tfrac12(x^2+y^2+z^2)^{-1/2}\cdot 2x = x/r$, likewise for $y, z$. So $\nabla r = \vec r/r = \hat r$, a unit vector, as it must be: $r$ increases at one metre per metre radially.
Step 2 — chain rule. $V = -GMm\,r^{-1}$, so by the one-variable chain rule applied to $\rho\mapsto -GMm/\rho$ composed with $r$, $$\nabla V = GMm\,r^{-2}\,\nabla r = \frac{GMm}{r^2}\hat r .$$
Step 3 — read off. $-\nabla V = -\dfrac{GMm}{r^2}\hat r = \vec F_{\mathrm N}$. $\square$
Dimensions. $[GMm/r] = \mathrm{m^3\,s^{-2}}\cdot\mathrm{kg}/\mathrm m = \mathrm{kg\,m^2\,s^{-2}} = \mathrm J$ ✓, and $GMm/r^2$ is newtons ✓.
Sign. $V < 0$ everywhere and increases towards $0$ as $r\to\infty$, so the force $-\nabla V$ points towards smaller $r$: gravity attracts ✓.
Limit. Near the surface, $V(R+h) - V(R) \approx \tfrac{GMm}{R^2}h = mgh$ for $h \ll R$ ✓.
$$\int_{\vec\gamma}\vec F_{\mathrm N}\cdot\mathrm d\vec r = GMm\left(\frac{1}{r_2}-\frac{1}{r_1}\right)$$ for every path in $U$ from radius $r_1$ to radius $r_2$. The answer knows nothing but the two radii.
04 · work · worked example
A $1200$ kg spacecraft goes from $r_1 = 6.771\times10^{6}$ m (a $400$ km orbit) to $r_2 = 4.2164\times10^{7}$ m (geostationary). The work done by gravity, from the theorem:
$$W = GMm\Big(\tfrac{1}{r_2}-\tfrac{1}{r_1}\Big) = -5.9298\times10^{10}\ \mathrm J .$$Now take a path designed to be as unhelpful as possible: three full turns about the axis, a radial wobble of $\pm 3000$ km, and an out-of-plane wobble of $\pm 5000$ km, ending at the same radius.
| straight radial distance | $35\,393$ km |
| length of the awkward path | $465\,385$ km |
| ratio | $13.15$ |
| $\int_{\vec\gamma}\vec F_{\mathrm N}\cdot\mathrm d\vec r$, quadrature | $-5.929823671\times10^{10}$ J |
| $GMm(1/r_2-1/r_1)$ | $-5.929823671\times10^{10}$ J |
They agree in every digit shown; the difference is a few parts in $10^{16}$, the rounding of double-precision arithmetic.
The path seen from above the pole (its $\pm5000$ km out-of-plane wobble does not show). Both routes run from the same point on a $400$ km orbit to the same point at geostationary radius.
04 · work · worked example
Sign. Negative: the craft climbs, so gravity takes energy from it ✓.
Dimensions. $\mathrm{m^3s^{-2}}\cdot\mathrm{kg}\cdot\mathrm{m^{-1}} = \mathrm J$ ✓.
Limit $r_2\to\infty$. $W \to -GMm/r_1 = -7.0643\times10^{10}$ J, the energy needed to escape from $r_1$. Finite — which is why escape is possible at all ✓.
It is not evidence. One path agreeing with the formula, or a thousand, proves nothing: the fundamental theorem's proof is what makes it certain. The computation is here to show what a theorem buys — a $465\,000$ km integral replaced by two divisions.
Gravity's work so far, $\int_0^t \vec F_{\mathrm N}\cdot\dot{\vec\gamma}\,\mathrm dt'$, on both routes. In between they disagree, because at the same $t$ the two craft are at different radii; the running total is always $GMm(1/r - 1/r_1)$ at the current radius $r$, and at $t = 1$ both are at $r_2$.
section 2
Three conditions that are one condition, and two forces that escape it.
04 · conservative
For a continuous $\vec F$ on a connected open $U \subseteq \mathbb R^n$, these are equivalent:
(i) $\vec F = -\nabla V$ for some $C^1$ function $V$ on $U$;
(ii) $\int_{\vec\gamma}\vec F\cdot\mathrm d\vec r$ depends only on the endpoints of $\vec\gamma$ — path-independence;
(iii) $\oint_{\vec\gamma}\vec F\cdot\mathrm d\vec r = 0$ for every closed $\vec\gamma$ in $U$ — zero circulation.
(i)$\Rightarrow$(ii) is the fundamental theorem of line integrals. (ii)$\Leftrightarrow$(iii): a closed path is one whose endpoints coincide, so its integral equals that of the constant path, namely $0$; conversely, two paths with common endpoints differ by a closed path, run one forwards and one backwards, and reversal flips the sign.
(ii)$\Rightarrow$(i) is the one with content: fix $\vec p \in U$ and set $V(\vec x) = -\int_{\vec p}^{\vec x}\vec F\cdot\mathrm d\vec r$ along any path. Well defined by (ii); $\nabla V = -\vec F$ by taking the path to end with a short straight segment. full proof in the notes (N)
(ii) and (iii) quantify over infinitely many paths. (i) asks for an antiderivative to be produced out of nowhere. What is wanted is a local, differential test — and section 3 builds one, at the cost of a hypothesis on $U$.
The vortex will satisfy the local test and fail (iii), which is exactly how much the hypothesis matters.
04 · conservative
If $m\ddot{\vec r} = \vec F(\vec r) = -\nabla V(\vec r)$ on an open $U$, then $E := \tfrac12 m\lVert\vec v\rVert^2 + V(\vec r)$ is constant along every solution.
Proof. $\dot E = m\vec v\cdot\dot{\vec v} + DV(\vec r)\dot{\vec r} = \vec F\cdot\vec v + \nabla V\cdot\vec v = (-\nabla V + \nabla V)\cdot\vec v = 0$, using the chain rule of unit 03. $\square$
This is unit 00's trick, and no longer a trick: in one dimension every continuous $F(x)$ has an antiderivative, so every one-dimensional autonomous force is conservative. In three dimensions that is false, and the theorem has a hypothesis.
Six unknowns $(\vec r,\vec v)$; one conserved quantity confines the motion to a level set of $E$ in the six-dimensional space of states $(\vec r,\vec v)$, generically five-dimensional. Unit 08 finds three more and solves the orbit completely.
With $V = -GMm/r$, a body just escaping has $E = 0$ (it arrives at infinity with nothing left). At the surface,
$$\tfrac12 mv_{\mathrm{esc}}^2 = \frac{GMm}{R} \;\Longrightarrow\; v_{\mathrm{esc}} = \sqrt{\frac{2GM}{R}} .$$$= \sqrt{2(3.986004418\times10^{14})/6.378137\times10^{6}} = 11\,180\ \mathrm{m\,s^{-1}}$.
Dimensions. $\sqrt{\mathrm{m^3s^{-2}}/\mathrm m} = \mathrm{m\,s^{-1}}$ ✓. Independent of $m$, as it must be: $m$ cancels from the equation of motion.
Against the world. $11.18\ \mathrm{km\,s^{-1}}$ is the quoted figure. A real launch needs more, because drag and the climb through the atmosphere are not in this model.
04 · conservative
Sliding friction is $\vec F = -\mu N\,\hat v$, with $N$ the magnitude of the normal force pressing the surfaces together, $\mu$ the dimensionless coefficient of friction and $\hat v = \vec v/\lVert\vec v\rVert$. It depends on the direction of motion, not on $\vec r$. So there is no vector field to integrate, and no line integral to be path-independent.
It is also dissipative: on any closed path, $\vec F\cdot\dot{\vec\gamma} = -\mu N\lVert\dot{\vec\gamma}\rVert \le 0$, so $$\oint \vec F\cdot\mathrm d\vec r = -\mu N \times (\text{path length}) < 0 .$$ The loop integral is not merely nonzero — it has a sign, always the same one.
The magnetic part of the Lorentz force is $\vec F = q\,\vec v\times\vec B(\vec r)$ — cited; unit 24 derives it. It depends on $\vec v$, so again there is no field of the kind this unit integrates.
But $\vec F\cdot\vec v = q(\vec v\times\vec B)\cdot\vec v = 0$, since $\vec v\times\vec B \perp \vec v$. By the work–energy theorem the speed is constant, and no energy is exchanged at all.
Friction is not conservative because it takes energy out. Magnetism is not conservative because it is not that kind of object — and it takes nothing out. Both are velocity-dependent; only one is dissipative.
section 3
A condition you can check at a point, a theorem converting it into a statement about loops, and the exact size of the gap between them.
04 · curl
If $\vec F = -\nabla V$ with $V \in C^2$ on an open $U$, then
$$\partial_j F_i = \partial_i F_j \qquad\text{for all } i,j \text{ on } U .$$$\partial_j F_i = -\partial_j\partial_i V = -\partial_i\partial_j V = \partial_i F_j$, the middle step being Clairaut's theorem of unit 03, whose hypothesis — continuous second partials — is $V \in C^2$. $\square$
A field satisfying it is called closed, or irrotational. Every conservative $C^1$ field is closed.
$\vec F = (y^2, x)$: $\partial_y F_1 = 2y$, $\partial_x F_2 = 1$. Unequal wherever $y \ne \tfrac12$, so not conservative on any open set meeting $\{y\ne\tfrac12\}$. One differentiation, no paths.
The vortex, $\vec F_{\mathrm V} = (-y, x)/(x^2+y^2)$: with $u = x^2+y^2$, $$\partial_x F_2 = \frac{u - 2x^2}{u^2} = \frac{y^2-x^2}{u^2} = \partial_y F_1 .$$ Equal at every point of $U$. The test passes, with no exceptions.
And yet the vortex is not conservative. The converse of the theorem is false, and the rest of this section is about exactly how false.
04 · curl
$D\vec F(\vec a)$ is a linear map $\mathbb R^3 \to \mathbb R^3$, and every linear map splits uniquely into symmetric and antisymmetric parts, $$D\vec F = \underbrace{\tfrac12\big(D\vec F + D\vec F^{\!\top}\big)}_{\text{symmetric}} + \underbrace{\tfrac12\big(D\vec F - D\vec F^{\!\top}\big)}_{\in\ \mathfrak{so}(3)},$$ while unit 03's hat map identifies $\mathfrak{so}(3)$ with $\mathbb R^3$.
The curl of a $C^1$ field $\vec F$ on $U\subseteq\mathbb R^3$ is twice the vector the hat map assigns to the antisymmetric part of $D\vec F$:
$$\widehat{\tfrac12\,\mathrm{curl}\,\vec F} \;=\; \tfrac12\big(D\vec F - D\vec F^{\!\top}\big).$$$\mathrm{curl}\,\vec F = (\partial_2 F_3 - \partial_3 F_2,\ \partial_3 F_1 - \partial_1 F_3,\ \partial_1 F_2 - \partial_2 F_1)$, and it vanishes exactly when $\vec F$ is closed.
The familiar determinant with $\hat\imath,\hat\jmath,\hat k$ in its first row is a mnemonic: no matrix has a mixture of vectors and operators for entries. The split into symmetric and antisymmetric parts is what is actually going on, and the next slide draws the two parts.
04 · curl
A body rotating rigidly at $\vec\omega$ has velocity field $\vec F(\vec r) = \vec\omega\times\vec r = \hat\omega\,\vec r$. That map is its own derivative, and it is antisymmetric, so $$\mathrm{curl}(\vec\omega\times\vec r) = 2\vec\omega .$$ The curl is twice the local angular velocity, and the factor $2$ is in the definition to make it so.
Dimensions. $[\vec F]/[\mathrm L]$: for a velocity field, $\mathrm{s^{-1}}$, a rate of turn ✓. Limit. Constant $\vec F$ gives $D\vec F = 0$ and curl $\vec 0$: a uniform flow does not spin a paddle wheel ✓.
Physics: a paddle wheel dropped into a fluid at $\vec a$ spins at $\tfrac12\,\mathrm{curl}\,\vec F(\vec a)$. The symmetric part strains; the antisymmetric part turns.
The two parts of $D\vec F$, each drawn as a field on its own. A rigid rotation is all antisymmetric part, and a paddle wheel in it turns at $\omega$ wherever it is put. A symmetric field turns nothing: it stretches a square into a rectangle along its eigenvectors.
04 · curl
Let $R \in SO(3)$ and let $\vec G(\vec x) = R\,\vec F(R^{\!\top}\vec x)$ be the field $\vec F$ carried along by the rotation. Then
$$\mathrm{curl}\,\vec G(\vec x) = R\,\big(\mathrm{curl}\,\vec F\big)(R^{\!\top}\vec x).$$The chain rule gives $D\vec G(\vec x) = R\,D\vec F(R^{\!\top}\vec x)\,R^{\!\top}$, and conjugation by an orthogonal matrix preserves the symmetric–antisymmetric split, since $(RAR^{\!\top})^{\!\top} = RA^{\!\top}R^{\!\top}$. It remains to note $R\,\hat\omega\,R^{\!\top} = \widehat{R\vec\omega}$, which holds because $R(\vec\omega\times\vec u) = (R\vec\omega)\times(R\vec u)$ for $\det R = +1$. $\square$
Take $R = -I$, which has $\det R = -1$. Then $\vec F \mapsto \vec G$ reverses every vector, $D\vec G(\vec x) = D\vec F(-\vec x)$ — two sign changes cancelling — and so $\mathrm{curl}\,\vec G(\vec x) = +(\mathrm{curl}\,\vec F)(-\vec x)$, whereas a genuine vector field would pick up a minus sign.
The curl is a pseudovector: it transforms correctly under $SO(3)$ and wrongly under $O(3)$.
It is not really a vector at all. Unit 34 identifies what it really is — a $2$-form — at which point the anomaly disappears, because a $2$-form has no reason to transform like a vector. The same footnote applies to the cross product, angular velocity and angular momentum.
04 · curl
Let $\vec F = (P,Q)$ be $C^1$ on an open set containing the closed rectangle $R = [a,b]\times[c,d]$, and let $\partial R$ be its boundary traversed anticlockwise. Then
$$\oint_{\partial R} P\,\mathrm dx + Q\,\mathrm dy \;=\; \int_a^b\!\!\int_c^d\Big(\frac{\partial Q}{\partial x} - \frac{\partial P}{\partial y}\Big)\mathrm dy\,\mathrm dx .$$The two horizontal sides contribute $\int_a^b P(x,c)\,\mathrm dx - \int_a^b P(x,d)\,\mathrm dx = -\int_a^b\!\big[P(x,d)-P(x,c)\big]\mathrm dx = -\int_a^b\!\int_c^d \partial_y P\,\mathrm dy\,\mathrm dx$, by the fundamental theorem of calculus in $y$ at each fixed $x$; the vertical sides contribute $+\int_c^d\!\int_a^b\partial_x Q\,\mathrm dx\,\mathrm dy$ the same way. Add. $\square$
Patching: cut a rectangle into four and run each piece anticlockwise. Every interior edge is run twice, in opposite directions, and cancels; what is left is the outer boundary, once.
So the theorem holds for any finite union of rectangles, hence — by a limiting argument — for regions with piecewise-$C^1$ boundaries. Cited at that level of generality; unit 34 proves it once, for all dimensions at once.
04 · curl
Let $S$ be a closed rectangle lying in a plane in $\mathbb R^3$ with unit normal $\hat n$, and $\partial S$ its boundary oriented so that $\hat n$ and the traversal obey the right-hand rule. For $\vec F$ of class $C^1$ near $S$,
$$\oint_{\partial S}\vec F\cdot\mathrm d\vec r \;=\; \int_S \big(\mathrm{curl}\,\vec F\big)\cdot\hat n \,\mathrm dA .$$If $S$ lies in the $xy$-plane then $\hat n = \hat z$ and $(\mathrm{curl}\,\vec F)\cdot\hat z = \partial_x F_2 - \partial_y F_1$, while $\vec F\cdot\mathrm d\vec r = F_1\mathrm dx + F_2\mathrm dy$ on $\partial S$: the statement is Green's theorem. For a rectangle in any other plane, rotate it into the $xy$-plane by some $R\in SO(3)$; both sides transform in the same way, by the equivariance theorem two slides back and by $\hat n \mapsto R\hat n$. $\square$
Schematic. Seen from the tip of $\hat n$, the boundary runs anticlockwise. Rotating the rectangle flat into the $xy$-plane turns the statement into Green's theorem, and both sides rotate alike.
04 · curl
Dimensions. Left: $[\vec F]\,\mathrm m$. Right: $([\vec F]/\mathrm m)\cdot\mathrm m^2$. Equal ✓.
Special case. $\vec F = -\nabla V$: the curl vanishes, so every loop bounding a rectangle in $U$ has zero circulation — consistent with the fundamental theorem of line integrals ✓.
Special case (of the general version). $\vec F = \vec\omega\times\vec r$ on a disc of radius $\rho$ normal to $\vec\omega$: right-hand side $2\omega\pi\rho^2$; left-hand side $(\omega\rho)(2\pi\rho)$, the field being tangent with magnitude $\omega\rho$. Equal ✓.
General surfaces — any oriented piecewise-$C^1$ surface with boundary — need the surface integral of unit 05 even to state. Cited; unit 34 proves it, and unit 23 is where it starts doing work, as Ampère's law.
The rigid-rotation check, drawn. Round the rim the field is tangent with size $\omega\rho$, so the circulation is $\omega\rho\cdot 2\pi\rho$; the curl is $2\vec\omega$, along the normal, so the right-hand side is $2\omega\cdot\pi\rho^2$. They agree.
04 · curl
For $\vec F$ of class $C^1$ near $\vec a$, and $S_\varepsilon$ the square of side $\varepsilon$ centred at $\vec a$ with normal $\hat n$,
$$\big(\mathrm{curl}\,\vec F(\vec a)\big)\cdot\hat n \;=\; \lim_{\varepsilon\to0}\frac{1}{\varepsilon^2}\oint_{\partial S_\varepsilon}\vec F\cdot\mathrm d\vec r .$$By Stokes, the loop integral is $\int_{S_\varepsilon}(\mathrm{curl}\,\vec F)\cdot\hat n\,\mathrm dA$. The integrand is continuous, so it equals $\varepsilon^2$ times its value at some point of $S_\varepsilon$ — the mean value theorem for integrals on a rectangle, one variable at a time. Divide by $\varepsilon^2$ and let $\varepsilon\to0$; that point tends to $\vec a$ and continuity finishes it. $\square$
This is the property a reader should carry: the curl measures how much the field goes round an infinitesimal loop, per unit area enclosed, and $\hat n$ selects the plane of the loop.
Dimensions. $[\vec F]\,\mathrm m / \mathrm m^2 = [\vec F]/\mathrm m$ ✓.
Special case. $\vec F = \vec\omega\times\vec r$ with $\hat n = \hat\omega$: circulation round a circle of radius $\rho$ is $2\pi\rho\cdot\omega\rho$, area is $\pi\rho^2$, ratio $2\omega$ — independent of $\rho$, and equal to $\mathrm{curl}\,\vec F\cdot\hat\omega$ ✓.
"Zero curl means no circulation" is true for infinitesimal loops, and for every loop that bounds a surface inside $U$. It says nothing about a loop that does not. The rest of this section is about that sentence.
04 · curl · worked example
$\vec F_{\mathrm V} = \big(\tfrac{-y}{x^2+y^2},\ \tfrac{x}{x^2+y^2}\big)$ on $U = \mathbb R^2\setminus\{0\}$.
Step 1 — the curl. Computed on the necessary-condition slide: $\partial_x F_2 - \partial_y F_1 = 0$ at every point of $U$.
Step 2 — the unit circle. $\vec\gamma(t) = (\cos t,\sin t)$. On it $x^2+y^2 = 1$, so $\vec F_{\mathrm V}(\vec\gamma) = (-\sin t,\cos t) = \dot{\vec\gamma}(t)$, and $$\oint \vec F_{\mathrm V}\cdot\mathrm d\vec r = \int_0^{2\pi}\lVert\dot{\vec\gamma}\rVert^2\,\mathrm dt = \mathbf{2\pi} .$$
Step 3 — radius $a$. $\vec F_{\mathrm V}$ is tangent, of magnitude $1/a$, and the circumference is $2\pi a$: again $2\pi$, for every $a > 0$.
Step 4 — a square. The boundary of $[-1,1]^2$, anticlockwise, by quadrature: $6.283185307$, which is $2\pi$ to ten digits.
Step 5 — a loop missing the origin. The circle of radius $1$ about $(3,0)$: $0$ to machine precision, and it must be: the circle lies in the half-plane $\{x > 0\}$, a box on which the field has a potential (the Poincaré lemma, two slides on), so its circulation is zero.
The field's arrows shrink like $1/r$ away from the puncture. Every loop that goes once round the origin collects $2\pi$, the same for circle and square; the loop beside it collects nothing.
04 · curl · worked example
Closed everywhere on $U$, yet a loop in $U$ with circulation $2\pi \ne 0$. By the three-conditions theorem, $\vec F_{\mathrm V}$ has no potential on $U$.
Nothing is wrong. Green's theorem needs the loop to bound a region inside $U$, and the unit disc does not: it contains the puncture, where the curl is not zero but nothing at all.
Dimensionless on both sides ✓. And independent of the loop's shape and size, so long as it encircles the origin once — circle, square, or anything else. That invariance is the signal that something discrete is being counted ✓.
Where a potential would come from. The angle $\theta$ is one: its level sets are the rays, and $\nabla\theta = \vec F_{\mathrm V}$. But going once round, $\theta$ rises by $2\pi$, so it must jump somewhere — here across the cut — and no single-valued choice exists on all of $U$.
04 · curl
Let $\vec F = (P,Q)$ be $C^1$ on an open box $U = I_1\times I_2$ — a product of open intervals, possibly unbounded, so $\mathbb R^2$ and a half-plane both qualify — with $\partial_x Q = \partial_y P$. Then $\vec F = \nabla W$ for some $C^1$ function $W$ on $U$, so $-W$ is a potential energy and $\vec F$ is conservative.
Fix $(x_0,y_0)\in U$. Let $A$ be the path across-then-up and $B$ the path up-then-across, both from $(x_0,y_0)$ to $(x,y)$; both lie in $U$, since $U$ is a box. $A$ followed by $B$ reversed traverses the boundary of a rectangle inside $U$, so by Green's theorem the two integrals are equal. Call the common value $W(x,y)$.
Reading $W$ off $A$, its last leg is $\int_{y_0}^{y}Q(x,t)\,\mathrm dt$ and the first leg does not involve $y$, so $\partial_y W = Q$ by the fundamental theorem of calculus. Reading $W$ off $B$, its last leg is $\int_{x_0}^{x}P(s,y)\,\mathrm ds$, so $\partial_x W = P$. Both partials are continuous, so $W\in C^1$ and $\nabla W = \vec F$. $\square$
$A$, then $B$ backwards, bounds the shaded rectangle — inside $U$, because $U$ is a box — so Green gives the two paths equal integrals.
Closed $\Rightarrow$ conservative on any simply connected open $U$ — every loop in $U$ contracts continuously to a point within $U$. Cited: proved in unit 34 by homotopy invariance. The box case above is the engine of that proof.
04 · curl
The obstruction is not in $\vec F_{\mathrm V}$: the field is closed, smooth and perfectly well behaved at every point where it exists. The obstruction is that $\mathbb R^2\setminus\{0\}$ has a hole.
For a loop $\vec\gamma$ in $\mathbb R^2\setminus\{0\}$, $$n(\vec\gamma) := \frac{1}{2\pi}\oint_{\vec\gamma}\vec F_{\mathrm V}\cdot\mathrm d\vec r$$ is an integer, the winding number of $\vec\gamma$ about the origin. It is unchanged by any continuous deformation of $\vec\gamma$ within the domain.
A circle gives $1$; the same circle traversed backwards gives $-1$; traversed twice, $2$; the loop about $(3,0)$ gives $0$.
Four loops and their winding numbers. Deform any of them without crossing the puncture and $n$ cannot change, since it is an integer that varies continuously.
04 · curl
closed is a property of the field.
conservative is a property of the field and the domain.
On a simply connected domain they coincide; in general their difference measures the domain's holes.
How many independent obstructions has a domain? The closed fields modulo the conservative ones form a vector space whose dimension counts the holes: the first de Rham cohomology of $U$, built in unit 34. For $\mathbb R^2\setminus\{0\}$ it is one-dimensional, spanned by $\vec F_{\mathrm V}$.
A calculus question has turned into a topology question. It happens again in unit 36, where deciding whether Schwarzschild's horizon is a real singularity turns out to be a question about which part of the manifold a chart covers.
The hole need not be a point. In $\mathbb R^3$ with a line removed, a loop round the line cannot be lifted off without cutting it, and the field $(-y, x, 0)/(x^2+y^2)$ — the vortex at every height — has circulation $2\pi$ round it and no potential.
section 4
Once a field has a potential, the mechanics can be read off the shape of a surface.
04 · landscapes
Let $f$ be $C^2$ on an open $U$ and let the segment from $\vec a$ to $\vec a + \vec h$ lie in $U$. Then there is $\theta\in(0,1)$ with
$$f(\vec a+\vec h) = f(\vec a) + Df(\vec a)\vec h + \tfrac12\vec h^{\!\top}H(\vec a+\theta\vec h)\vec h,$$where $H$ is the matrix of second partials. Consequently $f(\vec a+\vec h) = f(\vec a) + \nabla f(\vec a)\cdot\vec h + \tfrac12\vec h^{\!\top}H(\vec a)\vec h + o(\lVert\vec h\rVert^2)$.
Put $g(t) = f(\vec a + t\vec h)$ on $[0,1]$. The chain rule of unit 03 gives $g'(t) = \sum_i\partial_i f(\vec a+t\vec h)h_i$ and, applied again to each $\partial_i f$, $g''(t) = \sum_{i,j}\partial_j\partial_i f(\vec a+t\vec h)h_ih_j = \vec h^{\!\top}H(\vec a+t\vec h)\vec h$. One-variable Taylor with Lagrange remainder gives $g(1) = g(0)+g'(0)+\tfrac12 g''(\theta)$. $\square$
Dimensions. If $f$ is an energy and $\vec h$ a length, $H$ is an energy per length squared — a spring constant, $\mathrm{N\,m^{-1}}$, and $\tfrac12 k h^2$ is the familiar spring energy ✓.
Special case $n=1$. The statement collapses to $f(a+h) = f(a)+f'(a)h+\tfrac12 f''(a+\theta h)h^2$, the one-variable theorem it was built from ✓.
Special case: $f$ quadratic. $H$ is constant, the remainder is exact, and there is no $o$ term ✓.
The last form is what gets used: near a point where $\nabla f$ vanishes, $f$ looks like a quadratic form, and the rest of this section is about reading quadratic forms.
04 · landscapes
For $f$ of class $C^2$ on $U$ and $\vec a \in U$, the Hessian of $f$ at $\vec a$ is the map
$$H_{\vec a}(\vec u,\vec w) := \frac{\partial^2}{\partial s\,\partial t}\bigg|_{0}f(\vec a + t\vec u + s\vec w),$$a bilinear form $\mathbb R^n\times\mathbb R^n\to\mathbb R$. It is defined without reference to any basis.
(a) $H_{\vec a}$ is symmetric: $H_{\vec a}(\vec u,\vec w) = H_{\vec a}(\vec w,\vec u)$.
(b) Its matrix in the standard basis has entries $\partial_i\partial_j f(\vec a)$.
Why (b): take $\vec u = \vec e_i$, $\vec w = \vec e_j$ in the definition. Why (a): that matrix is symmetric, by Clairaut.
Define the object as a multilinear map; prove that its components are what everyone writes down. The transformation law under a change of basis is then a theorem: under $\vec x = S\vec x'$ the matrix becomes $S^{\!\top}HS$, not $S^{-1}HS$ — a bilinear form is not an operator, and they transform differently.
The same habit, applied to the inertia tensor (unit 16), the stress tensor (unit 22), the field tensor (unit 28) and the metric (unit 32).
Check. $f(\vec x) = \tfrac12\vec x^{\!\top}A\vec x$ with $A$ symmetric has $H_{\vec a} = A$ at every $\vec a$ ✓ — the second derivative of a quadratic form is the form ✓.
04 · landscapes
Let $f\in C^2$ near $\vec a$ with $\nabla f(\vec a) = \vec 0$, and let $H = H_{\vec a}$.
$H$ is symmetric, so its eigenvalues are real (spectral theorem), and the four cases exhaust their sign patterns.
$m := \min_{\lVert\vec u\rVert = 1}\vec u^{\!\top}H\vec u > 0$, attained because the unit sphere is compact and the form is continuous. By continuity of the second partials there is $\delta > 0$ with $\vec u^{\!\top}H(\vec x)\vec u \ge m/2$ for all unit $\vec u$ and all $\lVert\vec x - \vec a\rVert < \delta$. Taylor then gives, for $0 < \lVert\vec h\rVert < \delta$, $$f(\vec a+\vec h)-f(\vec a) = \tfrac12\vec h^{\!\top}H(\vec a+\theta\vec h)\vec h \ge \tfrac{m}{4}\lVert\vec h\rVert^2 > 0. \;\square$$
$f = x^4+y^4$ (minimum), $f = -x^4-y^4$ (maximum) and $f = x^4-y^4$ (saddle) all have $H = 0$ at the origin. No second-order test can separate them, and none exists in general.
Problem P8's $V = x^3-3xy^2$ is degenerate at its only critical point, and the answer needs the third-order term.
$n = 1$. "Positive definite" is $f''(a) > 0$, "indefinite" is impossible, "degenerate" is $f''(a) = 0$ — the school second-derivative test, recovered exactly ✓.
Dimensions. $m$ has the units of $f$ per length squared; $m\lVert\vec h\rVert^2/4$ has the units of $f$ ✓.
04 · landscapes
$\vec a$ is an equilibrium of $m\ddot{\vec r} = -\nabla V(\vec r)$ if $\nabla V(\vec a) = \vec 0$: then $\vec r(t)\equiv\vec a$ solves the equation. Equilibria of the motion are exactly the critical points of the landscape.
If $V$ has a strict local minimum at $\vec a$, then $\vec a$ is Lyapunov stable: for every $\varepsilon > 0$ there is $\delta > 0$ such that a motion starting with $\lVert(\vec r-\vec a,\vec v)\rVert < \delta$ keeps $\lVert(\vec r-\vec a,\vec v)\rVert < \varepsilon$ for all later times.
Why: $E(\vec r,\vec v) = \tfrac12 m\lVert\vec v\rVert^2 + V(\vec r) - V(\vec a)$ is zero at $(\vec a,\vec 0)$, positive near it, and constant along motions; a motion that starts with small $E$ cannot climb to the positive minimum of $E$ on a small sphere. full proof in the notes (N)
Check. One dimension, $V = \tfrac12 kx^2$: minimum at $0$, and the motion is the bounded oscillation of unit 00. $V = -\tfrac12 kx^2$: maximum, and the motion is $x_0\cosh(\sqrt{k/m}\,t)$, which leaves every neighbourhood ✓.
Unit 07 turns a nondegenerate minimum into normal modes: diagonalise $H$ against the mass matrix and read off $n$ frequencies $\sqrt{\lambda_i/m}$.
The next slide draws the proof in the space of states.
04 · landscapes
One dimension, $m = 1$, $V = 1 - \cos x$ near its minimum (schematic of the proof, curves computed). $E$ is smallest on $S$ at its two ends, where it equals $c$; inside the $\delta$-ball $E < c$, and since $E$ is conserved, a motion that starts there stays on a level below $c$ and can never reach $S$.
A maximum or saddle of $V$ gives an unstable equilibrium whenever the Hessian is nondegenerate: each negative eigenvalue $\lambda$ of $H$ puts a real $+\sqrt{\lvert\lambda\rvert/m}$ in the linearisation's spectrum (notes), and one eigenvalue with positive real part suffices for instability — Lyapunov's first method, cited: Hirsch, Smale and Devaney, Differential Equations, Dynamical Systems, and an Introduction to Chaos, chapter 8. For degenerate $H$ the converse can fail outright (notes).
04 · landscapes · worked example
Two masses $M$ held at $(\pm d, 0, 0)$; a test mass $m$ at $\vec r$. Its potential energy is the running example's $V$, twice: $$V(\vec r) = -GMm\Big(\frac{1}{r_+}+\frac{1}{r_-}\Big),\quad r_\pm = \lVert\vec r \mp (d,0,0)\rVert .$$
Step 1 — the origin is critical. Swapping the sign of $x$ swaps $r_\pm$, so $V$ is even in each coordinate and every first partial vanishes at $\vec 0$.
Step 2 — the Hessian of one term. For $\phi(\vec s) = 1/\lVert\vec s\rVert$ (differentiated in full in the notes), $$\partial_j\partial_i\phi = \frac{3s_is_j - \lVert\vec s\rVert^2\delta_{ij}}{\lVert\vec s\rVert^5} = \frac{\mathrm{diag}(2,-1,-1)}{d^3}\ \text{ at } \vec s = (\mp d,0,0),$$ the same for both signs, so the two contributions add.
Step 3 — read off and classify. $H_{\vec 0}(V) = \dfrac{GMm}{d^3}\,\mathrm{diag}(-4,\,2,\,2)$: both signs present, indefinite. The midpoint is a saddle — unstable along the line, oscillatory across it.
Level curves of $V$ in the plane of the masses, in units $d = 1$, $GMm = 1$. The level through the midpoint crosses itself there: downhill along the axis, uphill across it — a saddle, as the Hessian said.
Check. $d\to\infty$ sends every eigenvalue to zero ✓, and $GMm/d^3$ is $\mathrm{N\,m^{-1}}$, a spring constant ✓.
04 · landscapes · worked example
$GM/d^3 = 3.9640\times10^{-14}\ \mathrm{s^{-2}}$. Transverse, $\omega = \sqrt{2GM/d^3} = 2.8157\times10^{-7}\ \mathrm{s^{-1}}$: a period of $\mathbf{258.3}$ days. Along the axis, $\sqrt{4GM/d^3} = 3.9820\times10^{-7}\ \mathrm{s^{-1}}$: growth by $e$ in $\mathbf{29.07}$ days.
$-4+2+2 = 0$: Step 2's matrix has trace $(3\lVert\vec s\rVert^2 - 3\lVert\vec s\rVert^2)/\lVert\vec s\rVert^5 = 0$ at every point. So for fixed masses in any arrangement, no critical point is a nondegenerate minimum — the Hessian half of Earnshaw's theorem. Unit 05 names the trace $\nabla^2 V$ and removes the word "nondegenerate".
Two slices through the midpoint, exact (solid) against the Hessian's quadratic form (dashed): $\tfrac12(-4)x^2$ along the axis and $\tfrac12(2)y^2$ across it. Close to the saddle the quadratic form is the landscape.
section 5
Two theorems proved by the contraction mapping theorem, and Lagrange's rule as a corollary of them.
04 · constraints
Let $\vec f : U \to \mathbb R^n$ be $C^1$ on an open $U\subseteq\mathbb R^n$ and let $D\vec f(\vec a)$ be invertible. Then there are open sets $V\ni\vec a$ and $W\ni\vec f(\vec a)$ such that $\vec f : V \to W$ is a bijection, and the inverse $\vec g$ is $C^1$ with
$$D\vec g(\vec f(\vec x)) = \big(D\vec f(\vec x)\big)^{-1}\quad\text{for }\vec x\in V .$$Normalise so that $\vec a = \vec 0$, $\vec f(\vec 0)=\vec 0$, $D\vec f(\vec 0)=I$. Solving $\vec f(\vec x) = \vec y$ is finding a fixed point of $\varphi_{\vec y}(\vec x) := \vec x + \vec y - \vec f(\vec x)$. Since $D\varphi_{\vec y} = I - D\vec f$ is small near $\vec 0$, $\varphi_{\vec y}$ is a contraction of a closed ball into itself, and the Banach fixed-point theorem (proved in the notes) supplies exactly one solution. full proof in the notes (N)
The same theorem, with the same completeness hypothesis, that proves Picard–Lindelöf in unit 01 — there on a space of functions, here on a ball in $\mathbb R^n$.
$\vec f(x,y) = (e^x\cos y,\ e^x\sin y)$ has $\det D\vec f = e^{2x}\ne0$ everywhere, so it is invertible near every point; yet $y\mapsto y+2\pi$ changes nothing, so it is not injective on $\mathbb R^2$. The failure is the vortex's again — $y$ is an angle — and an everywhere-nonsingular derivative does not give a global inverse.
Differentiate $\vec g(\vec f(\vec x)) = \vec x$ by the chain rule: $D\vec g\,D\vec f = I$. So if $\vec g$ is differentiable at all, its derivative must be $(D\vec f)^{-1}$ — the formula is forced, and the theorem's work is proving $\vec g$ exists and is differentiable ✓.
04 · constraints
Let $G : \mathbb R^{n}\times\mathbb R \to \mathbb R$ be $C^1$ near $(\vec a, b)$ with $G(\vec a,b) = 0$ and $\partial_z G(\vec a, b) \ne 0$. Then near $\vec a$ there is a $C^1$ function $\zeta$ with $\zeta(\vec a) = b$ and $$G(\vec x, z) = 0 \iff z = \zeta(\vec x),$$ together with $\nabla\zeta = -\nabla_{\vec x}G\,/\,\partial_z G$.
Apply the inverse function theorem to $\Phi(\vec x,z) := (\vec x,\,G(\vec x,z))$, whose derivative is block triangular with determinant $\partial_zG \ne 0$. The local inverse has the form $(\vec x,u)\mapsto(\vec x, h(\vec x,u))$, and $\zeta(\vec x) := h(\vec x,0)$ does it. Differentiating $G(\vec x,\zeta(\vec x)) = 0$ by the chain rule gives the formula. $\square$
The theorem in one picture, with $n = 1$. Near a point where $\partial_z G \ne 0$ the level set is a graph over $x$; at the folds, where $\partial_z G = 0$, the tangent is vertical and it is not.
The physics reading: a constraint surface $\{G = 0\}$ is, near any point where $\nabla G \ne \vec 0$, a graph — so the system has $n$ genuine degrees of freedom and $\vec x$ can be used as coordinates on it.
04 · constraints
Apply the theorem to $\Psi(\vec r) = V(\vec r) - V_0$ with $V = -GMm/r$ and $V_0 < 0$ — the theorem's $G$, renamed $\Psi$ here because $G$ in $V$ is Newton's constant. The level set $\{\Psi = 0\}$ is the sphere of radius $R := GMm/(-V_0)$, and $\partial_z \Psi = GMm\,z/r^3$, nonzero exactly when $z \ne 0$.
So the sphere is a graph $z = \zeta(x,y)$ near every point except the equator $z = 0$ — precisely where its tangent plane is vertical and where $z$ is two-valued over $(x,y)$. The hypothesis is not a technicality; it is the exact boundary of where the conclusion holds.
Check. On the upper hemisphere $\zeta = \sqrt{R^2-x^2-y^2}$, and $-\nabla_{\vec x}\Psi/\partial_z\Psi = -(x/z, y/z)$, which is $\nabla\zeta$ ✓.
The level sphere cut by the plane $y = 0$. Away from the equator each half is a graph over $(x,y)$. At the equator $\nabla\Psi$ is horizontal, $\partial_z\Psi = 0$, and every vertical line nearby meets the sphere twice.
04 · constraints
Let $f, g$ be $C^1$ near $\vec a$, with $g(\vec a) = 0$ and $\nabla g(\vec a)\ne\vec 0$. If $f$ restricted to $\{g = 0\}$ has a local extremum at $\vec a$, then there is $\lambda\in\mathbb R$ with
$$\nabla f(\vec a) = \lambda\,\nabla g(\vec a).$$Let $\vec v \in \ker Dg(\vec a)$. Since $\nabla g(\vec a)\ne\vec 0$, the implicit function theorem makes $\{g=0\}$ a $C^1$ graph near $\vec a$, and that graph supplies a $C^1$ curve $\vec\gamma$ in $\{g=0\}$ with $\vec\gamma(0)=\vec a$, $\dot{\vec\gamma}(0)=\vec v$ (constructed in the notes). Then $t\mapsto f(\vec\gamma(t))$ has a local extremum at $0$, so $\nabla f(\vec a)\cdot\vec v = 0$.
Hence $\nabla f(\vec a) \perp \ker Dg(\vec a) = \big(\mathrm{span}\,\nabla g(\vec a)\big)^{\perp}$, and taking orthogonal complements gives $\nabla f(\vec a)\in\mathrm{span}\,\nabla g(\vec a)$. $\square$
$f = x + y$ on the ellipse $g = x^2/4 + y^2 - 1 = 0$. Where $\nabla f$ has a component along the curve, moving that way raises $f$. At the maximum that component is zero: a level line of $f$ touches the ellipse and $\nabla f = \lambda\nabla g$.
04 · constraints
A particle rests on a smooth constraint surface $\{g=0\}$ under $\vec F = -\nabla V$. "Smooth" means it can only push normally, so the constraint force is $\vec N = \nu\,\nabla g$ for some number $\nu$. Equilibrium, $-\nabla V + \vec N = \vec 0$, then reads $\nabla V(\vec a) = -\nu\,\nabla g(\vec a)$ — exactly Lagrange's condition with $f = V$, $\lambda = -\nu$, and $\lVert\vec N\rVert = \lvert\lambda\rvert\,\lVert\nabla g\rVert$.
Checks. $\lambda$ carries $[f]/[g]$, so $\lambda\nabla g$ has the units of $\nabla f$ ✓. Special case $\nabla g(\vec a) = \vec 0$: the rule fails and must — $g = x^2+y^2$ constrains to the origin, where $f$ is trivially extremal with no condition on $\nabla f$ ✓.
The multiplier is not bookkeeping. It is the force the constraint exerts, and in unit 12 it is what one computes when the normal force is the answer wanted.
The next slide's bead, at rest in the rotating frame, forces drawn to scale. Being smooth, the hoop can only push normally to itself, here towards the centre; its push exactly cancels the other two, and its size is what the multiplier measures.
04 · constraints · worked example
Step 1 — the effective potential. At equilibrium the bead is at rest, so Coriolis vanishes; the centrifugal term $m\Omega^2x\,\hat x$ is $-\nabla(-\tfrac12 m\Omega^2x^2)$ (notes). So $$V_{\mathrm{eff}} = mgz - \tfrac12 m\Omega^2x^2 ,\qquad c(x,z) = x^2+z^2-R^2 ,$$ writing $c$ for the rule's constraint function, since $g$ here is gravity.
Step 2 — Lagrange's condition. $\nabla V_{\mathrm{eff}} = (-m\Omega^2x,\ mg)$, $\nabla c = (2x,\,2z)$: so $-m\Omega^2 x = 2\lambda x$ and $mg = 2\lambda z$. Step 3 — two branches. Either $x = 0$ (bottom and top), or $\lambda = -\tfrac12 m\Omega^2$, whence $z_* = -g/\Omega^2$ — on the hoop only if $\Omega^2 \ge g/R$.
Step 4 — the numbers. $\Omega^2R/g = 2.936 > 1$, so the tilted pair exists: $z_* = -0.068125$ m, $x_* = 0.18804$ m, angle from the bottom $\arccos(0.340625) = \mathbf{70.09^\circ}$. Step 5 — the force. $\lVert\vec N\rVert = \lvert\lambda\rvert\lVert\nabla c\rVert = \tfrac12 m\Omega^2\cdot 2R = m\Omega^2R = \mathbf{1.440}\ \mathrm N$.
A bead of $m = 0.050$ kg on a smooth hoop of radius $R = 0.20$ m, spun about a vertical diameter at $\Omega = 12\ \mathrm{s^{-1}}$. Work in unit 03's rotating frame: $(x,z)$ in the plane of the hoop, $z$ up, axis at $x = 0$.
Equilibrium angle against spin rate, from $\cos\theta_* = g/(\Omega^2R)$. Above $\Omega_c = \sqrt{g/R} = 7.004\ \mathrm{s^{-1}}$ the bottom turns unstable and a tilted pair appears: one equilibrium becomes three, a pitchfork bifurcation. (The top, always unstable, is not drawn.)
04 · constraints · worked example
Dimensions. $m\Omega^2R$ is $\mathrm N$, and so is $\lambda\lVert\nabla c\rVert$ ✓. Limits. At $\Omega^2 = g/R$, $z_* = -R$ and $\lVert\vec N\rVert = mg$: the hoop merely carries the weight ✓. As $\Omega\to\infty$, $z_*\to0$ and $\lVert\vec N\rVert\to\infty$ ✓.
In the lab the bead runs round a horizontal circle of radius $x_* = 0.188$ m at $12\ \mathrm{s^{-1}}$. That needs a force $m\Omega^2x_* = 1.354$ N towards the axis, and the weight $mg = 0.4905$ N must be held up. The hoop's force does both: $\sqrt{1.354^2 + 0.4905^2} = 1.440$ N ✓, the multiplier's answer.
The same equilibrium seen from the lab, forces to scale. No centrifugal force here: the horizontal part of the hoop's push is what keeps the bead on its circle.
04 · what to keep
$\int_{\vec\gamma}\nabla V\cdot\mathrm d\vec r = V(\text{end})-V(\text{start})$
$\langle\nabla f,\vec h\rangle = Df\,\vec h$ — the gradient is the derivative with the inner product applied
$\mathrm{curl}\,\vec F$ is twice the antisymmetric part of $D\vec F$, read through the hat map
$\oint_{\partial S}\vec F\cdot\mathrm d\vec r = \int_S(\mathrm{curl}\,\vec F)\cdot\hat n\,\mathrm dA$
$\nabla f = \lambda\nabla g$ at a constrained extremum, and $\lambda$ is the constraint force
And one sentence: closed is about the field, conservative is about the field and the domain.
What this unlocks.
04 · checkpoint
Given a vector field $\vec F$ on an open set $U \subseteq \mathbb R^n$, you decide whether $\vec F$ is conservative on $U$ and defend the answer, by
Falsifiable: "the curl is zero so it is conservative" fails it whenever $U$ is not simply connected, and a potential that does not differentiate back to $\vec F$ fails it always. Record it with ./mr done 04.
./mr problems 04 — 13 problems, about 5 hours. Hints and worked solutions fold under each problem on the same page.
05 flux, Gauss, and gravity as a field · 08 the central-force problem · 11 the brachistochrone, where the variable is a curve · 34 where the vortex's $2\pi$ is finally explained.