Introduction
It is not so much the mathematics that intrigues me but the fascinating problems you can solve using it. In this particular scenario I’m referring to a class of problems, for example, finding the shortest curve between two points on a plane or the path of traveling light between two points in the least amount of time. Luckily I’m definitely not the first one to think of these types of problems.
Finding the curve that yields the maximum surface for a given perimeter also known as the Dido problem (Weisstein, n.d.), which dates back to the age before Christ, is one of the first known formulations of a variational problem. This particular problem is considered a special case of an isoperimetric inequality problem, we will discuss this later in more detail(Dacorogna 2014). Great thinkers attempted to prove this isoperimetric inequality but one of the first to more or less succeed is Weierstrass in the 19th century with a formal proof (Siegel 2003).
It are more or less the problems that shape and evolve the mathematics behind them, making it more complete and formal. In the seventeenth century new problems around this topic emerged, Galileo (1638) with the branchistochrone problem1, Fermat’s problem (1662) on geometrical optics2, Newton (1685) with the movement of bodies through inviscid and in-compressible fluids3 and the Euler-Lagrange equations4 in the 1750s (Dacorogna 2014, Goldstine (2012)).
If we fast forward a bit to the nineteenth century we come across the Dirichlet integral5 which is the problem of of finding the function that minimizes this integral. Hilbert, Lebesgue and Tonelli played an important role in the further developing the Dirichlet integrals. Hilbert created a direct proof that there exists a shortest path between two points on a surface, Lebesgue showed that the area functional is semi-continuous and Tonelli applied the Arzela-Ascoli compactness theorem and Baire’s semi-continuity theorem to variational problems which we still use nowadays(Buttazzo, Giaquinta, and Hildebrandt 1998).
Some of the greatest minds have worked on this problem and now it is your turn. In the next section I’ll show some of the core concepts of variational calculus.
Variational calculus
Now that we have introduced some historic notes on the topic of variational calculus it is time to move on to a more solid definition. Assume that we have a function and a derivative then we can define a function that takes these functions as arguments, this so-called functional can look as follows: the objective will be to find extreme points for this function, this can either be maxima, minima or inflection points. We require this function to be twice differentiable because indicates an extreme (we will use this later on in the derivation) and is signed and provides us with information about the type of extreme, e.g. a maxima, minima or inflection point. So we want to explorer the vicinity of the however, this is slightly different then the way we achieve this in standard calculus.
If we want to explorer extrema in standard calculus we can use the Taylor expansion, for example, if we want to find the extrema of a standard function we can use a Taylor expansion in the vicinity of
we assume that all of the n-th order derivatives are zero, hence we obtain
In case with even we have a strict minimum point and for odd we have a strict maximum point.
For the variational case we do not want to explorer near the vicinity of the value but near the function , in other words, we want to explorer the paths near the path of function . We define a small variation of the function as
In the next figure we show the function as original and two variations var1 and var2 using
Where is an arbitrary continuous function with .
We can explorer the integral in its vicinity, by using
with . Thus, if we perform a similar Taylor expansion at we get
which gives We know that in order to be an extrema the first derivative must be zero hence we get Thus if we plugin the definition of we get
When we move the derivative inside we get a partial derivative is an independent variable, hence we can use the chain rule of partial integration to get We will now solve the second part of the chain rule,i.e. and , as a quick refresher the definitions of and taking the derivative of these functions with respect to gives we can use these derivatives and plug them into the previous function to obtain the second part, , of the integral can be computed using integration by parts () if we take and then we get
using we obtain
which we can compute using the definition of the boundary conditions and get . Then we are left with . If we use this in the original equation we get
at
which is only true if which is the Euler-Lagrange equation. Solving this equation will provide us with the answer we are looking for. If we can find a function that satisfies this conditions we have found the function that minimizes or maximizes and solved our original problem.
Conclusion
In this tutorial we provided a short overview of some historic notes on the variational calculus problems and the derviation of the Euler-Lagrange equation. In a follow-up post I’m planning to demonstrate some of the problems you can solve with this math.
References
Buttazzo, Giuseppe, Mariano Giaquinta, and Stefan Hildebrandt. 1998. One-Dimensional Variational Problems: An Introduction. Vol. 15. Oxford University Press.
Dacorogna, Bernard. 2014. Introduction to the Calculus of Variations. World Scientific Publishing Co Inc.
Goldstine, Herman Heine. 2012. A History of the Calculus of Variations from the 17th Through the 19th Century. Vol. 5. Springer Science & Business Media.
Siegel, Alan. 2003. “A Historical Review of the Isoperimetric Theorem in 2-d, and Its Place in Elementary Plane Geometry.”
Weisstein, Eric W. n.d. “Dido’s Problem.”