What does the model describe?
Hamilton’s equations evolve coordinates and canonical momenta in phase space. Each second-order motion equation becomes a pair of first-order equations for q and p.[1]
Hamilton’s equations evolve coordinates and canonical momenta in phase space. Each second-order motion equation becomes a pair of first-order equations for q and p.
Canonical momentum is derived from L and need not equal mv. A Legendre transform replaces velocities with momenta, requiring p(q, q̇, t) to be locally invertible.[1]
Assumptions, quantities and limits
For a particle with T=p2/(2 m) and time-independent potential, H=T+V is conserved. With explicit time dependence, dH/dt=∂H/∂t along solutions, so conservation cannot be assumed.[1]
- coordinate (m)
- canonical momentum (kg m/s)
- Hamiltonian (J)
Reasoning step by step
For a particle with T=p2/(2 m) and time-independent potential, H=T+V is conserved. With explicit time dependence, dH/dt=∂H/∂t along solutions, so conservation cannot be assumed.[1]
For a harmonic oscillator p=mq̇. Substituting q̇=p/m gives H=p2/(2 m)+kq2/2. Differentiation gives q̇=p/m and ṗ=−kq, recovering m d2q/dt2+kq=0.[1]
Constant energy produces an ellipse in an oscillator’s q-p diagram. Its axis ratio depends on units and m, k. A circular picture is valid only after appropriate normalization.[1]
Canonical momentum is derived from L and need not equal mv. A Legendre transform replaces velocities with momenta, requiring p(q, q̇, t) to be locally invertible.[1]
Cyclic coordinates and conserved momenta
A coordinate is called cyclic if it does not appear in the Lagrangian and therefore not in the Hamiltonian either. The second Hamilton equation then gives a conserved quantity at once: the corresponding canonical momentum does not change in time. The missing coordinate expresses a symmetry, and by Noether's theorem this conserved quantity belongs to it.[1]
If is absent from H, the canonical momentum stays constant along every solution.[1]
Examples: for a free particle with H=p2/(2 m), q is absent, so p is conserved. If a system is symmetric under rotation about an axis and the rotation angle φ is chosen as a coordinate, φ is cyclic and is the component of angular momentum along that axis. For a charge e in potentials that do not depend on x, the canonical momentum is conserved, not the kinetic momentum .[1]
Two fully worked examples
Oscillator phase-space point
- Given
- m=2 kg, k=8 N/m, q=0.5 m, p=2 kg m/s.
- Find
- Find energy and rates.
Evaluate the Hamiltonian.
Take partial derivatives.
Result: H=2 J, q̇=1 m/s, ṗ=−4 N.
Check: dH/dt=(kq)q̇+(p/m)ṗ=4−4=0.
Free particle
- Given
- H=p2/(2 m), m>0.
- Find
- Find motion with q(0)=q0, p(0)=p0.
Check q dependence.
Integrate using constant momentum.
Result: Uniform straight-line motion.
Check: m d2q/dt2=0 agrees with Newton.
Recall the method later with the formula’s flashcards.
10 flashcards · English materials
Already have an account? Sign in for flashcardsAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Five exercises with solutions and learning goals
Calculate · Foundation
m=4, p=8: q̇?
Show hint
Use ∂H/∂p.
Learning goal: Check physical assumptions and calculation steps together.
Show solution and calculation
q̇=p/m=2 m/s.
Rearrange · Foundation
k=10, q=−0.2: ṗ?
Show hint
Keep the sign.
Learning goal: Check physical assumptions and calculation steps together.
Show solution and calculation
ṗ=−kq=+2 N.
Interpret · Application
When is H conserved?
Show hint
Evaluate the total derivative.
Learning goal: Check physical assumptions and calculation steps together.
Show solution and calculation
When ∂H/∂t=0 and Hamilton’s equations hold.
Error analysis · Application
Does every canonical momentum equal mv?
Show hint
Use the definition, not a special case.
Learning goal: Check physical assumptions and calculation steps together.
Show solution and calculation
No.
Coordinate choice and velocity-dependent couplings may change the relation; the definition is p=∂L/∂q̇.
Transfer · Challenge
What is the normalized energy curve H=E for an oscillator?
Show hint
Divide by E.
Learning goal: Check physical assumptions and calculation steps together.
Show solution and calculation
q2/(2E/k)+p2/(2mE)=1, an ellipse.
Check your understanding with the formula’s reference test.
8 test questions · English materials
Already have an account? Sign in for the testAvailable from Essential. A ready-made formula set, no AI credits required. Article exercises are not all included.
Connections and further study
Continue with Momentum, Kinetic Energy, First-order linear differential equation.
Sources for this explanation
Quanta · Updated November 6, 2026
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Authored the DE/EN model with assumptions, original examples, five solved exercises and subject links.
Cite this reference page
Quanta. Hamiltonian mechanics and canonical momentum. Updated November 6, 2026. https://quanta-study.de/en/formula-sheet/hamilton-formalismus
When citing a specific scientific statement, also cite the specialist source linked to that statement.