The Euler–Lagrange equations are differential equations that characterize stationary functions of integral functionals: functions for which every admissible infinitesimal variation produces zero first-order change in the functional. They are central to the calculus of variations. In classical mechanics, they express the equations of motion through stationarity of the action; in field theory, they give the corresponding equations for fields. Stationarity is a necessary condition for a smooth extremum, but does not by itself establish a minimum or maximum. (damtp.cam.ac.uk)
Mathematical formulation
Consider the functional
with prescribed endpoint values and . Here is a sufficiently smooth integrand, and . A sufficiently smooth stationary function satisfies
The partial derivatives treat as independent arguments of , whereas differentiates the resulting expression along the function . (math.mit.edu)
For several dependent functions , there is one equation for each:
These equations generally contain second derivatives, although special or degenerate integrands can reduce their order. (web.mit.edu)
Derivation from the first variation
Replace by
where preserves the endpoint values. The first variation is
Integration by parts gives
The boundary term vanishes. Requiring the remaining integral to vanish for every admissible forces its coefficient to vanish, yielding the Euler–Lagrange equation. This implication is the fundamental lemma of the calculus of variations. (damtp.cam.ac.uk)
Classical mechanics
For independent generalized coordinates , define the action using a Lagrangian :
Stationarity under fixed-endpoint variations gives
The formulation retains its form under invertible changes of generalized coordinates, allowing positions, angles, and other suitable variables to describe motion. (damtp.cam.ac.uk)
For a particle of constant mass moving in one dimension under a position-dependent potential,
The first term is kinetic energy, and is potential energy. Substitution gives
recovering Newton’s second law for a conservative force. (damtp.cam.ac.uk)
Conserved quantities
The conjugate momentum is
If is independent of , that coordinate is cyclic or ignorable, and its equation implies . If has no explicit time dependence, then
is conserved. For the usual time-independent mechanical Lagrangian with quadratic kinetic energy and velocity-independent potential, this equals the total energy. These results are examples of Noether’s theorem, which relates continuous symmetries of the action to conservation laws. (damtp.cam.ac.uk)
Geometric example: shortest curves
The length of a plane curve represented as is
Because the integrand is independent of , its Euler–Lagrange equation becomes
Thus is constant, giving the straight segment between fixed endpoints. This illustrates how optimization over entire functions becomes a differential equation. (math.mit.edu)
On curved spaces, analogous variational formulations lead to geodesic equations. For example, a kinetic-type Lagrangian
built from a metric tensor yields the equations for affinely parametrized geodesics. (damtp.cam.ac.uk)
Fields and several independent variables
For fields on a region , consider
With suitable boundary conditions, stationarity gives
Repeated indices are summed. Here is the Lagrangian density. These are generally partial differential equations, and provide the variational framework for classical field theories underlying quantum field theory. (damtp.cam.ac.uk)
Boundary conditions and scope
The interior equations must be accompanied by appropriate boundary conditions. If an endpoint’s independent-variable position is fixed but its function value is free, the boundary term requires
there, provided the functional has no additional endpoint contribution. Such requirements are called natural boundary conditions. Moving endpoints produce further conditions. (web.mit.edu)
For an integrand depending on derivatives through order , the higher-order equation is
Its derivation requires repeated integration by parts and appropriate endpoint restrictions. (web.mit.edu)
The equations identify stationary candidates rather than prove optimality or existence. Additional analysis is needed to distinguish minima, maxima, and saddle points. When solutions lack the smoothness required for the classical differential equation, stationarity can instead be expressed in a weak integral formulation, connecting variational methods with weak solutions. (math.mit.edu)
References
- Calculus of Variations — Gilbert Strangmath.mit.edu
- A Mathematical Primer — Rohan Abeyaratneweb.mit.edu