The Hamiltonian vs. the energy function

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 4K views
Loxias
Messages
29
Reaction score
0

Homework Statement



The mechanics of a system are described by the Lagrangian:
[tex]L = \frac{1}{2}\dot{x}^2 + \dot{x}t[/tex]

Homework Equations



(a) Write the Energy (Jacobi function) for the system.
(b) Show that [tex]\frac{dh}{dt} \neq \frac{\partial h}{\partial t}[/tex]
(c) Write an expression for the Hamiltonian of the system.
(d) Recall that [tex]\frac{dH}{dt} = \frac{\partial H}{\partial t}[/tex] allways.
explain why[tex]\frac{dH}{dt} = \frac{\partial H}{\partial t}, \frac{dh}{dt} \neq \frac{\partial h}{\partial t}[/tex] , even though H and h are equal in value.


The Attempt at a Solution



a. [tex]\frac{\partial L}{\partial \dot{x}} = \dot{x} + t[/tex]
and we get
[tex]h = \frac{\partial L}{\partial \dot{x}}\dot{x} - L = \frac{1}{2}\dot{x}^2[/tex]

b. [tex]\frac{\partial h}{\partial t} = 0, \frac{dh}{dt} \dot{x}\ddot{x}[/tex]

c. This is what I don't understand..
They both have the same expression... what is the difference between the two sections..
 
Physics news on Phys.org
Ah, but they don't have the same expression. The Hamiltonian ([itex]H[/itex]) is written in terms of the [itex]q[/itex]'s and [itex]p[/itex]'s, while the pre-Hamiltonian ([itex]h[/itex]) is written in terms of [itex]q[/itex]'s and [itex]\dot{q}[/itex]'s. Because of that little change, there is a difference.

In this case,

[tex] h(x,\dot{x},t)=\frac{1}{2}\dot{x}^2[/tex]

while

[tex] H(x,p_x,t)=\frac{1}{2}\left(p_x-t\right)^2[/tex]

where we used the Legendre transform (part a) to get the momentum (recall [itex]p_q=\partial L/\partial\dot{q}[/itex]).
 
Thank you for clarifying this.
Could you elaborate more about what you meant with the legendere transform?
 
Sure. The Legendre transform is a mathematical operation that transforms one set of coordinates into another set. In the case of Hamiltonian mechanics, you are turning velocity coordinates ([itex]\dot{q}[/itex]) into momentum coordinates ([itex]p[/itex]):

[tex] p_q=\frac{\partial L}{\partial\dot{q}}<br /> [/itex][/tex]