The Hamiltonian and Hamilton's Canonical Equations
Lagrangian mechanics describes a system by second-order equations for the coordinates . The Hamiltonian formulation, introduced by William Rowan Hamilton in 1834, trades these for first-order equations in the coordinates and their conjugate momenta . Nothing new is added to the physics; what changes is the arena. Instead of a trajectory in -dimensional configuration space, the motion becomes a flow of a point through -dimensional phase space, governed by a single scalar function .
The reformulation is worth the effort for three reasons. First, first-order equations have a cleaner geometric structure — the flow is generated by through a fixed antisymmetric bracket, and this symplectic structure is the key to canonical transformations (Chapter 6), Hamilton–Jacobi theory (Chapter 7), perturbation theory, and the transition to quantum mechanics and statistical mechanics. Second, conserved quantities and symmetries sit on an equal footing: conserved when is cyclic, conserved when , and (Chapter 6) every conserved quantity generates a symmetry. Third, phase-space volume is preserved by the flow (Liouville's theorem), the foundation of statistical mechanics in Chapters 13–15.
How to read this chapter. The machinery is a single device — the Legendre transformation — applied to to swap for . Learn the recipe in Section 3 and the canonical equations in Section 4; everything else is consequence or example. When you compute , always finish by eliminating every in favour of : a Hamiltonian with a stray velocity in it is not yet a Hamiltonian.
1. Phase Space and the First-Order Idea
A Lagrangian equation of motion, , is second order because depends on the velocities and its time derivative brings in accelerations. Any second-order system can be written as a first-order one by treating the velocities as independent variables; the Hamiltonian formulation does this in a particular, structure-preserving way, using the canonical momenta
as the new variables rather than the velocities themselves. The state of the system is then a point in phase space, and the dynamics is a vector field on that space: through each point passes exactly one trajectory, so phase-space paths never cross.