Theoremcore
Euler-Lagrange equation
Also called Euler-Lagrange equation of the calculus of variations.
A necessary condition for a curve to extremize an integral of a Lagrangian, the root of the calculus of variations.
The Euler-Lagrange equation is the first-order necessary condition of the calculus of variations. If a curve with fixed end points minimizes or maximizes the integral , then along the curve. It plays the role that plays for a function of finitely many variables. In optimal control it is the special case with no constraint on of the Pontryagin maximum principle.
Statement
Let , , be . Write and for the gradients of in its second and third arguments. For let
Fix . Suppose is , , , and is a weak local minimizer: there is such that for every curve with the same end points and .
Then the function is on , and
The same holds for a weak local maximizer. A curve that satisfies the equation is an extremal.
In plain words
Take a curve between two fixed points, and a rule that gives each curve a number, such as the time a bead needs to slide along it. Bend the curve a little, keeping the ends in place. If the curve is the best one, no small bend can make the number smaller, so the first-order change of the number must be zero for every bend. Writing this out gives one differential equation that the best curve must satisfy. It is a necessary condition only: a curve can satisfy it and still not be the best, and in some problems no best curve exists.
Proof
Step 1: the first variation is zero. Let with . For small , the curve has the same end points and lies in the neighborhood, so has a local minimum at . Because is and the integrand is continuous on a compact set, we may differentiate under the integral sign:
where and are evaluated along , so they are continuous functions of .
Step 2: remove . Let . Then is with . Integration by parts, with , gives . So with , a continuous function,
Step 3: the lemma of du Bois-Reymond. A continuous with this property is constant. Proof: let and . Then is , , and , so is admissible. Then
Since is continuous, everywhere.
Step 4: conclusion. So . The right side is , hence so is the left side, and differentiating gives . For a maximizer, apply the result to .
The proof does not assume that has a second derivative. The integrated form of Step 4 is the du Bois-Reymond form of the equation.
Consequences
Second-order form. If is and is , the chain rule gives
a second-order differential equation. Where the matrix is invertible it can be solved for , and the two end conditions , make it a two-point boundary value problem.
A hand example. Minimize with , . The equation is , and the extremal with these end values is . Integration by parts gives , and , so . The straight line gives , which is larger. Here is convex in , so the extremal is the global minimizer.
Beltrami identity. If does not depend on and is , then
so is constant along every extremal. This is a first integral, and it reduces the order of the equation by one.
The brachistochrone. A bead slides without friction from the origin to a lower point under gravity . Measure downward. The speed at depth is , so the travel time is
The Lagrangian does not depend on , and the Beltrami identity gives , that is, for a constant . The cycloid , solves it: , so and . Along the cycloid and the speed is , so . To reach metres, take and from 0 to . The time is s for m/s². On the straight line the acceleration along the line is constant, and the time is s.
Free end point. If is free, the same proof with arbitrary gives the natural boundary condition , a first example of the transversality conditions.
Hamiltonian form. With and, where can be written as a function of , , the equation becomes the pair , of a Hamiltonian system.
Link to optimal control. Take , , and the running cost . The control Hamiltonian is . The minimum condition gives , so , and the costate equation is the Euler-Lagrange equation. The maximum principle also gives the Weierstrass condition and works for a constrained , where the Euler-Lagrange equation does not apply.
Constraints. An integral constraint (an isoperimetric problem) gives the Euler-Lagrange equation of for a constant Lagrange multiplier , if is not an extremal of the constraint itself.
Tightness
Necessary, not sufficient. Take with . The curve satisfies the equation for every . For , the curve gives , so is not a minimizer. For it is one. The second-order tests, the Legendre condition along a minimizer and the Jacobi condition on conjugate points, separate the two cases.
A minimizer need not exist. Weierstrass's example: with , . The curves give as . But forces away from , which is not possible with these end values. The equation gives , so , and no such curve is on and meets both end conditions. The theorem says nothing here, because it starts from a minimizer.
The hypothesis. Minimize with , . The curve that is for and for gives , the smallest possible value, but it has a corner at . No curve gives , so the minimum over curves is not attained. For piecewise curves, the equation holds between corners, and the du Bois-Reymond form shows that is continuous across a corner (the first Weierstrass-Erdmann condition).
History
Johann Bernoulli posed the brachistochrone problem in 1696, and several solutions, all giving the cycloid, appeared in 1697. Euler derived the general equation in his book Methodus inveniendi of 1744, by replacing the curve with a polygon and letting the number of sides grow. In a letter to Euler of 12 August 1755, the young Lagrange gave a direct method: vary the whole curve by and integrate by parts. Euler adopted it and named the subject the calculus of variations. Legendre, Jacobi and Weierstrass later added the second-order conditions and the rigorous theory. Gelfand and Fomin (1963) and Liberzon (2012, Chapter 2) give modern treatments.
References
- I. M. Gelfand and S. V. Fomin, Calculus of Variations, Prentice-Hall, 1963 (Dover reprint, 2000), Chapter 1 (the simplest variational problem and Euler's equation)
- Daniel Liberzon, Calculus of Variations and Optimal Control Theory, A Concise Introduction, Princeton University Press, 2012, Section 2.3.1 (the Euler-Lagrange equation), Section 2.3.2 (historical remarks), Section 2.6.1 (the Legendre condition) and Section 3.1.1 (the Weierstrass-Erdmann corner conditions)
- Leonhard Euler, Methodus inveniendi lineas curvas maximi minimive proprietate gaudentes, Bousquet, Lausanne and Geneva, 1744
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag ES9AKE Edit this page History Report an error Markdown