The Lagrange equations from mechanics

AI Thread Summary
The discussion centers on deriving Lagrange's equations from the principles of mechanics, specifically through d'Alembert's principle. It is affirmed that Lagrange's equations can indeed be derived without initially guessing the Lagrangian, using the relationship between generalized forces and the system's total forces. The conversation highlights that both guessing the Lagrangian and applying Newton's second law require a blend of mathematical reasoning and experimental insight. Participants clarify the steps involved in the derivation, emphasizing that the motion does not necessarily minimize the action. Overall, the dialogue reinforces the validity of the Lagrangian approach in mechanics.
aclaret
Messages
24
Reaction score
9
I was having a doubt about the Lagrangian mechanics. Possible we can derive the lagranges equations of by extremisation principle of action, that is assume we already guess what is the lagrangian of the systeme. I say that minimisation procedure rely on assume a lagrangian, and then show it derive correct motions. that okay, but backward. can derive the lagranges equation from mechanics?
 
Physics news on Phys.org
Not sure if I understood the question completely, but I think the answer is yes! You can derive those equations just using d'Alembert's principle. You have a system ##\mathcal{S}## with ##k## degrees of freedom, described by generalised co-ordinates ##\mathbf{q} = (q^1, \dots, q^k)## and generalised velocities ##\dot{\mathbf{q}} = (\dot{q}^1, \dots, \dot{q}^k)##. Acting on any particle ##\mathcal{P}_a \in \mathcal{S}## is a total force ##\mathbf{F}_a## which may be decomposed into the sum of an specified force ##\mathbf{F}^{(s)}_{a}##, which includes known external and internal forces, as well as an unknown constraint force ##\mathbf{F}^{(c)}_{a}##.

d'Alembert's principle states that if the constraint forces do zero work, then the specified force (alone) satisfies$$\sum_a m_a \ddot{\boldsymbol{x}}_a \cdot \mathrm{d}\boldsymbol{x}_a^* = \sum_a \mathbf{F}^{(s)}_a \cdot \mathrm{d}\boldsymbol{x}_a^*$$where the ##\mathrm{d}\boldsymbol{x}_a^*## is any virtual infinitesimal displacement of ##\mathcal{P}_a##. It follows that$$\sum_a m_a \ddot{\boldsymbol{x}}_a \cdot \frac{\partial \boldsymbol{x}_a}{\partial q^i} = \sum_a \mathbf{F}^{(s)}_a \cdot \frac{ \partial \boldsymbol{x}_a}{\partial q^i}$$You can define the generalised force ##Q_i## corresponding to ##q^i##$$Q_i := \sum_a \mathbf{F}^{(s)}_a \cdot \frac{ \partial \boldsymbol{x}_a}{\partial q^i}$$Defining ##T := \sum \frac{1}{2} m_a \dot{\boldsymbol{x}}_a^2##, the left-hand side equals ##\frac{\mathrm{d}}{\mathrm{d}t} \frac{\partial T}{\partial \dot{q}^i} - \frac{\partial T}{\partial q^i}##; to show this notice that by the chain rule ##\dot{\boldsymbol{x}}_a = \left( \partial \boldsymbol{x}_a / \partial q^i \right) \dot{q}^i## from which it follows that$$\frac{\mathrm{d}}{\mathrm{d}t} \frac{\partial T}{\partial \dot{q}^i} = \frac{d}{dt} \sum_a m_a \dot{\boldsymbol{x}}_a \cdot \frac{\partial \boldsymbol{x}_a}{\partial q^i} = \sum_a m_a \ddot{\boldsymbol{x}}_a \cdot \frac{\partial \boldsymbol{x}_a}{\partial q^i} + \sum_a m_a \dot{\boldsymbol{x}}_a \cdot \frac{\partial^2 \boldsymbol{x}_a}{\partial q^i \partial q^j} \dot{q}^j$$and similarly$$\frac{\partial T}{\partial q_i} = \sum_a m_a \dot{\boldsymbol{x}}_a \cdot \frac{\partial \dot{\boldsymbol{x}}_a}{\partial q^i} = \sum_a m_a \dot{\boldsymbol{x}}_a \cdot \frac{\partial^2 \boldsymbol{x}_a}{\partial q^i q^j} \dot{q}^j$$which proves the result; you end up with Lagrange's equation$$\frac{\mathrm{d}}{\mathrm{d}t} \frac{\partial T}{\partial \dot{q}^i} - \frac{\partial T}{\partial q^i} = Q_i$$If the applied forces ##\mathbf{F}^{(s)}_a## are all conservative, it follows that the generalised forces themselves can be written as ##Q_i = - \partial \varphi / \partial q^i ## for some function ##\varphi = \varphi(\mathbf{q})##. Notice also that since ##\varphi## does not depend on the velocities ##\dot{\mathbf{q}}##, we have ##\partial \varphi / \partial \dot{q}^i = 0## and thus$$Q_i = - \frac{\partial \varphi}{\partial q^i} + 0 = - \frac{\partial \varphi}{\partial q^i} + \frac{\mathrm{d}}{\mathrm{d}t} \frac{\partial \varphi}{\partial \dot{q}_i}$$Inserting this into Lagrange's equations and defining ##\mathscr{L} := T - \varphi## gives$$\frac{\mathrm{d}}{\mathrm{d}t} \frac{\partial \mathscr{L}}{\partial \dot{q}^i} - \frac{\partial \mathscr{L}}{\partial q^i} = 0$$Is that sort of what you were after?
 
Last edited by a moderator:
What etotheipi says is basically correct (though it has to be modified for situations with variable masses https://aapt.scitation.org/doi/10.1119/1.4885349), but I want to address the conceptual issue the OP arises.

"guessing" the Lagrangian is not that different than "guessing" the correct forces to put into Newton 2nd law. They both requires a talk between the mathematics and the experience/experiments. So, I see nothing backwards with the Lagrangian approach.
 
etotheipi said:
$$\sum_a m_a \ddot{\boldsymbol{x}}_a \cdot \mathrm{d}\boldsymbol{x}_a^* = \sum_a \mathbf{F}^{(s)}_a \cdot \mathrm{d}\boldsymbol{x}_a^*$$where the ##\mathrm{d}\boldsymbol{x}_a^*## is any virtual infinitesimal displacement of ##\mathcal{P}_a##. It follows that$$\sum_a m_a \ddot{\boldsymbol{x}}_a \cdot \frac{\partial \boldsymbol{x}_a}{\partial q^i} = \sum_a \mathbf{F}^{(s)}_a \cdot \frac{ \partial \boldsymbol{x}_a}{\partial q^i}$$
how does result follow? you make error here

andresB said:
"guessing" the Lagrangian is not that different than "guessing" the correct forces to put into Newton 2nd law. They both requires a talk between the mathematics and the experience/experiments. So, I see nothing backwards with the Lagrangian approach.
thank, yes that what i ask. i am satisfied
 
aclaret said:
how does result follow? you make error here
You start from $$\sum_a m_a \ddot{\boldsymbol{x}}_a \cdot \frac{\mathrm{d}\boldsymbol{x}_a^*}{dt} = \sum_a \mathbf{F}^{(s)}_a \cdot \frac{\mathrm{d}\boldsymbol{x}_a^*}{dt}$$For each generalised coordinate in turn, we'll prescribe a certain virtual motion with ##\dot{q}^{\xi} = 1## and ##\dot{q}^i = 0## for ##i \neq {\xi}##. Then, by the chain rule, ##d \boldsymbol{x}_a^* / dt = (\partial \boldsymbol{x}_a / \partial q^i) \dot{q}^i = \partial \boldsymbol{x}_a / \partial q^{\xi}## and$$\sum_a m_a \ddot{\boldsymbol{x}}_a \cdot \frac{\partial \boldsymbol{x}_a}{\partial q^{\xi}} = \sum_a \mathbf{F}^{(s)}_a \cdot \frac{\partial \boldsymbol{x}_a}{\partial q^{\xi}}$$Just replace the free index ##{\xi} \mapsto i## and you've got the next line.
 
aclaret said:
you make error here
there is no error
aclaret said:
I say that minimisation procedure
the motion is not obliged to provide a minimum for the Action.
 
Last edited:
  • Like
Likes vanhees71 and etotheipi
I have recently been really interested in the derivation of Hamiltons Principle. On my research I found that with the term ##m \cdot \frac{d}{dt} (\frac{dr}{dt} \cdot \delta r) = 0## (1) one may derivate ##\delta \int (T - V) dt = 0## (2). The derivation itself I understood quiet good, but what I don't understand is where the equation (1) came from, because in my research it was just given and not derived from anywhere. Does anybody know where (1) comes from or why from it the...
Back
Top