# I Hamiltonian and Lagrangian in classical mechanics

1. Dec 14, 2017

### undividable

Is the following logic correct?:

If you have an hamiltonian, that has time has a variable explicitly, and you get the lagrangian,L, from it, and then you get an equivalent L', since L has the total time derivate of a function, both lagrangians will lead to the same equations euler-lagrange equations right? If so, and if you get you get the hamiltonian from L', and you find the hamilton equations from it will they be equal to the original hamiltonian's hamilton equations? and if they are wont the first hamiltonian's hamiltion equation have time explicitly(since the given hamiltonian has time), whereas the second hamiltonian's hamilton equations wont have time(because L' does not have time). how can they be the same?

if it is of any help, the given hamiltonian is :

Last edited: Dec 14, 2017
2. Dec 19, 2017

### PF_Help_Bot

Thanks for the thread! This is an automated courtesy bump. Sorry you aren't generating responses at the moment. Do you have any further information, come to any new conclusions or is it possible to reword the post? The more details the better.