In calculus of variations, the Euler–Lagrange equation, Euler's equation,[1] or Lagrange's equation although the latter name is ambiguous (see disambiguation page), is a differential equation whose solutions are the functions for which a given functional is stationary. It was developed by Swiss mathematician Leonhard Euler and Italian mathematician Joseph-Louis Lagrange in the 1750s.
Because a differentiable functional is stationary at its local maxima and minima, the Euler–Lagrange equation is useful for solving optimization problems in which, given some functional, one seeks the function minimizing (or maximizing) it. This is analogous to Fermat's theorem in calculus, stating that at any point where a differentiable function attains a local extremum, its derivative is zero.
In Lagrangian mechanics, because of Hamilton's principle of stationary action, the evolution of a physical system is described by the solutions to the Euler–Lagrange equation for the action of the system. In classical mechanics, it is equivalent to Newton's laws of motion, but it has the advantage that it takes the same form in any system of generalized coordinates, and it is better suited to generalizations. In classical field theory there is an analogous equation to calculate the dynamics of a field.
History
The Euler–Lagrange equation was developed in the 1750s by Euler and Lagrange in connection with their studies of the tautochrone problem. This is the problem of determining a curve on which a weighted particle will fall to a fixed point in a fixed amount of time, independent of the starting point.
Lagrange solved this problem in 1755 and sent the solution to Euler. Both further developed Lagrange's method and applied it to mechanics, which led to the formulation of Lagrangian mechanics. Their correspondence ultimately led to the calculus of variations, a term coined by Euler himself in 1766.[2]
Statement
The Euler–Lagrange equation is an equation satisfied by a function, q,
of a real argument, t, which is a stationary point of the functional

where:
![{\displaystyle {\begin{aligned}{\boldsymbol {q}}\colon [a,b]\subset \mathbb {R} &\to X\\t&\mapsto x={\boldsymbol {q}}(t)\end{aligned}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/a0449510bda481dee50eb2fea73b3226e90ea65a)
- such that
is differentiable,
, and
;
- TX being the tangent bundle of X defined by
;
- L is a real-valued function with continuous first partial derivatives:
![{\displaystyle {\begin{aligned}L\colon [a,b]\times TX&\to \mathbb {R} \\(t,x,v)&\mapsto L(t,x,v).\end{aligned}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/8924a7f089826738556e2c2915918e3604a3dacd)
The Euler–Lagrange equation, then, is given by
where Lx and Lv denote the partial derivatives of L with respect to the second and third arguments, respectively.
If the dimension of the space X is greater than 1, this is a system of differential equations, one for each component:

Derivation of one-dimensional Euler–Lagrange equation
|
The derivation of the one-dimensional Euler–Lagrange equation is one of the classic proofs in mathematics. It relies on the fundamental lemma of calculus of variations.
We wish to find a function which satisfies the boundary conditions , , and which extremizes the functional

We assume that has continuous first partial derivatives. A weaker assumption can be used, but the proof becomes more difficult.Template:Cn
If extremizes the functional subject to the boundary conditions, then any slight perturbation of that preserves the boundary values must either increase (if is a minimizer) or decrease (if is a maximizer).
Let be the result of such a perturbation of , where is small and is a differentiable function satisfying . Then define

where .
We now wish to calculate the total derivative of with respect to ε.

It follows from the total derivative that

So
![{\displaystyle {\frac {\mathrm {d} J_{\varepsilon }}{\mathrm {d} \varepsilon }}=\int _{a}^{b}\left[\eta (x){\frac {\partial F_{\varepsilon }}{\partial g_{\varepsilon }}}+\eta '(x){\frac {\partial F_{\varepsilon }}{\partial g_{\varepsilon }'}}\,\right]\,\mathrm {d} x\ .}](https://wikimedia.org/api/rest_v1/media/math/render/svg/347727c7ed98505991b9194ffbb36e2f4be280bc)
When ε = 0 we have gε = f, Fε = F(x, f(x), f'(x)) and Jε has an extremum value, so that
![{\displaystyle {\frac {\mathrm {d} J_{\varepsilon }}{\mathrm {d} \varepsilon }}{\bigg |}_{\varepsilon =0}=\int _{a}^{b}\left[\eta (x){\frac {\partial F}{\partial f}}+\eta '(x){\frac {\partial F}{\partial f'}}\,\right]\,\mathrm {d} x=0\ .}](https://wikimedia.org/api/rest_v1/media/math/render/svg/f2dcfa38166ff4468cbd8f7512f1c8635edd3f0e)
The next step is to use integration by parts on the second term of the integrand, yielding
![{\displaystyle \int _{a}^{b}\left[{\frac {\partial F}{\partial f}}-{\frac {\mathrm {d} }{\mathrm {d} x}}{\frac {\partial F}{\partial f'}}\right]\eta (x)\,\mathrm {d} x+\left[\eta (x){\frac {\partial F}{\partial f'}}\right]_{a}^{b}=0\ .}](https://wikimedia.org/api/rest_v1/media/math/render/svg/c833f69b728f7321f240fcb5db83e166e892300f)
Using the boundary conditions ,
![{\displaystyle \int _{a}^{b}\left[{\frac {\partial F}{\partial f}}-{\frac {\mathrm {d} }{\mathrm {d} x}}{\frac {\partial F}{\partial f'}}\right]\eta (x)\,\mathrm {d} x=0\ .\,\!}](https://wikimedia.org/api/rest_v1/media/math/render/svg/d139ad3ea5b07862b854e61f5bf19d26c7efb83c)
Applying the fundamental lemma of calculus of variations now yields the Euler–Lagrange equation

|
Alternate derivation of one-dimensional Euler–Lagrange equation
|
Given a functional

on with the boundary conditions and , we proceed by approximating the extremal curve by a polygonal line with segments and passing to the limit as the number of segments grows arbitrarily large.
Divide the interval into equal segments with endpoints and let . Rather than a smooth function we consider the polygonal line with vertices , where and . Accordingly, our functional becomes a real function of variables given by

Extremals of this new functional defined on the discrete points correspond to points where

Evaluating this partial derivative gives

Dividing the above equation by gives
![{\frac {\partial J}{\partial y_{m}\Delta t}}=F_{y}\left(t_{m},y_{m},{\frac {y_{{m+1}}-y_{m}}{\Delta t}}\right)-{\frac {1}{\Delta t}}\left[F_{{y'}}\left(t_{m},y_{m},{\frac {y_{{m+1}}-y_{m}}{\Delta t}}\right)-F_{{y'}}\left(t_{{m-1}},y_{{m-1}},{\frac {y_{m}-y_{{m-1}}}{\Delta t}}\right)\right],](https://wikimedia.org/api/rest_v1/media/math/render/svg/0bd33ff65f68b6ebc750ce5a31a9b9e7716bf370)
and taking the limit as of the right-hand side of this expression yields

The left hand side of the previous equation is the functional derivative of the functional . A necessary condition for a differentiable functional to have an extremum on some function is that its functional derivative at that function vanishes, which is granted by the last equation.
|
Examples
A standard example is finding the real-valued function on the interval [a, b], such that f(a) = c and f(b) = d, the length of whose graph is as short as possible. The length of the graph of f is:

the integrand function being L(x, y, y′) = Template:Radic evaluated at (x, y, y′) = (x, f(x), f′(x)).
The partial derivatives of L are:

By substituting these into the Euler–Lagrange equation, we obtain

that is, the function must have constant first derivative, and thus its graph is a straight line.
Classical mechanics
Basic method
To find the equations of motions for a given system (whose potential energy is time-independent), one only has to follow these steps:
Particle in a conservative force field
The motion of a single particle in a conservative force field (for example, the gravitational force) can be determined by requiring the action to be stationary, by Hamilton's principle. The action for this system is

where x(t) is the position of the particle at time t. The dot above is Newton's notation for the time derivative: thus ẋ(t) is the particle velocity, v(t). In the equation above, L is the Lagrangian (the kinetic energy minus the potential energy):

where:
- m is the mass of the particle (assumed to be constant in classical physics);
- vi is the i-th component of the vector v in a Cartesian coordinate system (the same notation will be used for other vectors);
- U is the potential of the conservative force.
In this case, the Lagrangian does not vary with its first argument t. (By Noether's theorem, such symmetries of the system correspond to conservation laws. In particular, the invariance of the Lagrangian with respect to time implies the conservation of energy.)
By partial differentiation of the above Lagrangian, we find:

where the force is F = −∇U (the negative gradient of the potential, by definition of conservative force), and p is the momentum.
By substituting these into the Euler–Lagrange equation, we obtain a system of second-order differential equations for the coordinates on the particle's trajectory,

which can be solved on the interval [t0, t1], given the boundary values xi(t0) and xi(t1).
In vector notation, this system reads

or, using the momentum,

which is Newton's second law.
Variations for several functions, several variables, and higher derivatives
Single function of single variable with higher derivatives
The stationary values of the functional
![{\displaystyle I[f]=\int _{x_{0}}^{x_{1}}{\mathcal {L}}(x,f,f',f'',\dots ,f^{(n)})~\mathrm {d} x~;~~f':={\cfrac {\mathrm {d} f}{\mathrm {d} x}},~f'':={\cfrac {\mathrm {d} ^{2}f}{\mathrm {d} x^{2}}},~f^{(n)}:={\cfrac {\mathrm {d} ^{n}f}{\mathrm {d} x^{n}}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/0383e980ab0ac1af523eb3fba9c98100d651da05)
can be obtained from the Euler–Lagrange equation[3]

under fixed boundary conditions for the function itself as well as for the first
derivatives (i.e. for all
). The endpoint values of the highest derivative
remain flexible.
Several functions of one variable
If the problem involves finding several functions (
) of a single independent variable (
) that define an extremum of the functional
![{\displaystyle I[f_{1},f_{2},\dots ,f_{n}]=\int _{x_{0}}^{x_{1}}{\mathcal {L}}(x,f_{1},f_{2},\dots ,f_{n},f_{1}',f_{2}',\dots ,f_{n}')~\mathrm {d} x~;~~f_{i}':={\cfrac {\mathrm {d} f_{i}}{\mathrm {d} x}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/3f664ca5975ea1cc76400b7b29f3d31c9e714c67)
then the corresponding Euler–Lagrange equations are[4]

Single function of several variables
A multi-dimensional generalization comes from considering a function on n variables. If Ω is some surface, then
![{\displaystyle I[f]=\int _{\Omega }{\mathcal {L}}(x_{1},\dots ,x_{n},f,f_{x_{1}},\dots ,f_{x_{n}})\,\mathrm {d} \mathbf {x} \,\!~;~~f_{x_{i}}:={\cfrac {\partial f}{\partial x_{i}}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/97c427e52e1bfb4724bca0614a12c38d73d9fa1d)
is extremized only if f satisfies the partial differential equation

When n = 2 and
is the energy functional, this leads to the soap-film minimal surface problem.
Several functions of several variables
If there are several unknown functions to be determined and several variables such that
![{\displaystyle I[f_{1},f_{2},\dots ,f_{m}]=\int _{\Omega }{\mathcal {L}}(x_{1},\dots ,x_{n},f_{1},\dots ,f_{m},f_{1,1},\dots ,f_{1,n},\dots ,f_{m,1},\dots ,f_{m,n})\,\mathrm {d} \mathbf {x} \,\!~;~~f_{j,i}:={\cfrac {\partial f_{j}}{\partial x_{i}}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/3486e6d8b2deab2e9482729ec0c70cb15951f1a0)
the system of Euler–Lagrange equations is[3]

Single function of two variables with higher derivatives
If there is a single unknown function f to be determined that is dependent on two variables x1 and x2 and if the functional depends on higher derivatives of f up to n-th order such that
![{\displaystyle {\begin{aligned}I[f]&=\int _{\Omega }{\mathcal {L}}(x_{1},x_{2},f,f_{,1},f_{,2},f_{,11},f_{,12},f_{,22},\dots ,f_{,22\dots 2})\,\mathrm {d} \mathbf {x} \\&\qquad \quad f_{,i}:={\cfrac {\partial f}{\partial x_{i}}}\;,\quad f_{,ij}:={\cfrac {\partial ^{2}f}{\partial x_{i}\partial x_{j}}}\;,\;\;\dots \end{aligned}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/dc524c375b2bfba98aa85a1dc615829e8f033475)
then the Euler–Lagrange equation is[3]

which can be represented shortly as:

where
are indices that span the number of variables, that is they go from 1 to 2. Here summation over the
indices is implied according to Einstein notation.
Several functions of several variables with higher derivatives
If there is are p unknown functions fi to be determined that are dependent on m variables x1 ... xm and if the functional depends on higher derivatives of the fi up to n-th order such that
![{\displaystyle {\begin{aligned}I[f_{1},\ldots ,f_{m}]&=\int _{\Omega }{\mathcal {L}}(x_{1},\ldots ,x_{m};f_{1},\ldots ,f_{p};f_{1,1},\ldots ,f_{p,m};f_{1,11},\ldots ,f_{p,mm};\ldots f_{p,m\ldots m})\,\mathrm {d} \mathbf {x} \\&\qquad \quad f_{i,\mu }:={\cfrac {\partial f_{i}}{\partial x_{\mu }}}\;,\quad f_{i,\mu _{1}\mu _{2}}:={\cfrac {\partial ^{2}f_{i}}{\partial x_{\mu _{1}}\partial x_{\mu _{1}}}}\;,\;\;\dots \end{aligned}}}](https://wikimedia.org/api/rest_v1/media/math/render/svg/f91213390eb7959ed11cdb9a477633718854ff87)
where
are indices that span the number of variables, that is they go from 1 to m. Then the Euler–Lagrange equation is

where summation over the
is implied according to Einstein notation. This can be expressed more compactly as

Generalization to Manifolds
Let
be a smooth manifold, and let
denote the space of smooth functions
. Then, for functionals
of the form
![{\displaystyle S[f]=\int _{a}^{b}(L\circ {\dot {f}})(t)\,\mathrm {d} t}](https://wikimedia.org/api/rest_v1/media/math/render/svg/aa07716cf37832981db890147592174562074312)
where
is the Lagrangian, the statement
is equivalent to the statement that, for all
, each coordinate frame trivialization
of a neighborhood of
yields the following
equations:

See also
Template:Sister
Notes
- ↑ {{#invoke:citation/CS1|citation
|CitationClass=book
}}
- ↑ A short biography of Lagrange
- ↑ 3.0 3.1 3.2 Courant, R. and Hilbert, D., 1953, Methods of Mathematical Physics: Vol I, Interscience Publishers, New York.
- ↑ Weinstock, R., 1952, Calculus of Variations With Applications to Physics and Engineering, McGraw-Hill Book Company, New York.
References
- {{#invoke:citation/CS1|citation
|CitationClass=citation
}}
|CitationClass=book
}}