Hamiltonian mechanics: canonical transformations

  • #1

quasar987

Science Advisor
Homework Helper
Gold Member
4,804
29
Say I have a canonical transformation Q(q,p), P(q,p).

In the {q,p} canonical coordinates, the Hamiltonian is

[tex]H(q,p,t)=p\dot{q}-L(q,\dot{q},t)[/tex]

And the function [itex]K(Q,P,t)=H(q(Q,P),p(Q,P),t)[/itex] plays the role of hamiltonian for the canonical coordinates Q and P in the sense that

[tex]\dot{Q}=\frac{\partial K}{\partial P}, \ \ \ \ \ \ -\dot{P}=\frac{\partial K}{\partial Q}[/tex]

My question is this: must I first express all the [itex]\dot{q}[/itex] in there in terms of q and p before transforming my Hamiltonian into [itex]K(Q,P,t)=H(q(Q,P),p(Q,P),t)[/itex], or can I just compute [itex]\dot{q}(Q,\dot{Q},P,\dot{P})[/itex] 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 [itex]p=\partial L /\partial \dot{q}[/itex] !], but I have evidence that it's not and that the second way leads to equations of motion that are wrong. :frown:
 
Last edited:
  • #2
I suppose I found the answer to my question on wiki:

Hamilton's equations are first-order differential equations, and thus easier to solve than Lagrange's equations, which are second-order. However, the steps leading to the equations of motion are more onerous than in Lagrangian mechanics - beginning with the generalized coordinates and the Lagrangian, we must calculate the Hamiltonian, express each generalized velocity in terms of the conjugate momenta, and replace the generalized velocities in the Hamiltonian with the conjugate momenta.

But then, wouldn't this suggest that some problems simply are not solvable in hamiltonian formulation? Namely, those for which

[tex]p=\frac{\partial L}{\partial \dot{q}}[/tex]

is not solvable for [itex]\dot{q}[/itex].
 
  • #3
I

But then, wouldn't this suggest that some problems simply are not solvable in hamiltonian formulation? Namely, those for which

[tex]p=\frac{\partial L}{\partial \dot{q}}[/tex]

is not solvable for [itex]\dot{q}[/itex].

Nice question! Now, in most cases, the lagrangian is quadratic in q-dot, so the equations you write down are linear equations.

I guess that very exotic lagrangians might give a headache in inverting this system, though.
 
  • #4
I suppose I found the answer to my question on wiki:

Hamilton's equations are first-order differential equations, and thus easier to solve than Lagrange's equations, which are second-order. However, the steps leading to the equations of motion are more onerous than in Lagrangian mechanics - beginning with the generalized coordinates and the Lagrangian, we must calculate the Hamiltonian, express each generalized velocity in terms of the conjugate momenta, and replace the generalized velocities in the Hamiltonian with the conjugate momenta.

But then, wouldn't this suggest that some problems simply are not solvable in hamiltonian formulation? Namely, those for which

[tex]p=\frac{\partial L}{\partial \dot{q}}[/tex]

is not solvable for [itex]\dot{q}[/itex].

They are solvable. It's always possible to construct a coherent Hamiltonian formalism for a system which has basically an arbitrary lagrangian. It just takes a special techinique.

For example the Dirac field is completely solvable, even though the lagrangian (density) is not quadratic in "velocities"...
 

Suggested for: Hamiltonian mechanics: canonical transformations

Replies
8
Views
526
Replies
4
Views
480
Replies
5
Views
751
Replies
4
Views
486
Replies
13
Views
452
Back
Top