Question about a derivation: velocity and position

AI Thread Summary
The discussion focuses on the derivation of the Lagrangian mechanics equations, specifically addressing the treatment of position (z) and velocity (z') as independent variables in the Euler-Lagrange equations. The Lagrangian is given as L = (1/2) m(z')^2 - mgz, and the correct approach involves using partial derivatives to account for the interdependence of these variables. The distinction between total and partial derivatives is emphasized, with the latter considering other variables as constants. Understanding these concepts requires a foundational knowledge of calculus in multiple variables. The conversation highlights the importance of correctly applying these principles to derive the expected equations of motion.
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 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 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
 
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...
Back
Top