In the first part, we discussed the idea of a functional, what it means, and how to find its extrema using the calculus of variations. However, those equations don’t really capture how amazing and applicable calculus of variations really is so the following will be some examples of this. In fact, the drawn out results from the posts The Shape of a String and The Lagrangian are just two cases of the one equation.
This is probably the simplest example. What function takes the shortest path between two points and ? Well, the length of the function can be calculated by the following integral which is also the functional we wish to minimize.
Where . We know use the -independent Euler equation.
is simply a large constant.
We have essentially just proved the shortest distance between two points is a line. As trivial as this may sound, it is not true in other matric spaces and it is important to know exactly how to calculate this minimal distance points in any metric.
If we were to roll a ball down a track, what should the track’s shape be such that it minimizes the travel time between two points A and B.
The Brachistochrone problem is the famous problem of finding the optimal track to roll a particle down such that it minimizes the time taken to do so. It is simply one case of Euler’s equation. First let us determine the integral to be solved. Consider the time it takes to roll down a segment . From conservation of energy, we know the speed of the particle is . This means . We know so . This means the integral we wish to minimize is the following.
Where . Once again, the -independent Euler equation is applied.
is a constant.
This is the equation for a cycloid, the solution to the Brachistochrone problem.
3. The Shape of a String
As previously mentioned, I have approached this problem in a previous post: The Shape of a String. However, the method I used required the consideration of many variables unlike calculus of variations. The problem is determining the function that describes the shape of a string at rest when hung.Once again, we must determine the integral being minimized. A law of nature is that systems tend toward low potential energy and similarly a string would as well. If we consider a small part of the string, we know it has length . Assuming uniform mass density , we know this element has a mass so it has a potential energy . The integral we then wish to minimize is the following.
As usual …
is just a constant.
Against intuition, it seems the string forms the shape of a hyperbolic cosine.
4. Shape of Bubbles
Imagine having a soap bubble connected by two rings. What shape would it form? Well, intuitively it would be symmetric around the axis from one ring center to the other. This hints at a surface of revolution. Because it is a bubble, it would also try to minimize surface area. To calculate the surface area of any surface of revolution, we use the following integral.
Where . Before getting into the integration, we simple make note of the fact that this is of the exact same form of the last integral so we know it has the same solution. As a result, it seems that the bubbles would end up minimizing surface area by forming a revolved hyperbolic cosine or catenoid as shown below.
5. Lagrangian Mechanics
Notice any similarities between Euler’s equation and the Euler-Lagrange equation from The Lagrangian? Let me give you a hint.
Lagrangian mechanics is simply an application of calculus of variations and this alone should show why calculus of variations is so important.
I haven’t even begun to talk about more variables, higher order derivatives, or more functions but this is definitely a good introduction into this wonderful field of mathematics.
Leave a Reply