Hamiltonian Mechanics Review
Hamiltonian mechanics describes classical dynamics as motion on phase space. Instead of using positions and velocities , it uses canonical coordinates and momenta and a Hamiltonian function .
For degrees of freedom, Hamilton’s equations are
This page reviews the mechanics needed for quantum mechanics: phase space, Hamiltonian flow, the Legendre transform from Lagrangian mechanics, energy conservation, and the analogy with quantum Hamiltonians as generators of time evolution.
Why Quantum Mechanics Needs This
Section titled “Why Quantum Mechanics Needs This”Hamiltonian mechanics is the classical language closest to operator quantum mechanics. It supplies:
- canonical variables and , the ancestors of position and momentum operators;
- phase-space motion, the classical comparison point for wave packets and semiclassical dynamics;
- Hamiltonians as generators of time evolution;
- Poisson-bracket formulas that preview quantum commutators;
- the starting point for canonical quantization and many path-integral constructions.
The quantum Hamiltonian is not merely the classical energy function with hats added. Quantization can introduce domain questions, ordering ambiguities, spectra, and Hilbert-space structure. Still, Hamiltonian mechanics provides the organizing bridge.
Phase Space
Section titled “Phase Space”For a system with generalized coordinates , phase space has coordinates
It is -dimensional. A classical state at a time is a point in phase space. A classical trajectory is a curve
This is different from quantum Hilbert space. A wavefunction is not a probability distribution over phase space, and a Hilbert-space ray is not a phase-space point. Semiclassical methods compare the two structures, but they do not identify them.
For a one-dimensional particle, the phase-space coordinates are simply . For a particle in polar coordinates, they might be , where is angular momentum.
From Lagrangian to Hamiltonian
Section titled “From Lagrangian to Hamiltonian”Start with a Lagrangian
The canonical momenta are
If these equations can be solved for the velocities as functions of , the Hamiltonian is the Legendre transform
where the velocities on the right are rewritten in terms of .
This invertibility is not automatic. A singular Lagrangian, common in constrained systems and gauge theories, requires additional constraint analysis. This review sticks to regular systems where the velocity-momentum relation can be inverted.
Hamilton’s Equations
Section titled “Hamilton’s Equations”Hamilton’s equations are first-order equations on phase space:
and
Together, they replace the second-order Euler–Lagrange equations. Specifying gives the initial data for a classical trajectory.
The sign difference between the two equations is structural. It is the local coordinate form of the symplectic geometry of phase space. Symplectic Vector Spaces develops the finite-dimensional linear version of that structure; here the coordinate equations are the main tool.
Changes of phase-space variables that preserve this Hamiltonian form are reviewed in Canonical Transformations.
Free Particle and Potential Example
Section titled “Free Particle and Potential Example”For a particle in one dimension with
the canonical momentum is
Solving for , the Hamiltonian is
Hamilton’s equations give
and
Combining them gives Newton’s equation:
Harmonic Oscillator Example
Section titled “Harmonic Oscillator Example”For the harmonic oscillator,
Hamilton’s equations are
Taking one more derivative of the first equation gives
or
This classical oscillator phase-space flow is the comparison point for coherent states, ladder operators, and the quantum oscillator spectrum.
Energy Conservation
Section titled “Energy Conservation”Along a Hamiltonian trajectory,
Substitute Hamilton’s equations:
The sum cancels, so
If has no explicit time dependence, then is conserved along the classical motion. In quantum mechanics, a time-independent Hamiltonian generates time evolution and is conserved as an observable in closed-system dynamics, but the operator statement requires commutators and domains.
Hamiltonian Flow
Section titled “Hamiltonian Flow”The Hamiltonian determines a vector field on phase space:
Hamilton’s equations say that the trajectory follows this vector field:
along the curve. This is the classical version of “the Hamiltonian generates time evolution.” The quantum version is that a self-adjoint Hamiltonian generates a unitary family
For the quantum generator role, see Hamiltonians as Generators of Time Evolution and Unitary Time Evolution.
Poisson-Bracket Preview
Section titled “Poisson-Bracket Preview”For a classical observable , Hamiltonian evolution can be written
where the canonical Poisson bracket is
The full bracket theory belongs to Poisson Brackets. The preview matters here because canonical quantization replaces, heuristically,
with many caveats about ordering and domains. The Heisenberg Group is the group-level home for the canonical commutation relations.
Classical-to-Quantum Bridge
Section titled “Classical-to-Quantum Bridge”The classical Hamiltonian function often suggests a quantum Hamiltonian operator. For a particle in a potential one writes
classically, and
quantum mechanically.
This notation hides real work. The operator needs a domain, needs spectral meaning, and products of noncommuting variables can have ordering ambiguities. Finite-dimensional Hamiltonian matrices also depend on basis choices and truncations.
The operational quantum statement is not “replace every classical formula by an operator.” It is: choose a Hilbert space, define a self-adjoint Hamiltonian, and use it to generate time evolution through the Schrödinger equation.
From Phase Space to Canonical Quantization carries the Legendre transform and Hamilton equations to fields, including the singular transforms that signal constraints.
Common Mistakes
Section titled “Common Mistakes”- Confusing phase space with Hilbert space.
- Treating as always equal to in any coordinate system.
- Performing the Legendre transform before checking that velocities can be solved in terms of momenta.
- Forgetting the minus sign in .
- Assuming is conserved when it depends explicitly on time.
- Treating a classical Hamiltonian formula as a complete quantum Hamiltonian operator.
- Ignoring operator ordering when quantizing products of and .
- Using Poisson-bracket to commutator replacement as an exact theorem rather than a correspondence rule with caveats.
Cross-Links
Section titled “Cross-Links”- Lagrangian Mechanics Review
- Action Principles
- Phase Space
- Poisson Brackets
- From Phase Space to Canonical Quantization
- Canonical Transformations
- Symplectic Vector Spaces
- Symplectic Manifolds, First Look
- Hamilton–Jacobi Theory
- Hamiltonians
- Hamiltonians as Generators of Time Evolution
- Unitary Time Evolution
- Time-Evolution Operator
- Commutators and Anticommutators
- Commutators and Conservation Laws
- Heisenberg Group
- Matrix Functions and Exponentials
- Quantum Harmonic Oscillator
References
Section titled “References”- H. Goldstein, C. Poole, and J. Safko, Classical Mechanics, 3rd ed., Addison-Wesley, 2002.
- L. D. Landau and E. M. Lifshitz, Mechanics, 3rd ed., Butterworth-Heinemann, 1976.
- V. I. Arnold, Mathematical Methods of Classical Mechanics, 2nd ed., Springer, 1989.
- R. Abraham and J. E. Marsden, Foundations of Mechanics, 2nd ed., AMS Chelsea, 2008.
- R. Shankar, Principles of Quantum Mechanics, 2nd ed., Springer, 1994.
- B. C. Hall, Quantum Theory for Mathematicians, Springer, 2013.
Exercises
Section titled “Exercises”- Starting from , derive .
Solution
The canonical momentum is
Thus . The Legendre transform gives
- Use Hamilton’s equations for to recover Newton’s equation.
Solution
Hamilton’s equations are
Since , the second equation becomes
- Show that a time-independent Hamiltonian is conserved along Hamiltonian flow.
Solution
Along a trajectory,
Using Hamilton’s equations, the sum cancels pairwise. If , then
- Compute the canonical Poisson bracket from the definition.
Solution
Use
For and ,
while the other two derivatives vanish. Therefore