Lagrangian question. ability to remove time derivative terms.

AI Thread Summary
In the discussion, it is established that a term of the form df/dt can be removed from the Lagrangian without affecting the equations of motion, provided certain conditions are met. The conditions include the equality of mixed partial derivatives and the absence of velocity dependence in the time partial derivative. It is clarified that this property applies when f is solely a function of coordinates, such as f(q), and not of velocities. The participants explore whether this concept has a specific name, concluding that while it lacks a formal designation, it reflects the invariance of the equations of motion under certain transformations of the Lagrangian. The conversation highlights the importance of understanding the implications of adding total time derivatives in Lagrangian mechanics.
Peeter
Messages
303
Reaction score
3
In the solution of a pendulum attached to a wheel problem, I was initially suprised to see that a term of the form:

<br /> \frac{df}{dt}<br />

"can be removed from the Lagrangian since it will have no effect on the equations of motion".

ie: L&#039; = L \pm df/dt gives identical results.

f in this case was cos(\omega t + \theta) where theta was the generalized coordinate.

I confirmed this for the cosine function in this example by taking derivatives, and then confirmed that this is in fact a pretty general condition, given two conditions:

1) equality of mixed partials:
<br /> \frac{\partial^2 f}{\partial t \partial q^i} = \frac{\partial^2 f}{\partial q^i \partial t}<br />

2) no dependence on velocity coordinates for time partial derivative:

<br /> \frac{\partial^2 f}{\partial \dot{q}^i \partial t} = 0<br />

Does this ability to add/remove time derivatives of functions from the Lagrangian that aren't velocity dependent have a name?
 
Physics news on Phys.org
I don't think everything you are writing here is making sense.

Peeter said:
In the solution of a pendulum attached to a wheel problem, I was initially suprised to see that a term of the form:

<br /> \frac{df}{dt}<br />

"can be removed from the Lagrangian since it will have no effect on the equations of motion".

ie: L&#039; = L \pm df/dt gives identical results.

I see that this is true if the f is a function of the coordinates, like f(q). However, if you set it to be a function of the velocities too, like f(q,\dot{q}), which seems to be the case since you are calculating a partial derivative

<br /> \frac{\partial^2 f}{\partial \dot{q}^i \partial t} = 0<br />

you are going to get an expression

<br /> \frac{df}{dt} = \frac{\partial f}{\partial q_i}\dot{q}_i + \frac{\partial f}{\partial \dot{q}_i} \ddot{q}_i<br />

What are you going to do with the \ddot{q}_i in the Lagrange's function, which is supposed to be a function of (q,\dot{q}) only?
 
jostpuur said:
I see that this is true if the f is a function of the coordinates, like f(q). However, if you set it to be a function of the velocities too, like f(q,\dot{q}),

Sorry, that's exactly what I implied, f = f(q^1, ... q^n, t) only, and not of any of the \dot{q}^i velocities. (ie: functions like the cos(wt + theta) of the example).

For functions like that you can add or substract arbitrary time derivatives (given the mixed partial equality) just like you can add or subtract constants. Is that considered too obvious to be a named property (it wasn't to me;)
 
I don't know if there is some specific name for this property, but it would be justified to say that the equations of motion are invariant under some class of transformations of the Lagrange's function, L\mapsto L + df/dt. So if you insist on getting some fancy word into this thing, I would suggest the invariance :wink:


Another thing: Are you sure that it is allowable to let f depend explicitly on time? I just proved this result quickly for the case f(q), to see what's going on, but I hit some problems when trying to do the same for f(q,t). It could that I didn't put enough time into it yet, though...
 
I was looking for a name, since I thought that would help remember it. Yes, I'm sure it is allowable for f(q, t). I can type up my notes on this later if you want.
 
Peeter said:
Yes, I'm sure it is allowable for f(q, t). I can type up my notes on this later if you want.

I see this now. I must have made a mistake with my previous calculations.
 
Peeter said:
I was looking for a name, since I thought that would help remember it. Yes, I'm sure it is allowable for f(q, t). I can type up my notes on this later if you want.

Yes, we say that L and L' are IDENTICAL up to a total time derivative. There is no name, but there is the following theorem:

"A function of q(t), \dot{q}(t) and t satisfies Lagrange's equations identically (independent of q(t)) if, and only if, it is a total time derivative of some function \Lambda \left(q(t),t\right)."

I invite you to prove the tricky "only if" part of the theorem. :wink:

regards

sam
 
Back
Top