Proof of Hamiltonian equations

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
3 replies · 2K views
Daaavde
Messages
29
Reaction score
0
So, I should prove that:
[itex]- \frac{\partial H}{\partial q_i} = \dot{p_i}[/itex]
And it is shown that:
[itex]- \frac{\partial H}{\partial q_i} = - p_j \frac{\partial \dot{q_j}}{\partial q_i} + \frac{\partial \dot{q_j}}{\partial q_i} \frac{\partial L}{\partial \dot{q_j}} + \frac{\partial L}{\partial q_i} = \dot{p_i}[/itex]
Where the first two terms delete each other [itex](\frac{\partial L}{\partial \dot{q_j}} = p_j)[/itex] and the third one is equal to [itex]\dot{p_i}[/itex] because of the Lagrange equation.

The problem is that when I take the partial derivative of [itex]H = \sum \dot{q_i}p_i - L[/itex], I get:
[itex]- \frac{\partial H}{\partial q_i} = - p_j \frac{\partial \dot{q_j}}{\partial q_i} - \dot{q_j} \frac{\partial p_j}{\partial q_i} + \frac{\partial L}{\partial q_i} = \dot{p_i}[/itex]
Because I derive a product.

Now, my second term is completely different (even the sign doesn't match). Why is that?
 
Physics news on Phys.org
Sorry, I can't see how that answers the question.
There are no time derivatives here or maybe I overlooked something.
 
Ignore the time part. Make sure you understand the technique that yields the differential of the Hamiltonian that only has the differentials of the canonical variables (and time). From that, the partial derivatives w.r.t. canonical variables follow easily.