Math 2.0

Mechanics of particles and systems Lagrangian mechanics Theorem

Lagrange's equations of motion

Builds on Generalized coordinatesHolonomic constraintKinetic energyPotential energyGeneralized forcePrinciple of virtual workEuler–Lagrange equation

Statement

Consider NN particles with masses m1,…,mN>0m_1, \ldots, m_N > 0 and positions r1,…,rN∈ℝ3r_1, \ldots, r_N \in \R^3. Assume they are subject to holonomic constraints described by generalized coordinates q=(q1,…,qn)q = (q_1, \ldots, q_n). This means that rk=rk(q,t)r_k = r_k(q, t) for C2C^2 maps rkr_k, and that every qq in an open set U⊆ℝnU \subseteq \R^n gives an allowed configuration. Assume the constraints are ideal: the constraint forces do no work in any virtual displacement δrk=∑j∂rk∂qjδqj\delta r_k = \sum_j \frac{\partial r_k}{\partial q_j}\delta q_j. Let FkF_k be the applied force on particle kk, and let Qj=∑kFk⋅∂rk∂qjQ_j = \sum_k F_k \cdot \frac{\partial r_k}{\partial q_j} be the generalized forces. Let T=∑k12mk∣r˙k∣2T = \sum_k \tfrac12 m_k \abs{\dot r_k}^2 be the kinetic energy, written as a function of (q,q˙,t)(q, \dot q, t). Then every motion q(t)q(t) satisfies ddt∂T∂q˙j−∂T∂qj=Qj,j=1,…,n.\frac{d}{dt}\frac{\partial T}{\partial \dot q_j} - \frac{\partial T}{\partial q_j} = Q_j, \qquad j = 1, \ldots, n. If moreover Qj=−∂V/∂qjQ_j = -\partial V / \partial q_j for a potential energy V(q,t)V(q, t), then with L=T−VL = T - V the motions satisfy ddt∂L∂q˙j−∂L∂qj=0,j=1,…,n.\frac{d}{dt}\frac{\partial L}{\partial \dot q_j} - \frac{\partial L}{\partial q_j} = 0, \qquad j = 1, \ldots, n.

Remarks

The proof starts from d'Alembert's form of the principle of virtual work, ∑k(Fk−mkr¨k)⋅δrk=0\sum_k (F_k - m_k \ddot r_k) \cdot \delta r_k = 0, which is where the hypothesis on ideal constraints enters. Two identities follow from r˙k=∑j∂rk∂qjq˙j+∂rk∂t\dot r_k = \sum_j \frac{\partial r_k}{\partial q_j}\dot q_j + \frac{\partial r_k}{\partial t}: first ∂r˙k∂q˙j=∂rk∂qj\frac{\partial \dot r_k}{\partial \dot q_j} = \frac{\partial r_k}{\partial q_j}, and second ddt∂rk∂qj=∂r˙k∂qj\frac{d}{dt}\frac{\partial r_k}{\partial q_j} = \frac{\partial \dot r_k}{\partial q_j}. With them, ∑kmkr¨k⋅∂rk∂qj=ddt∂T∂q˙j−∂T∂qj\sum_k m_k \ddot r_k \cdot \frac{\partial r_k}{\partial q_j} = \frac{d}{dt}\frac{\partial T}{\partial \dot q_j} - \frac{\partial T}{\partial q_j}, and since the δqj\delta q_j are independent, the equations follow. The second form is the system of Euler–Lagrange equations of LL. Without the ideal-constraint hypothesis, for example with sliding friction at a contact, the constraint forces contribute to QjQ_j and do not drop out.

Example: a simple pendulum of length ℓ\ell and mass mm, with angle θ\theta from the downward vertical, has T=12mℓ2θ˙2T = \tfrac12 m\ell^2\dot\theta^2 and V=−mgℓcos⁡θV = -mg\ell\cos\theta. The equation is mℓ2θ¨+mgℓsin⁡θ=0m\ell^2\ddot\theta + mg\ell\sin\theta = 0, and the tension of the rod never appears.

Going deeper

For a student

These are the equations of the second kind; the equations of the first kind keep Cartesian coordinates and add Lagrange multipliers for the constraint forces. For conservative forces they are the Euler–Lagrange equations of L=T−VL = T - V, which links them with Hamilton's principle and the stationary-action principle. Through the Legendre transform they become Hamilton's equations.

Reading path

To understand this page from the ground up, read these 28 pages in order. The foundations come first.

Show the path as a graph
Derivative, concept, no evidence levelDerivativeconceptEuclidean space, object, no evidence levelEuclidean spaceobjectEuclidean vector, concept, no evidence levelEuclidean vectorconceptEuler–Lagrange equation, concept, no evidence levelEuler–Lagrange equati…conceptFunction, concept, no evidence levelFunctionconceptHolonomic constraint, concept, no evidence levelHolonomic constraintconceptMechanical equilibrium, concept, no evidence levelMechanical equilibriumconceptOrdinary differential equation, concept, no evidence levelOrdinary differential…conceptSmooth manifold, concept, no evidence levelSmooth manifoldconceptTotal derivative, concept, no evidence levelTotal derivativeconceptVelocity, concept, no evidence levelVelocityconceptFunction of several variables, concept, no evidence levelFunction of several v…conceptVector-valued function, concept, no evidence levelVector-valued functionconceptd'Alembert's principle, statement, no evidence leveld'Alembert's principlestatementClassical mechanics, concept, no evidence levelClassical mechanicsconceptConfiguration space, concept, no evidence levelConfiguration spaceconceptDifferentiable function of several variables, concept, no evidence levelDifferentiable functi…conceptPartial derivative, concept, no evidence levelPartial derivativeconceptVector field, concept, no evidence levelVector fieldconceptKinetic energy, concept, no evidence levelKinetic energyconceptGeneralized coordinates, concept, no evidence levelGeneralized coordinat…conceptGradient, concept, no evidence levelGradientconceptGeneralized force, concept, no evidence levelGeneralized forceconceptScalar potential, concept, no evidence levelScalar potentialconceptPrinciple of virtual work, statement, no evidence levelPrinciple of virtual …statementConservative vector field, concept, no evidence levelConservative vector f…conceptPotential energy, concept, no evidence levelPotential energyconceptLagrange's equations of motion, statement, no evidence levelLagrange's equations …statement
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Derivative concept
  2. Euclidean space object
  3. Euclidean vector concept
  4. Euler–Lagrange equation concept
  5. Function concept
  6. Holonomic constraint concept
  7. Mechanical equilibrium concept
  8. Ordinary differential equation concept
  9. Smooth manifold concept
  10. Total derivative concept
  11. Velocity concept
  12. Function of several variables concept
  13. Vector-valued function concept
  14. d'Alembert's principle statement
  15. Classical mechanics concept
  16. Configuration space concept
  17. Differentiable function of several variables concept
  18. Partial derivative concept
  19. Vector field concept
  20. Kinetic energy concept
  21. Generalized coordinates concept
  22. Gradient concept
  23. Generalized force concept
  24. Scalar potential concept
  25. Principle of virtual work statement
  26. Conservative vector field concept
  27. Potential energy concept
  28. Lagrange's equations of motion statement

Where this leads

11 pages build on this one.

Further reading

  1. Web https://en.wikipedia.org/wiki/Lagrangian_mechanics
About this page
TagBEM454AYTT
URIm2://BEM454AYTT
Kindstatement, theorem
WritingW0 stub
MSC70H03, 70F20
StatusThis copy of the site has no build data. Run m2 status BEM454AYTT.
AboutLagrangian mechanics
UsesGeneralized coordinates, Holonomic constraint, Kinetic energy, Potential energy, Generalized force, Principle of virtual work, Euler–Lagrange equation
Changed3 November 2026

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

Used by