I Euler-Lagrange equation even if the action isn't stationary?

AI Thread Summary
The discussion centers on the validity of the Euler-Lagrange equation when the action is not stationary, particularly in cases where the Lagrangian is explicitly time-dependent. It is clarified that the derivation of the Euler-Lagrange equation remains correct even when the Lagrangian includes time as an independent variable. The participants explore the implications of this independence on the partial derivatives involved in the equations. A specific example is provided to illustrate how the Euler-Lagrange equations hold true despite the complexities introduced by time dependence. Ultimately, the conclusion emphasizes that the equations are valid without needing to account for the total time derivative of the Lagrangian.
Happiness
Messages
686
Reaction score
30
It seems like I could get the Euler-Lagrange equation for any function that allows symmetry of second derivatives even when the action is not stationary.

Suppose ##L=L(q_1, q_2, ... , q_n, \dot{q_1}, \dot{q_2}, ... , \dot{q_n}, t)##, where all the ##q_i##'s and ##\dot{q_i}##'s are functions of ##t##. ##(\dot{x}## represents ##\frac{dx}{dt}##.##)##

##\frac{d}{dt}\frac{\partial L}{\partial\dot{q}}=\Sigma_i\Big(\frac{dq_i}{dt}\frac{\partial}{\partial q_i}\frac{\partial L}{\partial\dot{q}}+\frac{d\dot{q_i}}{dt}\frac{\partial}{\partial\dot{q_i}}\frac{\partial L}{\partial\dot{q}}\Big)+\frac{\partial}{\partial t}\frac{\partial L}{\partial\dot{q}}##

##=\Sigma_i\Big(\frac{dq_i}{dt}\frac{\partial}{\partial\dot{q}}\frac{\partial L}{\partial q_i}+\frac{d\dot{q_i}}{dt}\frac{\partial}{\partial\dot{q}}\frac{\partial L}{\partial\dot{q_i}}\Big)+\frac{\partial}{\partial\dot{q}}\frac{\partial L}{\partial t}##

##=\frac{\partial}{\partial\dot{q}}\frac{dL}{dt}##

##=\frac{\partial\dot{L}}{\partial\dot{q}}##

##=\frac{\partial L}{\partial q}##

Therefore, ##\frac{d}{dt}\frac{\partial L}{\partial\dot{q}}-\frac{\partial L}{\partial q}=0##.

What's wrong?

EDIT: I think I found the mistake. ##\frac{\partial\dot{L}}{\partial\dot{q}}=\frac{\partial L}{\partial q}## when ##L=L(q, t)## but not so when ##L=L(q, \dot{q}, t)##.
 
Last edited:
No, your derivation was correct. The reason is that indeed concerning the partial derivatives used here you consider the ##q##, the ##\dot{q}##, and ##t## as independent variables, and the Euler-Lagrange equation are valid thus also if ##L## is explicitly time dependent.
 
vanhees71 said:
No, your derivation was correct. The reason is that indeed concerning the partial derivatives used here you consider the ##q##, the ##\dot{q}##, and ##t## as independent variables, and the Euler-Lagrange equation are valid thus also if ##L## is explicitly time dependent.

Consider ##L=q\dot{q}##.

##\frac{\partial L}{\partial q}=\dot{q}##

whereas ##\dot{L}=q\ddot{q}+\dot{q}^2##

##\frac{\partial \dot{L}}{\partial \dot{q}}=2\dot{q}\neq\frac{\partial L}{\partial q}##
 
Well, maybe I didn't follow your derivation carfully enough, but nevertheless the Euler-Lagrange equations are also correct for explicitly time-dependent Lagrangians. The reason is simply that in the Hamilton principle ##\delta t=0## by definition, i.e., you define the equations of motion as the stationary points of the action functional
$$A[q]=\int \mathrm{d} t L(q,\dot{q},t) \; \Rightarrow \; \delta A[q]=\int \mathrm{d} t \left (\delta q \frac{\partial L}{\partial q} + \delta \dot{q} \frac{\partial L}{\partial \dot{q}} \right ).$$
Now since ##\delta t=0## by definition you have
$$\delta \dot{q}=\frac{\mathrm{d}}{\mathrm{d} t} \delta q$$
and thus via integration by parts
$$\delta A[q]=\int \mathrm{d} t \delta q \left (\frac{\partial L}{\partial q} - \frac{\mathrm{d}}{\mathrm{d} t} \frac{\partial L}{\partial \dot{q}} \right ).$$
This must vanish for all ##\delta q## in order to make ##\delta A## stationary, which leads to the Euler-Lagrange equations
$$\frac{\partial L}{\partial q} - \frac{\mathrm{d}}{\mathrm{d} t} \frac{\partial L}{\partial \dot{q}}=0.$$
I didn't need the total time derivative of ##L## at all.

Sorry for the confusion.
 
Thread 'Question about pressure of a liquid'
I am looking at pressure in liquids and I am testing my idea. The vertical tube is 100m, the contraption is filled with water. The vertical tube is very thin(maybe 1mm^2 cross section). The area of the base is ~100m^2. Will he top half be launched in the air if suddenly it cracked?- assuming its light enough. I want to test my idea that if I had a thin long ruber tube that I lifted up, then the pressure at "red lines" will be high and that the $force = pressure * area$ would be massive...
I feel it should be solvable we just need to find a perfect pattern, and there will be a general pattern since the forces acting are based on a single function, so..... you can't actually say it is unsolvable right? Cause imaging 3 bodies actually existed somwhere in this universe then nature isn't gonna wait till we predict it! And yea I have checked in many places that tiny changes cause large changes so it becomes chaos........ but still I just can't accept that it is impossible to solve...

Similar threads

Back
Top