Euler-Lagrange Equation

where . Note that is a function of the function . In mathematics, a function of a function is termed a

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

(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

where the end points of the integration are fixed. Suppose that . The first-order variation in is written

(E.4) |

where . Setting to zero, we obtain

(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

(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

(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

This condition is known as the

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

Next, suppose that does not depend explicitly on . Multiplying Equation (E.8) by , we obtain

(E.10) |

However,

(E.11) |

Thus, we get

(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

(E.13) |

which yields

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

(E.15) |

where is a constant. So,

(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.