Attic › Mathematics › Joseph-Louis Lagrange
The calculus of variations finds the best path between two points
About Calculus of variations
Lagrange began this work in 1754, when he was about 18 years old. He found a purely algebraic method to identify the curve that makes a quantity, such as travel time or surface area, as large or as small as possible. This branch of mathematics is called the calculus of variations.
Ordinary calculus finds the highest or lowest point of a single curve. You change an input number by a small amount, and when the output stops changing, you have found the peak or the bottom.
However, physicists often face a harder question: instead of finding one best number, they must find one best curve out of all possible curves. For example, imagine a bead that slides down a wire from a high point to a low point under gravity. A straight wire is the shortest path, but it is not the fastest. A wire that drops steeply at the start lets the bead build up speed early, so it finishes sooner.
Before Lagrange, the Swiss mathematician Leonhard Euler tried to find these best curves by breaking a curve into many short straight lines and using geometry. Between 1754 and 1756, Lagrange wrote several letters to Euler that solved the problem without geometry.
Lagrange's method works in three steps:
1. Write a formula that calculates the total quantity (such as the total travel time) for any curve.
2. Add a small, smooth change—called a variation—to the whole curve at once, rather than to a single point.
3. Set the resulting change in the total quantity to zero. Because the best curve cannot be improved, a tiny change to it does not change the total quantity at first.
This third step gives a standard differential equation called the Euler–Lagrange equation. Solving this equation gives the exact formula for the best curve. Euler immediately dropped his own geometric method, praised the young mathematician, and gave the new field its name: the calculus of variations.
Lagrange also introduced a tool for problems that have extra rules, or constraints. For example, you might want to find the largest area you can enclose with a fixed length of rope. A Lagrange multiplier is a new unknown number that joins the constraint equation directly to the main equation. This lets you find the best value with the same standard algebra, without using geometry to handle the constraint first.
Previous: Joseph-Louis Lagrange replaced geometry with pure algebra to describe how things move
Fact-checked against Joseph-Louis Lagrange on Wikipedia
Part of the Mathematics syllabus: Euler and the Analytical World
See it on the timeline of Mathematics