Introduction to Lagrangian mechanics
6 min read
Short answer
Define the Lagrangian (kinetic minus potential energy) in terms of coordinates and velocities . The motion obeys the Euler–Lagrange equation It reproduces Newton's second law, but works with any coordinates and handles constraints automatically.
Why use it
For a bead on a rotating hoop, a double pendulum or a particle on a surface, drawing every force (including constraint forces) is painful. With generalized coordinates, you only need and as functions of the coordinates. The method also generalizes to fields, relativity and quantum theory.
The idea behind it
The equations come from the principle of least action: the actual path makes the action stationary. Applying calculus of variations to this statement yields the Euler–Lagrange equation. Conserved quantities appear when does not depend on a coordinate (then is constant).
Worked example
Use the Lagrangian to derive the equation of motion for a mass on a spring, and for a simple pendulum of length .
Spring: . Then , so , and . Hence , which is Hooke's law.
Pendulum (coordinate ): . Then , i.e. .
Try it yourself
For a free particle in one dimension, . What does the Euler–Lagrange equation say?
Show the answer
and , so : constant velocity, Newton's first law.
Keep going with practice
Lagrangian mechanics is the capstone of Vidi's Classical Mechanics course.