I Adding total time derivative to Lagrangian/Canonical Transformations

AI Thread Summary
The discussion centers on the implications of adding a total time derivative to the Lagrangian, as outlined in MIT notes. It establishes that both Lagrangians differing by a total derivative of a function F yield the same Euler-Lagrange equations, reinforcing the concept of canonical transformations. The conversation also explores the relationship between Lagrangian and Hamiltonian formulations, emphasizing that while a total time derivative can be added to the Lagrangian, only a partial time derivative can be added to the Hamiltonian without affecting the equations of motion. Additionally, concerns are raised about specific conditions in the referenced text that may not align with standard principles in Hamiltonian mechanics. The conclusion stresses the independence of Lagrangian and Hamiltonian theories, advocating for a careful approach when transitioning between the two.
PhDeezNutz
Messages
849
Reaction score
556
TL;DR Summary
- The Lagrangian is unique up to a total time derivative of function ##F(q,t)##
- Adding a total time derivative of function ##F## which can be a function of some combination of old and new ##p## and ##q## (conjugate momenta and generalized coordinates) to the Lagrangian can be used to generate canonical transformations
(Via Generating Functions)
- The latter two statements seem to contradict each other
Based off of these MIT Notes: https://ocw.mit.edu/courses/8-09-cl...a346a0868efb7430582c_MIT8_09F14_Chapter_4.pdf

1) This set of notes starts with the premise that ##L’ = L + \frac{dF(q,t)}{dt} = L + \frac{\partial F}{\partial q} \dot q + \frac{\partial F}{\partial t}## produces the same Euler Lagrange Set of Equations. I’m going to prove this.

##\frac{d}{dt} \left( \frac{\partial L’}{\partial \dot q}\right) - \frac{\partial L’}{\partial q} = \frac{d}{dt} \left( \frac{\partial L}{\partial \dot q} + \frac{\partial F}{\partial q}\right) - \left( \frac{\partial L}{\partial q} + \frac{\partial^2 F}{\partial q^2} \dot q + \frac{\partial F}{\partial q \partial t} \right)##

## = \frac{d}{dt} \left( \frac{\partial L}{\partial \dot q} \right) + \frac{\partial^2 F}{\partial q^2} \dot q + \frac{\partial^2 F}{\partial t \partial q} - \frac{\partial L}{\partial q} - \frac{\partial^2 F}{\partial q^2} \dot q - \frac{\partial F}{\partial q \partial t}##

All the ##F## terms cancel above

And we recover the usual Euler Lagrange Equation

##\frac{d}{dt} \left( \frac{\partial L}{\partial \dot 1}\right) - \frac{\partial L}{\partial q} = 0##

2) In the notes above on page 2 they apply the variational principle to two different Lagrangians and say they differ by a total derivative of some function ##F## which depends on some combination of old and new ##p## and ##q##

##\delta \int p \dot q - H(q,p,t) \, dt = 0##
##\delta \int P \dot Q - K(Q,P,) \, dt = 0##

3) They then use the conclusion is 1) and say the Lagrangians must differ by ##\dot F(q,t)## (or ##\dot F(Q,t)##)

## p \dot q - H = P \dot Q - K + \dot F##

4) Then on page 3 they change the reasoning to add ##\dot F## where ##F## depends on some combination of old and new generalized momenta and coordinates. They use this to generate canonical transformations

5) My overall question is the following. How are the two statements below reconcilable? (Let’s assume an ##F(q,P)## for the second part)

##L’ = L + \frac{dF(q,t)}{dt}## produces the same equations of motions
##L’ = L + \frac{dF(q,P)}{dt}## also produces the same equations of motions

Thanks for any help in advance.
 
Physics news on Phys.org
On a side note (or maybe not a side note?). I think I see the motivation for defining the Poisson Bracket.

If we add a total time derivative ##\frac{dF(q,p,t)}{dt}## to the Lagrangian and ASSUME that Hamilton’s equations hold, that is

##\dot q = \frac{\partial H}{\partial p}##

##\dot p = - \frac{\partial H}{\partial q}##

Now add a total time derivative to the Lagrangian

##p \dot q - H - \frac{\partial F}{\partial q} \dot q - \frac{\partial F}{\partial p} \dot p - \frac{\partial F}{\partial t}##

Plugging in ##\dot q## and ##\dot p## in the middle we get (After factoring out the minus sig)

##\frac{\partial F}{\partial q} \frac{\partial H}{\partial p} - \frac{\partial F}{\partial p} \frac{\partial H}{\partial q}##

Looks a lot like a Poisson Bracket. And if memory recalls we can add a PARTIAL time derivative of ##F(q,p,t)## to the Hamiltonian and preserve Hamilton’s equations of motions.

So I guess the conclusion

- ISN’T that we can add a total time derivative of ##\frac{dF}{dt}## to the Hamiltonian

BUT

- we can add rather a partial time derivative ##\frac{\partial F}{\partial t}## to the Hamiltonian and preserve the equations of motions IF the Poisson Bracket ##\left[F(q,pt),H(q,p,t)\right] = 0##
 
Speaking formally, the theory of Lagrangian systems and the theory of Hamiltonian systems are independent. It is a bad idea to treat one though another at least in the beginning. In particular an expression ##p\dot q-H(p,q,t)## is not a Lagrangian because the Lagrangian by its definition does not depend on ##p##.

Moreover I see several strange points in the text you quote above. For example in formula (4.10) the condition ##\delta p\mid_{t_1}^{t_2}## is bad (you can not fix both ends of the trajectory at arbitrary points of the phase space). There is no such a condition in the standard statement on the Stationary Action principle for Hamiltonian equations. Perhaps it would be better to learn the Hamiltonian equations theory by Arnold's Math. methods of Classical Mech.
 
Last edited:
The rope is tied into the person (the load of 200 pounds) and the rope goes up from the person to a fixed pulley and back down to his hands. He hauls the rope to suspend himself in the air. What is the mechanical advantage of the system? The person will indeed only have to lift half of his body weight (roughly 100 pounds) because he now lessened the load by that same amount. This APPEARS to be a 2:1 because he can hold himself with half the force, but my question is: is that mechanical...
Some physics textbook writer told me that Newton's first law applies only on bodies that feel no interactions at all. He said that if a body is on rest or moves in constant velocity, there is no external force acting on it. But I have heard another form of the law that says the net force acting on a body must be zero. This means there is interactions involved after all. So which one is correct?
Thread 'Beam on an inclined plane'
Hello! I have a question regarding a beam on an inclined plane. I was considering a beam resting on two supports attached to an inclined plane. I was almost sure that the lower support must be more loaded. My imagination about this problem is shown in the picture below. Here is how I wrote the condition of equilibrium forces: $$ \begin{cases} F_{g\parallel}=F_{t1}+F_{t2}, \\ F_{g\perp}=F_{r1}+F_{r2} \end{cases}. $$ On the other hand...

Similar threads

Back
Top