The Euler-Lagrange differential equation is a central equation of the calculus of variations. It characterizes stationary curves of a functional of the form
|
(1)
|
where
|
(2)
|
For fixed endpoint values and twice continuously differentiable and
,
is stationary precisely when the Euler-Lagrange differential equation
|
(3)
|
is satisfied.
If time-derivative notation
is replaced instead by space-derivative notation
, the equation becomes
|
(4)
|
The Euler-Lagrange differential equation will be implemented in a future version of the Wolfram Language as EulerLagrangeEquation[f, u[x], x].
In many physical problems, (the partial derivative
of
with respect to
)
turns out to be 0, in which case a manipulation of the Euler-Lagrange differential
equation reduces to the greatly simplified and partially integrated form known as
the Beltrami identity,
|
(5)
|
For three independent variables (Arfken 1985, pp. 924-944), the equation generalizes to
|
(6)
|
To derive the Euler-Lagrange differential equation, examine
|
(7)
| |||
|
(8)
| |||
|
(9)
|
since . Applying integration
by parts to the second term gives
|
(10)
|
Combining (9) and (10) then gives
|
(11)
|
But we are varying the path only, not the endpoints, so and (11) becomes
|
(12)
|
At a stationary curve, the first variation
vanishes for every admissible perturbation
.
The fundamental lemma of calculus
of variations then gives
|
(13)
|
If the times and
are fixed and the endpoint values are free, the same equation
holds in the interior. The first variation then also
requires the natural boundary conditions
at each free endpoint. A cost depending on the endpoint values changes these conditions
in the Bolza problem (Gelfand and Fomin 1963, pp. 24-26).
For fixed endpoint values and four continuous derivatives of ,
the change in
under the perturbation
can be expanded to fourth order in
,
|
(14)
| |||
|
(15)
|
where and
.
The first four variations are
|
(16)
| |||
|
(17)
| |||
|
(18)
| |||
|
(19)
|
The second variation can be re-expressed using
|
(20)
|
so
|
(21)
|
But
|
(22)
|
If
is nonzero on
, the integrand can be completed to a square
whenever
satisfies
|
(23)
|
on that interval. Substituting
|
(24)
|
gives the Jacobi differential equation for ,
|
(25)
|
If this equation has a solution nonvanishing on
,
then
|
(26)
| |||
|
(27)
|