Mathematics
The Brachistochrone Problem and Calculus of Variations
Quick fact
In 1696, Johann Bernoulli challenged the world's mathematicians with the brachistochrone problem; Newton solved it in a single evening and published the answer anonymously, but Bernoulli recognized the author immediately by the brilliance of the solution.
Why this is interesting
You've probably learned that the shortest path between two points is a straight line. But if you're a ball rolling downhill, the fastest path isn't straight at all—and it's not even a circular arc. What curve makes a bead fall from here to there in the least time?
Read the full explanation
Understanding The Brachistochrone Problem and Calculus of Variations
Imagine you have two points at different heights with a bead starting from rest at the top. You want to design a track along which the bead slides (without friction) from the upper point to the lower point in the shortest possible total time. Intuitively, you might think the straight line is best because that's the shortest distance. But the bead starts from rest, so it needs to gain speed quickly. A steeper drop at the beginning will accelerate the bead faster, even if it means covering a longer distance afterward. The optimal curve is a compromise between gaining speed early and keeping the total distance moderate. That curve is called the brachistochrone, from the Greek words for 'shortest time'. The surprising answer, found in 1696 by Johann Bernoulli, is that the optimal curve is a cycloid—the path traced by a point on the rim of a rolling wheel. To understand why, we need a new kind of calculus: the calculus of variations.
A deeper explanation
The brachistochrone problem is not about finding a point that minimizes a function; it's about finding an entire curve (a function) that minimizes an integral. In the calculus of variations, we define a functional, which is a rule that takes a function as input and gives a number as output. For the brachistochrone, the functional is the total time T for the bead to travel from point A to point B. Using conservation of energy, we can write the speed as v = sqrt(2gy), where y is the vertical drop from the starting point. The time integral then becomes T = ∫ (1/v) ds with ds being the arc length element. The calculus of variations asks: what function y(x) minimizes this integral? The key tool is the Euler-Lagrange equation, which gives a necessary condition for a function to be an extremum of a functional. Applying it to the brachistochrone problem yields a differential equation whose solution is indeed a cycloid. The brilliance of the calculus of variations is that it moves from optimizing a finite set of variables to optimizing an infinite-dimensional space of possible functions. This problem sparked the development of the entire field, and Johann Bernoulli's challenge was a watershed moment, with solutions from the greatest mathematicians of the time, including Newton, Leibniz, and L'Hôpital. The brachistochrone is more than a mathematical curiosity; it's the gateway to the principle of least action, which underlies all of classical mechanics and much of modern physics.