⏱️ Brachistochrone
The curve of fastest descent
Press Race
Mode
Curves
Geometry
Physics
Controls
Stats
Fastest
Clock
0.00 s
Info & Theory

The brachistochrone (Greek: brakhistos "shortest" + khronos "time") is the curve along which a bead, sliding under gravity without friction, travels between two points in the least time. Surprisingly, it is not the straight line — it is an arc of a cycloid.

The 1696 challenge

Johann Bernoulli posed the problem in 1696 as a challenge to "the sharpest mathematicians in the world." Solutions came from Newton, Leibniz, l'Hôpital, Jakob Bernoulli and Johann himself — the birth of the calculus of variations.

Fermat's principle analogy

Johann's elegant trick reframed the falling bead as a ray of light. By energy conservation the speed is v = √(2g·h), so the bead moves faster lower down — like light through ever-faster media. Fermat's principle of least time then forces Snell's law, sinθ / v = const, at every point. The curve obeying this is exactly the cycloid.

The cycloid solution

A cycloid is traced by a point on a rolling circle of radius r:

x = r(θ − sinθ)
y = r(1 − cosθ)

Run upside-down from the start point, the cycloid threads through both endpoints and beats every other path — line, arc and parabola alike.

The tautochrone property

Huygens (1659) discovered the same cycloid is the tautochrone: a bead released from any point on the arc reaches the bottom in the same time, independent of where it starts. Switch to Tautochrone mode to watch beads released at different heights arrive together.

  • Line — shortest path, but slowest.
  • Arc — a circular dip, faster than the line.
  • Parabola — close, but still not optimal.
  • Cycloid — the brachistochrone, always wins.

About Brachistochrone — Curve of Fastest Descent

The brachistochrone simulation races four frictionless beads under gravity from a shared start point A to an endpoint B, each bead following a different curve: a straight line, a circular arc, a parabola, and a cycloid. Using energy conservation (speed equals the square root of 2g times the vertical drop), the simulation computes each bead's descent time in real time and reveals that the cycloid always wins — it is the mathematically proven fastest path, the brachistochrone. A second mode demonstrates the remarkable tautochrone property of the same cycloid, where beads released from different heights all arrive at the bottom simultaneously.

Johann Bernoulli posed the brachistochrone problem in 1696 as a challenge to the sharpest mathematicians in Europe; solutions arrived from Newton, Leibniz, l'Hopital, and both Bernoulli brothers, founding the entire field of calculus of variations and influencing modern optimal-control theory in robotics, aerospace, and ramp design.

Frequently Asked Questions

What is the brachistochrone?

The brachistochrone (from Greek brakhistos "shortest" and khronos "time") is the curve along which a frictionless bead, acted on only by gravity, slides between two points in the least possible time. The answer is not the straight line connecting the two points but an arc of a cycloid — the curve traced by a point on the rim of a rolling circle. This counter-intuitive result arises because an initial steep drop accelerates the bead rapidly, more than compensating for the longer path length.

How do I use this simulation?

Click Race to launch all four beads simultaneously from point A toward point B and watch their live descent times update in the panel. Use the End B height and End B distance sliders to move the finish point and re-run the race for any geometry. Toggle individual curves on or off to compare fewer paths, adjust Gravity g to see how gravitational strength affects times (without changing the winner), and switch to Tautochrone mode to observe beads released from different heights arriving at the cycloid's bottom together.

Why does the cycloid always beat the straight line?

A straight line is the shortest distance but not the fastest path because the bead accelerates slowly along it. The cycloid curves steeply downward at the start, converting potential energy to kinetic energy quickly so the bead reaches high speed early, then curves back up to B. Even though the cycloid path is longer than the straight line, the bead's higher average speed more than compensates, producing a strictly shorter travel time for any position of point B (provided B is below and to the side of A).

What mathematics governs the brachistochrone solution?

The solution uses the calculus of variations: minimize the functional T = integral of ds/v(y) where v = sqrt(2gy) by energy conservation. Applying the Euler-Lagrange equation yields Snell's law of refraction, sin(theta)/v = constant, at every point. The unique curve satisfying this condition is the cycloid x = r(theta - sin theta), y = r(1 - cos theta), where r is the rolling-circle radius chosen so the arc passes through both endpoints. The parameter theta ranges from 0 at A to a value tf found by numerically solving (tf - sin tf)/(1 - cos tf) = delta_x / delta_y.

What is the tautochrone property and why does the same cycloid have it?

The tautochrone ("same time" in Greek) is the curve where the period of oscillation is independent of amplitude: any bead released from rest at any point on the arc reaches the lowest point in the same time. Christiaan Huygens proved in 1659 that this curve is the cycloid. He exploited this by designing a cycloidal pendulum clock whose period is perfectly isochronous regardless of swing angle, solving a major problem in precision timekeeping for navigation. The two properties — brachistochrone and tautochrone — meeting in the same curve is a profound result of 17th-century mathematics.

Are there real-world engineering applications of the brachistochrone?

Yes. Ski jump ramp profiles, water slide chutes, and gravity-fed conveyor transitions borrow from brachistochrone geometry to minimise travel time or maximise exit speed. In aerospace and robotics, the underlying calculus-of-variations framework is used for minimum-time trajectory optimisation of rockets, robotic arms, and autonomous vehicles. Roller coaster designers use related optimal-path principles for the initial drop profile, and some grain silo chutes are shaped as cycloid sections to maximise throughput under gravity.

Is it a common misconception that the shortest path is the fastest path?

Yes, this is the central misconception the brachistochrone corrects. Intuitively, people expect the straight line (shortest distance) to be the fastest route, since it is what we optimise when walking or driving. But a bead sliding under gravity is governed by energy exchange: the path that gains speed most rapidly early in the journey wins, even if it travels farther. The cycloid dips below the straight-line chord initially, letting the bead accelerate rapidly before climbing back to B, achieving a lower overall time. The same principle appears in optics: light bends toward slower media (Snell's law) to minimise travel time, not distance.

Who discovered the brachistochrone and when?

Johann Bernoulli published the brachistochrone problem as a public challenge in June 1696 in Acta Eruditorum. He received correct solutions from Isaac Newton (who reportedly solved it overnight), Gottfried Leibniz, Guillaume de l'Hopital, and his brother Jakob Bernoulli. Johann's own solution used the elegant analogy with Fermat's principle of least time in optics, showing that Snell's law of refraction forces the optimal path to be a cycloid. The episode is celebrated as the founding moment of the calculus of variations.

What other physics simulations are related to the brachistochrone?

The brachistochrone is closely connected to the pendulum (cycloidal pendulums are isochronous), to hypocycloid and epicycloid curves (the cycloid is a degenerate case of these roulette curves), to projectile motion (both involve gravity-governed paths under energy conservation), and to wave optics (Fermat's principle of least time is the optical analogue of the brachistochrone problem). Spirograph simulations also generate roulette-family curves that include the cycloid as a limiting case.

How does changing gravity affect the brachistochrone race?

Increasing or decreasing the gravitational constant g scales all descent times uniformly: time is proportional to 1/sqrt(g), so doubling g halves all descent times. Crucially, the order of the curves never changes — the cycloid always finishes first, the straight line always finishes last, and the parabola and arc remain between them. Gravity strength affects only the magnitude of times, not the optimal path shape, because the brachistochrone property is a purely geometric result derived from the shape of the equations of motion.

What are current research directions connected to brachistochrone theory?

Modern research extends brachistochrone ideas to minimum-time quantum state evolution (the "quantum brachistochrone"), where the goal is to evolve a quantum system between two states in the least time subject to energy constraints. In classical mechanics, researchers study brachistochrone problems on curved surfaces, with friction, or under non-constant gravity fields. In robotics and autonomous systems, real-time minimum-time trajectory planning for manipulators and drones builds directly on the calculus-of-variations framework that brachistochrone solutions established in 1696.