If the first variation of the constraint vanishes in every allowed direction, the objective coefficient in a general multiplier equation can vanish. One must then allow with coefficients not both zero. Normalizing to one requires the regularity condition used for a normal isoperimetric extremal.
For an autonomous scalar integral , the first variation gives the integrated Euler-Lagrange equation . If is and each fiber of is finite, the connected image of the interval under the continuous derivative lies in a finite set and is therefore a singleton. The fixed endpoints then determine exactly one affine solution. If is strictly convex, the strict Jensen's inequality applied to additionally makes this solution the unique global minimizer among fixed-endpoint Lipschitz functions. Without convexity the same unique smooth stationary solution can be a maximizer, for example at zero for and zero endpoint values.
For real smooth coefficients with , the Rayleigh quotient has the displayed first variation. Its stationary points solve the Sturm-Liouville equation on an admissible class whose boundary variations make . Homogeneous Dirichlet boundary conditions do this by setting at the ends; homogeneous Neumann boundary conditions do it through . More general self-adjoint boundary conditions can require a boundary contribution to the quadratic form.
For an eigenfunction, the weaker identity suffices to give by integration by parts, but it does not by itself imply the condition on every variation. An explicit counterexample uses on and . This solves and has . Define a nearby family
It keeps , , , and , so for small . Nevertheless, has , , and , giving . Boundary-energy cancellation alone therefore cannot replace a specified variational domain.
Calculus of variations Created 2026-09-24 Updated 2026-11-05
The calculus of variations studies functionals whose inputs are functions, curves or fields. A variational problem specifies an admissible class, including endpoint or other boundary conditions, and asks for stationary points or minimizers. The first variation gives an equation for stationary candidates; a second variation, convexity or a direct comparison is needed to decide minimality.
For example, minimize
A zero-endpoint variation gives . If is twice differentiable, integration by parts and the fundamental lemma of the calculus of variations yield . The candidate is the straight line .
It is also the unique global minimizer, not merely stationary. Write any admissible with zero endpoint values for . The cross term is , so
Equality forces . This argument extends to Sobolev spaces with a meaningful endpoint trace and illustrates the Dirichlet principle. In more complicated problems, the direct method in the calculus of variations establishes existence without first solving the stationarity equation.
With values and , the higher-order Euler-Lagrange equation is . Write and . Solving the four linear boundary equations gives . The added function does not affect the first variation.
A symmetric uniformly elliptic divergence-form energy with zeroth-order coefficient at least controls the full norm, including constants. Its quadratic energy minus a bounded load has a unique minimizer by the direct method, and vanishing first variation gives the natural Neumann weak equation. Unlike a pure Neumann Laplacian, this problem needs no zero-mean compatibility condition. The exact energy difference from the weak solution is half the bilinear energy of the difference.
A field configuration is critical for an energy functional if its first variation vanishes for every admissible infinitesimal field variation. For , integration by parts against compactly supported variations gives , so stationary field configurations satisfy the Euler-Lagrange equation . A constrained target instead allows only tangent variations, changing that field equation. Criticality is stationarity, not necessarily energetic stability or a local minimum.
Double pendulum Lagrangian Created 2026-09-24 Updated 2026-11-05
Choose Cartesian coordinates with origin at the upper pivot, to the right and upward. The two position vectors are
These expressions satisfy the rod holonomic constraints and automatically. This is the practical advantage of using the two angles as coordinates: the rod tensions need not be unknowns in the motion calculation.[ref]
Differentiate these position vectors to obtain the velocities. The dot product between their two rod contributions uses , giving
Adding the two kinetic energies and measuring gravitational potential energy from the downward equilibrium gives
The coefficient has a geometric meaning: the upper rod raises both masses, and its motion contributes to both kinetic energies. The coupling in is present because the lower mass has a moving pivot. The zero chosen for changes by a constant and leaves the Euler-Lagrange equations unchanged.[ref]
The principle of stationary action applies to . Its fixed-endpoint first variation, after integration by parts, is
Independent allowed variations therefore give one Euler-Lagrange equation for each angle. Stationary action alone does not assert a minimum.[ref]
Euler-Lagrange equation Created 2026-09-24 Updated 2026-11-05
For a sufficiently smooth functional , a stationary path with fixed endpoints satisfies
To derive it, set with . The first variation is . Integration by parts makes it , and the fundamental lemma of the calculus of variations makes its coefficient zero.
For , the equation is , so stationary paths are straight lines. Stationarity is a necessary first-order condition; it does not by itself prove that the path is a minimum.
For a sufficiently smooth functional , the first variation in direction is . Twice applying integration by parts gives the interior coefficient and boundary expression . Variations supported in the interior and the fundamental lemma of the calculus of variations force the displayed equation. The remaining boundary terms give the natural boundary conditions for second-derivative functionals.
Extremal 2026-10-31
A sufficiently regular admissible function at which the first variation of a functional vanishes for every permitted variation. An extremal is a stationary candidate; it need not be a local maximum or minimum. For a first-order integral functional with fixed endpoint values, it satisfies the Euler-Lagrange equation under the usual regularity assumptions.
If a smooth functional has integrand independent of the function value, a weak local minimizer satisfies the displayed first integral almost everywhere. Its first variation gives for every compactly supported test function. Thus the distributional derivative of vanishes, making it constant on the interval. Equivalently, any smooth compactly supported function with integral zero is the derivative of such a test function, so the first-variation identity says that agrees with a single constant against all tests. This reduces the Euler-Lagrange equation from a second-order equation to an algebraic relation in .
For a fixed sufficiently regular image edge set, the Mumford–Shah functional is a strictly convex quadratic energy on the Sobolev space of its complement. A first variation gives within each region and separate one-sided Neumann boundary conditions on free edges. A jump need not vanish across an edge. The weak solution is unique by the Lax-Milgram theorem; this does not prove uniqueness when the edge set is also optimized.
For a plate occupying , the boundary part of the first variation of its isotropic thin-plate bending energy is, up to an overall nonzero sign,
At a free edge the variation and its normal derivative can be prescribed independently. Their coefficients must therefore vanish, giving the two displayed natural boundary conditions: zero bending moment and zero effective transverse shear. The mixed-derivative coefficient includes the derivative along the edge of the twisting moment; keeping only the normal derivative of would miss that contribution.
Functional Created 2026-09-24 Updated 2026-11-05
A functional is a scalar-valued function on a space of functions, curves, fields or other mathematical objects. For example, on ,
assigns one real number to each input. The scalar output distinguishes it from an operator that returns another function. A linear functional additionally respects addition and scalar multiplication; this energy is quadratic instead.
The domain is essential. Evaluation is a bounded linear functional on with the supremum norm, but is not well-defined on equivalence classes: changing the value at one point leaves the class unchanged. In calculus of variations, an extended-real functional may take the value to exclude inputs violating integrability or constraints. Its first variation describes the scalar response along an admissible family, and minimization must specify that family and its topology.
Higher-order Euler-Lagrange equation Created 2026-09-24 Updated 2026-09-24
For the functional
the vanishing of its first variation under fixed endpoint data gives
Isotropic thin-plate bending energy Created 2026-10-31 Updated 2026-11-05
For a homogeneous isotropic plate of thickness , Young's modulus and Poisson's ratio , the bending stiffness is . Its quadratic bending energy is
It follows by integrating the strain energy density through the thickness: linear bending strains are proportional to , and . Taking a first variation and integrating by parts twice gives without applied transverse load. Clamped boundary variations have both zero value and zero normal derivative.
Lagrangian (field theory) Created 2026-10-14 Updated 2026-11-05
Lagrangian field theory specifies an action by integrating a Lagrangian density over spacetime. Requiring its first variation to vanish for compactly supported field variations yields the field Euler-Lagrange equations. The variational Lagrangian is the integrand, whereas this field-theoretic formalism specifies the continuum fields and their dynamics.
Minimizing the log-cosh energy over zero-trace functions above an obstacle yields the displayed inequality for every feasible competitor. Convexity supplies the one-sided admissible segments. On the open noncontact region, compactly supported variations of both signs are feasible because the gap from the obstacle has a positive minimum on their support. Their first variations vanish, giving there. This stationarity equation need not hold on the contact set.
For a functional , two applications of integration by parts leave the boundary term
If the endpoint displacement is fixed but its slope is free, while is arbitrary. The first variation therefore forces at that endpoint. For the beam energy density with , this gives , the zero-bending moment condition. A clamped endpoint instead prescribes the slope and has .