← thecodex.expert
Classical Mechanics Hub Physicist Biographies
Definition Curious Exploring Deep Dive Sources
Analytical Mechanics · Concept

Canonical Transformations

Reading time: 9 minConfidence: HighLast verified: October 2026

A canonical transformation is a change of phase-space variables (q, p) → (Q, P), possibly time-dependent, under which Hamilton's equations retain their form with a new Hamiltonian K(Q, P, t). Equivalently, it preserves the fundamental Poisson brackets {Qi, Pj} = δij, or the symplectic form Σdpi∧dqi. Canonical transformations can be generated by a generating function of mixed old and new variables, such as F2(q, P, t), with p = ∂F2/∂q, Q = ∂F2/∂P and K = H + ∂F2/∂t. Time evolution itself is a continuous family of canonical transformations.

Curious

One sentence that captures itCanonical transformations are clever changes of variables that keep the rules of mechanics intact while making the problem much simpler to solve.

Describing a circle is messy in x and y but trivial in a radius and an angle. Hamiltonian mechanics allows far more radical changes of variables, mixing positions and momenta, as long as they preserve the special structure of Hamilton's equations. Those allowed changes are canonical transformations.

The ultimate goal is to find variables in which the new Hamiltonian depends only on momenta, so every new momentum is constant and every new coordinate grows steadily with time. Then the motion is solved. This programme, developed by Hamilton and Jacobi in the 1830s, became a key tool of celestial mechanics and, later, of the early quantum theory.

Exploring

Worked example — the oscillator made trivialFor the harmonic oscillator H = p²/(2m) + ½mω²q², the transformation q = √(2J/mω) sinθ, p = √(2Jmω) cosθ is canonical, and the Hamiltonian becomes simply K = ωJ. Hamilton's equations then give J̇ = 0 (the action J = E/ω is constant) and θ̇ = ω (the angle advances uniformly). The action J equals the phase-space area of the orbit divided by 2π (see Phase Space).
Generating functionRelations
F1(q, Q, t)p = ∂F1/∂q, P = −∂F1/∂Q
F2(q, P, t)p = ∂F2/∂q, Q = ∂F2/∂P
F3(p, Q, t)q = −∂F3/∂p, P = −∂F3/∂Q
F4(p, P, t)q = −∂F4/∂p, Q = ∂F4/∂P
All typesK = H + ∂F/∂t
Common mistake — Commonly ConfusedNot every invertible change of variables is canonical: rescaling q by 2 while leaving p unchanged breaks Hamilton's equations unless p is scaled by ½. Also, canonical transformations can exchange the roles of position and momentum entirely (Q = p, P = −q), so in Hamiltonian mechanics the labels “coordinate” and “momentum” are partly conventional.

Deep Dive

Primary sourceJacobi, C.G.J. (1837). “Über die Reduction der Integration der partiellen Differentialgleichungen erster Ordnung zwischen irgend einer Zahl Variabeln auf die Integration eines einzigen Systemes gewöhnlicher Differentialgleichungen.” Journal für die reine und angewandte Mathematik, 17, 97–162; Goldstein, H., Poole, C., Safko, J. (2002). Classical Mechanics (3rd ed.). Addison Wesley.

Hamilton–Jacobi equation. Seeking a transformation for which the new Hamiltonian vanishes leads to the Hamilton–Jacobi equation, H(q, ∂S/∂q, t) + ∂S/∂t = 0, whose solution S is the action as a function of endpoint. Its form resembles the eikonal equation of geometrical optics; Schrödinger was guided by this optical–mechanical analogy, and the semiclassical wave function behaves as eiS/ℏ (see Schrödinger Equation).

Action-angle variables and quantisation. For integrable systems, the action variables J = (1/2π)∮p dq are adiabatic invariants, changing negligibly when parameters vary slowly. Bohr–Sommerfeld quantisation set ∮p dq = nh; full quantum mechanics later corrected this to (n + ½)h for the oscillator (see Quantum Harmonic Oscillator).

Symmetry and perturbation theory. Infinitesimal canonical transformations are generated by functions G via Poisson brackets, δf = ε{f, G}; when G is conserved, it generates a symmetry, the Hamiltonian form of Noether's theorem (see Poisson Brackets). Canonical perturbation theory and Lie-series methods are standard in celestial mechanics.

Sources

  • Jacobi, C.G.J. (1837). J. reine angew. Math., 17, 97–162.
  • Goldstein, H., Poole, C., Safko, J. (2002). Classical Mechanics (3rd ed.). Addison Wesley.
  • Arnold, V.I. (1989). Mathematical Methods of Classical Mechanics (2nd ed.). New York: Springer.
Last verified: October 2026 · Source: Jacobi (1837); Goldstein et al. (2002); Arnold (1989) · Confidence: high