- 4,796
- 32
Say I have a canonical transformation Q(q,p), P(q,p).
In the {q,p} canonical coordinates, the Hamiltonian is
H(q,p,t)=p\dot{q}-L(q,\dot{q},t)
And the function K(Q,P,t)=H(q(Q,P),p(Q,P),t) plays the role of hamiltonian for the canonical coordinates Q and P in the sense that
\dot{Q}=\frac{\partial K}{\partial P}, \ \ \ \ \ \ -\dot{P}=\frac{\partial K}{\partial Q}
My question is this: must I first express all the \dot{q} in there in terms of q and p before transforming my Hamiltonian into K(Q,P,t)=H(q(Q,P),p(Q,P),t), or can I just compute \dot{q}(Q,\dot{Q},P,\dot{P}) and substitute?
A priori, I would say that it is certainly not necessary and that the two ways are equivalent [that is, in the event that it is even possible to invert p=\partial L /\partial \dot{q} !], but I have evidence that it's not and that the second way leads to equations of motion that are wrong.
In the {q,p} canonical coordinates, the Hamiltonian is
H(q,p,t)=p\dot{q}-L(q,\dot{q},t)
And the function K(Q,P,t)=H(q(Q,P),p(Q,P),t) plays the role of hamiltonian for the canonical coordinates Q and P in the sense that
\dot{Q}=\frac{\partial K}{\partial P}, \ \ \ \ \ \ -\dot{P}=\frac{\partial K}{\partial Q}
My question is this: must I first express all the \dot{q} in there in terms of q and p before transforming my Hamiltonian into K(Q,P,t)=H(q(Q,P),p(Q,P),t), or can I just compute \dot{q}(Q,\dot{Q},P,\dot{P}) and substitute?
A priori, I would say that it is certainly not necessary and that the two ways are equivalent [that is, in the event that it is even possible to invert p=\partial L /\partial \dot{q} !], but I have evidence that it's not and that the second way leads to equations of motion that are wrong.
Last edited: