Next: Conditional Variation
Up: Calculus of Variations
Previous: Indroduction
Euler-Lagrange Equation
It is a well-known fact, first enunciated by Archimedes, that the shortest
distance between two points in a plane is a straight-line. However, suppose that
we wish to demonstrate this result from first principles. Let us consider the
length,
, of various curves,
, which run between two fixed
points,
and
, in a plane, as illustrated in Figure E.1. Now,
takes the form
![$\displaystyle l = \int_A^B (dx^{\,2} + dy^{\,2})^{1/2} = \int_a^b [1 + y'^{\,2}(x)]^{1/2}\,dx,$](img7295.png) |
(E.1) |
where
. Note that
is a function of the function
.
In mathematics, a function of a function is termed a functional.
Figure:
Different paths between points
and
.
![\begin{figure}
\epsfysize =2.5in
\centerline{\epsffile{AppendixE/figD.01.eps}}
\end{figure}](img7297.png) |
In order to find the shortest path between points
and
, we need to minimize the functional
with respect to small variations
in the function
, subject to the constraint that the end points,
and
, remain fixed. In other words, we need to solve
![$\displaystyle \delta l = 0.$](img7298.png) |
(E.2) |
The meaning of the previous equation is that if
, where
is small, then the first-order variation in
,
denoted
,
vanishes. In other words,
. The particular function
for which
obviously yields an extremum of
(i.e., either a maximum or a minimum). Hopefully,
in the case under consideration,
it yields a minimum of
.
Consider a general functional of the form
![$\displaystyle I = \int_a^b F(y, y', x)\,dx,$](img7304.png) |
(E.3) |
where the end points of the integration are fixed.
Suppose that
. The first-order variation in
is written
![$\displaystyle \delta I = \int_a^b\left(\frac{\partial F}{\partial y}\,\delta y+ \frac{\partial F}{\partial y'}\,\delta y'\right)dx,$](img7306.png) |
(E.4) |
where
. Setting
to zero, we
obtain
![$\displaystyle \int_a^b\left(\frac{\partial F}{\partial y}\,\delta y+ \frac{\partial F}{\partial y'}\,\delta y'\right)\,dx = 0.$](img7309.png) |
(E.5) |
This equation must be satisfied for all possible small perturbations
.
Integrating the second term in the integrand of the previous equation by
parts, we get
![$\displaystyle \int_a^b\left[\frac{\partial F}{\partial y}- \frac{d}{dx}\!\left(...
...ight]\delta y\,dx +\left[\frac{\partial F}{\partial y'}\,\delta y\right]_a^b=0.$](img7310.png) |
(E.6) |
However, if the end points are fixed then
at
and
. Hence, the last term on the left-hand side of the
previous equation is zero. Thus, we obtain
![$\displaystyle \int_a^b\left[\frac{\partial F}{\partial y}- \frac{d}{dx}\!\left(\frac{\partial F}{\partial y'}\right)\right]\delta y\,dx =0.$](img7313.png) |
(E.7) |
The previous equation must be satisfied for all small perturbations
. The only way in which this is possible is for the
expression enclosed in square brackets in the integral to be zero. Hence, the functional
attains an extremum value whenever
![$\displaystyle \frac{d}{dx}\!\left(\frac{\partial F}{\partial y'}\right)-\frac{\partial F}{\partial y} = 0.$](img7314.png) |
(E.8) |
This condition is known as the Euler-Lagrange equation.
Let us consider some special cases. Suppose that
does not explicitly
depend on
. It follows that
. Hence,
the Euler-Lagrange equation (E.8) simplifies to
![$\displaystyle \frac{\partial F}{\partial y'} = {\rm const}.$](img7316.png) |
(E.9) |
Next, suppose that
does not depend explicitly on
. Multiplying
Equation (E.8) by
, we obtain
![$\displaystyle y'\,\frac{d}{dx}\!\left(\frac{\partial F}{\partial y'}\right)-y'\,\frac{\partial F}{\partial y} = 0.$](img7317.png) |
(E.10) |
However,
![$\displaystyle \frac{d}{dx}\!\left(y'\,\frac{\partial F}{\partial y'}\right) = y...
...eft(\frac{\partial F}{\partial y'}\right)+ y''\,\frac{\partial F}{\partial y'}.$](img7318.png) |
(E.11) |
Thus, we get
![$\displaystyle \frac{d}{dx}\!\left(y'\,\frac{\partial F}{\partial y'}\right) = y'\,\frac{\partial F}{\partial y} + y''\,\frac{\partial F}{\partial y'}.$](img7319.png) |
(E.12) |
Now, if
is not an explicit function of
then the right-hand side of
the previous equation is the total derivative of
, namely
.
Hence, we obtain
![$\displaystyle \frac{d}{dx}\!\left(y'\,\frac{\partial F}{\partial y'}\right) = \frac{dF}{dx},$](img7321.png) |
(E.13) |
which yields
![$\displaystyle y'\,\frac{\partial F}{\partial y'} - F = {\rm const}.$](img7322.png) |
(E.14) |
Returning to the case under consideration, we have
, according to Equation (E.1) and (E.3). Hence,
is not
an explicit function of
, so Equation (E.9) yields
![$\displaystyle \frac{\partial F}{\partial y'} = \frac{y'}{\sqrt{1+y'^{\,2}}} = c,$](img7324.png) |
(E.15) |
where
is a constant. So,
![$\displaystyle y' = \frac{c}{\sqrt{1-c^{\,2}}} = {\rm const}.$](img7325.png) |
(E.16) |
Of course,
is the equation of a straight-line. Thus, the shortest distance between two fixed points in a plane is indeed a
straight-line.
Next: Conditional Variation
Up: Calculus of Variations
Previous: Indroduction
Richard Fitzpatrick
2016-01-22