The Brachistochrone Problem
The brachistochrone — from the Greek brachistos (shortest) and chronos (time) — is the curve of fastest descent, and it is the problem that gave birth to a whole branch of mathematics. Fix a start point at the origin, take the -axis to point downward so depth is positive, and let be a lower point that is not directly below . A bead released from rest at slides without friction under uniform gravity . Of all the curves that connect to , which one delivers the bead to in the least time? The instinctive answer, the straight chord, is wrong. A curve that dives steeply at the start trades a longer path for a higher speed, and because time is distance divided by speed, front-loading the speed wins. What makes this more than a puzzle is that the descent time is a functional — a number assigned to an entire function — and minimizing it is the founding exercise of the calculus of variations. When Johann Bernoulli posed it as a public challenge in 1696, the answers that came back from Newton, Leibniz, l'Hôpital, and both Bernoulli brothers effectively invented the field that Euler and Lagrange would later systematize. The integrand of the time functional happens to carry no explicit -dependence, so a conserved "energy" — the Beltrami first integral — hands us a first-order equation for free, and its solution is a cycloid: the arc traced by a point on the rim of a rolling wheel. The same curve carries a second miracle, the tautochrone property, which let Huygens build a pendulum clock whose period does not depend on how far it swings.
- The brachistochrone problem asks for the curve joining two points and along which a bead, starting from rest and sliding frictionlessly under gravity, reaches in the least time — and the answer is not the straight line.
- It is the founding problem of the calculus of variations: minimize the time functional subject to energy conservation .
- The integrand depends on and but not on , so the Beltrami identity gives a first integral immediately, cutting the second-order Euler–Lagrange equation down to one first-order ODE, .
- The solution is the cycloid ; the descent time from the cusp is the strikingly simple .
- The very same cycloid is the tautochrone: the time to reach its lowest point is no matter where the bead is released — the fact Huygens turned into the isochronous pendulum clock.
- Key idea: minimizing with an -independent integrand yields, through the Beltrami identity, a first integral whose solution is the cycloid .
Minimizing the descent-time functional , whose integrand has no explicit -dependence, yields through the Beltrami first integral the reduced equation , whose solution is the cycloid — the curve that is simultaneously the fastest descent (brachistochrone) and the equal-time descent (tautochrone).
Where this lives today
The brachistochrone is three centuries old, yet its machinery is exactly that of modern optimal-control and trajectory optimization. Every problem of the form "minimize a travel time or cost subject to dynamics" — a robot arm slewing in minimum time, a spacecraft threading a low-thrust transfer — is a direct descendant, solved by the Euler–Lagrange equation's control-theory generalization, Pontryagin's maximum principle. The cycloid itself resurfaces in the tautochrone: precision clocks and vibration isolators still exploit cycloidal constraints to make a period amplitude-independent. It is even a live demo: departments race beads down machined straight and cycloidal tracks — the cycloid bead reliably wins, and beads dropped from different heights on the same cycloid arrive at the bottom together, a tabletop proof of the tautochrone. The deepest legacy is conceptual: the optical–mechanical analogy Bernoulli used runs straight through Hamilton's principle and the eikonal limit to the path-integral formulation of quantum mechanics, where a particle "tries all paths" and the classical trajectory is the stationary-time one — the brachistochrone idea, promoted to a law of nature.
The physical picture
Race two beads down two frictionless ramps to the same finishing point: one a straight chord, the other a curve that plunges steeply at first and then flattens. The plunging ramp converts height into speed early, so the bead spends most of its trip travelling fast, and the time saved at high speed more than pays for the extra distance. That is the entire physical content of the problem — a competition between a shorter path and an earlier speed-up — and the calculus of variations is simply the bookkeeping that finds the exact winning compromise. The first figure runs the race with real numbers.
Johann Bernoulli found the answer without any calculus of variations at all — he imagined light instead of a bead. By Fermat's principle a light ray takes the path of least time, exactly the quantity we are minimizing. Picture a medium sliced into thin horizontal layers in which the speed of light grows with depth as , precisely mimicking the falling bead. Snell's law at each interface keeps the ratio constant, where is the angle to the vertical; taking the layers infinitely thin turns that optical condition into an equation identical to the brachistochrone first integral, and the curve the ray sweeps out is the cycloid. This optical–mechanical bridge — a mechanical trajectory extremizes an "action" just as a ray extremizes optical path length — is the seed of Hamilton's principle, and the brachistochrone is where it first flowered. The cycloid answer is geometrically vivid: it is the trace of a chalk mark on a rolling wheel. The bead effectively rolls down an inverted cycloidal track, and — the second miracle — no matter where on that track it starts from rest, it arrives at the lowest point in exactly the same time. The second figure shows how the rolling circle generates the curve and where the two special points and sit.
The core equations
The problem starts from a single sentence made precise: the descent time is the accumulated arc length divided by the local speed, integrated along the curve. Everything else is a computation of, or a consequence of, this one functional.
where: — total descent time, the functional to be minimized; — arc-length element along the curve; — the bead's speed at that point. Reading it: to make small you want large where is being accumulated, which biases the curve toward gaining speed early. The speed is fixed pointwise by energy conservation. A bead released from rest and having fallen a depth has converted potential energy into kinetic energy, and the mass cancels.
where: — gravitational acceleration; — depth fallen below the start, positive downward. Reading it: the speed depends only on the depth, not on the path taken to get there, and it vanishes at the start where . Substituting the arc-length element and the speed turns the abstract functional into an explicit integral over .
where: — the local slope; — the horizontal coordinate of . Reading it: the integrand contains and but no explicit — the structural fact that makes the problem solvable in closed form. Because has no explicit -dependence, the Euler–Lagrange equation admits a first integral: the combination below is constant along the extremal. This is the Beltrami identity, the "energy" of the variational problem.
where: — the integrand ; — a constant set by the geometry. Reading it: this replaces a second-order differential equation with a first-order one, exactly as conservation of energy replaces Newton's second law with a first-order relation in one-dimensional mechanics. Evaluating for the brachistochrone integrand collapses to a strikingly simple first-order ODE.
where: — a constant with the dimensions of length; turns out to be the radius of the generating circle. Reading it: this separable equation is the whole problem in one line, and every curve satisfying it is a cycloid. Integrating and introducing the rolling angle as parameter yields the cycloid in its cleanest form.
where: — radius of the generating circle; — rolling angle, . Reading it: at the curve is at the cusp ; the two unknowns and are pinned down by demanding that the curve pass through . A remarkable dividend falls out of the cycloid geometry: the descent time from the cusp, worked out in Derivation 3, is linear in the rolling angle and independent of the release point at the bottom.
where: — rolling angle at the endpoint; the right-hand form is the time to reach the lowest point, the same for any starting height on the arc. Reading it: this is the tautochrone (equal-time) property, the fact Huygens exploited for the pendulum clock. Finally, Bernoulli's optical route encodes the same physics as a Snell's-law condition, revealing the mechanics–optics analogy directly.
where: — the angle the path makes with the vertical; — the local speed. Reading it: this is Snell's law for a continuously stratified medium, and squaring it reproduces the reduced ODE exactly.
The goal is to turn the physical statement "least descent time" into a solvable differential equation. We write the time as an explicit functional, invoke stationarity to get the Euler–Lagrange equation, and then exploit the single most important structural feature of the integrand — that it does not contain the independent variable — to extract the Beltrami first integral, reducing a second-order problem to a first-order one that we can separate and integrate. The payoff is the compact equation .
Step 1. The descent time is with , and stationarity under variations that vanish at the fixed endpoints gives the Euler–Lagrange equation . Why: the extremal curve is the one for which no admissible small deformation lowers the time to first order.
Step 2. Because , the Euler–Lagrange equation has an immediate first integral: the Beltrami combination is constant along the extremal. Why: this is the variational analogue of energy conservation for an -autonomous integrand — it saves one order of differentiation, exactly the shortcut that makes the brachistochrone tractable by hand.
Step 3. Differentiate with respect to holding fixed, giving . Why: this is the only derivative the Beltrami identity needs, and it isolates the -dependence cleanly.
Step 4. Form the first integral: . Why: the numerator collapses because the term exactly cancels the term, leaving only the "1" — the small algebraic miracle that makes the answer so clean.
Step 5. Square both sides and rearrange to . Why: naming the constant anticipates the geometry — will be the radius of the rolling circle — and leaves a separable first-order ODE ready to integrate.
Go deeper · Derivation B · 1 minIntegrating the equation to reveal the cycloid
The goal is to solve the reduced equation explicitly and to recognize its solution as the cycloid. We separate the variables, and the resulting radical signals a half-angle substitution that rationalizes everything in one stroke; integrating then produces the parametric cycloid, with the constant of integration fixed by anchoring the curve at the origin. The result is the pair .
Step 1. Solve for the slope on the descending branch, , taking the positive root since increases with as the bead descends. Why: near the start makes , correctly predicting the vertical launch — the fastest curve drops straight down to gain speed.
Step 2. Separate the variables into , putting all -dependence on one side. Why: the radical is a dead giveaway for a trigonometric substitution that turns into a circular function.
Step 3. Substitute , which makes and hence . Why: this choice is exactly what rationalizes the radical, and it is the parametrization the cusp geometry demands ( at ).
Step 4. With and , the differential becomes . Why: the and the inside combine into the elementary , which integrates in closed form.
Step 5. Integrate to get ; anchoring at (the origin, at ) sets the constant to zero, so — a cycloid, with and fixed by requiring passage through . Why: exactly two conditions ( and ) fix exactly two constants, so the extremal through any admissible is unique.
Go deeper · Derivation C · 1 minThe tautochrone descent time
The goal is to compute how long the bead takes to slide down the cycloid and to expose the tautochrone miracle: the descent time to the lowest point is the same regardless of where on the arc the bead is released from rest. We compute the arc-length and speed as functions of the rolling angle, and watch the awkward factors cancel identically, leaving a trivially constant integrand. The result is , independent of the release point.
Step 1. On the cycloid and , so the arc-length element is . Why: the half-angle identity produces the same that will appear in the speed, setting up the cancellation.
Step 2. Releasing from rest at the cusp, the speed is . Why: writing makes the depth, and hence the speed, proportional to the very factor sitting in .
Step 3. The time integral therefore collapses: . Why: the cancels exactly, so the integrand is a constant — the descent time is simply linear in the rolling angle.
Step 4. Setting (the lowest point) gives ; with and this is . Why: this is the quarter-period of the cycloidal pendulum, the number Huygens needed for a clock.
Step 5. For release from rest at an arbitrary point , the speed becomes , and the substitution turns the descent time into . Why: the arcsine integral evaluates to whatever is, so every release point gives the identical descent time — the tautochrone property that makes the cycloidal pendulum isochronous.
Limiting cases
| Case | Result | Meaning |
|---|---|---|
| Vertical descent () | When lies almost directly below , the cycloid degenerates toward a straight vertical free-fall — the only case in which the straight line is optimal. | |
| Cusp at the start | At the cycloid leaves vertically: the fastest curve always drops straight down first to build speed as fast as possible. | |
| Endpoint at the bottom | If sits on the horizontal through the cycloid's lowest point, the optimal arc has and the bead is moving horizontally as it arrives. | |
| Beyond the bottom | decreases again | If is large enough the optimal path first descends below and then climbs back up — the bead trades a deeper dive for extra speed. |
| Straight-line comparison | For the diagonal chord takes about 19% longer than the cycloid; for any horizontally separated the chord is strictly slower. |
Worked examples
1 · Cycloid versus straight line, with numbers (fully worked)
Take the generating radius and , and let be the lowest point of the cycloid, . Compute the descent time along the cycloid and along the straight chord, and find the ratio.
Step 1. From Derivation 3 the cycloid descent time from the cusp to the lowest point () is . This used no numerical integration — the tautochrone cancellation made the integrand constant.
Step 2. For the straight chord, the bead undergoes uniform acceleration along an incline of length . So , and from rest gives .
Step 3. The ratio is , which is exactly the closed form . Notice both times scale as , so this ratio is independent of and : to this endpoint the straight chord is always about 19% slower. Cycloid: 1.00 s; straight line: 1.19 s; the cycloid wins by the factor √(π²+4)/π ≈ 1.19.
2 · Huygens's cycloidal pendulum as a seconds clock (fully worked)
Design a cycloidal pendulum whose period is exactly (a "seconds pendulum," one tick per second), and show it beats an ordinary circular pendulum of the same length at large swing.
Step 1. A bob constrained to a cycloid of generating radius has period — four times the quarter-period of Derivation 3, and amplitude-independent because the cycloid is a tautochrone. Setting gives , so .
Step 2. The cycloidal pendulum swings as if it were a simple pendulum of length (from matching ), giving — essentially the textbook seconds-pendulum length. But unlike the simple pendulum this holds at every amplitude, small or large.
Step 3. Compare a circular pendulum of the same length . At vanishing amplitude it also gives , but at a swing the true period is longer by the factor , i.e. — a 34-millisecond error every swing that accumulates to about minutes a day. Huygens's cycloidal cheeks bend the suspension so the bob follows a cycloid, killing this error exactly. a = 0.248 m, equivalent length L = 4a = 0.993 m, exact 2.000 s period at any amplitude — versus a 34 ms per-swing error for the circular pendulum at 30°.
Physics of the portrait
The brachistochrone is inseparable from the man who threw it down as a gauntlet to Europe. Johann Bernoulli did not merely pose the problem — he solved it by a stroke of physical insight that reads today like a preview of the next century of theoretical physics.
Origins · 1 minJohann Bernoulli and how this was discovered
Johann Bernoulli, the younger of the two Bernoulli brothers who dominated post-Newtonian analysis, issued the brachistochrone as a public challenge in the June 1696 Acta Eruditorum, daring "the sharpest mathematicians of the world" to find the curve of quickest descent. He gave them six months, then a year at Leibniz's urging. Solutions arrived from Leibniz, from l'Hôpital, from his own brother Jakob, and — famously — anonymously from Newton, who reportedly solved it in a single evening after a day at the Mint; Johann is said to have recognized the author "as one knows the lion by his claw." Bernoulli's own solution is the jewel of the collection. Rather than grinding through variations, he imagined the bead as a ray of light descending through a medium whose optical density varies so that the light speed is . Fermat's principle of least time then makes the ray's path the brachistochrone, and Snell's law , applied layer by layer and taken to the continuum, is precisely the first integral . The curve is a cycloid. In identifying a mechanical trajectory with an optical ray, Bernoulli anticipated the optical–mechanical analogy that Hamilton would formalize 130 years later — the same analogy that, through the eikonal equation, links classical mechanics to wave mechanics. The problem that launched the calculus of variations also, quietly, foreshadowed quantum theory.
Going further
Texts. Stone & Goldbart, Mathematics for Physics, §1.1 (the brachistochrone as the opening example of variational calculus) · Arfken & Weber, Mathematical Methods for Physicists, Ch. 22 · Riley, Hobson & Bence, Mathematical Methods for Physics and Engineering, Ch. 22 · Lanczos, The Variational Principles of Mechanics, Ch. II (the tautochrone and Huygens) · Goldstein, Classical Mechanics, §2.2 · Hassani, Mathematical Physics, Ch. on the calculus of variations.
Provenance. The equations are standard textbook results, re-verified here. A checker should recompute: (1) the functional from with ; (2) the Beltrami reduction to ; (3) that the cycloid satisfies this ODE; (4) the descent time and the tautochrone ; (5) the worked-example numbers , , ratio , and the seconds-pendulum , . Cross-check against Stone & Goldbart §1.1, Arfken & Weber Ch. 22, Riley–Hobson–Bence Ch. 22, Goldstein §2.2, and Lanczos Ch. II.
Prerequisites. Functionals and Function Spaces · The Euler–Lagrange Equation · The Beltrami Identity and First Integrals · The First Variation and Stationarity. Leads to. Hamilton's Principle of Stationary Action · Geodesics as Variational Problems · Isoperimetric Problems · Lagrangian Mechanics.
Ask the tutor: Ask me to walk through Bernoulli's Snell's-law derivation line by line, or to solve the cycloid endpoint equations for a specific and compare the cycloid time against the straight chord.
Why isn't the straight line the fastest path?
Because least time is not least distance. The straight chord is the shortest route, but the bead travels it slowly at first, since it has not yet fallen far and is small near the top. A curve that plunges steeply at the start sacrifices some extra length but builds speed immediately, and it then covers most of its journey moving fast. Time is distance divided by speed, so the accumulated saving from moving quickly outweighs the cost of the longer path. The cycloid is the exact optimum of this trade-off; for the endpoint it is about 19% faster than the chord even though it is roughly 8% longer.
The integrand blows up at the start where y = 0 — is the descent time really finite?
Yes. The integrand does diverge as because the bead starts from rest with , but the divergence is the mild, integrable kind. Integrals of near converge — is finite — so both the descent time and the arc length come out finite. Physically, the bead accelerates so quickly out of the cusp (the curve is vertical there) that it spends only a vanishingly short time in the slow region. The tautochrone calculation makes this concrete: the total time to the bottom is the clean finite number .
What is the Beltrami identity actually doing here?
It is the variational version of energy conservation. When a Lagrangian or integrand contains no explicit independent variable — here no explicit — the quantity is conserved along the extremal, exactly as energy is conserved for a time-independent mechanical system. This lets you skip the full second-order Euler–Lagrange equation and write down a first-order equation immediately. For the brachistochrone that first-order equation is , which is separable and integrable in closed form. Without the Beltrami shortcut you would face a messier second-order ODE; with it, the cycloid drops out in a couple of lines.
How can one curve be both the brachistochrone and the tautochrone?
They are the same cycloid viewed through two different questions. As the brachistochrone it answers "which curve between and gives the least descent time?" — a minimization over curves. As the tautochrone it answers "on a fixed cycloid, does the descent time to the bottom depend on where I release the bead?" — and the answer is no, the time is from any starting height. The two facts are logically independent (one is about comparing curves, the other about comparing starting points on one curve), but both are properties the cycloid happens to possess. That double role is exactly why Huygens could build an accurate clock: the tautochrone gives amplitude independence, the same cycloid the brachistochrone made famous.
Does the bead's mass, or the value of g, change the optimal curve?
No, neither changes the shape. The speed is independent of mass (it cancels out of energy conservation), so the optimal curve is the same for a marble or a boulder. And enters the descent time only through the overall prefactor in the functional; minimizing over curves is unaffected by a constant multiplier, so the extremal cycloid has the same shape on the Moon as on Earth. What does change is the time to traverse it: since , the same cycloid is descended more slowly under weaker gravity — a Moon bead would take about times as long.
What fixes the size of the cycloid and where it stops?
The parametric cycloid has two free constants: the generating radius and the final rolling angle . The requirement that the curve start at (the origin) is already built into the parametrization, since at . The two remaining constants are then determined by the two coordinates of the endpoint: demanding and gives two equations in and . Their ratio fixes (solved numerically in general), and then either equation fixes . A larger horizontal-to-vertical ratio pushes past , meaning the optimal path dips below before climbing back up to it.
How did Bernoulli's light-ray trick actually work?
He replaced the sliding bead with a ray of light in a medium whose optical properties make the light travel at exactly the bead's speed, , increasing with depth. Fermat's principle says light follows the least-time path — the very quantity we want to minimize — so the ray traces the brachistochrone. In a layered medium Snell's law holds at each interface, , where is the angle to the vertical. Taking the layers infinitely thin makes this a continuous condition along the curve, and squaring it, with and , reproduces — the same first integral the Beltrami identity gives. It is a beautiful shortcut, and it is the historical root of the optical–mechanical analogy at the heart of Hamiltonian mechanics.