Deriving the Hamiltonian of a system

2 replies · 1K views · last reply
middleearthss
Messages
13
Reaction score
1

Homework Statement


Derive the Hamiltonian equation in terms of momentum and position ( p and r) for the given system whose lagrangian is stated as L=ř^2/(2w) - wr^2/2

Homework Equations


L=ř^2/(2w) - wr^2/2 and H=př-L

The Attempt at a Solution


Notice here ř means first derivative of r. As i haven't learned how to write equations i derives a solution whoch looks correct and took a picture. I am hoping you can see if it is correct and point at mistakes. In the work i exchanged r with q.
Here are the links to 2 photos i took[/B]
http://www.photobox.co.uk/my/photo?album_id=3508111407&photo_id=8712540967#8712540967

http://www.photobox.co.uk/my/photo?album_id=3508111407&photo_id=8712541232#8712541232

 
Attachments
  • Handwritten derivation in red marker on a whiteboard: r-dot = p/w, then dH/dp and Legendre transform steps with d/dt terms, ending in H = p^2/(2w) + wr^2/2 style expressions, partially legible.
    20150624_191910.jpg
    37 KB · Views: 456
  • Handwritten red marker derivation on a whiteboard: H = p q-dot - L, with p = 2 q-dot / ... leading to H = p^2/(2m) + m w^2 q^2/2 steps, ending with H = (1/2m)(p^2 + m^2 w^2 q^2).
    20150624_191918.jpg
    38.6 KB · Views: 417
You need hamiltonian equation, not the Hamiltonian. So start from lagrangian equation of motion.