Mechanicsundergraduategraduate

Euler–Lagrange Equation

Also known as: Lagrange's equation · Equation of motion (Lagrangian form)

Pick any coordinates you like, write energy in, equations of motion come out — no force diagrams needed.

ddt(Lq˙i)Lqi=0\frac{d}{dt}\left(\frac{\partial L}{\partial \dot{q}_i}\right) - \frac{\partial L}{\partial q_i} = 0
Live simulation
warming up the physics…

A spring–mass oscillator runs live while energy bars show T and V trading back and forth. The Euler–Lagrange pipeline L = ½mẋ² − ½kx² → mẍ = −kx is displayed with live numbers.

Equivalent forms

L=TVL = T - V
ddtLx˙=Lx    mx¨=dVdx\frac{d}{dt}\frac{\partial L}{\partial \dot{x}} = \frac{\partial L}{\partial x} \;\Rightarrow\; m\ddot{x} = -\frac{dV}{dx}
Coordinates are a choice, physics is not: the equation keeps its form in ANY generalized coordinates.