2.1.16 · D3Analytical Mechanics

Worked examples — Canonical transformations — generating functions

3,127 words14 min readBack to topic

The scenario matrix

Every generating-function problem falls into one of these cells. Our job below is to hit every one.

Cell What makes it distinct Covered by
A. Direct forward given , read off by differentiating Ex 1
B. Implicit inversion relations tangle together; must solve for them Ex 2
C. Sign / branch care square roots & inverse trig → quadrant + sign ambiguity Ex 3
D. Degenerate input a variable is zero; the origin () is the one true coordinate singularity of the oscillator action–angle map Ex 4
E. Time-dependent , so Ex 5
F. Test-only (no given) prove a map is canonical via Poisson brackets Ex 6
G. Word problem physical oscillator, real numbers & units Ex 7
H. Exam twist a "trap": choose the right type, or catch a non-canonical map Ex 8

We proceed A→H. Three figures carry the geometry: Figure 1 = the phase-space picture (Ex 3), Figure 2 = the sign-quadrant schematic (Ex 3), Figure 3 = the non-canonical bracket plot (Ex 8).


Example 1 — Cell A: read it straight off


Example 2 — Cell B: relations that tangle, must be solved


Example 3 — Cell C: signs, branches & all four quadrants

Here geometry matters, so we draw the phase plane. The phase point is ; its distance from the origin and its angle both carry meaning. Figure 1 shows the phase plane with one worked point in each quadrant.

Figure — Canonical transformations — generating functions

Figure 2 turns those sign rules into a schematic map of the four quadrants plus the four axis cases.

Figure — Canonical transformations — generating functions

Example 4 — Cell D: degenerate / zero input


Example 5 — Cell E: time-dependent generator, so


Example 6 — Cell F: no generator given, prove canonicity by Poisson brackets


Example 7 — Cell G: real-world word problem with numbers & units


Example 8 — Cell H: the exam twist (spot the non-canonical map)

Figure — Canonical transformations — generating functions

Active recall

Recall Test yourself (hide answers)
  • In Ex 3, why can't alone give , and what happens on the axis?
  • In Ex 4, does blowing up at mean the transformation is singular there? Where is the one true singularity?
  • In Ex 5, which term of is the fictitious force, and why can we drop the pure-time term?
  • In Ex 6, what domain makes well-defined?
  • In Ex 8, what multiplier repairs ?
For which point does accidentally satisfy the bracket?
Only , where .
Action of the block?
.
Period of that block?
.
Effective Hamiltonian in Ex 5?
, giving pseudo-force .
Why can a pure-time term be dropped from ?
It is a total time derivative — a canonical gauge change — so its derivatives vanish and dynamics is unchanged.
On the axis, why does the arctan branch-fix fail?
It divides by ; instead read straight from the sign of (i.e. of ): , .
Where is the one true coordinate singularity of the oscillator action–angle map?
The origin (), where the angle is undefined.
Domain that makes Ex 6's map well-defined?
and (so for the log and finite).

Connections