ArticleslgStudy

physics

Canonical transformation

Canonical transformation is a physics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Canonical transformation rather than just read about it. In short: In Hamiltonian mechanics, a canonical transformation is a change of canonical coordinates (q, p) → (Q, P) that preserves the form of Hamilton's equations. This is sometimes known as form invariance.

Key takeaways

  • Canonical transformation belongs to physics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Canonical transformation to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Canonical transformation from memory before moving on to harder problems.

Reference excerpt

In Hamiltonian mechanics, a canonical transformation is a change of canonical coordinates (q, p) → (Q, P) that preserves the form of Hamilton's equations. This is sometimes known as form invariance. Although Hamilton's equations are preserved, it need not preserve the explicit form of the Hamiltonian itself. Canonical transformations are useful in their own right, and also form the basis for the Hamilton–Jacobi equations (a useful method for calculating conserved quantities) and Liouville's theorem (itself the basis for classical statistical mechanics). Since Lagrangian mechanics is based on generalized coordinates, transformations of the coordinates q → Q do not affect the form of Lagrange's equations and, hence, do not affect the form of Hamilton's equations if the momentum is simultaneously changed by a Legendre transformation into Pi=∂L∂Q˙i , where { (P1,Q1), (P2,Q2), (P3,Q3), … } are the new coordinates, grouped in canonical conjugate pairs of momenta Pi and corresponding positions Qi, for i=1,2,… N, with N being the number of degrees of freedom in both coordinate systems. Therefore, coordinate transformations (also called point transformations) are a type of canonical transformation. However, the class of canonical transformations is much broader, since the old generalized coordinates, momenta and even time may be combined to form the new generalized coordinates and momenta. Canonical transformations that do not include the time explicitly are called restricted canonical transformations (many textbooks consider only this type). Modern mathematical descriptions of canonical transformations are considered under the broader topic of symplectomorphism which covers the subject with advanced mathematical prerequisites such as cotangent bundles, exterior derivatives and symplectic manifolds.

Notation Boldface variables such as q represent a list of N generalized coordinates that need not transform like a vector under rotation and similarly p represents the corresponding generalized momentum, e.g., 𝐪≡(q1,q2,…,qN−1,qN)𝐩≡(p1,p2,…,pN−1,pN). A dot over a variable or list signifies the time derivative, e.g., 𝐪˙≡d𝐪dtand the equalities are read to be satisfied for all coordinates, for example: 𝐩˙=−∂f∂𝐪⟺pi˙=−∂f∂qi(i=1,…,N). The dot product notation between two lists of the same number of coordinates is a shorthand for the sum of the products of corresponding components, e.g., 𝐩⋅𝐪≡∑k=1Npkqk. The dot product (also known as an "inner product") maps the two coordinate lists into one variable representing a single numerical value. The coordinates after transformation are similarly labelled with Q for transformed generalized coordinates and P for transformed generalized momentum.

Conditions for restricted canonical transformation Restricted canonical transformations are coordinate transformations where transformed coordinates Q and P do not have explicit time dependence, i.e., 𝐐=𝐐(𝐪,𝐩) and 𝐏=𝐏(𝐪,𝐩). The functional form of Hamilton's equations is 𝐩˙=−∂H∂𝐪,𝐪˙=∂H∂𝐩 In general, a transformation (q, p) → (Q, P) does not preserve the form of Hamilton's equations but in the case of a time independent transformation some simplifications are possible. Following the formal definition for a canonical transformation, it can be shown that for this type of transformation, the new Hamiltonian (sometimes called the Kamiltonian) can be expressed as: K(𝐐,𝐏,t)=H(q(𝐐,𝐏),p(𝐐,𝐏),t)+∂G∂t(t) where it differs from the Hamiltonian by a partial time derivative of a function known as a generator, which reduces to being only a function of time for restricted canonical transformations. In addition to leaving the form of the Hamiltonian unchanged, the Kamiltonian also permits the use of the unchanged Hamiltonian in Hamilton's equations of motion due to the above form as: 𝐏˙=−∂K∂𝐐=−(∂H∂𝐐)𝐐,𝐏,t𝐐˙=∂K∂𝐏=(∂H∂𝐏)𝐐,𝐏,t Although the class of canonical transformations is larger than that which can be obtained with this restricted formulation, the restricted version provides a good starting point to obtain results that can be further generalized. All of the following conditions, with the exception of bilinear invariance condition, can be generalized for the full class of canonical transformations, including time dependence.

Indirect conditions Since restricted transformations have no explicit time dependence (by definition), the time derivative of a new generalized coordinate Qm is Q˙m=∂Qm∂𝐪⋅𝐪˙+∂Qm∂𝐩⋅𝐩˙=∂Qm∂𝐪⋅∂H∂𝐩−∂Qm∂𝐩⋅∂H∂𝐪={Qm,H} where {⋅, ⋅} is the Poisson bracket.

Similarly for the identity for the conjugate momentum, Pm using the form of the "Kamiltonian" it follows that: ∂K(𝐐,𝐏,t)∂Pm=∂K(𝐐(𝐪,𝐩),𝐏(𝐪,𝐩),t)∂𝐪⋅∂𝐪∂Pm+∂K(𝐐(𝐪,𝐩),𝐏(𝐪,𝐩),t)∂𝐩⋅∂𝐩∂Pm=∂H(𝐪,𝐩,t)∂𝐪⋅∂𝐪∂Pm+∂H(𝐪,𝐩,t)∂𝐩⋅∂𝐩∂Pm=∂H∂𝐪⋅∂𝐪∂Pm+∂H∂𝐩⋅∂𝐩∂Pm

Due to the form of the Hamiltonian equations of motion, 𝐏˙=−∂K∂𝐐𝐐˙=∂K∂𝐏 if the transformation is canonical, the two derived results must be equal, resulting in the equations: (∂Qm∂pn)𝐪,𝐩=−(∂qn∂Pm)𝐐,𝐏(∂Qm∂qn)𝐪,𝐩=(∂pn∂Pm)𝐐,𝐏 The analogous argument for the generalized momenta Pm leads to two other sets of equations: (∂Pm∂pn)𝐪,𝐩=(∂qn∂Qm)𝐐,𝐏(∂Pm∂qn)𝐪,𝐩=−(∂pn∂Qm)𝐐,𝐏 These are the indirect conditions to check whether a given transformation is canonical.

Symplectic condition Sometimes the Hamiltonian relations are represented as: η˙=J∇ηH Where J:=(0In−In0), and 𝜼=[q1⋮qnp1⋮pn]. Similarly, let 𝜺=[Q1⋮QnP1⋮Pn].

From the relation of partial derivatives, converting the η˙=J∇ηH relation in terms of partial derivatives with new variables gives η˙=J(MT∇εH) where M:=∂(𝐐,𝐏)∂(𝐪,𝐩). Similarly for ε˙, ε˙=Mη˙=MJMT∇εH

Due to form of the Hamiltonian equations for ε˙, ε˙=J∇εK=J∇εH

where ∇εK=∇εH can be used due to the form of Kamiltonian. Equating the two equations gives the symplectic condition as: MJMT=J The left hand side of the above is called the Poisson matrix of ε, denoted as 𝒫(ε)=MJMT. Similarly, a Lagrange matrix of η can be constructed as ℒ(η)=MTJM. It can be shown that the symplectic condition is also equivalent to MTJM=J by using the J−1=−J property. The set of all matrices M which satisfy symplectic conditions form a symplectic group. The symplectic conditions are equivalent with indirect conditions as they both lead to the equation ε˙=J∇εH, which is used in both of the derivations.

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Canonical transformation

Start with the simplest possible case. Write down what Canonical transformation claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In physics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Canonical transformation before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Canonical transformation ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Canonical transformation

In research
Canonical transformation appears in physics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Canonical transformation in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Canonical transformation is common in secondary-school and first-year university syllabi. It links to neighbouring topics Hamiltonian mechanics, Transforms, so understanding it makes those chapters shorter.
In everyday life
Look for Canonical transformation outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Canonical transformation” →

How to study Canonical transformation in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Canonical transformation means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Canonical transformation out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Canonical transformation in simple terms?

In Hamiltonian mechanics, a canonical transformation is a change of canonical coordinates (q, p) → (Q, P) that preserves the form of Hamilton's equations. This is sometimes known as form invariance.

Why does Canonical transformation matter?

Because it connects several physics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Canonical transformation?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Canonical transformation.

Tags

  • Hamiltonian mechanics
  • Transforms

Keep exploring