University Physics — Year 3 · Bachelor Year 3
2Hamiltonian Mechanics
Photograph a pendulum a thousand times and plot, for each shot, its angle against its angular momentum: the points fall on a closed curve, and every possible motion of the pendulum is one such curve — small swings on nested ovals, full turns on wavy lines above and below, and between them a single crossed curve separating the two regimes. This picture, the phase portrait, is the heart of the reformulation Hamilton gave to mechanics in 1833: the state of a system is a point in the space of coordinates and momenta, its evolution is a flow in that space, and the flow is generated by a single function, the energy, through two beautifully symmetric first-order equations. The reward is not easier calculations — Lagrange usually wins there — but the right geometry: the flow conserves phase-space volume, which will found statistical physics; and its algebraic skeleton, the Poisson bracket, is precisely what quantum mechanics will promote into the commutator. This chapter is the hinge between the mechanics of things and the physics of the twentieth century.
2.1 From Lagrange to Hamilton
Definition 2.1 (Hamiltonian and canonical equations)
For a system with Lagrangian , express the velocities in terms of the momenta and define the Hamiltonian as the Legendre transform
a function of the coordinates and the momenta. The -dimensional space of the is the phase space; one point of it — one state — determines the entire future and past of the system through the canonical equations of Theorem 2.2.
Theorem 2.2 (Hamilton’s equations)
The Euler–Lagrange equations are equivalent to the first-order equations
Proof. Differentiate as a function of : . The terms cancel by the definition of — the whole point of the Legendre transform — leaving . Reading off the partial derivatives: and , which by Euler–Lagrange is . (Also .) ∎
Proposition 2.3 (What is)
coincides with the energy function of the previous chapter: along a motion, , so is conserved whenever it has no explicit time dependence; and when the kinetic energy is quadratic in the velocities with time-independent constraints, , the mechanical energy — now written in the variables .
Proof. : the symmetry of the canonical equations makes the sum cancel identically. The identification with is Proposition 1.14. ∎
Example 2.4 (Two Hamiltonians)
Mass on a spring: , so
the canonical equations , are the familiar pair. Pendulum: and
In both cases is the energy, constant on each motion: the motions are the level curves of in the plane.
Method 2.5 (The Hamiltonian recipe)
(1) From , compute the momenta and invert for the . (2) , expressed in only — for a natural system, simply with rewritten in the momenta. (3) Write the canonical equations. (4) Draw the level curves of : for one degree of freedom they are the trajectories, and the whole qualitative motion — oscillations, rotations, equilibria, separatrices — is read off without solving anything.
2.2 Phase space
Definition 2.6 (Phase portrait, fixed points, separatrix)
The phase portrait of a system is the family of its trajectories in phase space. A fixed point is a state where both canonical equations vanish — an equilibrium: a minimum of the potential appears as a centre surrounded by closed curves, a maximum as a saddle through which passes a separatrix, the trajectory that divides phase space into regions of qualitatively different motion.
Example 2.7 (The pendulum’s phase portrait)
For : closed ovals around — librations, the ordinary swings; wavy curves at large — rotations, the pendulum turning over the top; and through the saddles at the separatrix, of energy , on which the pendulum takes an infinite time to reach the top. A state on the separatrix is the swing launched exactly hard enough to arrive at the inverted position with nothing to spare.
Theorem 2.8 (Liouville’s theorem)
The Hamiltonian flow preserves phase-space volume: if a region of initial states is carried along by the canonical equations, its volume (its area, for one degree of freedom) never changes — whatever its shape becomes.
Proof. The flow in phase space has velocity field . Its divergence is
the flow is incompressible, and an incompressible flow transports volumes unchanged, as for the fluids of the Year 2 volume. (The formal step from zero divergence to conserved volume is the transport theorem proved there.) ∎
Remark 2.9 (Why Liouville matters)
Nothing in Newton’s formulation suggests that anything is incompressible. In the Hamiltonian picture it is automatic — and it is the licence for statistical physics: when we describe a gas of molecules by a cloud of points in phase space, Liouville’s theorem says the cloud flows like an incompressible fluid, so “number of states in a phase-space volume” is a quantity dynamics itself cannot create or destroy. The microcanonical postulate of statistical physics, later in this volume, stands on exactly this.
2.3 Poisson brackets
Definition 2.10 (Poisson bracket)
The Poisson bracket of two functions and on phase space is
It is antisymmetric, linear in each argument, obeys the product rule , and satisfies for the coordinates themselves the canonical relations
Theorem 2.11 (Evolution as a bracket)
Along any motion,
In particular a quantity without explicit time dependence is conserved if and only if its bracket with the Hamiltonian vanishes; and the canonical equations themselves are , : the Hamiltonian generates time evolution.
Proof. Chain rule plus the canonical equations: . ∎
Example 2.12 (Brackets of angular momentum)
For one particle, and its cyclic companions. A direct computation from the canonical relations gives
and : the components of angular momentum do not “commute” with each other, but each commutes with the total square. Remember the shape of these relations — they will return, verbatim, as commutators in quantum mechanics, where they dictate everything about atomic structure.
Remark 2.13 (The doorway to quantum mechanics)
Dirac observed in 1925 that the whole of quantum mechanics is obtained by keeping the algebra of Hamiltonian mechanics and replacing the Poisson bracket by the commutator of operators divided by : becomes , conservation is still “bracket with vanishes”, and time evolution is still generated by the Hamiltonian. The classical theory carries, in its bones, the skeleton of the quantum one; the chapters on quantum mechanics will make this correspondence explicit.
2.4 Action and adiabatic invariants
Definition 2.14 (Action variable)
For a one-degree-of-freedom system oscillating on a closed phase trajectory, the action variable is the enclosed area divided by :
Proposition 2.15 (Action of the harmonic oscillator)
For at energy , the trajectory is an ellipse of semi-axes and , enclosing the area : hence
and the oscillation frequency is , as it should be.
Proof. Area of an ellipse, . ∎
Proposition 2.16 (Adiabatic invariance)
If a parameter of the system (a length, a stiffness, a field) is varied slowly — over many oscillation periods — the energy changes, the frequency changes, but the action stays constant to an excellent approximation: is an adiabatic invariant. For the slowly modified oscillator, is thus conserved: stiffen the spring slowly to double and the energy doubles with it.
Partial proof. For the oscillator with slowly varying : over one period the work done by the changing parameter can be computed by averaging; the calculation (guided in Exercise 2.11) gives , i.e. at leading order. The general statement, for any slowly deformed oscillating system, is admitted — it is the reason planetary orbits survive slow perturbations, and the starting point of the “old quantum theory” below. ∎
Remark 2.17 (The old quantum theory)
Why do atoms have discrete energies? The first quantitative answer (Bohr 1913, Sommerfeld 1915) was written in the language of this chapter: among all classical motions, nature keeps those whose action integral is a whole number of Planck’s constants,
Applied to the harmonic oscillator this gives (missing only the half of the true ); applied to a particle in a box it gives exactly the levels of the Year 2 volume; applied to the hydrogen atom (Problem 2.1) it gives the measured spectrum to four figures. The rule was quantitatively right and conceptually provisional — and because action is an adiabatic invariant, the quantum number does not change under slow perturbations, which is why such a rule could work at all. The true theory begins five chapters from here.
2.5 Exercises
Exercise 2.1 ★
For the mass on a spring: (a) construct from and check ; (b) write the canonical equations and verify they reproduce ; (c) show the trajectories are ellipses in the plane and give their semi-axes at energy ; (d) in what sense does the representative point move clockwise?
Solution
Solution of Exercise 2.1.
(a) , . (b) , , hence . (c) is the ellipse : semi-axes and . (d) At the rightmost point (, ), : the point moves downward — clockwise, always.
Exercise 2.2 ★
The bead on the rotating hoop of the previous chapter has . (a) Compute and . (b) Is conserved? Is it the mechanical energy? (c) Sketch the level curves of for and , using the effective potential of that chapter. (d) Identify the centres, the saddles and the separatrices in the fast case.
Solution
Solution of Exercise 2.2.
(a) ; . (b) Conserved ( has no explicit ), but it is , not the mechanical energy: the motor’s work is missing from it. (c) The level curves are : for slow rotation, ovals around and a separatrix through the saddle at ; for fast rotation, two families of ovals around . (d) Fast case: centres at ; saddles at and ; through passes a figure-of-eight separatrix enclosing the two centres (small oscillations hop the bottom), and through the outer separatrix beyond which the bead circulates over the top.
Exercise 2.3 ★
A ball bounces elastically on the floor, (). (a) Draw the phase trajectory for one flight and the whole bouncing motion. (b) What does the elastic bounce do to the representative point? (c) Compute the enclosed area for maximum height , and the action . (d) The Bohr–Sommerfeld rule applied to a bouncing neutron () gives quantized bounce heights: estimate the lowest, and compare with the measured in the gravitational quantum-states experiment of 2002.
Solution
Solution of Exercise 2.3.
(a) One flight is the arc — a parabola lying on its side, traversed from up to and back down to . (b) The bounce maps to : a vertical segment closing the loop. (c) , and is that over . (d) : for a neutron, — the right order: the Grenoble experiment found the lowest gravitational quantum state near (the exact treatment, with the true wave functions, gives ).
Exercise 2.4 ★
From the canonical relations alone, compute (a) ; (b) for , and interpret the two terms (this bracket drives the virial theorem); (c) and ; (d) show that if and then is also conserved (use the Jacobi identity, admitted: ).
Solution
Solution of Exercise 2.4.
(a) . (b) : on a bound motion the time average of vanishes, so — the virial theorem (for : ; for : ). (c) , : generates rotations of both positions and momenta. (d) Jacobi with : .
Exercise 2.5 ★★
The pendulum near its separatrix. (a) Give the separatrix energy and the maximum on it. (b) Show that on the separatrix with . (c) Using , show the time to go from to the top diverges logarithmically. (d) A real pendulum released just below the separatrix hangs near the inverted position for a long moment before swinging back — relate this to (c), and to the slowing down seen near every saddle.
Solution
Solution of Exercise 2.5.
(a) (the energy of the inverted rest position); maximum at the bottom. (b) From . (c) separates: , which diverges as : the top is approached but never reached. (d) Just below the separatrix the motion shadows it: the pendulum creeps into the neighbourhood of the saddle, lingers — the logarithm — and finally falls back; every saddle point slows trajectories logarithmically, which is why a stick balanced not quite perfectly seems to hesitate before falling.
Exercise 2.6 ★★
A charged particle in a magnetic field has with the canonical momentum of the previous chapter. (a) Write the canonical equations for and check they give the cyclotron motion. (b) Show : the magnetic field does no work. (c) Compute the bracket of the two conserved quantities and (check first that each is conserved), and show : two conserved quantities whose bracket is a constant. (d) Use Exercise 2.4(d) to explain why no third independent conserved quantity was to be expected from them.
Solution
Solution of Exercise 2.6.
(a) and , etc.; eliminating reproduces , . (b) : kinetic energy only — constant, since the magnetic force is perpendicular to . (c) With : , whose conservation is the first equation of motion (similarly ); in the bracket only two terms survive: and , total . ( and are, up to signs, the coordinates of the guiding centre of the circle.) (d) By Exercise 2.4(d) the bracket of two conserved quantities is conserved — here it is the constant , which is conserved trivially and teaches nothing new: no third quantity appears.
Exercise 2.7 ★★
Liouville, by hand. (a) For the free particle, the flow is , : show a rectangle becomes a parallelogram of the same area. (b) For the harmonic oscillator, show the flow is a rotation (in suitable units) and conclude. (c) For the damped oscillator , write the flow’s divergence in the plane and show areas shrink as : damping is not Hamiltonian. (d) Where does the lost area “go” physically?
Solution
Solution of Exercise 2.7.
(a) The map is a shear: base and height of the rectangle are unchanged, area too (determinant ). (b) In variables the flow is a rigid rotation at rate ; rotations preserve area, and the change of variables has determinant . (c) The velocity field has divergence : any area contracts as , spiralling onto the origin — impossible for a Hamiltonian flow. (d) Into the ignored degrees of freedom: the air molecules and the wire’s phonons, whose phase-space volume grows by at least as much — the seed of the second law.
Exercise 2.8 ★★
Planar motion in a central potential, . (a) Write the four canonical equations. (b) Show and identify the conservation law. (c) Reduce to a one-dimensional radial Hamiltonian with an effective potential. (d) For , locate the circular orbit at given and give its energy — to be quantized in Problem 2.1.
Solution
Solution of Exercise 2.8.
(a) , , , . (b) does not contain : ; conservation of angular momentum. (c) with . (d) : , and .
Exercise 2.9 ★★
(a) Verify from the canonical relations. (b) Deduce the other two brackets by cyclic permutation. (c) Show . (d) A rigid body rotates freely: taking (sphere-symmetric inertia), show all three are conserved; what about a body with unequal moments of inertia (answer qualitatively from the brackets)?
Solution
Solution of Exercise 2.9.
(a) : the only non-vanishing canonical brackets give . (b) Cyclic relabelling gives the other two. (c) . (d) For , each : fixed. With and unequal : — only and survive, and the body tumbles (the tennis-racket theorem of the Year 2 volume’s rigid-body chapter lives here).
Exercise 2.10 ★★★
Old-quantum levels. (a) Show that applied to the harmonic oscillator gives , using Proposition 2.15. (b) Apply it to the particle in a box of length and recover exactly . (c) For a diatomic molecule modelled as an oscillator of stiffness and reduced mass (carbon monoxide), compute in eV and the wavelength of the emission; in which spectral range does it fall? (d) The true levels are : does the missing half change the emitted wavelengths? What experiment does detect the zero-point half?
Solution
Solution of Exercise 2.10.
(a) gives . (b) Back and forth at constant : , , — exactly the infinite well of the Year 2 volume. (c) , , : mid-infrared (the CO fundamental band, used to trace the gas in space). (d) No: differences of levels are unchanged by the common half. The zero-point energy shows in comparisons that depend on the absolute level — isotope shifts of dissociation energies (H versus D), or vibrations that persist at absolute zero in crystals.
Exercise 2.11 ★★★
Adiabatic invariance of , derived. A mass on a spring whose stiffness grows slowly. (a) Show along the exact motion. (b) Average over one period at fixed : using , show . (c) Conclude , hence constant. (d) A pendulum swinging with amplitude has its string slowly shortened from to : find the new amplitude and the factor by which its energy grew, and say where the energy came from.
Solution
Solution of Exercise 2.11.
(a) , so along a motion . (b) Over one period at essentially fixed , , so . (c) ; since , too: is invariant. (d) grows by , so grows by . With , : . The energy is supplied by whoever pulls the string: the tension exceeds on average (centrifugal term), so hoisting does net positive work on the swing.
Exercise 2.12 ★★★
The area inside the pendulum’s separatrix is a number of quantum states. (a) Show around the separatrix equals . (b) By the Bohr–Sommerfeld rule, the number of quantum states with energies below the separatrix is : evaluate it for a gram mass on a string. (c) Evaluate it for an ammonia-like molecular oscillator: , , . (d) Conclude: where is the border between mechanics that needs and mechanics that does not?
Solution
Solution of Exercise 2.12.
(a) . (b) : , i.e. states: the quantum graininess of a laboratory pendulum is thirty orders of magnitude below anything observable. (c) , i.e. : a molecular libration holds only a few hundred quantum states, and its low levels are individually resolved by spectroscopy. (d) The border is where the phase-space areas of the motion are a modest multiple of : molecules and below are quantum; anything visible is classical.
2.6 Problem: The old quantum theory and the hydrogen atom
Problem 2.1
Weekend problem — quantizing phase space, weighing the Rydberg
In 1913 Bohr computed the spectrum of hydrogen from planetary mechanics plus one quantum rule; Sommerfeld recognised the rule as a statement about phase-space area. This problem rebuilds their calculation with this chapter’s tools. Data: , , , , . Write .
Part I — The Kepler Hamiltonian. An electron moves in the plane around a fixed proton.
- Justify treating the proton as fixed (mass ratio), and write the Hamiltonian .
- Write the four canonical equations.
- Show is conserved and name it.
- Reduce the radial motion to the effective potential and sketch it.
- Locate the circular orbit: .
- Show its energy is , and check that it is half the potential energy (the virial ratio of the Year 1 volume’s gravitational orbits).
Part II — The classical orbit.
- For a circular orbit of radius , find the speed and the orbital frequency as functions of .
- An orbit of atomic size, : compute (and ), , and the energy in eV.
- Compute the angular momentum of that orbit and compare it with : what does the closeness suggest?
- Classically, an orbiting electron is an oscillating dipole and radiates (Year 2 volume) at ; its energy decays in about . State the two fatal predictions this makes for atoms, and what is observed instead.
- Which feature of the observed spectra (discrete lines, combination rule ) suggested discrete energy levels?
- Explain why an adiabatic invariant is the natural candidate for a quantity that takes fixed universal values (recall Proposition 2.16).
Part III — Quantization. Impose Sommerfeld’s rule on the angular motion of the circular orbit: ,
- Show the rule reads .
- Deduce the allowed radii with , and compute .
- Deduce the allowed energies with , and compute in joules and eV.
- Compute the speed on the first orbit and check (the fine-structure constant).
- A photon carries the energy of a transition: derive the Rydberg formula and the value of ; compare with the measured .
- Compute the wavelengths of the transitions , and ; which one is visible, and what colour?
- The ionised helium ion He is hydrogen with nuclear charge : how do and scale, and where does its line fall?
Part IV — Confrontation.
- Compute the orbital frequency and the transition frequency for , , , and show their ratio tends to as grows.
- This is Bohr’s correspondence principle: state it in one sentence.
- The rule starts at : what absurdity would mean for a circular orbit?
- Quantum mechanics will keep exactly, yet discard the orbits: name two measurable facts the orbit picture gets wrong (size of the ground state’s angular momentum; existence of states with the same and different shapes).
- The muon is an electron times heavier: for muonic hydrogen, compute and , and explain why muonic atoms probe the nucleus.
- Summarise the named result: one adiabatic invariant, set equal to whole numbers of , yields , and the hydrogen spectrum to four figures — and hands the true theory its two central constants.
Solution
Solution of Problem 2.1.
1. : the proton moves 1836 times less; as stated, in the plane of the orbit. 2. , , , . 3. absent from : , the angular momentum, is conserved. 4. : repulsive wall at small , Coulomb tail at large , one minimum between. 5. at . 6. ; : the virial ratio of any circular orbit. 7. : , . 8. : (), , . 9. : an atomic orbit carries an angular momentum of order — Planck’s constant is built into atomic sizes. 10. Every atom should collapse in , its light sweeping continuously to shorter wavelengths. Observed: atoms are eternal and emit sharp, fixed lines. 11. writes every observed frequency as a difference of terms: energy is exchanged between fixed levels . 12. A quantity locked to universal values must not drift when the atom is gently perturbed (fields, collisions, slow changes); an adiabatic invariant is precisely what stays fixed under slow perturbation — so quantize the action. 13. is constant on the orbit: , i.e. . 14. , . 15. , . 16. ; : the fine-structure constant , measuring how non-relativistic the atom is. 17. gives : , matching the measured to the accuracy of our constants. 18. : (far ultraviolet, Lyman ); : , the visible red line that colours emission nebulae; : , the near-ultraviolet edge of the Balmer series. 19. : radii shrink by , ; the line falls at , in the extreme ultraviolet. 20. ; . Ratio : at , at , at . 21. In the limit of large quantum numbers, quantum predictions must merge into the classical ones — here, the radiated frequency into the orbital frequency. 22. means : a “circular orbit” of zero radius, the electron on the proton — no such motion exists. 23. Measured hydrogen has a ground state with zero angular momentum (not ), and several distinct states sharing the same (the , , shapes of chemistry) — both impossible for a single circular orbit. 24. : ; (X-rays). The muon orbits two hundred times closer — partly inside the nuclear charge for heavy elements — so its levels measure nuclear radii (and sharpened the modern puzzle of the proton’s size). 25. One adiabatic invariant set to delivers , , — numbers the full quantum theory of Chapter 11 will keep unchanged, while replacing the orbits that produced them.