The derivative of velocity with respect to a coordinate

In summary, the Lagrangian and Hamiltonian are treated as functions of independent variables, such as position and velocity. They are not affected by the motion of individual particles or objects within the system. The equations derived from these functions, such as the Euler-Lagrange and Hamilton's equations, hold true for each degree of freedom and corresponding momentum. The Lagrangian and Hamiltonian describe the collective time evolution of the entire system.
  • #1
olgerm
Gold Member
531
34

Why ##\frac{\partial (0.5*m*\dot{x}^2-m*g*x)}{\partial x}=-mg##? why ##\frac{\partial \dot{x}}{\partial x}=0##?


Why ##\frac{\partial (0.5*m*\dot{x}^2-m*g*x)}{\partial \dot{x}}=m*\dot{x}## ? why ##\frac{\partial x}{\partial \dot{x}}=0##?

Does it assume that speed is same at every location?
I know that ##\dot{x}=\frac{\partial x}{\partial t}##.
 
Physics news on Phys.org
  • #2
olgerm said:

Why ##\frac{\partial (0.5*m*\dot{x}^2-m*g*x)}{\partial x}=-mg##? why ##\frac{\partial \dot{x}}{\partial x}=0##?


Why ##\frac{\partial (0.5*m*\dot{x}^2-m*g*x)}{\partial \dot{x}}=m*\dot{x}## ? why ##\frac{\partial x}{\partial \dot{x}}=0##?

Does it assume that speed is same at every location?
I know that ##\dot{x}=\frac{\partial x}{\partial t}##.

The Lagrangian is treated as a function of independent variables. In this context ##x## and ##\dot{x}## are treated as independent.

These are dependent along the trajectory of a particle, but the Lagrangian is a function on the whole of your phase space, not just one trajectory.

In phase space a particle may have position ##x## and any velocity ##\dot{x}##.
 
  • Informative
  • Like
Likes olgerm and anorlunda
  • #3
PeroK said:
The Lagrangian is treated as a function of independent variables. In this context ##x## and ##\dot{x}## are treated as independent.

These are dependent along the trajectory of a particle, but the Lagrangian is a function on the whole of your phase space, not just one trajectory.

In phase space a particle may have position ##x## and any velocity ##\dot{x}##.
##x (t)## is a function depends on ##t## and describes the movement of a mass point. Its Lagrange function $$ \frac 1 2 m {\left[\dot{x}(t)\right]}^2 -mgx(t) $$ which contains the unknown function ##x (t)##. But if the function ##x (t)## is known, it depends only on the independent variable ##t##.

The $$ \frac {d} {dt} \frac {\partial L} {\partial \dot x } - \frac {\partial L} {\partial x} = 0$$ Lagrange equation is written using the following substitution (use the left-hand element to replace the right) $$ t \to t $$ $$ x(t) \to u $$ $$ \dot x(t) \to v. $$ Of course, the partial derivative of the Lagrange function cannot be taken by ## x(t) ## or ## \dot{x} (t) ##, because they are not independent variables. But the partial derivatives of ##u## and ##v## can be calculated for the function ##L (u, v, t)## and then replace it with ## x(t) ## and ## \dot{x} (t) ## as above. The usual way to write Lagrange equations is the shorthand version of the above procedure.

-------------------------------------------------------------------------------------------------------------------------------------------------

Lagrangian mechanics do not use the phase space at all but instead use the configuration space.

The general expression of the momentum is $$ p= \frac {\partial L} {\partial \dot q } $$ which is not the product of the speed and the mass.
 
  • Like
Likes olgerm
  • #4
PeroK said:
In this context ##x## and ##\dot{x}## are treated as independent.
I believe that. But generally mathematical formulas should be unambiguously understandable without any comments or context needed.
 
  • #5
And if the system consists of many moving objects then L is still same for all objects and langrange 2. kind equation is true for every degree of freedom and corresponding momentum?

For example 2 pointbodies of which one is stuck on 2D area I get 5 equations:

##L=\frac{m_1*(v_{x1}^2+v_{y1}^2+v_{z1}^2)+m_2*(v_{x2}^2+v_{y2}^2)}{2}+\frac{m_1*m_2*G-q_1*q_2*k_E}{\sqrt{(x_{1}-x_{2})^2+(y_{1}-y_{2})^2+(z_{1}-z_{2})^2}}##
##\frac {d} {dt} \frac {\partial L} {\partial v_{x1} } - \frac {\partial L} {\partial x_1} = 0##
##\frac {d} {dt} \frac {\partial L} {\partial v_{x2} } - \frac {\partial L} {\partial x_2} = 0##
##\frac {d} {dt} \frac {\partial L} {\partial v_{y1} } - \frac {\partial L} {\partial y_1} = 0##
##\frac {d} {dt} \frac {\partial L} {\partial v_{y2} } - \frac {\partial L} {\partial y_2} = 0##
##\frac {d} {dt} \frac {\partial L} {\partial v_{z1} } - \frac {\partial L} {\partial z_1} = 0##
?
 
Last edited:
  • #6
olgerm said:
I believe that. But generally mathematical formulas should be unambiguously understandable without any comments or context needed.

If you’ve followed through the derivation of the Euler-Lagrange equation it’s all very clear and apparent.
olgerm said:
And if the system consists of many moving objects then L is still same for all objects and langrange 2. kind equation is true for every degree of freedom and corresponding momentum?

For example 2 pointbodies of which one is stuck on 2D area I get 5 equations:

##L=\frac{m_1*(v_{x1}^2+v_{y1}^2+v_{z1}^2)+m_2*(v_{x2}^2+v_{y2}^2)}{2}+\frac{m_1*m_2*G-q_1*q_2*k_E}{(x_{1}-x_{2})^2+(y_{1}-y_{2})^2+(z_{1}-z_{2})^2}##
##\frac {d} {dt} \frac {\partial L} {\partial v_{x1} } - \frac {\partial L} {\partial x_1} = 0##
##\frac {d} {dt} \frac {\partial L} {\partial v_{x2} } - \frac {\partial L} {\partial x_2} = 0##
##\frac {d} {dt} \frac {\partial L} {\partial v_{y1} } - \frac {\partial L} {\partial y_1} = 0##
##\frac {d} {dt} \frac {\partial L} {\partial v_{y2} } - \frac {\partial L} {\partial y_2} = 0##
##\frac {d} {dt} \frac {\partial L} {\partial v_{z1} } - \frac {\partial L} {\partial z_1} = 0##
?

Yes that’s true
 
  • #7
Is same true about hamiltonian, that I can write both Hamilton's equations about all degrees of freedom and corresponding momentums, but Hamiltonian itself is same?
 
  • #8
Yes, there is one hamiltonian for your entire system the same way there is one Lagrangian. The Lagrangian/Hamiltonian describes the collective time evolution of your entire system, including all the particles and all the fields.
 

1. What is the derivative of velocity with respect to a coordinate?

The derivative of velocity with respect to a coordinate is the rate of change of velocity with respect to that coordinate. It represents how much the velocity changes for every unit change in the coordinate.

2. Why is the derivative of velocity with respect to a coordinate important?

The derivative of velocity with respect to a coordinate is important because it helps us understand the behavior of an object's motion. It can tell us how fast an object is accelerating or decelerating, and in what direction.

3. How is the derivative of velocity with respect to a coordinate calculated?

The derivative of velocity with respect to a coordinate is calculated using the concept of limits. It involves finding the slope of a tangent line to the velocity curve at a specific point. This slope represents the instantaneous rate of change of velocity at that point.

4. What is the relationship between the derivative of velocity with respect to a coordinate and acceleration?

The derivative of velocity with respect to a coordinate is equal to the acceleration of an object in that coordinate direction. This means that the derivative can tell us how an object's velocity is changing over time, which is the definition of acceleration.

5. How is the derivative of velocity with respect to a coordinate used in real-life applications?

The derivative of velocity with respect to a coordinate is used in many real-life applications, such as in physics and engineering. It can help us understand the motion of objects in various systems, and can be used to optimize processes and improve designs.

Similar threads

Replies
3
Views
737
Replies
2
Views
186
  • Mechanics
Replies
3
Views
970
Replies
7
Views
1K
Replies
3
Views
939
Replies
14
Views
2K
Replies
22
Views
455
  • Mechanics
Replies
24
Views
984
Replies
3
Views
494
Replies
4
Views
985
Back
Top