MechanicsHamiltonian Mechanics and Chaos2 of 5
Hamiltonian Mechanics and Chaos · 2

Phase Space and Liouville's Theorem

Knowing a system's position q\Where{q} at one instant is not enough to predict where it goes next: we have to track its position q\Where{q} and its canonical momentum p\Mom{p} together on a single plane.

1

Phase Space and Hamiltonian Flow

Phase space is the (q,p)(\Where{q}, \Mom{p}) plane where a single point represents the complete state of a mechanical system, and Hamilton's equations set the velocity arrow at every point.

Phase Space and Hamiltonian Flow
q\htmlClass{lc-blue}{q}

Because Hamilton's equations swap the two components of the uphill gradient of H(q,p)H(\Where{q}, \Mom{p}) and negate one, the flow velocity is rotated 90∘90^\circ from the steepest slope and always points along a level contour of constant HH:

(∂H∂q, ∂H∂p)⏟uphill gradient ∇H→rotate 90∘(q˙, p˙)=(∂H∂p, −∂H∂q)⏟phase space velocity v\displaystyle \begin{aligned}&\underbrace{\left(\Grad{\frac{\partial H}{\partial q}},\, \Grad{\frac{\partial H}{\partial p}}\right)}_{\text{uphill gradient } \Grad{\nabla H}} \\ &\xrightarrow{\text{rotate } 90^\circ} \quad \underbrace{(\Vel{\dot{q}},\, \Vel{\dot{p}}) = \left(\Grad{\frac{\partial H}{\partial p}},\, -\Grad{\frac{\partial H}{\partial q}}\right)}_{\text{phase space velocity } \Vel{\mathbf{v}}}\end{aligned}

When ∂H∂t=0\frac{\partial H}{\partial t} = 0, the energy surface is fixed in time, so each trajectory stays on its constant-HH contour and two trajectories can never cross.

At every state (q,p)(\Where{q}, \Mom{p}), the velocity vector (q˙,p˙)(\Vel{\dot{q}}, \Vel{\dot{p}}) sits perpendicular to the uphill gradient arrow (∂H∂q,∂H∂p)(\Grad{\frac{\partial H}{\partial q}}, \Grad{\frac{\partial H}{\partial p}}) and lies tangent to the constant-HH contour through that point.

At every state, Hamilton’s equations turn the uphill slope of the energy bowl by a right angle into a velocity arrow along the constant-energy contour.
2

The Harmonic Oscillator Phase Portrait

A phase portrait is the family of constant-energy paths on the (q,p)(\Where{q}, \Mom{p}) plane that shows every possible motion of a system at a glance. Let's draw the phase portrait for a mass on a spring.

The Harmonic Oscillator Phase Portrait
q\htmlClass{lc-blue}{q}
p\htmlClass{lc-green}{p}
H(q,p)=p22m+12kq2=EH(\htmlClass{lc-blue}{q}, \htmlClass{lc-green}{p}) = \htmlClass{lc-pink}{\dfrac{p^2}{2m}} + \htmlClass{lc-blue}{\dfrac{1}{2}kq^2} = E
Text solution
Write the constant-energy contour as an ellipseDivide the Hamiltonian H(q,p)=EH(\Where{q}, \Mom{p}) = E by EE to match the standard ellipse equation q2a2+p2b2\frac{\Where{q}^2}{\Where{a}^2} + \frac{\Mom{p}^2}{\Mom{b}^2} == 11:
p22m+12kq2=Eq22Ek+p22mE=1\displaystyle \begin{aligned} \Kin{\frac{p^2}{2m}} + \Pot{\frac{1}{2}kq^2} &= E \\[6pt] \frac{\Where{q}^2}{\dfrac{2E}{k}} + \frac{\Mom{p}^2}{2mE} &= 1 \end{aligned}
Read the turning points and maximum momentum from the denominatorsTaking the square roots of the denominators gives the horizontal semi-axis a\Where{a} (where p=0\Mom{p} = 0) and vertical semi-axis b\Mom{b} (where q=0\Where{q} = 0), with clockwise flow since q˙=pm>0\Vel{\dot{q}} = \tfrac{\Mom{p}}{m} > 0 in the upper half-plane:
a\displaystyle \Where{a} =2Ek,b\displaystyle = \sqrt{\frac{2E}{k}}, \qquad \Mom{b} =2mE\displaystyle = \sqrt{2mE}
Multiply the semi-axes by π\pi to find the enclosed phase space areaSubstitute a\Where{a}, b\Mom{b}, and the natural frequency ω=km\Rate{\omega} = \sqrt{\tfrac{k}{m}} into the ellipse area formula:
Area=πab=π2Ek2mE=2πEmk=2πEω\displaystyle \begin{aligned}\Area{\text{Area}} &= \pi \Where{a} \Mom{b} = \pi \sqrt{\frac{2E}{k}}\sqrt{2mE} \\ &= 2\pi E \sqrt{\frac{m}{k}} = \frac{2\pi E}{\Rate{\omega}}\end{aligned}
3

Phase Portraits of General Potentials

Now let's find the phase portrait for a nonlinear potential curve V(q)\Pot{V(q)} that has both valleys and hilltops.

Phase Portraits of General Potentials
V(q)\htmlClass{lc-blue}{V(q)}
q1\htmlClass{lc-blue}{q_1}
q2\htmlClass{lc-blue}{q_2}
q1\htmlClass{lc-blue}{q_1}
q2\htmlClass{lc-blue}{q_2}
q\htmlClass{lc-blue}{q}
p\htmlClass{lc-green}{p}
H=p22m+V(q)=EH = \htmlClass{lc-pink}{\dfrac{p^2}{2m}} + \htmlClass{lc-blue}{V(q)} = E
Text solution
Locate the fixed points on the q\Where{q}-axisSet both components of the phase space velocity to zero to find where a state remains stationary:
q˙=pm=0  ⟹  p=0,p˙=−dVdq=0\displaystyle \begin{aligned}\Vel{\dot{q}} &= \frac{\Mom{p}}{m} = 0 \implies \Mom{p} = 0, \\ \Vel{\dot{p}} &= -\Force{\frac{dV}{dq}} = 0\end{aligned}
Solve the energy equation for p(q)\Mom{p}(\Where{q}) in the allowed regionsAnywhere E≥V(q)E \ge \Pot{V(q)}, solve H=p22m+V(q)=EH = \Kin{\frac{p^2}{2m}} + \Pot{V(q)} = E for the upper and lower branches of the trajectory:
p(q)\displaystyle \Mom{p}(\Where{q}) =±2m(E−V(q))\displaystyle = \pm\sqrt{2m\big(E - \Pot{V(q)}\big)}
Check the slope at the turning points and the hilltopDivide p˙\Vel{\dot{p}} by q˙\Vel{\dot{q}} to see that ordinary turning points (p=0\Mom{p} = 0, dVdq≠0\Force{\frac{dV}{dq}} \neq 0) cross the q\Where{q}-axis vertically, whereas the hilltop saddle point (p=0\Mom{p} = 0, dVdq=0\Force{\frac{dV}{dq}} = 0) is approached along an X-shaped separatrix at energy E=V(qpeak)E = \Pot{V(q_{\text{peak}})}:
dpdq\displaystyle \Rate{\frac{dp}{dq}} =p˙q˙\displaystyle = \frac{\Vel{\dot{p}}}{\Vel{\dot{q}}} =−dVdqpm\displaystyle = \frac{-\Force{\dfrac{dV}{dq}}}{\dfrac{\Mom{p}}{m}}

As total energy EE increases from the bottom of the valley past the hilltop energy V(q2)\Pot{V(q_2)}, the phase trajectories change from closed clockwise loops around the stable center (q1,0)(\Where{q_1}, 0), to the X-shaped separatrix meeting at the saddle point (q2,0)(\Where{q_2}, 0), to open curves that pass over the peak.

Where the energy line meets the potential hill sets the turning points and switches the phase portrait from trapped loops to open paths over the peak.
4

Uncertainty Clouds and Liouville's Theorem

Real measurements never pin a system down to a single mathematical point; they leave an uncertainty patch of width Δq\Where{\Delta q} and height Δp\Mom{\Delta p}. What happens to the area of this cloud of states as every point inside it flows forward in time?

Uncertainty Clouds and Liouville's Theorem
q\htmlClass{lc-blue}{q}
p\htmlClass{lc-green}{p}
p=4\htmlClass{lc-green}{p} = 4
p=2\htmlClass{lc-green}{p} = 2
Δq=1 m\htmlClass{lc-blue}{\Delta q} = 1\text{ m}
Δp=2\htmlClass{lc-green}{\Delta p} = 2
11
33
H=p22mH = \htmlClass{lc-pink}{\dfrac{p^2}{2m}}
Area at t=11 s=  ?\htmlClass{lc-orange}{\text{Area}}\text{ at }t = 11\text{ s} = \;?
Text solution
Track the corners of a free-particle patchUnder H=p22mH = \Kin{\frac{p^2}{2m}}, momentum is constant (p˙=0\Vel{\dot{p}} = 0) while horizontal velocity grows with height (q˙=pm\Vel{\dot{q}} = \frac{\Mom{p}}{m}), shearing the initial rectangle into a slanted parallelogram with the same base Δq\Where{\Delta q} and vertical height Δp\Mom{\Delta p}:
Area\displaystyle \Area{\text{Area}} =base×vertical height\displaystyle = \text{base} \times \text{vertical height} =Δq Δp\displaystyle = \Where{\Delta q} \, \Mom{\Delta p} =constant\displaystyle = \text{constant}
Compare the momentum spread of particles accelerating down a hillBecause kinetic energy T=p22m\Kin{T} = \frac{\Mom{p}^2}{2m} grows quadratically with p\Mom{p}, a fixed energy difference ΔE\Delta E between the front and back particles corresponds to a much smaller momentum gap Δp\Mom{\Delta p} at high speeds, squeezing the cloud vertically by the exact factor that it stretches horizontally in Δq\Where{\Delta q}:
p\displaystyle \Mom{p} =2mT  ⟹  Δp\displaystyle = \sqrt{2m\Kin{T}} \implies \Mom{\Delta p} =2m(T+ΔE)−2mT\displaystyle = \sqrt{2m(\Kin{T} + \Delta E)} - \sqrt{2m\Kin{T}}

In free flight the patch shears while keeping its base Δq\Where{\Delta q} and height Δp\Mom{\Delta p}, and down a potential hill any stretch in position Δq\Where{\Delta q} is matched by a squeeze in momentum Δp\Mom{\Delta p} by the same factor, so in both cases the enclosed phase space area remains constant.

As a cloud of starting states moves through phase space, a tilt keeps its base and height, and any stretch in position is matched by a squeeze in momentum, so its area stays the same.
5

Proving Liouville's Theorem Through Divergence

To see why phase space area is conserved for any Hamiltonian H(q,p,t)H(\Where{q}, \Mom{p}, t), we calculate the divergence of the phase space velocity field, which is the fractional rate at which a tiny box of area A\Area{A} == Δq Δp\Where{\Delta q} \, \Mom{\Delta p} expands.

Proving Liouville's Theorem Through Divergence
q\htmlClass{lc-blue}{q}
p\htmlClass{lc-green}{p}
A\htmlClass{lc-orange}{A}
Δq\htmlClass{lc-blue}{\Delta q}
Δp\htmlClass{lc-green}{\Delta p}
1A dAdt=  ?\dfrac{1}{\htmlClass{lc-orange}{A}}\,\dfrac{d\htmlClass{lc-orange}{A}}{dt} = \;?
Text solution
Add the horizontal and vertical expansion ratesThe fractional rate of area growth is the sum of the horizontal stretch rate ∂q˙∂q\Rate{\frac{\partial \dot{q}}{\partial q}} and the vertical stretch rate ∂p˙∂p\Rate{\frac{\partial \dot{p}}{\partial p}}:
1AdAdt\displaystyle \frac{1}{\Area{A}}\frac{d\Area{A}}{dt} =∇⋅v⏟divergence\displaystyle = \underbrace{\Rate{\nabla \cdot \mathbf{v}}}_{\text{divergence}} =∂q˙∂q+∂p˙∂p\displaystyle = \Rate{\frac{\partial \dot{q}}{\partial q}} + \Rate{\frac{\partial \dot{p}}{\partial p}}
Substitute Hamilton's equations and cancel mixed partialsPlugging in q˙=∂H∂p\Vel{\dot{q}} = \Grad{\frac{\partial H}{\partial p}} and p˙=−∂H∂q\Vel{\dot{p}} = -\Grad{\frac{\partial H}{\partial q}} at any instant tt makes the two terms cancel identically, even when H(q,p,t)H(\Where{q}, \Mom{p}, t) depends explicitly on time:
∇⋅v=∂∂q ⁣(∂H∂p)+∂∂p ⁣(−∂H∂q)=∂2H∂q∂p−∂2H∂p∂q=0\displaystyle \begin{aligned}\Rate{\nabla \cdot \mathbf{v}} &= \frac{\partial}{\partial q}\!\left(\Grad{\frac{\partial H}{\partial p}}\right) + \frac{\partial}{\partial p}\!\left(-\Grad{\frac{\partial H}{\partial q}}\right) \\ &= \Grad{\frac{\partial^2 H}{\partial q \partial p}} - \Grad{\frac{\partial^2 H}{\partial p \partial q}} = 0\end{aligned}
Sum over nn degrees of freedomFor a system with nn coordinates and nn conjugate momenta pi=∂L∂q˙i\Mom{p_i} = \Mom{\frac{\partial L}{\partial \dot{q}_i}}, each (qi,pi)(\Where{q_i}, \Mom{p_i}) pair cancels on its own, conserving the total 2n2n-dimensional phase space volume:
∇⋅v=∑i=1n(∂q˙i∂qi+∂p˙i∂pi)=0  ⟹  Δq1Δp1⋯ΔqnΔpn=constant\displaystyle \begin{aligned}\Rate{\nabla \cdot \mathbf{v}} &= \sum_{i=1}^n \left(\Rate{\frac{\partial \dot{q}_i}{\partial q_i}} + \Rate{\frac{\partial \dot{p}_i}{\partial p_i}}\right) = 0 \\ &\implies \Where{\Delta q_1} \Mom{\Delta p_1} \cdots \Where{\Delta q_n} \Mom{\Delta p_n} \\ &\qquad = \text{constant}\end{aligned}
6

Canonical Momentum vs. Velocity Space

In Cartesian coordinates where px=mx˙\Mom{p_x} = m\Vel{\dot{x}}, velocity space (x,x˙)(\Where{x}, \Vel{\dot{x}}) is just a rescaled copy of phase space. Let's see what happens in polar coordinates (r,θ)(\Where{r}, \Where{\theta}) if we plot velocity θ˙\Vel{\dot{\theta}} on the vertical axis instead of canonical momentum pθ\Mom{p_\theta}.

Canonical Momentum vs. Velocity Space
r\htmlClass{lc-blue}{r}
θ\htmlClass{lc-blue}{\theta}
r2\dfrac{\htmlClass{lc-blue}{r}}{2}
θ\htmlClass{lc-blue}{\theta}
pθ or θ˙ ?\htmlClass{lc-green}{p_\theta}\ \text{or}\ \htmlClass{lc-pink}{\dot{\theta}}\,?
Text solution
Write the canonical angular momentum spreadFor a particle in a plane, the momentum conjugate to θ\Where{\theta} is pθ=∂L∂θ˙=mr2θ˙\Mom{p_\theta} = \Mom{\frac{\partial L}{\partial \dot{\theta}}} = m\Where{r}^2\Vel{\dot{\theta}}, so at a given radius r\Where{r} the spread in canonical momentum is:
Δpθ\displaystyle \Mom{\Delta p_\theta} =mr2Δθ˙\displaystyle = m\Where{r}^2 \Vel{\Delta \dot{\theta}}
Halve the radius under a central forceBecause a central force exerts no torque, each particle's pθ\Mom{p_\theta} is conserved, so Δpθ\Mom{\Delta p_\theta} stays constant as r→r2\Where{r} \to \frac{\Where{r}}{2}. With all the particles at the same radius, particles with the same pθ\Mom{p_\theta} turn at the same rate, so the patch only shears and keeps its width Δθ\Where{\Delta \theta} along each row of constant pθ\Mom{p_\theta}. That forces Δθ˙\Vel{\Delta \dot{\theta}} and the velocity-space area Δθ Δθ˙\Where{\Delta \theta} \, \Vel{\Delta \dot{\theta}} to grow fourfold:
Δθ˙=Δpθmr2∝1r2  ⟹  as r→r2,Δθ Δθ˙→4 Δθ Δθ˙\displaystyle \begin{aligned}\Vel{\Delta \dot{\theta}} &= \frac{\Mom{\Delta p_\theta}}{m\Where{r}^2} \propto \frac{1}{\Where{r}^2} \\ &\implies \text{as } \Where{r} \to \tfrac{\Where{r}}{2}, \\ &\qquad \Where{\Delta \theta} \, \Vel{\Delta \dot{\theta}} \to 4\,\Where{\Delta \theta} \, \Vel{\Delta \dot{\theta}}\end{aligned}
at r\text{at }\htmlClass{lc-blue}{r}
at r2\text{at }\dfrac{\htmlClass{lc-blue}{r}}{2}
θ\htmlClass{lc-blue}{\theta}
θ\htmlClass{lc-blue}{\theta}
pθ\htmlClass{lc-green}{p_\theta}
θ˙\htmlClass{lc-pink}{\dot{\theta}}
Δθ\htmlClass{lc-blue}{\Delta\theta}
Δθ\htmlClass{lc-blue}{\Delta\theta}
Δθ\htmlClass{lc-blue}{\Delta\theta}
Δθ\htmlClass{lc-blue}{\Delta\theta}
Δpθ\htmlClass{lc-green}{\Delta p_\theta}
Δpθ\htmlClass{lc-green}{\Delta p_\theta}
Δθ˙\htmlClass{lc-pink}{\Delta\dot{\theta}}
4Δθ˙4\htmlClass{lc-pink}{\Delta\dot{\theta}}
7

Damping and Particle Beam Focusing

What happens to phase space area when a non-Hamiltonian drag force acts on a system, or when a conservative magnetic lens squeezes a particle beam?

Damping and Particle Beam Focusing
q\htmlClass{lc-blue}{q}
p\htmlClass{lc-green}{p}
A0\htmlClass{lc-orange}{A_0}
p˙=−kq−γmpA(t)=  ?\begin{aligned}\htmlClass{lc-pink}{\dot{p}} &= -k\htmlClass{lc-blue}{q} - \dfrac{\gamma}{m}\htmlClass{lc-green}{p}\\[6pt] \htmlClass{lc-orange}{A(t)} &= \;?\end{aligned}
Text solution
Compute the divergence of a damped oscillatorAdding linear drag Fdrag=−γq˙=−γmp\Force{F_{\text{drag}}} = -\gamma \Vel{\dot{q}} = -\frac{\gamma}{m}\Mom{p} to a spring gives q˙=pm\Vel{\dot{q}} = \frac{\Mom{p}}{m} and p˙=−kq−γmp\Vel{\dot{p}} = -k\Where{q} - \frac{\gamma}{m}\Mom{p}, whose divergence is constant and negative:
1AdAdt=∇⋅v=∂∂q ⁣(pm)+∂∂p ⁣(−kq−γmp)=0−γm=−γm\displaystyle \begin{aligned}\frac{1}{\Area{A}}\frac{d\Area{A}}{dt} &= \Rate{\nabla \cdot \mathbf{v}} \\ &= \frac{\partial}{\partial q}\!\left(\frac{\Mom{p}}{m}\right) \\ &\quad + \frac{\partial}{\partial p}\!\left(-k\Where{q} - \frac{\gamma}{m}\Mom{p}\right) \\ &= 0 - \frac{\gamma}{m} = \Rate{-\frac{\gamma}{m}}\end{aligned}
Integrate to find the shrinking areaSolving dAdt=−γmA\frac{d\Area{A}}{dt} = \Rate{-\frac{\gamma}{m}}\Area{A} shows that any patch of initial states spirals inward and shrinks exponentially with time constant mγ\frac{m}{\gamma}:
A(t)\displaystyle \Area{A(t)} =A0e−γt/m\displaystyle = \Area{A_0} e^{-\gamma t / m}
Apply Liouville's theorem to a conservative magnetic lensBecause magnetic forces are Hamiltonian (∇⋅v=0\Rate{\nabla \cdot \mathbf{v}} = 0), squeezing a beam's transverse width from Δqi\Where{\Delta q_i} to Δqf\Where{\Delta q_f} forces its transverse momentum spread Δp\Mom{\Delta p} to increase by the inverse factor:
Δqi Δpi=Δqf Δpf  ⟹  Δpf=(ΔqiΔqf)Δpi\displaystyle \begin{aligned}\Where{\Delta q_i} \, \Mom{\Delta p_i} &= \Where{\Delta q_f} \, \Mom{\Delta p_f} \\ \implies \Mom{\Delta p_f} &= \left(\frac{\Where{\Delta q_i}}{\Where{\Delta q_f}}\right) \Mom{\Delta p_i}\end{aligned}

Narrowing the beam's width Δq\Where{\Delta q} at the focus of the magnetic lens forces a proportional increase in the transverse momentum spread Δp\Mom{\Delta p}, making the particles cross the focus at steeper angles.

Because the lens keeps the phase space area the same, squeezing the beam to a narrower waist forces a wider spread in sideways momentum and steeper exit angles.
8

The Liouville Equation and Statistical Mixing

When we describe a large ensemble of systems with a smooth probability density ρ(q,p,t)\Dens{\rho}(\Where{q}, \Mom{p}, t), Liouville's theorem governs how that density evolves and shows when a distribution stays completely steady in time.

The Liouville Equation and Statistical Mixing
q\htmlClass{lc-blue}{q}
p\htmlClass{lc-green}{p}
ρ(q,p,t)\htmlClass{lc-orange}{\rho}(\htmlClass{lc-blue}{q}, \htmlClass{lc-green}{p}, t)
dρdt=  ?\dfrac{d\htmlClass{lc-orange}{\rho}}{dt} = \;?
Text solution
Set the total derivative along the flow to zeroBecause a small patch moving with a trajectory keeps both its number of states and its phase space area, the density ρ(q(t),p(t),t)\Dens{\rho}(\Where{q(t)}, \Mom{p(t)}, t) moving along with the flow never changes:
dρdt\displaystyle \frac{d\Dens{\rho}}{dt} =∂ρ∂t+q˙∂ρ∂q+p˙∂ρ∂p\displaystyle = \frac{\partial \Dens{\rho}}{\partial t} + \Vel{\dot{q}}\frac{\partial \Dens{\rho}}{\partial q} + \Vel{\dot{p}}\frac{\partial \Dens{\rho}}{\partial p} =0\displaystyle = 0
Substitute Hamilton's equations to get the Liouville equationReplacing q˙\Vel{\dot{q}} and p˙\Vel{\dot{p}} writes the time evolution of ρ\Dens{\rho} at a fixed point (q,p)(\Where{q}, \Mom{p}) in terms of the Poisson bracket with HH:
∂ρ∂t+(∂ρ∂q∂H∂p−∂ρ∂p∂H∂q)⏟Poisson bracket {ρ,H}\displaystyle \frac{\partial \Dens{\rho}}{\partial t} + \underbrace{\left(\frac{\partial \Dens{\rho}}{\partial q}\Grad{\frac{\partial H}{\partial p}} - \frac{\partial \Dens{\rho}}{\partial p}\Grad{\frac{\partial H}{\partial q}}\right)}_{\text{Poisson bracket } \{\Dens{\rho}, H\}} =0\displaystyle = 0
Verify that any function ρ(H)\Dens{\rho}(H) is a stationary stateWhen density depends only on the energy contour H(q,p)H(\Where{q}, \Mom{p}), the chain rule makes the Poisson bracket vanish identically so ∂ρ∂t=0\frac{\partial \Dens{\rho}}{\partial t} = 0:
{ρ(H),H}=(dρdH∂H∂q)∂H∂p−(dρdH∂H∂p)∂H∂q=0  ⟹  ∂ρ∂t=0\displaystyle \begin{aligned}\{\Dens{\rho}(H), H\} &= \left(\frac{d\Dens{\rho}}{dH}\Grad{\frac{\partial H}{\partial q}}\right)\Grad{\frac{\partial H}{\partial p}} \\ &\quad - \left(\frac{d\Dens{\rho}}{dH}\Grad{\frac{\partial H}{\partial p}}\right)\Grad{\frac{\partial H}{\partial q}} \\ &= 0 \implies \frac{\partial \Dens{\rho}}{\partial t} = 0\end{aligned}

Key concepts

Everything on the phase space plane comes from a single geometric fact: Hamilton's equations (q˙,p˙)(\Vel{\dot{q}}, \Vel{\dot{p}}) == (∂H∂p,−∂H∂q)\left(\Grad{\frac{\partial H}{\partial p}}, -\Grad{\frac{\partial H}{\partial q}}\right) take the uphill gradient ∇H=(∂H∂q,∂H∂p)\Grad{\nabla H} = \left(\Grad{\frac{\partial H}{\partial q}}, \Grad{\frac{\partial H}{\partial p}}\right) and rotate it by 90∘90^\circ.

Drawing phase portraits (∂H∂t=0\frac{\partial H}{\partial t} = 0)

Because the flow is perpendicular to ∇H\Grad{\nabla H}, trajectories move along the level curves H(q,p)=EH(\Where{q}, \Mom{p}) = E clockwise (rightward for p>0\Mom{p} > 0, leftward for p<0\Mom{p} < 0) and never cross. For a harmonic oscillator p22m+12kq2=E\Kin{\frac{p^2}{2m}} + \Pot{\frac{1}{2}kq^2} = E, dividing by EE gives an ellipse of enclosed area πab=2πEω\pi \Where{a} \Mom{b} = \frac{2\pi E}{\Rate{\omega}}. For a general potential V(q)\Pot{V(q)}, fixed points sit on the q\Where{q}-axis where dVdq=0\Force{\frac{dV}{dq}} = 0 (valleys give stable centers; hilltops give unstable saddle points connected by a separatrix at E=V(qpeak)E = \Pot{V(q_{\text{peak}})}). When not to use fixed contours: If an external drive makes ∂H∂t≠0\frac{\partial H}{\partial t} \neq 0, energy is no longer conserved and paths can cross over time.

Checking phase space volume conservation (∇⋅v\Rate{\nabla \cdot \mathbf{v}})

The fractional rate of volume change is the divergence ∇⋅v\Rate{\nabla \cdot \mathbf{v}} == ∑i(∂q˙i∂qi+∂p˙i∂pi)\sum_i \left(\Rate{\frac{\partial \dot{q}_i}{\partial q_i}} + \Rate{\frac{\partial \dot{p}_i}{\partial p_i}}\right). For any Hamiltonian, even a time-dependent H(q,p,t)H(\Where{q}, \Mom{p}, t), mixed partials cancel so ∇⋅v=0\Rate{\nabla \cdot \mathbf{v}} = 0 and total 2n2n-dimensional volume Δq1Δp1⋯ΔqnΔpn\Where{\Delta q_1} \Mom{\Delta p_1} \cdots \Where{\Delta q_n} \Mom{\Delta p_n} stays constant; squeezing a beam's width Δq\Where{\Delta q} by a factor of 100100 forces Δp\Mom{\Delta p} to grow by 100100. When area is not conserved on a 2D plot:

  • Using velocity q˙\Vel{\dot{q}} instead of canonical momentum p=∂L∂q˙\Mom{p} = \Mom{\frac{\partial L}{\partial \dot{q}}} when p\Mom{p} depends on position (such as (θ,θ˙)(\Where{\theta}, \Vel{\dot{\theta}}) where pθ=mr2θ˙\Mom{p_\theta} = m\Where{r}^2\Vel{\dot{\theta}}).
  • Looking at a single 2D slice Δq1Δp1\Where{\Delta q_1} \Mom{\Delta p_1} when q1\Where{q_1} is coupled to another coordinate q2\Where{q_2}.
  • Including a non-Hamiltonian drag force like p˙=−kq−γmp\Vel{\dot{p}} = -k\Where{q} - \frac{\gamma}{m}\Mom{p}, which gives ∇⋅v=−γm\Rate{\nabla \cdot \mathbf{v}} = \Rate{-\frac{\gamma}{m}} and shrinks the 2D area as A0e−γt/m\Area{A_0} e^{-\gamma t/m} (because volume spreads into the ignored coordinates of the surrounding medium).
Testing for stationary probability clouds (∂ρ∂t=0\frac{\partial \Dens{\rho}}{\partial t} = 0)

Along a moving trajectory, fine-grained density never changes (dρdt=0\frac{d\Dens{\rho}}{dt} = 0). At a fixed point (q,p)(\Where{q}, \Mom{p}), density obeys the Liouville equation ∂ρ∂t+{ρ,H}=0\frac{\partial \Dens{\rho}}{\partial t} + \{\Dens{\rho}, H\} = 0. Any distribution ρ(H)\Dens{\rho}(H) that is constant along each contour of HH (such as ρ∝e−βH\Dens{\rho} \propto e^{-\beta H}) has {ρ,H}=0\{\Dens{\rho}, H\} = 0 and stays stationary forever, whereas a distribution that depends only on p\Mom{p} (like e−αp2e^{-\alpha \Mom{p}^2} in a spring potential) rotates and changes over time.

9

Practice

1

A block of mass m=2.0 kgm = 2.0\text{ kg} attached to a spring of stiffness k=8.0 N/mk = 8.0\text{ N/m} has Hamiltonian H(q,p)H(\Where{q}, \Mom{p}) == p22m+12kq2\Kin{\frac{p^2}{2m}} + \Pot{\frac{1}{2}kq^2} == p24+4q2\Kin{\frac{p^2}{4}} + \Pot{4q^2} (in SI units). (a) At the state (q,p)(\Where{q}, \Mom{p}) == (1.0 m,4.0 kg⋅m/s)(1.0\text{ m}, 4.0\text{ kg}\cdot\text{m/s}), calculate the gradient vector ∇H=(∂H∂q,∂H∂p)\Grad{\nabla H} = \left(\Grad{\frac{\partial H}{\partial q}}, \Grad{\frac{\partial H}{\partial p}}\right) and the phase space velocity vector v=(q˙,p˙)\Vel{\mathbf{v}} = (\Vel{\dot{q}}, \Vel{\dot{p}}), and show that they are perpendicular. (b) Explain why two phase space trajectories can never cross for this system, but can cross if an external piston shakes the spring support so that H=H(q,p,t)H = H(\Where{q}, \Mom{p}, t).

For part (a), compare the order and signs of the partial derivatives in ∇H\Grad{\nabla H} with Hamilton's equations for (q˙,p˙)(\Vel{\dot{q}}, \Vel{\dot{p}}), then take their dot product.

(a) Evaluating the partial derivatives of H(q,p)H(\Where{q}, \Mom{p}) == p24+4q2\Kin{\frac{p^2}{4}} + \Pot{4q^2} at (q,p)(\Where{q}, \Mom{p}) == (1.0 m,4.0 kg⋅m/s)(1.0\text{ m}, 4.0\text{ kg}\cdot\text{m/s}) gives:
∂H∂q=8q=8(1.0)=8.0 N,∂H∂p=p2=4.02=2.0 m/s\displaystyle \begin{aligned}\Grad{\frac{\partial H}{\partial q}} &= 8\Where{q} = 8(1.0) = 8.0\text{ N}, \\ \Grad{\frac{\partial H}{\partial p}} &= \frac{\Mom{p}}{2} = \frac{4.0}{2} = 2.0\text{ m/s}\end{aligned}
So the uphill gradient vector is:
∇H\displaystyle \Grad{\nabla H} =(∂H∂q, ∂H∂p)\displaystyle = \left(\Grad{\frac{\partial H}{\partial q}},\, \Grad{\frac{\partial H}{\partial p}}\right) =(8.0 N, 2.0 m/s)\displaystyle = (8.0\text{ N},\, 2.0\text{ m/s})
By Hamilton's equations, the phase space velocity vector swaps these two components and negates the second:
v=(q˙, p˙)=(∂H∂p, −∂H∂q)=(2.0 m/s, −8.0 N)\displaystyle \begin{aligned}\Vel{\mathbf{v}} = (\Vel{\dot{q}},\, \Vel{\dot{p}}) &= \left(\Grad{\frac{\partial H}{\partial p}},\, -\Grad{\frac{\partial H}{\partial q}}\right) \\ &= (2.0\text{ m/s},\, -8.0\text{ N})\end{aligned}
(Watch out: A common slip is keeping the derivatives in the same order to get (8.0,−2.0)(8.0, -2.0), which gives a dot product of 60 W60\text{ W}, or forgetting the minus sign on p˙=−∂H∂q\Vel{\dot{p}} = -\Grad{\frac{\partial H}{\partial q}} to get (2.0,8.0)(2.0, 8.0), which gives 32 W32\text{ W}, instead of 00.)
Taking their dot product confirms that the velocity is perpendicular to the gradient and tangent to the constant-energy contour H=8.0 JH = 8.0\text{ J}:
∇H⋅v=(8.0 N)(2.0 m/s)+(2.0 m/s)(−8.0 N)=16 W−16 W=0\displaystyle \begin{aligned}\Grad{\nabla H} \cdot \Vel{\mathbf{v}} &= (8.0\text{ N})(2.0\text{ m/s}) \\ &\quad + (2.0\text{ m/s})(-8.0\text{ N}) \\ &= 16\text{ W} - 16\text{ W} = 0\end{aligned}
(b) When ∂H∂t=0\frac{\partial H}{\partial t} = 0, the energy surface does not change with time and every point (q,p)(\Where{q}, \Mom{p}) has a single permanent velocity arrow; an intersection would mean a single physical state (q,p)(\Where{q}, \Mom{p}) leads to two different futures, which is impossible. When H(q,p,t)H(\Where{q}, \Mom{p}, t) depends explicitly on time, the energy surface changes and the velocity arrows shift with tt, so a state passing through (q,p)(\Where{q}, \Mom{p}) at time t1t_1 can follow a different direction than a state passing through that same point at a later time t2t_2.
2

A mass m=0.50 kgm = 0.50\text{ kg} on a spring of stiffness k=50 N/mk = 50\text{ N/m} oscillates with total mechanical energy E=4.0 JE = 4.0\text{ J}. (a) Write its phase space trajectory in standard ellipse form q2a2+p2b2\frac{\Where{q}^2}{\Where{a}^2} + \frac{\Mom{p}^2}{\Mom{b}^2} == 11 and find the numerical values of the semi-axes a\Where{a} and b\Mom{b}. (b) Calculate the phase space area enclosed by the trajectory and verify that it equals 2πEω\frac{2\pi E}{\Rate{\omega}}, where ω=km\Rate{\omega} = \sqrt{\tfrac{k}{m}}.

Divide the energy equation p22m+12kq2=E\Kin{\frac{p^2}{2m}} + \Pot{\frac{1}{2}kq^2} = E by EE first, and remember that the denominators in standard ellipse form are a2\Where{a}^2 and b2\Mom{b}^2.

(a) Dividing H=p22m+12kq2=EH = \Kin{\frac{p^2}{2m}} + \Pot{\frac{1}{2}kq^2} = E by EE puts the trajectory into standard ellipse form:
q22Ek+p22mE\displaystyle \frac{\Where{q}^2}{\dfrac{2E}{k}} + \frac{\Mom{p}^2}{2mE} =1\displaystyle = 1
Taking the square root of each denominator gives the horizontal semi-axis a\Where{a} (maximum displacement at p=0\Mom{p} = 0) and vertical semi-axis b\Mom{b} (maximum momentum at q=0\Where{q} = 0):
a=2Ek=2(4.0 J)50 N/m=0.16 m2=0.40 mb=2mE=2(0.50 kg)(4.0 J)=4.0 kg2⋅m2/s2=2.0 kg⋅m/s\displaystyle \begin{aligned}\Where{a} &= \sqrt{\frac{2E}{k}} = \sqrt{\frac{2(4.0\text{ J})}{50\text{ N/m}}} \\ &= \sqrt{0.16\text{ m}^2} = 0.40\text{ m} \\[6pt] \Mom{b} &= \sqrt{2mE} = \sqrt{2(0.50\text{ kg})(4.0\text{ J})} \\ &= \sqrt{4.0\text{ kg}^2\cdot\text{m}^2/\text{s}^2} = 2.0\text{ kg}\cdot\text{m/s}\end{aligned}
(Watch out: Don't read the denominators a2=0.16 m2\Where{a}^2 = 0.16\text{ m}^2 and b2=4.0 (kg⋅m/s)2\Mom{b}^2 = 4.0\text{ (kg}\cdot\text{m/s)}^2 directly as a\Where{a} and b\Mom{b} without taking the square root, which would give a wrong area of 0.64π J⋅s0.64\pi\text{ J}\cdot\text{s}.)
The phase trajectory is:
q2(0.40 m)2+p2(2.0 kg⋅m/s)2=1,a=0.40 m,b=2.0 kg⋅m/s\displaystyle \begin{aligned}&\frac{\Where{q}^2}{(0.40\text{ m})^2} + \frac{\Mom{p}^2}{(2.0\text{ kg}\cdot\text{m/s})^2} = 1, \\ &\Where{a} = 0.40\text{ m},\quad \Mom{b} = 2.0\text{ kg}\cdot\text{m/s}\end{aligned}
(b) The geometric area enclosed by the ellipse is:
A=πab=π(0.40 m)(2.0 kg⋅m/s)=0.80π J⋅s≈2.51 J⋅s\displaystyle \begin{aligned}\Area{A} &= \pi \Where{a} \Mom{b} = \pi(0.40\text{ m})(2.0\text{ kg}\cdot\text{m/s}) \\ &= 0.80\pi\text{ J}\cdot\text{s} \approx 2.51\text{ J}\cdot\text{s}\end{aligned}
With natural frequency ω=km=50 N/m0.50 kg=10 rad/s\Rate{\omega} = \sqrt{\frac{k}{m}} = \sqrt{\frac{50\text{ N/m}}{0.50\text{ kg}}} = 10\text{ rad/s}, the oscillator area formula gives the exact same value:
2πEω=2π(4.0 J)10 rad/s=0.80π J⋅s≈2.51 J⋅s\displaystyle \begin{aligned}\frac{2\pi E}{\Rate{\omega}} &= \frac{2\pi(4.0\text{ J})}{10\text{ rad/s}} \\ &= 0.80\pi\text{ J}\cdot\text{s} \approx 2.51\text{ J}\cdot\text{s}\end{aligned}
3

A particle of mass mm moves in the one-dimensional potential V(q)=13q3−4q\Pot{V(q)} = \frac{1}{3}\Where{q}^3 - 4\Where{q} (where q\Where{q} is in meters and V\Pot{V} is in joules). (a) Find the coordinates (q,p)(\Where{q}, \Mom{p}) of all fixed points in phase space and classify each as a stable center or an unstable saddle point. (b) Find the energy EsepE_{\text{sep}} of the separatrix. (c) Explain why oscillatory trajectories with E<EsepE < E_{\text{sep}} cross the q\Where{q}-axis vertically at their turning points, and why the X-shaped separatrix at the saddle point does not violate the non-crossing rule.

Fixed points occur where q˙=0\Vel{\dot{q}} = 0 and p˙=−dVdq=0\Vel{\dot{p}} = -\Force{\frac{dV}{dq}} = 0. Check the second derivative d2Vdq2\frac{d^2V}{dq^2} at each root to see which is a potential valley and which is a hilltop.

(a) Setting the velocity components to zero gives:
q˙=pm=0  ⟹  p=0p˙=−dVdq=−(q2−4)=0  ⟹  q=±2 m\displaystyle \begin{aligned}\Vel{\dot{q}} &= \frac{\Mom{p}}{m} = 0 \\ &\implies \Mom{p} = 0 \\[6pt] \Vel{\dot{p}} &= -\Force{\frac{dV}{dq}} = -(\Where{q}^2 - 4) = 0 \\ &\implies \Where{q} = \pm 2\text{ m}\end{aligned}
Since d2Vdq2=2q\frac{d^2V}{dq^2} = 2\Where{q}:
At (2 m,0)(2\text{ m}, 0), d2Vdq2=+4 J/m2>0\frac{d^2V}{dq^2} = +4\text{ J/m}^2 > 0, so q=2 m\Where{q} = 2\text{ m} sits at the bottom of a potential valley (V(2)=−163 J\Pot{V(2)} = -\frac{16}{3}\text{ J}) and (2 m,0)(2\text{ m}, 0) is a stable center surrounded by clockwise loops.
At (−2 m,0)(-2\text{ m}, 0), d2Vdq2=−4 J/m2<0\frac{d^2V}{dq^2} = -4\text{ J/m}^2 < 0, so q=−2 m\Where{q} = -2\text{ m} sits at a hilltop (V(−2)=+163 J\Pot{V(-2)} = +\frac{16}{3}\text{ J}) and (−2 m,0)(-2\text{ m}, 0) is an unstable saddle point.
(Watch out: Don't assume the positive coordinate q=+2 m\Where{q} = +2\text{ m} is the peak. Plugging into V(q)\Pot{V(q)} or d2Vdq2\frac{d^2V}{dq^2} shows that q=−2 m\Where{q} = -2\text{ m} is the hilltop and q=+2 m\Where{q} = +2\text{ m} is the valley.)
(b) The separatrix is the contour with the exact energy of the unstable hilltop at q=−2 m\Where{q} = -2\text{ m}:
Esep=V(−2 m)=13(−2)3−4(−2)=−83+8=163 J≈5.33 J\displaystyle \begin{aligned}E_{\text{sep}} &= \Pot{V(-2\text{ m})} \\ &= \frac{1}{3}(-2)^3 - 4(-2) \\ &= -\frac{8}{3} + 8 \\ &= \frac{16}{3}\text{ J} \approx 5.33\text{ J}\end{aligned}
(c) Along any phase trajectory, the slope is dpdq\Rate{\frac{dp}{dq}} == p˙q˙\frac{\Vel{\dot{p}}}{\Vel{\dot{q}}} == −dVdqpm\dfrac{-\Force{\tfrac{dV}{dq}}}{\tfrac{\Mom{p}}{m}}. At an ordinary turning point where V(q)=E\Pot{V(q)} = E and dVdq≠0\Force{\frac{dV}{dq}} \neq 0, the momentum p\Mom{p} drops to zero while the force −dVdq-\Force{\frac{dV}{dq}} is nonzero, so dpdq→∞\Rate{\frac{dp}{dq}} \to \infty and the trajectory crosses the q\Where{q}-axis vertically. At the saddle point (−2 m,0)(-2\text{ m}, 0), however, both p=0\Mom{p} = 0 and dVdq=0\Force{\frac{dV}{dq}} = 0, so it is a fixed point where the flow velocity is zero; a particle rolling up toward the hilltop with E=163 JE = \frac{16}{3}\text{ J} slows down so much that it takes an infinite amount of time to reach (−2 m,0)(-2\text{ m}, 0), meaning no moving state ever arrives at the intersection in finite time.
4

(a) A hockey puck of mass m=0.50 kgm = 0.50\text{ kg} slides on frictionless ice (H=p22mH = \Kin{\frac{p^2}{2m}}). At t=0t = 0, its state lies within the rectangular uncertainty patch 0≤q≤1.0 m0 \le \Where{q} \le 1.0\text{ m} and 2.0 kg⋅m/s≤p≤4.0 kg⋅m/s2.0\text{ kg}\cdot\text{m/s} \le \Mom{p} \le 4.0\text{ kg}\cdot\text{m/s}. Find the four corner coordinates (q,p)(\Where{q}, \Mom{p}) of the patch at t=3.0 st = 3.0\text{ s} and verify geometrically that its area is unchanged. (b) Now suppose a cloud of marbles of mass m=0.50 kgm = 0.50\text{ kg} rolls down a frictionless hill with a 2.0 J2.0\text{ J} energy spread between the back and front marbles. Compare their momentum spread Δp\Mom{\Delta p} near the top when their kinetic energies are 10 J10\text{ J} and 12 J12\text{ J} with Δp\Mom{\Delta p} near the bottom when their kinetic energies are 1000 J1000\text{ J} and 1002 J1002\text{ J}, and find the factor by which their position spread Δq\Where{\Delta q} stretches between those two locations.

In (a), each corner keeps its momentum p\Mom{p} and moves horizontally at q˙=pm\Vel{\dot{q}} = \frac{\Mom{p}}{m}. In (b), use p=2mT\Mom{p} = \sqrt{2m\Kin{T}} to find Δp\Mom{\Delta p} at each location, then apply Δq Δp\Where{\Delta q} \, \Mom{\Delta p} == constant\text{constant}.

(a) For the free puck, p˙=0\Vel{\dot{p}} = 0 and q˙\Vel{\dot{q}} == pm\frac{\Mom{p}}{m} == p0.50 kg\frac{\Mom{p}}{0.50\text{ kg}} == 2p2\Mom{p} (in SI units), so over t=3.0 st = 3.0\text{ s} each point shifts horizontally by Δq=q˙t=6p\Where{\Delta q} = \Vel{\dot{q}}t = 6\Mom{p}:
Bottom edge (p=2.0 kg⋅m/s\Mom{p} = 2.0\text{ kg}\cdot\text{m/s}, q˙=4.0 m/s\Vel{\dot{q}} = 4.0\text{ m/s}): shifts right by 12.0 m12.0\text{ m}, moving (0,2.0)(0, 2.0) and (1.0,2.0)(1.0, 2.0) to (12.0 m,2.0 kg⋅m/s)(12.0\text{ m}, 2.0\text{ kg}\cdot\text{m/s}) and (13.0 m,2.0 kg⋅m/s)(13.0\text{ m}, 2.0\text{ kg}\cdot\text{m/s}).
Top edge (p=4.0 kg⋅m/s\Mom{p} = 4.0\text{ kg}\cdot\text{m/s}, q˙=8.0 m/s\Vel{\dot{q}} = 8.0\text{ m/s}): shifts right by 24.0 m24.0\text{ m}, moving (0,4.0)(0, 4.0) and (1.0,4.0)(1.0, 4.0) to (24.0 m,4.0 kg⋅m/s)(24.0\text{ m}, 4.0\text{ kg}\cdot\text{m/s}) and (25.0 m,4.0 kg⋅m/s)(25.0\text{ m}, 4.0\text{ kg}\cdot\text{m/s}).
(Watch out: When finding the area of the sheared parallelogram, don't use the total horizontal span 25.0 m−12.0 m=13.0 m25.0\text{ m} - 12.0\text{ m} = 13.0\text{ m} as the base, which would give 26.0 J⋅s26.0\text{ J}\cdot\text{s}; the horizontal base along the bottom edge is 13.0 m−12.0 m=1.0 m13.0\text{ m} - 12.0\text{ m} = 1.0\text{ m}.)
The sheared parallelogram has horizontal base 13.0 m−12.0 m=1.0 m13.0\text{ m} - 12.0\text{ m} = 1.0\text{ m} and vertical height 4.0 kg⋅m/s−2.0 kg⋅m/s=2.0 kg⋅m/s4.0\text{ kg}\cdot\text{m/s} - 2.0\text{ kg}\cdot\text{m/s} = 2.0\text{ kg}\cdot\text{m/s}, so its area is unchanged:
Area\displaystyle \Area{\text{Area}} =(1.0 m)(2.0 kg⋅m/s)\displaystyle = (1.0\text{ m})(2.0\text{ kg}\cdot\text{m/s}) =2.0 J⋅s\displaystyle = 2.0\text{ J}\cdot\text{s}
(b) Using p\Mom{p} == 2mT\sqrt{2m\Kin{T}} == 2(0.50 kg)T\sqrt{2(0.50\text{ kg})\Kin{T}} == T\sqrt{\Kin{T}} (in SI units):
Near the top (T=10 J\Kin{T} = 10\text{ J} and 12 J12\text{ J}):
Δptop\displaystyle \Mom{\Delta p_{\text{top}}} =12−10≈3.464−3.162\displaystyle = \sqrt{12} - \sqrt{10} \approx 3.464 - 3.162 =0.302 kg⋅m/s\displaystyle = 0.302\text{ kg}\cdot\text{m/s}
Near the bottom (T=1000 J\Kin{T} = 1000\text{ J} and 1002 J1002\text{ J}):
Δpbottom\displaystyle \Mom{\Delta p_{\text{bottom}}} =1002−1000≈31.654−31.623\displaystyle = \sqrt{1002} - \sqrt{1000} \approx 31.654 - 31.623 =0.0316 kg⋅m/s\displaystyle = 0.0316\text{ kg}\cdot\text{m/s}
Because the momentum spread squeezes down by a factor of ΔptopΔpbottom\frac{\Mom{\Delta p_{\text{top}}}}{\Mom{\Delta p_{\text{bottom}}}} == 0.3020.0316≈9.55\frac{0.302}{0.0316} \approx 9.55, Liouville's theorem (Δq Δp\Where{\Delta q} \, \Mom{\Delta p} == constant\text{constant}) requires the horizontal position spread Δq\Where{\Delta q} between the marbles to stretch out by the same factor of 9.559.55.
5

Two coupled oscillators are driven by an external force and a time-varying spring so that their Hamiltonian is H(q1,q2,p1,p2,t)H(\Where{q_1}, \Where{q_2}, \Mom{p_1}, \Mom{p_2}, t) == p12+p222m+12k(t)(q1−q2)2−F0cos⁡(ωt)q1\Kin{\frac{p_1^2 + p_2^2}{2m}} + \Pot{\frac{1}{2}k(t)(q_1 - q_2)^2} - \Force{F_0 \cos(\omega t)}\Where{q_1}. (a) Write Hamilton's equations for (q˙1,p˙1,q˙2,p˙2)(\Vel{\dot{q}_1}, \Vel{\dot{p}_1}, \Vel{\dot{q}_2}, \Vel{\dot{p}_2}) and compute the four-dimensional phase space divergence ∇⋅v\Rate{\nabla \cdot \mathbf{v}} == (∂q˙1∂q1+∂p˙1∂p1)+(∂q˙2∂q2+∂p˙2∂p2)\left(\Rate{\frac{\partial \dot{q}_1}{\partial q_1}} + \Rate{\frac{\partial \dot{p}_1}{\partial p_1}}\right) + \left(\Rate{\frac{\partial \dot{q}_2}{\partial q_2}} + \Rate{\frac{\partial \dot{p}_2}{\partial p_2}}\right). (b) Even though ∂H∂t≠0\frac{\partial H}{\partial t} \neq 0 so energy is not conserved, what happens to the 4D volume Δq1Δp1Δq2Δp2\Where{\Delta q_1} \Mom{\Delta p_1} \Where{\Delta q_2} \Mom{\Delta p_2} of a cloud of states over time, and must the 2D slice area Δq1Δp1\Where{\Delta q_1} \Mom{\Delta p_1} remain constant on its own?

In (a), note which variables each velocity component actually depends on when taking ∂q˙i∂qi\Rate{\frac{\partial \dot{q}_i}{\partial q_i}} and ∂p˙i∂pi\Rate{\frac{\partial \dot{p}_i}{\partial p_i}}.

(a) Applying Hamilton's equations q˙i=∂H∂pi\Vel{\dot{q}_i} = \Grad{\frac{\partial H}{\partial p_i}} and p˙i=−∂H∂qi\Vel{\dot{p}_i} = -\Grad{\frac{\partial H}{\partial q_i}} gives:
q˙1=p1m,p˙1=−k(t)(q1−q2)+F0cos⁡(ωt)q˙2=p2m,p˙2=k(t)(q1−q2)\displaystyle \begin{aligned}\Vel{\dot{q}_1} &= \frac{\Mom{p_1}}{m}, \\ \Vel{\dot{p}_1} &= -k(t)(\Where{q_1} - \Where{q_2}) + \Force{F_0 \cos(\omega t)} \\[6pt] \Vel{\dot{q}_2} &= \frac{\Mom{p_2}}{m}, \\ \Vel{\dot{p}_2} &= k(t)(\Where{q_1} - \Where{q_2})\end{aligned}
Taking the partial derivatives for the divergence at any instant tt:
∂q˙1∂q1=0,∂p˙1∂p1=0,∂q˙2∂q2=0,∂p˙2∂p2=0\displaystyle \begin{aligned}\Rate{\frac{\partial \dot{q}_1}{\partial q_1}} &= 0, & \Rate{\frac{\partial \dot{p}_1}{\partial p_1}} &= 0, \\ \Rate{\frac{\partial \dot{q}_2}{\partial q_2}} &= 0, & \Rate{\frac{\partial \dot{p}_2}{\partial p_2}} &= 0\end{aligned}
(Watch out: Don't differentiate p˙1\Vel{\dot{p}_1} with respect to q1\Where{q_1} instead of p1\Mom{p_1} when computing ∂p˙1∂p1\Rate{\frac{\partial \dot{p}_1}{\partial p_1}}, which would wrongly give −k(t)-k(t) instead of 00.)
Adding them together gives:
∇⋅v\displaystyle \Rate{\nabla \cdot \mathbf{v}} =(0+0)+(0+0)\displaystyle = (0 + 0) + (0 + 0) =0\displaystyle = 0
(b) Because the divergence vanishes at every instant without requiring ∂H∂t=0\frac{\partial H}{\partial t} = 0, the total 4D phase space volume Δq1Δp1Δq2Δp2\Where{\Delta q_1} \Mom{\Delta p_1} \Where{\Delta q_2} \Mom{\Delta p_2} is strictly conserved for all time. However, because q1\Where{q_1} and q2\Where{q_2} are coupled by the 12k(t)(q1−q2)2\Pot{\frac{1}{2}k(t)(q_1 - q_2)^2} interaction term, phase space volume can trade off between coordinate 1 and coordinate 2, so the individual 2D slice area Δq1Δp1\Where{\Delta q_1} \Mom{\Delta p_1} does not have to stay constant on its own.
6

A small cloud of particles, each of mass m=0.10 kgm = 0.10\text{ kg}, moves in a plane under a central force V(r)\Pot{V(r)}. At radius r1=0.60 m\Where{r_1} = 0.60\text{ m}, the cloud has angular spread Δθ1=0.050 rad\Where{\Delta \theta_1} = 0.050\text{ rad} and angular velocity spread Δθ˙1=0.20 rad/s\Vel{\Delta \dot{\theta}_1} = 0.20\text{ rad/s}. The cloud then moves inward to r2=0.20 m\Where{r_2} = 0.20\text{ m} while its angular spread remains Δθ2=0.050 rad\Where{\Delta \theta_2} = 0.050\text{ rad}. (a) Find the canonical angular momentum spread Δpθ\Mom{\Delta p_\theta} and the canonical area Δθ Δpθ\Where{\Delta \theta} \, \Mom{\Delta p_\theta} at r1\Where{r_1} and at r2\Where{r_2}. (b) Find the angular velocity spread Δθ˙2\Vel{\Delta \dot{\theta}_2} and the velocity-space area Δθ2 Δθ˙2\Where{\Delta \theta_2} \, \Vel{\Delta \dot{\theta}_2} at r2\Where{r_2}, and explain why the area in (θ,θ˙)(\Where{\theta}, \Vel{\dot{\theta}}) space changes while the area in (θ,pθ)(\Where{\theta}, \Mom{p_\theta}) space does not.

Use the canonical momentum pθ=mr2θ˙\Mom{p_\theta} = m\Where{r}^2\Vel{\dot{\theta}} for polar coordinates, and note that a central force conserves pθ\Mom{p_\theta} for every particle.

(a) In polar coordinates, the canonical momentum conjugate to θ\Where{\theta} is pθ=∂L∂θ˙=mr2θ˙\Mom{p_\theta} = \Mom{\frac{\partial L}{\partial \dot{\theta}}} = m\Where{r}^2\Vel{\dot{\theta}}. At r1=0.60 m\Where{r_1} = 0.60\text{ m}:
Δpθ1=mr12Δθ˙1=(0.10 kg)(0.60 m)2(0.20 rad/s)=7.2×10−3 J⋅sΔθ1 Δpθ1=(0.050 rad)(7.2×10−3 J⋅s)=3.6×10−4 J⋅s\displaystyle \begin{aligned}&\Mom{\Delta p_{\theta 1}} = m \Where{r_1}^2 \Vel{\Delta \dot{\theta}_1} \\ &\quad = (0.10\text{ kg})(0.60\text{ m})^2(0.20\text{ rad/s}) \\ &\quad = 7.2 \times 10^{-3}\text{ J}\cdot\text{s} \\[6pt] &\Where{\Delta \theta_1} \, \Mom{\Delta p_{\theta 1}} \\ &\quad = (0.050\text{ rad})(7.2 \times 10^{-3}\text{ J}\cdot\text{s}) \\ &\quad = 3.6 \times 10^{-4}\text{ J}\cdot\text{s}\end{aligned}
Because a central force exerts zero torque, each particle's canonical angular momentum pθ\Mom{p_\theta} is conserved, so at r2=0.20 m\Where{r_2} = 0.20\text{ m} both remain unchanged:
Δpθ2=7.2×10−3 J⋅s,Δθ2 Δpθ2=3.6×10−4 J⋅s\displaystyle \begin{aligned}\Mom{\Delta p_{\theta 2}} &= 7.2 \times 10^{-3}\text{ J}\cdot\text{s}, \\ \Where{\Delta \theta_2} \, \Mom{\Delta p_{\theta 2}} &= 3.6 \times 10^{-4}\text{ J}\cdot\text{s}\end{aligned}
(b) As the cloud moves from r1=0.60 m\Where{r_1} = 0.60\text{ m} to r2=0.20 m\Where{r_2} = 0.20\text{ m}, the radius drops by a factor of r1r2=3\frac{\Where{r_1}}{\Where{r_2}} = 3, so r2\Where{r}^2 drops by a factor of 32=93^2 = 9.
(Watch out: Don't scale Δθ˙\Vel{\Delta \dot{\theta}} by r1r2=3\frac{\Where{r_1}}{\Where{r_2}} = 3 instead of (r1r2)2=9\left(\frac{\Where{r_1}}{\Where{r_2}}\right)^2 = 9, which would give 0.60 rad/s0.60\text{ rad/s} instead of 1.8 rad/s1.8\text{ rad/s}.)
To keep Δpθ\Mom{\Delta p_\theta} == mr2Δθ˙m\Where{r}^2\Vel{\Delta \dot{\theta}} constant, the angular velocity spread grows ninefold:
Δθ˙2=9 Δθ˙1=9(0.20 rad/s)=1.8 rad/sΔθ2 Δθ˙2=(0.050 rad)(1.8 rad/s)=0.090 rad2/s\displaystyle \begin{aligned}\Vel{\Delta \dot{\theta}_2} &= 9\,\Vel{\Delta \dot{\theta}_1} = 9(0.20\text{ rad/s}) \\ &= 1.8\text{ rad/s} \\[6pt] \Where{\Delta \theta_2} \, \Vel{\Delta \dot{\theta}_2} &= (0.050\text{ rad})(1.8\text{ rad/s}) \\ &= 0.090\text{ rad}^2/\text{s}\end{aligned}
(Nine times larger than the initial velocity-space area Δθ1 Δθ˙1\Where{\Delta \theta_1} \, \Vel{\Delta \dot{\theta}_1} == 0.010 rad2/s0.010\text{ rad}^2/\text{s}.) Liouville's theorem only guarantees area conservation when each coordinate qi\Where{q_i} is paired with its canonical momentum pi=∂L∂q˙i\Mom{p_i} = \Mom{\frac{\partial L}{\partial \dot{q}_i}}, where Hamilton's mixed partial derivatives cancel, not when it is paired with velocity q˙i\Vel{\dot{q}_i}.
7

A block of mass m=0.25 kgm = 0.25\text{ kg} on a spring of stiffness kk experiences a linear drag force Fdrag=−γq˙=−γmp\Force{F_{\text{drag}}} = -\gamma \Vel{\dot{q}} = -\frac{\gamma}{m}\Mom{p} with damping coefficient γ=0.050 kg/s\gamma = 0.050\text{ kg/s}, giving the phase space flow q˙=pm\Vel{\dot{q}} = \frac{\Mom{p}}{m} and p˙=−kq−γmp\Vel{\dot{p}} = -k\Where{q} - \frac{\gamma}{m}\Mom{p}. (a) Compute the divergence ∇⋅v\Rate{\nabla \cdot \mathbf{v}} of this flow and find the time required for a cloud of initial states of area A0\Area{A_0} to shrink to A0e2\tfrac{\Area{A_0}}{e^2}. (b) Explain physically how this shrinking area in the block's 2D phase plane is reconciled with Liouville's theorem when the surrounding air molecules are included.

Use 1AdAdt=∇⋅v\frac{1}{\Area{A}}\frac{d\Area{A}}{dt} = \Rate{\nabla \cdot \mathbf{v}} to find A(t)=A0e(∇⋅v)t\Area{A(t)} = \Area{A_0} e^{(\Rate{\nabla \cdot \mathbf{v}})t}, then solve for tt when the exponent equals −2-2.

(a) The divergence of the phase space velocity field is:
∇⋅v=∂q˙∂q+∂p˙∂p=∂∂q ⁣(pm)+∂∂p ⁣(−kq−γmp)=0−γm=−0.050 kg/s0.25 kg=−0.20 s−1\displaystyle \begin{aligned}\Rate{\nabla \cdot \mathbf{v}} &= \Rate{\frac{\partial \dot{q}}{\partial q}} + \Rate{\frac{\partial \dot{p}}{\partial p}} \\ &= \frac{\partial}{\partial q}\!\left(\frac{\Mom{p}}{m}\right) \\ &\quad + \frac{\partial}{\partial p}\!\left(-k\Where{q} - \frac{\gamma}{m}\Mom{p}\right) \\ &= 0 - \frac{\gamma}{m} \\ &= -\frac{0.050\text{ kg/s}}{0.25\text{ kg}} = -0.20\text{ s}^{-1}\end{aligned}
Since 1AdAdt=−0.20 s−1\frac{1}{\Area{A}}\frac{d\Area{A}}{dt} = -0.20\text{ s}^{-1}, the phase space area shrinks exponentially as A(t)=A0e−0.20t\Area{A(t)} = \Area{A_0} e^{-0.20 t}. Setting A(t)=A0e−2\Area{A(t)} = \Area{A_0} e^{-2} gives:
0.20 t\displaystyle 0.20\,t =2  ⟹  t\displaystyle = 2 \implies t =20.20 s−1\displaystyle = \frac{2}{0.20\text{ s}^{-1}} =10 s\displaystyle = 10\text{ s}
(Watch out: Stopping at a single time constant t=mγ=5.0 st = \frac{m}{\gamma} = 5.0\text{ s} only shrinks the area to A0e\tfrac{\Area{A_0}}{e}; reaching A0e2\tfrac{\Area{A_0}}{e^2} takes two time constants, t=10 st = 10\text{ s}.)
(b) The 2D plane only tracks the block's two coordinates and treats energy loss to the air as a non-Hamiltonian drag force. In the full (6N+2)(6N + 2)-dimensional phase space of the block plus all NN air molecules in the room, the microscopic collisions are conservative and Hamiltonian, so the total (6N+2)(6N + 2)-dimensional volume never shrinks at all: it squeezes down along the block's two axes while stretching out across the 6N6N position and momentum axes of the heated air molecules.
8

A particle beam traveling down an accelerator pipe has a transverse width Δqi=2.0 mm\Where{\Delta q_i} = 2.0\text{ mm} and a transverse momentum spread Δpi=3.0×10−27 kg⋅m/s\Mom{\Delta p_i} = 3.0 \times 10^{-27}\text{ kg}\cdot\text{m/s}. (a) If a conservative magnetic lens focuses the beam down to a target spot of width Δqf=5.0 μm\Where{\Delta q_f} = 5.0\text{ }\mu\text{m}, what is the minimum transverse momentum spread Δpf\Mom{\Delta p_f} at the focus? (b) If instead you want a tightly collimated beam whose transverse momentum spread is reduced to Δpc=6.0×10−29 kg⋅m/s\Mom{\Delta p_c} = 6.0 \times 10^{-29}\text{ kg}\cdot\text{m/s}, how wide must the beam be expanded?

Because magnetic lenses are Hamiltonian, the transverse phase space area Δq Δp\Where{\Delta q} \, \Mom{\Delta p} stays constant.

(a) By Liouville's theorem, Δqf Δpf\Where{\Delta q_f} \, \Mom{\Delta p_f} == Δqi Δpi\Where{\Delta q_i} \, \Mom{\Delta p_i}. Squeezing the width from Δqi=2.0×10−3 m\Where{\Delta q_i} = 2.0 \times 10^{-3}\text{ m} to Δqf=5.0×10−6 m\Where{\Delta q_f} = 5.0 \times 10^{-6}\text{ m} narrows the beam by a factor of 2.0×10−3 m5.0×10−6 m=400\frac{2.0 \times 10^{-3}\text{ m}}{5.0 \times 10^{-6}\text{ m}} = 400, which forces the transverse momentum spread to grow by a factor of 400400:
Δpf=(ΔqiΔqf)Δpi=400(3.0×10−27 kg⋅m/s)=1.2×10−24 kg⋅m/s\displaystyle \begin{aligned}\Mom{\Delta p_f} &= \left(\frac{\Where{\Delta q_i}}{\Where{\Delta q_f}}\right) \Mom{\Delta p_i} \\ &= 400(3.0 \times 10^{-27}\text{ kg}\cdot\text{m/s}) \\ &= 1.2 \times 10^{-24}\text{ kg}\cdot\text{m/s}\end{aligned}
(Watch out: Don't multiply Δpi\Mom{\Delta p_i} by ΔqfΔqi\frac{\Where{\Delta q_f}}{\Where{\Delta q_i}} == 1400\frac{1}{400} to get 7.5×10−30 kg⋅m/s7.5 \times 10^{-30}\text{ kg}\cdot\text{m/s}. Squeezing position Δq\Where{\Delta q} always expands momentum Δp\Mom{\Delta p}.)
(b) Reducing the transverse momentum spread from 3.0×10−27 kg⋅m/s3.0 \times 10^{-27}\text{ kg}\cdot\text{m/s} to 6.0×10−29 kg⋅m/s6.0 \times 10^{-29}\text{ kg}\cdot\text{m/s} (a factor of 5050) requires expanding the physical width of the beam by a factor of 5050:
Δqc=(ΔpiΔpc)Δqi=50(2.0 mm)=100 mm=0.10 m\displaystyle \begin{aligned}\Where{\Delta q_c} &= \left(\frac{\Mom{\Delta p_i}}{\Mom{\Delta p_c}}\right) \Where{\Delta q_i} = 50(2.0\text{ mm}) \\ &= 100\text{ mm} = 0.10\text{ m}\end{aligned}
9

For a harmonic oscillator with H(q,p)H(\Where{q}, \Mom{p}) == p22m+12kq2\frac{\Mom{p}^2}{2m} + \frac{1}{2}k\Where{q}^2, consider two candidate probability density clouds at t=0t = 0:

ρA(q,p)=CAexp⁡(−αp2),ρB(q,p)=CBexp⁡ ⁣(−β[p22m+12kq2])\displaystyle \begin{aligned}&\Dens{\rho_A}(\Where{q}, \Mom{p}) \\ &\quad = C_A \exp(-\alpha \Mom{p}^2), \\[6pt] &\Dens{\rho_B}(\Where{q}, \Mom{p}) \\ &\quad = C_B \exp\!\Bigl(-\beta\Bigl[\frac{\Mom{p}^2}{2m} \\ &\qquad\qquad + \frac{1}{2}k\Where{q}^2\Bigr]\Bigr)\end{aligned}

where CA,CB,αC_A, C_B, \alpha, and β\beta are positive constants. (a) Use the Liouville equation ∂ρ∂t+{ρ,H}=0\frac{\partial \Dens{\rho}}{\partial t} + \{\Dens{\rho}, H\} = 0 to compute ∂ρ∂t\frac{\partial \Dens{\rho}}{\partial t} at t=0t = 0 for each distribution and identify which one is a stationary state. (b) Since the fine-grained density moving along any Hamiltonian trajectory obeys dρdt=0\frac{d\Dens{\rho}}{dt} = 0, explain why a localized drop of states in a chaotic flow still appears to spread out until it fills the available space like cream stirred into coffee.

Compute the Poisson bracket {ρ,H}\{\Dens{\rho}, H\} == ∂ρ∂q∂H∂p−∂ρ∂p∂H∂q\frac{\partial \Dens{\rho}}{\partial q}\Grad{\frac{\partial H}{\partial p}} - \frac{\partial \Dens{\rho}}{\partial p}\Grad{\frac{\partial H}{\partial q}} using ∂H∂p=pm\Grad{\frac{\partial H}{\partial p}} = \frac{\Mom{p}}{m} and ∂H∂q=kq\Grad{\frac{\partial H}{\partial q}} = k\Where{q}.

(a) From the Liouville equation, ∂ρ∂t\frac{\partial \Dens{\rho}}{\partial t} == −(∂ρ∂q∂H∂p−∂ρ∂p∂H∂q)-\left(\frac{\partial \Dens{\rho}}{\partial q}\Grad{\frac{\partial H}{\partial p}} - \frac{\partial \Dens{\rho}}{\partial p}\Grad{\frac{\partial H}{\partial q}}\right) with ∂H∂p=pm\Grad{\frac{\partial H}{\partial p}} = \frac{\Mom{p}}{m} and ∂H∂q=kq\Grad{\frac{\partial H}{\partial q}} = k\Where{q}.
For ρA(q,p)\Dens{\rho_A}(\Where{q}, \Mom{p}) == CAexp⁡(−αp2)C_A \exp(-\alpha \Mom{p}^2), we have ∂ρA∂q=0\frac{\partial \Dens{\rho_A}}{\partial q} = 0 and ∂ρA∂p=−2αpρA\frac{\partial \Dens{\rho_A}}{\partial p} = -2\alpha \Mom{p} \Dens{\rho_A}, so:
∂ρA∂t=−(0⋅pm−(−2αpρA)(kq))=−2αkqpρA≠0\displaystyle \begin{aligned}\frac{\partial \Dens{\rho_A}}{\partial t} &= -\Big(0 \cdot \frac{\Mom{p}}{m} - (-2\alpha \Mom{p} \Dens{\rho_A})(k\Where{q})\Big) \\ &= -2\alpha k \Where{q} \Mom{p} \Dens{\rho_A} \neq 0\end{aligned}
(Watch out: Don't assume ρA\Dens{\rho_A} is stationary just because p\Mom{p} has no explicit tt in it. The spring force p˙=−kq\Vel{\dot{p}} = -k\Where{q} changes each particle's momentum as the cloud rotates clockwise in phase space.)
For ρB(q,p)\Dens{\rho_B}(\Where{q}, \Mom{p}) == CBexp⁡(−βH)C_B \exp(-\beta H), we have ∂ρB∂q=−βkqρB\frac{\partial \Dens{\rho_B}}{\partial q} = -\beta k\Where{q} \Dens{\rho_B} and ∂ρB∂p=−βpmρB\frac{\partial \Dens{\rho_B}}{\partial p} = -\beta \frac{\Mom{p}}{m} \Dens{\rho_B}, so the Poisson bracket cancels identically:
{ρB,H}=(−βkqρB)(pm)−(−βpmρB)(kq)=0  ⟹  ∂ρB∂t=0\displaystyle \begin{aligned}\{\Dens{\rho_B}, H\} &= (-\beta k\Where{q} \Dens{\rho_B})\left(\frac{\Mom{p}}{m}\right) \\ &\quad - \left(-\beta \frac{\Mom{p}}{m}\Dens{\rho_B}\right)(k\Where{q}) \\ &= 0 \implies \frac{\partial \Dens{\rho_B}}{\partial t} = 0\end{aligned}
Thus ρB\Dens{\rho_B} is a stationary state because it is a function of HH alone, giving equal density along each constant-energy contour so that states flowing along a contour continually replace one another with identical density.
(b) In a chaotic flow, the exact phase space area and the fine-grained density along every moving trajectory remain strictly conserved (dρdt=0\frac{d\Dens{\rho}}{dt} = 0), but the flow stretches and folds the initial patch into a long, thin filament that winds throughout the phase space. Because any real measurement has finite resolution, it averages over thin filaments and empty gaps together, blurring the fine thread into a uniform coarse-grained distribution that appears to fill the whole region.