2.1.16 · D1Analytical Mechanics

Foundations — Canonical transformations — generating functions

2,768 words13 min readBack to topic

Before you can read the parent note, you must be fluent in the words it throws around: phase space, coordinate, momentum, Hamiltonian, partial derivative, total time derivative, variation, new variables , generating function, Legendre transform, and Poisson bracket. This page builds each from nothing, in an order where every symbol is earned before it is used.


1. Position — where something is

Picture a single number line. The dot sitting on it at position is the whole configuration.


2. Momentum — how it is moving

Here (read "-dot") is our first piece of notation:


3. Phase space — the picture that makes everything click

Position alone can't predict the future: a pendulum at the bottom might be moving left, right, or resting. You need both where it is and how it moves. So plot them together.

Figure — Canonical transformations — generating functions

4. The new variables — a fresh grid on the same picture


5. The Hamiltonian — the energy landscape that drives the flow


6. Partial derivative — "wiggle one thing, freeze the rest"

depends on several inputs (, , maybe ). To ask "how does change if I nudge only ?" we need a derivative that holds the others fixed.

Figure — Canonical transformations — generating functions

7. Hamilton's equations — the rule of motion

The parent topic's whole quest is: change so these two equations keep their exact shape, with a possibly new landscape : A transformation that pulls this off is called canonical. See Hamilton's equations for the full derivation.


8. The generating function and the master relation

Here is the object the entire parent note revolves around, stated plainly so nothing later is a surprise.


9. Total time derivative — the full rate of change

The master relation contains . This differs from the partial one, and mixing them up wrecks everything.


10. Variation — nudging the whole path

Figure — Canonical transformations — generating functions

11. Legendre transform — swapping a variable for its slope

To turn a Type-1 recipe into a Type-2 recipe we must trade the new coordinate for the new momentum . That trade is a Legendre transform, and it is worth seeing step by step.


12. Poisson bracket — the algebraic canonicity test


The prerequisite map

Position q

Phase space q p

Momentum p

Hamiltonian H

New variables Q P

Partial derivative

Hamilton equations

Master relation with dF over dt

Total time derivative

Variation delta

Generating function F

Legendre swap

Four generator types

Poisson bracket

Canonicity test

Canonical transformations

This flows straight into Symplectic geometry, Liouville's theorem, the Hamilton–Jacobi equation and Action–angle variables once the parent topic is mastered.


Equipment checklist

What does mean, and in what units if is metres?
, the time rate of change; units metres per second.
If is in metres and mass in kilograms, what are the units of ?
Kilogram-metres per second, — different units from .
What single point in phase space represents?
One complete state of the system: both where it is () and how it moves ().
What are and ?
New coordinates and momenta, each a formula in the old — a fresh grid on the same phase space, not guaranteed to keep the old units.
What is the physical meaning of in most problems?
The total energy (kinetic + potential) written as a function of and .
Why write with a curly instead of ?
Because has several inputs; means "vary only, freeze and ."
State Hamilton's two equations.
and .
What is the generating function , in one sentence?
A single scalar recipe from which the whole transformation is obtained by differentiation.
State the master relation that all canonical transformations obey.
.
How does the new Hamiltonian relate to ?
; equal only if has no explicit time.
What are the four generator types keyed on?
Which old/new pair depends on: .
How does differ from ?
Total adds the indirect changes through moving ; partial counts only the explicit dependence.
What algebraic identity powers the Legendre swap between generator types?
, so a term becomes a term plus a boundary piece.
Write the multi-dimensional Poisson bracket .
.
What fundamental brackets certify that is canonical?
and .