Classical Mechanics · Upper Division

Lagrangian Mechanics

Instead of forces, Lagrangian mechanics asks: what path minimizes the action? This single variational principle contains all of classical mechanics — and generalizes naturally to quantum fields and general relativity.

PrerequisitesNewtonslaws(Ch.3)Energy(Ch.4)Calculus(Ch.22)Differentialequations(Ch.2Newton's laws (Ch. 3) \cdot Energy (Ch. 4) \cdot Calculus (Ch. 22) \cdot Differential equations (Ch. 23)
Learning Goals
  • Choose generalized coordinates appropriate to a constrained system and count the degrees of freedom.
  • ConstructtheLagrangianL=TVandderivetheequationsofmotionusingtheEulerLagrConstruct the Lagrangian L = T - V and derive the equations of motion using the Euler-Lagrange equation.
  • Identify cyclic coordinates and read off the corresponding conserved momenta directly.
  • State Noether's theorem and connect each continuous symmetry to its conserved quantity.
  • Apply the Lagrangian method to multi-body systems such as the Atwood machine and double pendulum.

L.1 Generalized Coordinates

The power of Lagrangian mechanics lies in the freedom to choose any coordinates that describe the system's configuration — not just Cartesian x, y, z. These aregeneralized coordinates qᵢ: angles, arc lengths, normal mode amplitudes, whatever parametrizes the space of possible configurations.

A system with N particles in 3D has 3N degrees of freedom. Constraints (a bead on a wire, a pendulum on a rod) reduce this number. The number of independent generalized coordinates equals the number of degrees of freedom after constraints are imposed.

Definition L.1The Lagrangian
The Lagrangian L of a mechanical system is the difference between kinetic energy T and potential energy V:L(q,q˙,t)=TVL(q, q̇, t) = T - Vwhereq=(q1,q2,)arethegeneralizedcoordinatesandq˙=dq/dttheirtimederivativewhere q = (q_{1}, q_{2}, \cdots) are the generalized coordinates and q̇ = dq/dt their time derivatives.

L.2 The Euler-Lagrange Equation

The principle of stationary action(Hamilton's principle) states that the actual path taken by a system between two configurations is the one for which the action S = ∫L dt is stationary (first variation vanishes). Applying variational calculus yields:

ddt(Lq˙i)Lqi=0(Euler-Lagrange equation, for each i)\frac{d}{dt}\left(\frac{\partial L}{\partial \dot q_i}\right) - \frac{\partial L}{\partial q_i} = 0 \qquad \text{(Euler-Lagrange equation, for each }i\text{)}(L.1)

This is one equation per degree of freedom. Remarkably, it automatically handles constraints — there is no need to compute constraint forces. The equation is alsocovariant: it takes the same form in any coordinate system.

Example L.1Simple Pendulum

Derive the equationofmotionforapendulum(massm,lengthl)usingtheLagrangian.Usetheangleθequation of motion for a pendulum (mass m, length l) using the Lagrangian. Use the angle \thetaeralized coordinate.

Kinetic energy:T = \frac{1}{2}m(l\thetȧ)^{2} = \frac{1}{2}ml^{2}\thetȧ^{2}
Potential energy:V=mglcosθ(takingpivotasorigin,downwardpositiveV = -mgl cos \theta (taking pivot as origin, downward positive
Lagrangian:L = T - V = \frac{1}{2}ml^{2}\thetȧ^{2} + mgl cos \theta
∂L/∂θ̇:= ml^{2}\thetȧ \qquad \to d/dt(ml^{2}\thetȧ) = ml^{2}\thetä
∂L/∂θ:= mglsinθ-mgl sin \theta
E-L equation:ml^{2}\thetä + mgl sin \theta = 0 \quad \to \quad \thetä = -(g/l) sin \theta ✓
Example L.2Atwood Machine

Twomassesm1andm2hangoverafrictionlesspulley.FindtheaccelerationusingonegeneTwo masses m_{1} and m_{2} hang over a frictionless pulley. Find the acceleration using one generalizedcoordinatex(extensionofm1belowitsinitialpositionralized coordinate x (extension of m_{1} below its initial position.

Constraint:Whenm1descendsbyx,m2risesbyx.Bothspeeds=x˙When m_{1} descends by x, m_{2} rises by x. Both speeds = |ẋ|.
T:T=12(m1+m2)x˙2T = \frac{1}{2}(m_{1}+m_{2})ẋ^{2}
V:V=m1gx+m2gx=(m2m1)gx(takinginitialpositionasreferenceV = -m_{1}gx + m_{2}gx = (m_{2}-m_{1})gx \qquad (taking initial position as reference
L:L=12(m1+m2)x˙2(m2m1)gxL = \frac{1}{2}(m_{1}+m_{2})ẋ^{2} - (m_{2}-m_{1})gx
E-L:d/dt[(m1+m2)x˙][(m2m1)g]=0x¨=(m1m2)g/(m1+m2)d/dt[(m_{1}+m_{2})ẋ] - [-(m_{2}-m_{1})g] = 0 \quad \to \quad ẍ = (m_{1}-m_{2})g/(m_{1}+m_{2}) ✓

L.3 Conserved Quantities and Noether's Theorem

If the Lagrangian does not depend explicitly on a coordinate qᵢ (a cyclic coordinate), then the Euler-Lagrange equation gives d/dt(∂L/∂q̇ᵢ) = 0 — the conjugate momentum pᵢ = ∂L/∂q̇ᵢ is conserved.

Theorem L.1Noether's Theorem (1915)
For every continuous symmetry of the action, there is a corresponding conserved quantity:Timetranslationsymmetryconservationofenergy(HamiltonianHTime translation symmetry \quad \to \quad conservation of energy (Hamiltonian HSpatialtranslationsymmetryconservationoflinearmomentumSpatial translation symmetry \quad \to \quad conservation of linear momentumRotationalsymmetryconservationofangularmomentumRotational symmetry \quad \to \quad conservation of angular momentumThis is the deepest explanation of conservation laws in physics — they are not axioms but consequences of the symmetry structure of nature.

The Hamiltonian H = Σ(pᵢq̇ᵢ) − L equals the total energy for natural systems (no explicit time dependence, no velocity-dependent potentials). The Hamiltonian formulation replaces 2nd-order ODEs in q with 1st-order Hamilton's equations in phase space (q,p): q̇ = ∂H/∂p, ṗ = −∂H/∂q.

Example L.3Central Force — Angular Momentum Conservation

AparticlemovesunderacentralforceV(r)only.Usepolarcoordinates(r,ϕ).ShowthatA particle moves under a central force V(r) only. Use polar coordinates (r, \phi). Show that angular momentum is conserved.

T in polar:T = \frac{1}{2}m(ṙ^{2} + r^{2}\phi̇^{2}
L:L = \frac{1}{2}m(ṙ^{2} + r^{2}\phi̇^{2}) - V(r
φ is cyclic:\partialL/\partial\phi = 0 \to d/dt(\partialL/\partial\phi̇) = 0 \to d/dt(mr^{2}\phi̇) = 0
Conserved:ℓ = mr^{2}\phi̇ = const — this is the angular momentum! No force calculation needed
Definition L.2Common Traps
  • Generalized coordinates are not necessarily distances: angles, mode amplitudes, and constraints can all serve as coordinates.
  • The Lagrangian is not usually energy: L=TV,whiletotalmechanicalenergyisT+VfornaturalsystemsL = T - V, while total mechanical energy is T + V for natural systems
  • Constraints reduce degrees of freedom: count coordinates after applying constraints, not before.
  • Cyclic means absent from L: if q does not appear, its conjugate momentum is conserved.
  • Stationary action is broader than minimum action: the physical path makes the first variation vanish; it need not be a true minimum.
Exercises — L.1–L.3 Lagrangian Mechanics
1.
Abeadslideswithoutfrictiononastraightwireinclinedatangleα.FindtheequationoA bead slides without friction on a straight wire inclined at angle \alpha. Find the equation of motion using x (distance along wire) as the generalized coordinate.
m/s²
Straightforward
2.WritetheLagrangianforadoublependulum(m1,l1)and(m2,l2).WhatmakesthissystemchaWrite the Lagrangian for a double pendulum (m_{1},l_{1}) and (m_{2},l_{2}). What makes this system chaotic at large amplitudes?
Intermediate
3.Find the Lagrangian for a spherical pendulum. Identify the cyclic coordinate and its conserved quantity. What condition gives uniform circular motion (conical pendulum)?
Intermediate
4.Explicitly derive the conserved quantity associated with rotational symmetry around the z-axis using Noether's theorem. Show that it equals the z-component of angular momentum.
Challenging
Key Takeaways
  • Generalized coordinates q describe configuration in any convenient parameterization.
  • Lagrangian L = T - V; stationary action \to Euler-Lagrange equations d/dt(\partialL/\partialq̇) = \partialL/\partialq.
  • Cyclic coordinate (\partialL/\partialq = 0) \to conjugate momentum p = \partialL/\partialq̇ is conserved.
  • Noether's theorem: every continuous symmetry corresponds to a conserved quantity.
  • Timesymmetryenergy;spacetranslationmomentum;rotationangularmomentumTime symmetry \to energy; space translation \to momentum; rotation \to angular momentum.
  • Constraints are handled automatically — no need to compute constraint forces.