Brachistochrone Field Guide: Why the Fastest Path Dives First

2026-03-01 · physics

Brachistochrone Field Guide: Why the Fastest Path Dives First

TL;DR

If you slide frictionlessly from point A to a lower point B, the quickest route is not a straight line. It is a cycloid: a curve that drops steeply first (to gain speed fast), then flattens out (to spend that speed efficiently).

This is the brachistochrone idea: in many systems, minimum time is a balance between early acceleration and later distance efficiency, not shortest geometric length.


1) The paradox in one sentence

Why? Because with gravity, speed is state-dependent: the lower you are, the faster you move. So spending more of the journey in high-speed regions can beat a shorter but slower route.


2) The winning curve

For a bead starting from rest, no friction, uniform gravity, and endpoint B not directly below A, the time-minimizing path is a cycloid arc.

One convenient parameterization (with downward-positive (y), cusp at start) is:

[ x(\theta)=a(\theta-\sin\theta),\quad y(\theta)=a(1-\cos\theta),\quad 0\le\theta\le\theta_1 ]

where (a) and (\theta_1) are chosen so the arc ends exactly at B.

A neat property from energy + geometry:


3) Straight line vs cycloid (quick numeric feel)

Take A=(0,0), B=(2,1) meters, (g=9.81,m/s^2).

That is about 20% faster.

For shallower endpoints (larger (X/Y)), the cycloid advantage grows:

X/Y Cycloid time (s, Y=1m) Straight time (s) Cycloid gain
1 0.583 0.639 8.7%
2 0.806 1.010 20.2%
3 1.018 1.428 28.7%
4 1.211 1.862 34.9%

4) Why “dive first” works (intuition)

Time is roughly “distance / speed,” but speed is not fixed.

A straight line is conservative in depth early, so it delays acceleration. A cycloid "invests" in depth immediately, pays a little extra path length, but earns much higher average speed over most of the trip.

So brachistochrone is a classic path-shape vs state-dynamics coupling result: you optimize trajectory and speed profile together.


5) Optics connection (Fermat/Snell viewpoint)

Johann Bernoulli’s historical trick: map the mechanics problem to optics.

Then the quickest descent behaves like a refracted light path in a continuously varying medium, leading again to the cycloid.

This bridge is conceptually powerful: different physics, same variational structure.


6) Related sibling: tautochrone

The same cycloid also appears in the tautochrone problem:

This was part of Huygens’ pendulum-clock work (cycloidal cheeks to reduce amplitude-dependent timing error).

One curve, two superpowers:


7) Practical pattern beyond classical mechanics

The reusable design lesson:

  1. If speed/cost depends on state (depth, queue length, temperature, congestion, etc.),
  2. then shortest geometric route is often not minimum-time route,
  3. and a front-loaded move ("dive first") can be globally optimal.

You see this logic in:


8) Tiny Python snippet (reproduce one case)

import math

X, Y, g = 2.0, 1.0, 9.81

# Straight-line time from rest under constant along-track acceleration
T_line = math.sqrt(2*(X*X + Y*Y)/(g*Y))

# Solve (theta - sin theta)/(1 - cos theta) = X/Y via bisection
r = X / Y
lo, hi = 1e-4, 2*math.pi - 1e-4
for _ in range(200):
    mid = 0.5*(lo+hi)
    f_lo = (lo - math.sin(lo))/(1 - math.cos(lo)) - r
    f_mid = (mid - math.sin(mid))/(1 - math.cos(mid)) - r
    if f_lo * f_mid <= 0:
        hi = mid
    else:
        lo = mid

theta = 0.5*(lo+hi)
a = Y / (1 - math.cos(theta))
T_cyc = theta * math.sqrt(a/g)

print(T_line, T_cyc, (T_line - T_cyc)/T_line)

References