Question about a derivation: velocity and position

Click For Summary

Discussion Overview

The discussion revolves around the derivation of equations in Lagrangian mechanics, specifically focusing on the treatment of variables related to position (z) and velocity (z'). Participants explore the Euler-Lagrange equations and the differentiation of the Lagrangian with respect to these variables, addressing the confusion about their interdependence.

Discussion Character

  • Technical explanation
  • Conceptual clarification
  • Debate/contested

Main Points Raised

  • One participant presents the movement equation in Lagrangian mechanics and expresses confusion about differentiating expressions that depend on both z and z'.
  • Another participant emphasizes the importance of treating z and z' as independent variables in the Euler-Lagrange equations, despite their interdependence through time.
  • A later reply clarifies the distinction between total and partial derivatives, noting that partial derivatives treat other variables as constants.
  • Another participant reiterates the necessity of understanding partial derivatives in the context of the Lagrangian, suggesting that a foundational knowledge of multivariable calculus is essential for clarity.

Areas of Agreement / Disagreement

Participants express differing views on the treatment of z and z' as independent variables. While some argue for their independence in the context of the Euler-Lagrange equations, others challenge this notion, leading to an unresolved discussion about the implications of treating these variables differently.

Contextual Notes

Participants note the importance of understanding the calculus of variations and the implications of total versus partial derivatives, indicating that a comprehensive understanding of these concepts is necessary for proper application in Lagrangian mechanics.

Cathr
Messages
67
Reaction score
3
I started studying Lagrangian mechanics, and the movement equation is like this:
d/dt (d/dz') L - d/dz L = 0 if the movement is on the z axis.

Now the problem is, let's say L = M(z')2/2 - Mgz. How do we derivate an expression depending of z with respect to z' and also , an expression depending of z' with respect to z? I know they're interdependent, but I am a bit confused.

Many thanks!
 
Physics news on Phys.org
Cathr said:
I started studying Lagrangian mechanics
Kudos ! In order to benefit even more from PF, a small investment in studying ##\TeX## would also be very beneficial :smile:
$${d\over dt}\left ( d\mathcal L \over d\dot z \right ) - {d\mathcal L \over dz} = 0$$ $$ {\mathcal L} = {\scriptstyle {1\over 2}} m\dot z^2 - mgz$$looks an awful lot better, doesn't it ?

The thing is to treat ##z## and ##\dot z## as independent variables in the Euler-Lagrange equations, even though you know ##\dot z = {dz\over dt}##. In your case you substitute the lower one (##\mathcal L ##) in the top one and take the derivatives: $$ {d\over dt}\Bigl ( m\dot z\Bigr ) - mg = 0 \quad \Rightarrow \quad \ddot z = g $$which is the expected equation of motion.
 
BvU said:
Kudos ! In order to benefit even more from PF, a small investment in studying ##\TeX## would also be very beneficial :smile:
$${d\over dt}\left ( d\mathcal L \over d\dot z \right ) - {d\mathcal L \over dz} = 0$$ $$ {\mathcal L} = {\scriptstyle {1\over 2}} m\dot z^2 - mgz$$looks an awful lot better, doesn't it ?

The thing is to treat ##z## and ##\dot z## as independent variables in the Euler-Lagrange equations, even though you know ##\dot z = {dz\over dt}##. In your case you substitute the lower one (##\mathcal L ##) in the top one and take the derivatives: $$ {d\over dt}\Bigl ( m\dot z\Bigr ) - mg = 0 \quad \Rightarrow \quad \ddot z = g $$which is the expected equation of motion.

Thank you! Why should we treat them differently, is there an explanation for that?
And yes, I will definitely stydy LaTeX once I pass my exams :)
 
Cathr said:
Why should we treat them differently, is there an explanation for that?
We don't treat them differently, on the contrary. Only as 'independent' varables
The Euler-Lagrange equation is established using calculus of variations. The path of least action leads to the EL equations. Deviations from the path can be in ##z## and also in ##\dot z##
 
  • Like
Likes   Reactions: Cathr
Technically the equation should be written
$${d\over dt}\left ( \partial\mathcal L \over \partial\dot z \right ) - {\partial\mathcal L \over \partial z} = 0$$
The difference between the total derivative, ##d##, and the partial derivative, ##\partial##, is precisely this. The partial derivative considers all other variables to be constants while the total derivative needs to compute how much any other variable changes with respect to any changes in the differentiation variable.
 
  • Like
Likes   Reactions: Cathr and BvU
Cathr said:
How do we derivate an expression depending of z with respect to z' and also , an expression depending of z' with respect to z? I
No, you *derive partially* an expression (the Lagrangian, in this case) depending on *both* z and z' (and depending on time, in general):
L = L(z, z', t).
The difference from the "total derivative" with respect to a variable u:
dL/du
and the partial derivative with respect to a variable q:
∂L/∂q
where in this case q can be z, or z' or t (because L, as I wrote, depends "explicitly" to those variables) and where u can be a variable from which the others can depend (z and z' in this case depends on t), has already explained to you.
Anyway, you should have some basic knowledge of calculus in more variables to understand all this, it's impossible to write an entire course on the subject here.

--
lightarrow
 

Similar threads

Replies
6
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 11 ·
Replies
11
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 14 ·
Replies
14
Views
8K
  • · Replies 25 ·
Replies
25
Views
3K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 18 ·
Replies
18
Views
2K