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

  • Context: Undergrad 
  • Thread starter Thread starter Happiness
  • Start date Start date
  • Tags Tags
    Euler-lagrange even
Click For Summary

Discussion Overview

The discussion revolves around the validity of the Euler-Lagrange equation when the action is not stationary, particularly in the context of Lagrangians that depend explicitly on time. Participants explore the implications of treating the variables as independent and the conditions under which the Euler-Lagrange equations hold.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • One participant suggests that the Euler-Lagrange equation can be derived for any function with symmetry of second derivatives, even if the action is not stationary.
  • Another participant agrees with the derivation, emphasizing that the variables are treated as independent, allowing the Euler-Lagrange equations to apply even for explicitly time-dependent Lagrangians.
  • A different participant provides a counterexample using a specific Lagrangian, indicating that the relationship between the derivatives does not hold in that case.
  • Another participant reiterates that the Euler-Lagrange equations remain valid for explicitly time-dependent Lagrangians, explaining the derivation through the Hamilton principle and integration by parts.

Areas of Agreement / Disagreement

There is no consensus on the validity of the derivation presented by the first participant. Some participants support the correctness of the derivation, while others challenge it with counterexamples, indicating that multiple competing views remain.

Contextual Notes

Participants express uncertainty regarding the implications of treating variables as independent and the conditions under which the Euler-Lagrange equations apply, particularly in the presence of explicit time dependence in 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.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 19 ·
Replies
19
Views
5K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 21 ·
Replies
21
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
5K
  • · Replies 3 ·
Replies
3
Views
3K