09.05.01 · classical-mech / canonical

Canonical transformations

draft3 tiersLean: nonepending prereqs

Anchor (Master): Arnold, *Mathematical Methods of Classical Mechanics*, 2nd ed. (1989), §45; Marsden-Ratiu, *Mechanics and Symmetry*, Ch. 2.2–2.3

Intuition [Beginner]

In the Hamiltonian formulation, the state of a system is a point in phase space, and Hamilton's equations govern how that point moves. You learned in 09.04.02 pending that these equations have a special symmetric structure: the rate of equals the slope of in , and the rate of equals minus the slope of in .

A canonical transformation is a change of coordinates in phase space — from old variables to new variables — that preserves this structure. After the transformation, the equations of motion in the new variables still have the same Hamiltonian form: the rate of equals the slope of the new Hamiltonian in , and the rate of equals minus the slope of in .

Not every change of coordinates is canonical. A generic reparameterisation of phase space will scramble Hamilton's equations into something ugly — cross-coupled, non-symmetric, no longer recognisable. Canonical transformations are the good changes of coordinates: the ones that keep the Hamiltonian structure intact.

The strategic purpose is simple: choose coordinates that make the problem easier. If you can find a canonical transformation where the new Hamiltonian does not depend on some coordinate , then the conjugate momentum is automatically conserved, and one degree of freedom is solved. Find enough such transformations and the entire system unravels.

The analogy is diagonalising a matrix. The matrix and its diagonal form describe the same linear map — but the diagonal form makes everything easy to read off. Canonical transformations do for Hamiltonian mechanics what eigenbasis rotations do for linear algebra: they reveal hidden simplicity without changing the underlying physics.

Visual [Beginner]

Figure: Phase space for the harmonic oscillator . The level sets of are circles. A canonical transformation that rotates the -plane by an angle sends where and . The circles map to themselves — same energy, same physics, just redescribed. The Hamiltonian in the new coordinates is , which has exactly the same form. A non-canonical transformation (say, squashing the -axis by a factor of 2) would distort the circles into ellipses and break the Hamiltonian structure of the equations.

Phase-space rotation: the canonical transformation (Q, P) = (q cos θ + p sin θ, −q sin θ + p cos θ) rotates the circular level sets of the harmonic oscillator into themselves. Old axes (q, p) and new axes (Q, P) are shown; the circles are invariant. A non-canonical shear is shown for comparison, distorting circles to ellipses.

Worked example [Beginner]

Take the harmonic oscillator with (mass and spring constant set to 1). The level sets of are circles in the -plane. Hamilton's equations give and — clockwise rotation at unit angular speed.

Now define new coordinates by rotating phase space through an angle :

Step 1. Express in the new variables. Substitute and (the inverse rotation) into :

Expanding and using , the cross terms cancel and

Step 2. Check Hamilton's equations in the new variables. The rate of equals the slope of in , and the rate of equals minus the slope of in :

These have exactly the same form as the original equations. The transformation is canonical — it preserves the Hamiltonian structure. The new coordinates describe the same circular motion, just measured along rotated axes.

Check your understanding [Beginner]

Formal definition [Intermediate+]

Let be a -dimensional symplectic manifold — in the first instance, phase space with canonical symplectic form . A canonical transformation (synonym: symplectomorphism) is a diffeomorphism satisfying

In coordinates: write and form the Jacobian matrix whose entries are the derivatives of with respect to . The symplectic condition is

A matrix satisfying is called a symplectic matrix; the set of all real symplectic matrices is the symplectic group . The condition guarantees that the Poisson-bracket relations , , hold in the new variables whenever they hold in the old — i.e., the canonical Poisson algebra is preserved.

The new Hamiltonian (often written ) is related to the old by

where is the generating function (see below). For time-independent transformations, .

Generating functions of four types. A canonical transformation can be specified implicitly by a single smooth function relating old and new variables. There are four standard types, distinguished by which pair of old and new variables is taken as independent.

Type 1: . The defining relations are

Type 2: . Then

Type 3: . Then

Type 4: . Then

Each type is a Legendre transform of in the appropriate variables. The four types cover different neighbourhoods of the identity transformation: is degenerate near the identity (where ), so the identity is most naturally expressed through .

Counterexamples to common slips

  • Not every coordinate change in phase space is canonical. The transformation , doubles momenta. Its Jacobian has . The Poisson bracket changes: . The resulting equations of motion pick up unwanted factors. Scaling transformations are canonical only when the scale factor is .

  • Point transformations are canonical, but only in the right variables. A change of configuration-space coordinates with is canonical, but the extension to phase space requires the momenta to transform as cotangent vectors (by the Jacobian transpose), not as arbitrary functions. Getting the momentum transformation wrong is the most common slip.

  • Canonical transformations are not the same as gauge transformations. A gauge transformation changes the physical description (e.g., shifts the vector potential and the canonical momentum ). A canonical transformation changes coordinates without changing the physical state. The two can overlap — gauge transformations are canonical — but the converse is false: most canonical transformations have nothing to do with gauge redundancy.

Key theorem with proof [Intermediate+]

Theorem (Characterisation of canonical transformations). A smooth, invertible transformation on phase space is canonical if and only if it preserves the Poisson brackets:

where the subscripts indicate that the brackets are computed with respect to the old variables .

Proof (). Suppose is canonical, i.e., . The Poisson bracket of two functions on is . Under a symplectomorphism, the Hamiltonian vector field transforms by pushforward: . Then

Using and the fact that , in the notation where are the coordinate functions on the target, the Poisson brackets evaluate to

So the canonical Poisson relations are preserved. The other two relations follow identically.

Proof (). The converse requires more work. Suppose the Poisson-bracket relations hold. Define the matrix of partial derivatives of with respect to . A direct computation shows that the Poisson bracket of any two coordinate functions is expressible in terms of and :

where the primed notation indicates the appropriate index placement. The assumption forces , which is equivalent to (multiply on left and right by and use ). Hence and is canonical.

Example: the identity transformation. The function generates the identity: and . The identity is canonical, as expected — doing nothing to phase space preserves everything.

Example: the point transformation. Let be a smooth, invertible change of configuration coordinates. The corresponding canonical transformation on phase space is , . The generating function is . To verify canonicity: , and . The Poisson brackets hold, so point transformations are always canonical. This is important: every change of generalised coordinates you have ever done in the Lagrangian framework lifts to a canonical transformation on phase space.

Bridge. The Poisson-bracket characterisation of canonical transformations builds toward 09.05.02 pending, where the Hamilton-Jacobi equation selects a canonical transformation that drives to zero. The foundational reason is that the Poisson bracket is the algebraic shadow of the symplectic form, and the characterisation theorem identifies symplectomorphisms with Poisson-algebra automorphisms — this is exactly the bridge between the geometric and algebraic viewpoints. The result appears again in 09.06.01 pending where the action-angle construction must preserve brackets to qualify as canonical, and it generalises to the quantum commutator correspondence 12.02.01 pending via the Dirac prescription .

Exercises [Intermediate+]

Lean formalization [Intermediate+]

lean_status: none. Mathlib has LinearAlgebra.SymplecticGroup covering the matrix group and linear symplectic maps on finite-dimensional vector spaces. It does not yet formalise nonlinear canonical transformations as symplectomorphisms of a cotangent bundle, the generating-function formalism, or the four standard types. The passage from linear to nonlinear symplectic geometry — diffeomorphisms preserving on a manifold — is an open formalisation target. No lean_module ships with this unit.

Advanced results [Master]

Infinitesimal canonical transformations and the Lie algebra of Symp

Every canonical transformation connected to the identity can be written as the time- flow of a Hamiltonian vector field for some generating function . Such transformations are called infinitesimal canonical transformations when is small:

The function generates a one-parameter subgroup of . The Lie algebra of consists of all locally Hamiltonian vector fields — those for which is closed. On a simply-connected symplectic manifold, every locally Hamiltonian vector field is a Hamiltonian vector field (i.e., for some global ); on non-simply-connected manifolds the distinction matters.

Proposition (Characterisation of infinitesimal generators). *A vector field on generates a one-parameter family of symplectomorphisms if and only if the one-form is closed. If (in particular, on a cotangent bundle ), then for some function .*

Proof. The flow of preserves if and only if . By Cartan's formula, . Since is closed, , so . Hence if and only if , i.e., is closed. If , every closed one-form is exact, so for some , and by the definition of Hamiltonian vector field.

Lie's theorem (in this context) states that the conserved quantities of a Hamiltonian system form a Lie algebra under the Poisson bracket, and the corresponding Hamiltonian flows form a subgroup of the symplectomorphism group. The bracket generates the commutator of the flows and . This is the Lie-algebra / Lie-group correspondence in its classical-mechanical incarnation.

The symplectic group and its Lie algebra

The linear canonical transformations — those for which depends linearly on — form the symplectic group . Its Lie algebra consists of matrices satisfying (equivalently, is symmetric). A general element of has the block form

where is any matrix and are symmetric. The exponential map is surjective (the symplectic group is connected), but not injective.

Proposition (Dimension of ). The Lie algebra has dimension .

Proof. The block form has free parameters from , from each of the symmetric matrices and , giving .

For , : the real matrices with determinant 1. The Lie algebra is three-dimensional, spanned by the generators of boosts, rotations, and squeezes. The rotation from the worked example is .

The relationship between the linear and nonlinear theory is: is the isotropy subgroup of at a point, acting on the tangent space by the Jacobian of the symplectomorphism. The full symplectomorphism group is infinite-dimensional; its linearisation at the identity is the space of Hamiltonian vector fields.

The generating-function theorem

The four types of generating function are not merely a calculational convenience — they are guaranteed to exist, provided the transformation satisfies a non-degeneracy condition.

Theorem (Existence of generating functions). Let be a canonical transformation on a -dimensional phase space. If the matrix is invertible at some point, then locally there exists a function generating via , . Analogous statements hold for the other three types under the corresponding invertibility hypotheses.

Proof (sketch for Type 1). The symplectic condition reads

Define the one-form and the one-form . Then and (using the symplectic condition). Hence , so is closed. By the Poincare lemma (valid locally), for some function of the independent variables. Writing this out: , which gives and (with the sign absorbed into the convention). The non-degeneracy condition ensures that can serve as independent variables.

The other three types arise by Legendre transforming in the appropriate subset of variables. The existence theorem guarantees that every canonical transformation is locally generated by some function, provided the relevant partial-derivative matrix is invertible. The identity transformation, for instance, has (so is degenerate), but is invertible (so works).

The Hamilton-Jacobi connection and complete integrability

The generating-function framework is the bridge from canonical transformations to the Hamilton-Jacobi equation 09.05.02 pending. The idea is to choose a generating function (type 2) such that the new Hamiltonian is as simple as possible. The relation means that setting requires

which is the Hamilton-Jacobi equation. Its solution (where are the integration constants, interpreted as the new constant momenta) is the generating function of a canonical transformation that entirely trivialises the dynamics: in the new variables, so and , and the system is solved.

The connection to complete integrability in the sense of Liouville is direct. A system with degrees of freedom is Liouville integrable if there exist independent functions in involution () with . The Liouville-Arnold theorem 09.06.01 pending states that the level sets of the are invariant tori on which the motion is quasi-periodic, and there exist action-angle variables — a canonical transformation — under which depends only on the actions. The action variables

over a basis of cycles on the invariant torus are the new momenta. The construction of is the principal application of the generating-function machinery developed in this unit.

Proposition (Action variables are canonical momenta). The functions defined by the contour integrals above are well-defined functions of the conserved quantities and serve as the momenta in a canonical transformation to action-angle coordinates.

Proof (sketch). The level set is, by the Liouville-Arnold theorem, diffeomorphic to in a neighbourhood of a compact regular fibre. The symplectic form restricts to a closed form on ; its integral over the basis of cycles defines . Since is closed, depends only on the homology class of , not on the representative cycle. The angle variables are the conjugate coordinates, defined by where is the generating function of the transformation. The Poisson brackets and follow from the canonicity of the transformation, verified by direct computation of the Jacobian using etc.

Time-dependent canonical transformations and the extended phase space

A canonical transformation can depend explicitly on time: . The extended phase space with coordinate carries the contact form , or equivalently the extended symplectic form . A transformation is canonical in the extended sense if it preserves (not just ).

Proposition (Time-dependent generating functions). A time-dependent canonical transformation is locally generated by a function via , , and the new Hamiltonian satisfies .

Proof. Repeat the argument of the generating-function existence theorem on the extended phase space. The closed one-form on , with and , satisfies when preserves . Locally for some function , giving the three relations , , and .

Time-dependent canonical transformations arise naturally when changing to a rotating or accelerating frame, and they are essential for the Hamilton-Jacobi theory where depends on both and . Setting is exactly the Hamilton-Jacobi equation. Setting or (one of the new momenta) corresponds to partial simplification strategies used in perturbation theory [Arnold 1989 §47].

Gromov's nonsqueezing theorem and symplectic rigidity

Gromov's nonsqueezing theorem (1985) [Gromov 1985] states: if is a symplectomorphism of the standard symplectic space, and maps the ball of radius into the cylinder , then .

This is a rigidity theorem: symplectomorphisms cannot squeeze a ball through a cylinder of smaller radius, even though volume-preserving maps can (by stretching the ball into a long thin tube). The theorem fails for volume-preserving diffeomorphisms and is specific to the symplectic category.

Theorem (Gromov nonsqueezing). Let and . If there exists a symplectomorphism of with , then .

The proof (Gromov's original, using pseudoholomorphic curves, or the later proof via symplectic capacities due to Ekeland and Hofer) is beyond the scope of this unit but its physical significance is immediate: it provides a symplectic invariant — the symplectic capacity — that cannot be detected by volume alone. The volume of is , which can be made arbitrarily small by stretching, but the symplectic capacity is rigid. A second invariant, the Hofer metric, gives the symplectomorphism group an intrinsic geometry: the distance between and the identity is the infimum of over all Hamiltonians generating . The Hofer metric is finite-dimensional in spirit despite being infinite-dimensional.

The nonsqueezing theorem is the foundational result of symplectic topology, and it implies that the group is -closed in the group of all diffeomorphisms — a fact with no analogue for volume-preserving maps. This -rigidity is the geometric content underlying the statement that canonical transformations are a much more restricted class than general coordinate changes. The physical interpretation, due to Arnold, is that a symplectomorphism of the classical phase space preserves not just phase-space volume (Liouville's theorem) but a finer two-dimensional area invariant — the projection of any symplectic two-plane onto any coordinate plane has area preserved by the transformation.

Canonical transformations and Noether's theorem

The connection between symmetries and conservation laws in the Hamiltonian framework is mediated by canonical transformations generated by conserved quantities. Noether's theorem in its Hamiltonian form reads:

Theorem (Hamiltonian Noether). A function on phase space is a constant of motion () if and only if the Hamiltonian flow generated by is a symmetry of the Hamiltonian ( for all ).

Proof. . If then is constant along the flow, so . Conversely, if for all , then , i.e., is conserved.

This is not merely an equivalence — it identifies the Lie algebra of conserved quantities with the Lie algebra of Hamiltonian symmetries, both subalgebras of under the Poisson bracket. The symplectomorphisms generated by conserved quantities are canonical transformations that preserve ; the symplectomorphisms generated by arbitrary functions are canonical transformations that need not preserve .

The most important examples in classical mechanics are translational and rotational symmetry. If is independent of , then is conserved, and the flow translates by while leaving all other variables fixed — a phase-space translation. If is rotationally invariant, then the angular momentum component is conserved, and its flow generates rotations in the -plane of configuration space while simultaneously rotating the corresponding momenta. In both cases the Noether symmetry is a canonical transformation whose generating function is the conserved quantity itself.

Synthesis. The foundational reason canonical transformations occupy the centre of Hamiltonian mechanics is that they encode the full symmetry structure of the theory. The central insight is the equivalence between symplectomorphisms (geometry), Poisson-algebra automorphisms (algebra), and coordinate changes preserving Hamilton's equations (dynamics). Putting these together, every conserved quantity generates a one-parameter family of canonical symmetries via the Hamiltonian flow, and the Lie algebra of these generators is exactly the Poisson algebra of first integrals. The bridge is from the infinitesimal (a single generating function ) to the global (a symplectomorphism of the entire phase space), and this is exactly the passage that the Hamilton-Jacobi equation 09.05.02 pending exploits when it seeks a generating function that simultaneously trivialises all degrees of freedom. The pattern recurs in 09.06.01 pending where the action-angle construction identifies the invariant tori of Liouville integrability with the level sets of the generating-function momenta, and the correspondence generalises to the quantum regime via the Dirac prescription mapping classical canonical transformations to unitary transformations on Hilbert space 12.02.01 pending.

Full proof set [Master]

Proposition 1 (Closure under composition). If and are canonical, then is canonical.

Proof. .

Proposition 2 (Inverse of a canonical transformation is canonical). If $\Phi^\omega = \omega\Phi(\Phi^{-1})^\omega = \omega$.

Proof. Apply to both sides of : . But by hypothesis. So , and since is an isomorphism on forms (being a diffeomorphism), .

Proposition 3 (Hamiltonian flow preserves ). Let be the Hamiltonian vector field defined by . Then the flow satisfies $\Phi_s^\omega = \omegas$.*

Proof. . So is constant in ; at it equals .

Proposition 4 (Poincare integral invariant). A transformation is canonical if and only if it preserves the Poincare integral invariant for every closed curve that lies in a surface of constant .

Proof. The integral where is the canonical one-form. By Stokes' theorem, for any surface bounded by . If , then , so the integral is preserved. Conversely, if is preserved for all closed curves , then is preserved for all surfaces , which forces (since two two-forms that integrate to the same value over every surface are equal).

Connections [Master]

  • Hamilton's equations 09.04.02 pending. Hamilton's equations are the structure that canonical transformations are designed to preserve. The symplectic condition is the algebraic encoding of "Hamilton's equations retain their form after the transformation." The Hamiltonian vector field defined by transforms covariantly under symplectomorphisms.

  • Hamilton-Jacobi equation 09.05.02 pending. The Hamilton-Jacobi equation is the canonical-transformation machinery specialised to the case . The generating function satisfying the HJ PDE is the "best possible" canonical transformation — it entirely trivialises the dynamics. This unit develops the framework; 09.05.02 pending applies it.

  • Action-angle variables 09.06.01 pending. Action-angle variables are a canonical transformation from to under which the Hamiltonian depends only on the actions . The existence of such coordinates is guaranteed by the Liouville-Arnold theorem for integrable systems. The construction is a direct application of the generating-function methods developed here.

  • Quantum canonical transformations 12.02.01 pending. Canonical quantisation maps classical canonical transformations to unitary transformations on Hilbert space. The Poisson bracket maps to ; a symplectomorphism on phase space corresponds to a unitary operator preserving the commutation relations. The correspondence is the structural reason canonical transformations matter for quantum mechanics.

  • Symplectic geometry 05.02.01. The Hamiltonian vector field defined by generates a one-parameter family of canonical transformations (the Hamiltonian flow). This is Proposition 3 above: every conserved quantity generates a symmetry that is a canonical transformation. The symplectic manifold is the geometric substrate on which the entire canonical-transformation formalism is built.

  • Poisson brackets and Lie algebras 05.02.02. The Poisson bracket is the algebraic shadow of the symplectic form. The characterisation theorem proved in this unit — "canonical iff Poisson brackets are preserved" — identifies symplectomorphisms with Poisson-algebra automorphisms. The bracket identifies as a Lie algebra whose Lie group is the connected component of .

Historical & philosophical context [Master]

Jacobi introduced canonical transformations in his Vorlesungen über Dynamik (lectures of 1842–43, published posthumously 1866) [Jacobi 1866], building on Hamilton's 1834–35 papers on the characteristic function [Hamilton 1834]. Jacobi's insight was that Hamilton's equations can be radically simplified by choosing the right coordinates on phase space — and that the class of coordinate changes that preserve the Hamiltonian structure is large enough to contain the simplifying transformations needed for the major problems of celestial mechanics. His method of solving the Hamilton-Jacobi equation by separation of variables turned previously intractable problems (the Kepler problem in confocal coordinates, the motion of a symmetric top) into routine computations.

Lie, working in the 1880s and 1890s, recast Jacobi's transformations in the language of continuous groups [Lie 1888]. His theory of contact transformations (which include canonical transformations as a special case) identified the infinitesimal generators with functions on phase space and the Poisson bracket as the Lie-algebra operation. The Lie-algebra / Lie-group correspondence between conserved quantities and symmetries is due to Lie, though its modern symplectic-geometric restatement is post-Arnold.

The geometric viewpoint — canonical transformations as symplectomorphisms, the symplectic group, the symplectic condition on the Jacobian — was implicit in the 19th-century work but made explicit by Cartan [Cartan 1922] and later systematised by Arnold, Marsden, Weinstein, and others from the 1960s onward. Arnold's Mathematical Methods of Classical Mechanics (1974, 2nd ed. 1989) [Arnold 1989] established the modern presentation in which canonical transformations are diffeomorphisms preserving , the generating-function formalism is a consequence of the Poincare lemma, and the Hamilton-Jacobi equation is a PDE on the cotangent bundle. Gromov's 1985 nonsqueezing theorem [Gromov 1985] opened symplectic topology as a field, establishing that symplectomorphisms are rigid in a way that volume-preserving maps are not.

Bibliography [Master]

  • Jacobi, C. G. J., Vorlesungen über Dynamik (lectures 1842–43, published 1866), ed. A. Clebsch.
  • Hamilton, W. R., "On a general method in dynamics", Phil. Trans. Roy. Soc. 124 (1834), 247–308.
  • Lie, S., Theorie der Transformationsgruppen (Teubner, 1888–93).
  • Cartan, É., Leçons sur les invariants intégraux (Hermann, 1922).
  • Arnold, V. I., Mathematical Methods of Classical Mechanics, 2nd ed. (Springer GTM 60, 1989).
  • Marsden, J. E. & Ratiu, T. S., Introduction to Mechanics and Symmetry, 2nd ed. (Springer TAM 17, 1999).
  • Abraham, R. & Marsden, J. E., Foundations of Mechanics, 2nd ed. (Addison-Wesley, 1978).
  • Goldstein, H., Poole, C. P. & Safko, J., Classical Mechanics, 3rd ed. (Pearson, 2002), Ch. 9.
  • Landau, L. D. & Lifshitz, E. M., Mechanics, 3rd ed. (Course of Theoretical Physics Vol. 1, Pergamon, 1976), §45–46.
  • Taylor, J. R., Classical Mechanics (University Science Books, 2005), Ch. 13.5.
  • Susskind, L. & Hrabovsky, G., The Theoretical Minimum: Classical Mechanics (Basic Books, 2014), Lecture 9.
  • Tong, D., Classical Dynamics (DAMTP Cambridge lecture notes), §4 "Canonical transformations".
  • Gromov, M., "Pseudoholomorphic curves in symplectic manifolds", Invent. Math. 82 (1985), 307–347.
  • McDuff, D. & Salamon, D., Introduction to Symplectic Topology, 3rd ed. (Oxford, 2017).
  • Guillemin, V. & Sternberg, S., Symplectic Techniques in Physics, 2nd ed. (Cambridge, 1990).

Wave 2 unit produced by claude-glm-5.1 per runbook specifications. Deepened from 5762w to ≥8000w with additional Master-tier theorem-proof blocks. All hooks_out targets are proposed; no successor unit yet exists to receive confirmed promotion. Status remains draft pending Tyler's review and the §11 Next-Actions retro per PHYSICS_PLAN.