Hamiltonian formalism and conservation laws
Why this is asked: H = Σpq̇ − L expressed in (q, p). Poisson brackets test canonicity: {Qᵢ, Pⱼ} = δᵢⱼ, {Qᵢ, Qⱼ} = {Pᵢ, Pⱼ} = 0.
In one sentence
The Legendre transform replaces second-order equations with first-order ones on phase space, where the flow preserves volume — and equals the energy only under conditions that must be checked rather than assumed.
Why the exam asks it
Because "" and " is conserved" are two different statements with two different hypotheses, and options treat them as one. Phase-space questions are also concrete: draw the level curves and read off the motion.
The idea
Define the conjugate momenta , invert for , and set
Then Hamilton's equations:
first-order equations, symmetric in and , on phase space. That symmetry is what makes the geometric results possible.
The two conditions, kept apart
requires the constraints to be time-independent (so is quadratic in the velocities) and to be velocity-independent. Both can fail: a bead on a rotating wire has time-dependent constraints and , and a charged particle in a magnetic field has a velocity-dependent potential.
is conserved requires , and nothing else.
These are independent. can be conserved without being the energy, and can be the energy without being conserved. Any option asserting one from the other is wrong, and this is the topic's central distinction.
Poisson brackets
The fundamental ones are , . Then
so a quantity with no explicit time dependence is conserved exactly when it commutes with under the bracket. Hamilton's equations are the special cases and .
A transformation is canonical when it preserves the fundamental brackets — equivalently when its Jacobian is symplectic. That is the precise sense in which and are interchangeable.
Liouville's theorem
The Hamiltonian flow preserves phase-space volume. For the harmonic oscillator, and the flow is a rotation, whose determinant is — the volume element is carried around unchanged, deformed but never compressed.
This is why Hamiltonian systems have no attractors: a damped oscillator's spiral into the origin shrinks phase-space volume, so it cannot be Hamiltonian. Dissipation and Hamiltonian structure are incompatible, and recognising that answers several questions directly.
Phase portraits
For one degree of freedom, is a curve, and the motion follows it. The pendulum with has
- : closed curves — libration, the pendulum swings between turning points.
- : the separatrix, reaching the inverted position with exactly zero speed, taking infinite time to get there.
- : open curves — rotation, the pendulum goes over the top.
The separatrix passes through the unstable equilibrium at , which is the saddle from the stability chapter, and the centre at is the stable equilibrium. Reading a phase portrait is reading the level sets of .
Where intuition breaks
"." Only with time-independent constraints and a velocity-independent potential. A bead on a rotating wire breaks it.
" is conserved because it is the energy." Conservation needs . The two conditions are separate and either can hold without the other.
"Hamilton's equations are just Newton's laws rewritten." They are equivalent in content and different in structure — first order, symmetric, and on a space where volume is conserved. The structure is what gives Liouville and canonical transformations.
"A damped oscillator has a Hamiltonian." Not a standard one: the spiral shrinks phase-space volume, contradicting Liouville.
"Canonical transformations are any change of variables." Only those preserving the Poisson brackets. An arbitrary change of and is not canonical.
"On the separatrix the pendulum reaches the top and stops." It approaches the top asymptotically, taking infinite time. The separatrix is not a periodic orbit.
" means is constant." Means is conserved if it has no explicit time dependence. The full statement carries .
The exam's angle
- Get from , then , and express in terms of and — not . Leaving a velocity in is the standard slip.
- Check the two conditions separately when asked whether is the energy and whether it is conserved.
- For conservation, compute a Poisson bracket with .
- For one degree of freedom, sketch . Closed means oscillation, open means unbounded motion, and the separatrix divides them.
- Use Liouville to rule things out — anything with an attractor or dissipation is not Hamiltonian.
The night before
- ; , expressed in and .
- , : first-order equations.
- needs time-independent constraints and velocity-independent . conserved needs . Two separate conditions.
- ; .
- Canonical preserves the brackets symplectic Jacobian.
- Liouville: phase-space volume is preserved, so no attractors and no dissipation.
- Pendulum: . libration, separatrix through the unstable equilibrium, rotation.
See it move
The trap here
“The Hamiltonian always equals the total energy” — false
A bead on a wire rotating at forced angular velocity
The constraint is time-dependent, so H is conserved but differs from T + V.
More in Classical Mechanics
Take it further
- The mistake this prevents: hypothesis dropped → real wrong options, and why each one tempts
- The mistake this prevents: standard counterexample → real wrong options, and why each one tempts
- Previous-year questions set on this — every option and the answer, free:December 2025 · Part CJune 2025 · Part CDecember 2023 · Part C
Last revised . Found a mistake? Tell us — corrections are the fastest thing we act on.
Next: Axioms, conditional probability, independence, Bayes
Create a free account to keep your place and have this feed your study plan.
Open this in the full syllabus view · Unit 3