Generating Functions in Hamiltonian Mechanics

Click For Summary
Generating functions in Hamiltonian mechanics can yield different canonical transformations depending on the specific function used. The four generating functions presented in the discussion—F1, F2, F3, and F4—are valid but do not all return the same transformation. Functions F1 and F4 yield the same transformation (Q=p and P=-q), while F2 and F3 lead to distinct transformations. The choice of generating function is crucial and is determined by the desired transformation, as each function is derived from the action principle and can be related through Legendre transformations. Ultimately, the selection of a generating function should align with the specific transformation requirements in Hamiltonian mechanics.
dyn
Messages
774
Reaction score
63
Hi
I have been looking at canonical transformation using generating functions. I am using the Goldstein book and it gives the following example -
F1=qQ ⇔ Q=p and P=-q

F2=qP ⇔ Q=q and P=p

F3=pQ ⇔ Q=-q and P=-p

F4=pP ⇔ Q=p and P=-q

I'm confused ! Obviously functions 1 and 4 give the same canonical transformation Q=p and P=-q but functions 2 and 3 both return different transformations.
Are all 4 functions supposed to return the same transformation ?
 
Physics news on Phys.org
It depends which kind of generating function you use. All of them depend on one set of the old and new phase-space variables. The original generating function, which can be directly derived from the action principle in Hamiltonian formulation and the demand that the transformation should be canonical (i.e., diffeomorphisms on phase space that leave the Poisson brackets invariant), is
f=f(q,Q).
The relation between the old and new coordinates is then given by
p=\partial_q f, \quad P=-\partial_Q f.
The other generating functions are equivalent and can be found via Legendre transformations, e.g.,
f(q,Q)=g_1(q,P)-Q \cdot P.
Then you get
p=\partial_q g_1, \quad Q=\partial_P g_2.
The next combination is
f(q,Q)=g_2(p,Q)+q \cdot p.
Then we get
q=-\partial_p g_2, \quad P=-\partial_Q g_2.
Finally we use
g_2(p,Q)=g_3(p,P)-Q \cdot P.
Then we have
q=-\partial_p g_3, \quad Q=\partial_P g_3.
In all four cases the generating functions may also depend explicitly on time. Then you always have to adapt also the Hamiltonian via
H'=H+\partial_t (\text{generating function}).
So all four Legendre transformations in your examples are correct and obviously do not represent the same transformation.
 
So you choose the particular generating function depending on what the transformation is ? Either function 1 or 4 which return the same transformation ; or function 2 or function 3 which both return different transformations ?
 
For simple comparison, I think the same thought process can be followed as a block slides down a hill, - for block down hill, simple starting PE of mgh to final max KE 0.5mv^2 - comparing PE1 to max KE2 would result in finding the work friction did through the process. efficiency is just 100*KE2/PE1. If a mousetrap car travels along a flat surface, a starting PE of 0.5 k th^2 can be measured and maximum velocity of the car can also be measured. If energy efficiency is defined by...

Similar threads

  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 2 ·
Replies
2
Views
539
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
5
Views
851
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K