← thecodex.expert
Classical Mechanics Hub Physicist Biographies
Definition Curious Exploring Deep Dive Sources
Analytical Mechanics · Concept

Lagrangian Mechanics

Reading time: 9 minConfidence: HighLast verified: October 2026

Lagrangian mechanics describes a system with n degrees of freedom by generalised coordinates q1, …, qn and a Lagrangian L(q, q̇, t), which for conservative systems is L = T − V. The motion makes the action S = ∫L dt stationary, which yields the Euler–Lagrange equations d/dt(∂L/∂q̇i) − ∂L/∂qi = 0. The formalism handles holonomic constraints automatically, works identically in any coordinate system, and links symmetries of L to conserved quantities via Noether's theorem. It is equivalent to Newton's laws for systems where both apply.

Curious

One sentence that captures itLagrangian mechanics replaces “add up all the forces” with “write down the energies”, and lets the mathematics work out the motion.

Newton's approach asks you to find every force, including awkward ones like the tension in a pendulum rod or the push of a curved track. Joseph-Louis Lagrange, in his 1788 Mécanique analytique, showed that you can instead write the kinetic and potential energy in whatever coordinates suit the problem, such as an angle for a pendulum, and derive the motion from one recipe. Famously, his book contained no diagrams.

The method is now the standard language of theoretical physics. Quantum field theory, the Standard Model and general relativity are all written as Lagrangians (see Principle of Least Action).

Exploring

Worked example — the pendulum in three linesFor a simple pendulum of length l, use the angle θ as the coordinate. Kinetic energy T = ½ml²θ̇², potential energy V = −mgl cosθ, so L = ½ml²θ̇² + mgl cosθ. The Euler–Lagrange equation gives ml²θ¨ + mgl sinθ = 0, i.e. θ¨ = −(g/l) sinθ, the pendulum equation, without ever calculating the rod's tension (see Pendulum).
FeatureNewtonianLagrangian
Basic quantityForce vectorsScalar L = T − V
CoordinatesUsually CartesianAny generalised coordinates
ConstraintsConstraint forces must be foundBuilt into coordinates
Conservation lawsFound case by caseFrom symmetries (Noether)
Extends to fields, relativityAwkwardNaturally
Common mistake — Commonly ConfusedThe Lagrangian is not the total energy: it is T − V, not T + V. It has no direct physical interpretation of its own; its role is to generate the equations of motion. Lagrangian mechanics is also not a different physical theory from Newton's; for ordinary mechanical systems it gives exactly the same predictions, just more conveniently.

Deep Dive

Primary sourceLagrange, J.-L. (1788). Mécanique analytique. Paris: Veuve Desaint.; Goldstein, H., Poole, C., Safko, J. (2002). Classical Mechanics (3rd ed.). Addison Wesley.

Noether's theorem. If L does not depend on a coordinate q (a cyclic coordinate), its conjugate momentum p = ∂L/∂q̇ is conserved. More generally, Emmy Noether (1918) proved that every continuous symmetry of the action gives a conservation law: time-translation symmetry gives energy, space-translation gives momentum, rotation gives angular momentum.

Beyond conservative forces. Velocity-dependent forces can sometimes be included: for a charge in an electromagnetic field, L = ½mv² − qφ + qv · A reproduces the Lorentz force (see Magnetic Force). Dissipative forces such as friction are usually added through a Rayleigh dissipation function; non-holonomic constraints (rolling without slipping in general) need Lagrange multipliers.

Field theory. For fields, the Lagrangian becomes a Lagrangian density integrated over space; the Euler–Lagrange equations then give Maxwell's equations, the Klein–Gordon and Dirac equations, and, from the Einstein–Hilbert action, Einstein's field equations (see Curved Spacetime).

Sources

  • Lagrange, J.-L. (1788). Mécanique analytique. Paris: Veuve Desaint.
  • Goldstein, H., Poole, C., Safko, J. (2002). Classical Mechanics (3rd ed.). Addison Wesley.
  • Landau, L.D., Lifshitz, E.M. (1976). Mechanics (Course of Theoretical Physics, Vol. 1, 3rd ed.). Oxford: Pergamon.
Last verified: October 2026 · Source: Lagrange (1788); Goldstein et al. (2002); Landau & Lifshitz (1976) · Confidence: high