How to Treat ω in the Legendre Transform of a Lagrangian?

Join the discussion
Registration is free. Start your own thread to ask a follow-up.
1 reply · 2K views
Uku
Messages
79
Reaction score
0

Homework Statement



I am given a Lagrangian, which, per assignment text, describes a single degree of freedom:

[itex]L= \frac{I}{2}(\dot{q}+\omega)^2-kq^2[/itex]

I need to find the Hamiltonian.

Now, what I am wondering, when performing the Legrende transform:

[itex]H=\sum_{j}p_{j}\dot{q}_{j}-L(q_{j},\dot{q}_{j},t)[/itex]

Do I consider [itex]\omega[/itex] as velocity, eg. there are two members of the sum: [itex]\sum_{j}p_{j}\dot{q}_{j}[/itex]? The assignment states one degree of freedom.. so I'm a bit insecure on that.

U.
 
Physics news on Phys.org
If there is only one degree of freedom (##q##), then ##\omega## would just be a constant or some parameter. So, only one term ##p\dot q## in the transformation.