Mathematics
The Euler–Lagrange Equation and the Principle of Least Action
Quick fact
The Euler–Lagrange equation is the mathematical consequence of the principle of least action, and it was derived independently by Leonhard Euler and Joseph-Louis Lagrange in the 1750s. It is so universal that it applies not only to mechanics but also to electromagnetism, general relativity, and even the Standard Model of particle physics.
Why this is interesting
You've been told that nature always chooses the path of least action—but what exactly is 'action,' and why would nature care about a mathematical quantity? The answer, hidden in a simple equation, governs everything from a falling apple to the orbits of planets.
Read the full explanation
Understanding The Euler–Lagrange Equation and the Principle of Least Action
Imagine you're hiking from one mountain hut to another. Many possible trails exist, but you might want the one that is 'easiest'—perhaps the one with the least elevation gain or the shortest distance. Nature, according to the principle of least action, behaves similarly: among all possible paths a system could take from point A to point B, it chooses the one that minimizes (or more precisely, makes stationary) a quantity called 'action.' The action, usually denoted S, is a number associated with a complete path. For a simple particle, S is the integral of the difference between kinetic and potential energy (called the Lagrangian) over time. So S = ∫ (T - V) dt. The surprising idea is that the actual physical path is the one for which tiny variations of the path don't change S (to first order). This is like finding the bottom of a valley: at the minimum, a small step doesn't change your altitude much. This variational principle turns the global question "which path does nature choose?" into a local condition: the Euler–Lagrange equation. For a single coordinate q, the equation is d/dt (∂L/∂q̇) - ∂L/∂q = 0, where q̇ is the time derivative. Intuitively, it says that the rate of change of 'momentum' (∂L/∂q̇) equals the 'force' (∂L/∂q), which is reminiscent of Newton's F = ma. In fact, when you plug in the Lagrangian for a particle in a potential, you recover Newton's second law. So the principle of least action is not a separate law; it is a deeper principle from which many laws emerge.
A deeper explanation
Why does the Euler–Lagrange equation work? It is a result of the calculus of variations. Consider a function S[x(t)] that maps a path x(t) to a real number (the action). We want to find the path that makes S stationary, meaning that for any small perturbation η(t) that vanishes at the endpoints, the first-order change in S is zero. Setting the functional derivative δS/δx = 0 leads, after integration by parts and using the fact that η is arbitrary, to the Euler–Lagrange equation. This derivation shows that the stationary condition is equivalent to a differential equation that the path must satisfy locally—the Euler–Lagrange equation. This is analogous to how setting the derivative of a function to zero finds extrema, but here we are finding a function that extremizes a functional. The significance is enormous: the Euler–Lagrange equation provides a coordinate-independent way to derive equations of motion. It works in any coordinate system, which is why it is so powerful in complex systems. Moreover, the principle of least action is not just a mathematical trick; it is deeply connected to conservation laws through Noether's theorem. But at its core, the principle says that nature is 'lazy': among all kinematically possible paths, it picks the one that requires the least 'action.' This principle extends beyond mechanics: Fermat's principle in optics states that light takes the path of least time, which can be derived from the Euler–Lagrange equation. In modern physics, the action principle is the foundation for quantum mechanics (via path integrals) and field theories. So the Euler–Lagrange equation is not just a formula; it is the engine that turns a global principle into the local laws that govern the universe.