Canonical Transformations
A canonical transformation is a change of phase-space variables that preserves the Hamiltonian structure. It sends canonical coordinates to new variables in such a way that Poisson brackets keep their canonical form:
Equivalently, Hamilton’s equations keep the same shape in the new variables after the Hamiltonian is transformed appropriately. Canonical transformations are the classical mechanics analogue of structure-preserving changes of quantum operators, especially unitary transformations.
Helpful background. Phase Space introduces , and Poisson Brackets supplies the test for a canonical change of variables.
Preserving conjugate pairs
Section titled “Preserving conjugate pairs”Changing variables can simplify a Hamiltonian, but arbitrary variables need not satisfy Hamilton’s equations in their usual form. Canonical transformations preserve the pairing between positions and momenta. Computing the brackets of the new variables is a practical test.
Definition by Poisson Brackets
Section titled “Definition by Poisson Brackets”Let
be new phase-space variables. The transformation is canonical when the new variables satisfy the fundamental Poisson brackets:
and
These brackets are computed using the old canonical variables . If the conditions hold, then any two functions and have the same bracket whether computed in old coordinates or new coordinates:
This bracket-preservation criterion is often the most direct test.
Definition by Symplectic Form
Section titled “Definition by Symplectic Form”In canonical coordinates, the standard symplectic form is
A transformation is canonical when it preserves this form. For a time-dependent change of variables, the differentials here are taken on phase space at fixed :
This is the geometric version of preserving Poisson brackets. Symplectic Vector Spaces develops the finite-dimensional linear-algebra viewpoint; in one degree of freedom this means preserving oriented phase-space area. In several degrees of freedom the condition preserves the full symplectic form, not the projected area of each coordinate plane separately.
Linear Test
Section titled “Linear Test”For linear transformations it is useful to package phase-space coordinates into
For one degree of freedom, the Poisson bracket can be written using
A linear transformation is canonical precisely when
For the same matrix , this is equivalent to
The first identity preserves the Poisson brackets of coordinate functions; the second preserves the symplectic pairing of tangent vectors. They are algebraically equivalent because , not different choices for . For degrees of freedom use the block matrix .
For one degree of freedom, this condition implies . In higher dimensions, determinant is not enough; the full symplectic condition is stronger.
Examples
Section titled “Examples”Scaling a Conjugate Pair
Section titled “Scaling a Conjugate Pair”Let
with . Then
Also and , so the transformation is canonical.
By contrast,
gives
This is canonical only when . It may be invertible, but it does not preserve the canonical bracket for general .
Quarter-Turn in Phase Space
Section titled “Quarter-Turn in Phase Space”The transformation
is canonical because
Geometrically this is a rotation in the plane, up to units. In quantum mechanics, exchanging position and momentum is closely related to Fourier transformation, though the quantum statement requires normalization conventions and operators.
Point Transformations
Section titled “Point Transformations”A change of configuration coordinate can be canonical if the momentum transforms as a covector. In one degree of freedom,
Then
This is why canonical momentum is not simply a velocity component in arbitrary coordinates. Momentum transforms according to the cotangent-space structure of phase space.
Hamiltonian Flow Is Canonical
Section titled “Hamiltonian Flow Is Canonical”Time evolution generated by a Hamiltonian is itself a canonical transformation. If a system flows from initial variables to variables , the map from initial phase space to time- phase space preserves Poisson brackets and phase-space volume.
One way to see bracket preservation is through the Jacobi identity. If observables evolve by
then the bracket evolves compatibly:
So the bracket of two evolved observables is the evolved bracket. This is the classical analogue of unitary time evolution preserving commutators.
Infinitesimal Canonical Transformations
Section titled “Infinitesimal Canonical Transformations”A phase-space function generates an infinitesimal canonical transformation by
where is a small parameter. In particular,
This is Hamiltonian flow with playing the role of a generator. Taking generates time translations; taking generates translations in ; taking angular momentum generates rotations.
For and the convention , the quantum counterpart is
Conjugating in the opposite order reverses the first-order sign. The shared structure is the generator acting by a bracket.
Generating Functions
Section titled “Generating Functions”Canonical transformations can often be built from generating functions. A common type uses a function
The transformation is defined by
These equations determine a local change of variables when the mixed Hessian is invertible. If the generating function depends explicitly on time, the new Hamiltonian is
with and rewritten in terms of , , and .
The identity transformation is generated by
Indeed,
For a translation by a constant in one degree of freedom, the choice
gives
Generating functions are useful because they build canonical transformations automatically, rather than requiring one to check the bracket conditions afterward. Hamilton–Jacobi Theory turns this idea into a method: a suitable action function can generate a canonical transformation to constants of motion.
Hamiltonian in New Variables
Section titled “Hamiltonian in New Variables”Suppose a time-independent canonical transformation rewrites the old variables in terms of new variables:
The new Hamiltonian is the old Hamiltonian expressed in the new variables:
Hamilton’s equations keep their canonical form:
If the transformation is time dependent, the extra term in the generating function changes the Hamiltonian. This is the classical version of the familiar quantum fact that a time-dependent unitary transformation adds an extra generator term to the transformed Hamiltonian.
Worked example: a moving coordinate origin
Section titled “Worked example: a moving coordinate origin”Consider a free particle with and . Let the coordinate origin follow a prescribed twice-differentiable trajectory . This is a passive change of description, generated by
The type- rule, including its time derivative, gives
Hence : a freely moving particle accelerates relative to an accelerating origin. Keeping only expressed in the new variables would miss this effect. The same result follows from the transformed Lagrangian : its conjugate momentum is , and its Legendre transform is . In this choice of variables, remains the laboratory momentum, rather than .
The generator is also different from the laboratory energy . Along the motion,
For constant origin velocity, both quantities are conserved but differ by . For an accelerating origin, generally changes even though the laboratory particle remains free. Picture transformations makes the corresponding distinction between a quantum frame’s state generator and its energy observable. The general time-dependent generating-function rules are derived in Sussman and Wisdom, §5.4.3.
Quantum Unitary Analogy
Section titled “Quantum Unitary Analogy”Canonical transformations preserve Poisson brackets. Unitary transformations preserve commutators:
This is why the analogy is natural:
| Classical mechanics | Quantum mechanics |
|---|---|
| phase-space functions | operators |
| Poisson bracket | commutator |
| canonical transformation | unitary transformation |
| generator acts by | generator acts by commutator |
| Hamiltonian flow | unitary time evolution |
The analogy is not an identity. Not every classical canonical transformation has a globally simple quantum unitary implementation. Ordering, domains, topology, and the double-cover behavior of some linear symplectic transformations can matter. The safe statement is that canonical transformations preserve the classical bracket structure that quantum unitary transformations preserve after quantization.
Active and Passive Viewpoints
Section titled “Active and Passive Viewpoints”There are two common readings of a canonical transformation:
- passive: a change of phase-space coordinates used to describe the same physical point;
- active: a map that moves points or observables through phase space.
Both viewpoints are useful, but mixing them causes sign errors. The same warning appears in quantum mechanics when comparing with .
When checking formulas, state which variables are old, which variables are new, and whether the transformation acts on coordinates, states, or observables.
Common Mistakes
Section titled “Common Mistakes”- Assuming every invertible change of variables is canonical.
- Checking only phase-space volume preservation instead of the full Poisson-bracket conditions.
- Forgetting that momenta transform as covectors under coordinate changes.
- Ignoring the extra Hamiltonian term for time-dependent generating functions.
- Treating canonical transformations and quantum unitary transformations as exactly the same object.
- Mixing active and passive sign conventions.
- Believing that determinant is sufficient for a canonical transformation in more than one degree of freedom.
Exercises
Section titled “Exercises”- Decide whether and is canonical.
Solution
Compute
Also and . Therefore the transformation is canonical.
- Decide whether and is canonical.
Solution
Compute
The canonical condition would require . The transformation is invertible, but it is not canonical.
- Use , with constant , to find the canonical transformation it generates. Then describe a free particle using , where is a constant acceleration. Find and for initial laboratory data , .
Solution
For a type- generating function,
Thus the transformation translates the coordinate by and leaves the momentum equal to the new momentum.
For the accelerating origin, and , so
The trajectory follows either from Hamilton’s equations for or by transforming the laboratory free trajectory. It has . Meanwhile and the laboratory energy remains constant.
- Let in one degree of freedom. Use to find the infinitesimal transformations of and .
Solution
For the coordinate,
For the momentum,
Thus generates translations of .
- Show that a unitary transformation preserves commutators.
Solution
Use :
Therefore
References
Section titled “References”- V. I. Arnold, Mathematical Methods of Classical Mechanics, 2nd ed., Springer, 1989.
- H. Goldstein, C. Poole, and J. Safko, Classical Mechanics, 3rd ed., Addison-Wesley, 2002.
- G. J. Sussman and J. Wisdom, Structure and Interpretation of Classical Mechanics, 2nd ed., MIT Press, 2015, §5.4.3 — time-dependent generating functions and the transformed Hamiltonian.