Skip to content

The curve of fastest descent

Posted on:

Fix a point AA and a lower point BB, off to the side. Thread a frictionless wire from AA to BB, place a bead on it at AA, and release it from rest under gravity. The travel time depends on the wire’s shape. The straight line has the shortest length, but length is not what is being minimized; time is, and speed is not free: the bead moves fast only where it has already fallen far.

A steep initial drop buys speed early, and speed acquired early benefits the entire remaining trip. The optimal curve therefore dives more steeply than the straight line at the start and flattens out later. The classical name for the winner is the brachistochrone (Greek for shortest time), and it turns out to be an arc of a cycloid: the curve traced by a point on the rim of a circle rolling along a line.

With the circle of radius RR rolling under the horizontal line through AA, and yy measured downward from AA, the cycloid is

x=R(θsinθ),y=R(1cosθ),x = R(\theta - \sin\theta), \qquad y = R(1 - \cos\theta),

where θ\theta is the angle the circle has rolled. Exactly one such arc starts at AA (which is a cusp of the curve, where the tangent is vertical) and passes through any given BB; choosing RR and the endpoint angle fits the two conditions.

The bead as a light ray

The identification of the cycloid is due to Johann Bernoulli, and his argument is still the shortest path to it. By conservation of energy, a bead that has dropped a depth yy moves at speed

v=2gy,v = \sqrt{2gy},

regardless of the route it took to get there. So the problem reads: find the path of least time through a medium where speed depends on depth. That is a problem optics already solved. Fermat’s principle says light travels between two points along the path of least time, and Snell’s law follows from it at a single interface. Send a ray from a point at height aa above a flat interface, where the speed is v1v_1, to a point at depth bb below it, where the speed is v2v_2, with horizontal separation dd between the endpoints; the ray is straight within each medium, so the only unknown is the horizontal position xx of the crossing. The travel time and its derivative are

T(x)=a2+x2v1+b2+(dx)2v2,T(x)=sinα1v1sinα2v2,T(x) = \frac{\sqrt{a^2 + x^2}}{v_1} + \frac{\sqrt{b^2 + (d - x)^2}}{v_2}, \qquad T'(x) = \frac{\sin\alpha_1}{v_1} - \frac{\sin\alpha_2}{v_2},

where α1,α2\alpha_1, \alpha_2 are the angles the two segments make with the normal, since sinα1=x/a2+x2\sin\alpha_1 = x/\sqrt{a^2 + x^2} and sinα2=(dx)/b2+(dx)2\sin\alpha_2 = (d - x)/\sqrt{b^2 + (d - x)^2}. Both terms of TT are strictly convex in xx, so there is exactly one stationary crossing point and it is the global minimum: the least-time ray refracts so that sinα/v\sin\alpha / v is the same on both sides of the interface.

Now slice a medium whose speed varies continuously with depth into thin horizontal layers. The least-time path obeys Snell’s law at every interface, so the quantity sinα/v\sin\alpha/v survives each crossing and is constant along the entire ray, with α\alpha measured from the vertical.

For the bead this is not an analogy but the same problem. The travel time along any curve is ds/v\int ds / v, and energy conservation fixes the bead’s speed at v=2gyv = \sqrt{2gy} no matter which curve it rides, so the bead and the ray minimize the identical functional: the brachistochrone is the path light takes through a medium whose speed grows as y\sqrt{y}. The optimal path must therefore satisfy sinα=Cy\sin\alpha = C\sqrt{y} for some constant CC: the deeper the bead, the more horizontal its path, and at the start (y=0y = 0) it must move straight down.

One gap remains. Slicing treats the continuous medium as a limit of discrete layers, which identifies the invariant but is not by itself a proof of minimality. The next two sections supply the proof: the invariant forces the cycloid, and a convexity argument then shows the cycloid beats every competitor.

The invariant forces a cycloid

Parametrize the unknown curve by depth, x=x(y)x = x(y), which describes any curve along which the bead keeps descending. The arc-length element is ds=1+x(y)2dyds = \sqrt{1 + x'(y)^2}\,dy, so the quantity to minimize is

T[x]=0yBf(y,x(y))dy,f(y,p)=1+p22gy.T[x] = \int_0^{y_B} f\bigl(y, x'(y)\bigr)\, dy, \qquad f(y, p) = \frac{\sqrt{1 + p^2}}{\sqrt{2gy}}.

The integrand depends on the slope xx' but not on xx itself: shifting the whole curve sideways does not change how depth is gained. For such functionals the Euler–Lagrange equation, the first-order optimality condition for integral functionals, collapses to a conservation law, ddyfp=0\frac{d}{dy}\frac{\partial f}{\partial p} = 0:

fp=x2gy1+x2=sinα2gyc,\frac{\partial f}{\partial p} = \frac{x'}{\sqrt{2gy}\,\sqrt{1 + x'^2}} = \frac{\sin\alpha}{\sqrt{2gy}} \equiv c,

using sinα=dx/ds=x/1+x2\sin\alpha = dx/ds = x'/\sqrt{1 + x'^2}. The conserved quantity is exactly Snell’s invariant: the Euler–Lagrange equation and the layered-medium argument are two derivations of the same statement.

Solving the invariant for the slope gives an ODE,

x(y)=y2Ry,2R12gc2,x'(y) = \sqrt{\frac{y}{2R - y}}, \qquad 2R \equiv \frac{1}{2gc^2},

and the substitution y=R(1cosθ)=2Rsin2(θ/2)y = R(1 - \cos\theta) = 2R\sin^2(\theta/2) resolves it: x=tan(θ/2)x' = \tan(\theta/2) and dy=Rsinθdθdy = R\sin\theta\,d\theta, so dx=2Rsin2(θ/2)dθ=R(1cosθ)dθdx = 2R\sin^2(\theta/2)\,d\theta = R(1 - \cos\theta)\,d\theta, hence

x=R(θsinθ),y=R(1cosθ),x = R(\theta - \sin\theta), \qquad y = R(1 - \cos\theta),

with the integration constant fixed by the start at the origin. This is the parametrization quoted in the opening, now derived rather than assumed. Passing through BB pins down the two remaining constants: the ratio x/y=(θsinθ)/(1cosθ)x/y = (\theta - \sin\theta)/(1 - \cos\theta) increases strictly from 00 to π/2\pi/2 as θ\theta runs over (0,π](0, \pi], so every target with xBπ2yBx_B \le \tfrac{\pi}{2}\, y_B is reached by exactly one descending arc, θB\theta_B set by the ratio and RR by the scale. Two byproducts of the computation, sinα=sin(θ/2)\sin\alpha = \sin(\theta/2) and ds=2Rsin(θ/2)dθds = 2R\sin(\theta/2)\,d\theta, are used below.

Global minimality by convexity

The Euler–Lagrange equation is a first-order condition; on its own it certifies the cycloid as a stationary point of TT, not as its minimum. What upgrades it here is a structural feature of the integrand: for each fixed depth yy, the map pf(y,p)p \mapsto f(y, p) is strictly convex, since

2fp2=12gy(1+p2)3/2>0.\frac{\partial^2 f}{\partial p^2} = \frac{1}{\sqrt{2gy}\,(1 + p^2)^{3/2}} > 0.

A strictly convex function lies above each of its tangent lines, touching only at the point of tangency:

f(y,q)    f(y,p)+fp(y,p)(qp),with equality only at q=p.f(y, q) \;\ge\; f(y, p) + \frac{\partial f}{\partial p}(y, p)\,(q - p), \qquad \text{with equality only at } q = p.

Let xx_* be the cycloid and x~\tilde{x} any competing descent through the same endpoints, regular enough for its travel time to be defined. Apply the tangent-line inequality at each depth, with p=x(y)p = x_*'(y) and q=x~(y)q = \tilde{x}'(y), and integrate over yy:

T[x~]T[x]    0yBfp(y,x(y))(x~(y)x(y))dy  =  c0yB(x~x)dy  =  0.T[\tilde{x}] - T[x_*] \;\ge\; \int_0^{y_B} \frac{\partial f}{\partial p}\bigl(y, x_*'(y)\bigr)\,\bigl(\tilde{x}'(y) - x_*'(y)\bigr)\, dy \;=\; c \int_0^{y_B} \bigl(\tilde{x}' - x_*'\bigr)\, dy \;=\; 0.

The middle equality is where the conservation law does its work: along the cycloid, f/p=sinα/2gy=c\partial f/\partial p = \sin\alpha/\sqrt{2gy} = c is constant, so it pulls out of the integral, and what remains is (x~(yB)x(yB))(x~(0)x(0))=0\bigl(\tilde{x}(y_B) - x_*(y_B)\bigr) - \bigl(\tilde{x}(0) - x_*(0)\bigr) = 0 because the curves share both endpoints. So T[x~]T[x]T[\tilde{x}] \ge T[x_*], and strict convexity turns equality into x~=x\tilde{x}' = x_*' almost everywhere: the cycloid is the unique minimizer. Read through the optics, the constancy of Snell’s invariant is not merely a property the best curve happens to have; it is the certificate that lets every rival be compared to the cycloid in one line. And since bead and ray minimize the same functional, the theorem settles both at once: no wire is faster than the cycloid, and a light ray in a medium with vyv \propto \sqrt{y} bends along exactly this curve.

Two limitations of the argument, stated plainly. It compares the cycloid against descents, the curves expressible as x(y)x(y); ruling out paths that dip below yBy_B and climb back takes the heavier sufficiency machinery of the calculus of variations, and does not change the answer in this regime. And it assumes BB is within reach of a single descending arc, xBπ2yBx_B \le \tfrac{\pi}{2}\, y_B; beyond that range the true optimum does dip below its endpoint, a case the remarks after the race below return to. The integrand blows up like 1/y1/\sqrt{y} at the start, but harmlessly: along the cycloid x0x' \to 0 there, the integral converges, and any competitor whose time integral diverges loses by default.

Time along the cycloid

The cycloid has a property that makes its motion easy to write down exactly. Dividing the arc-length element by the speed,

dt=dsv=2Rsin(θ/2)dθ2gRsin(θ/2)=Rg  dθ.dt = \frac{ds}{v} = \frac{2R\sin(\theta/2)\,d\theta}{2\sqrt{gR}\,\sin(\theta/2)} = \sqrt{\frac{R}{g}}\; d\theta.

The sines cancel: the bead advances through equal rolling angles in equal times, θ=tg/R\theta = t\sqrt{g/R}. The descent from the cusp to the lowest point (θ=π\theta = \pi) takes

Tcycloid=πRg.T_{\text{cycloid}} = \pi \sqrt{\frac{R}{g}}.

For comparison, take BB at the bottom of the arc, so B=(πR,2R)B = (\pi R, 2R). The straight wire from AA to BB is a uniformly accelerated slide of length L=Rπ2+4L = R\sqrt{\pi^2 + 4}; solving 12(gyB/L)t2=L\tfrac12 (g\, y_B/L)\, t^2 = L gives

Tline=π2+4  Rg3.72Rg,T_{\text{line}} = \sqrt{\pi^2 + 4}\;\sqrt{\frac{R}{g}} \approx 3.72\,\sqrt{\frac{R}{g}},

about 19% slower than the cycloid’s π3.14\pi \approx 3.14. A third strategy, dropping straight down 2R2R and then running flat to BB (with an idealized corner that preserves speed), takes (2+π2)R/g3.57R/g\left(2 + \tfrac{\pi}{2}\right)\sqrt{R/g} \approx 3.57\,\sqrt{R/g}: better than the line, still beaten by the cycloid. All three positions below are computed from these closed forms, no numerical integration:

elapsed τ = 0.00cycloid: drop and run: line:

Two remarks the picture suggests. First, the optimal start is a free fall: the cycloid leaves its cusp vertically, which is what sinα=Cy\sin\alpha = C\sqrt{y} demands at y=0y = 0. Second, if BB is far away and shallow (specifically xB>π2yBx_B > \tfrac{\pi}{2} y_B), the optimal arc passes below BB and comes back up: the bead overshoots the destination depth to carry more speed across the long horizontal stretch, then spends some of it climbing.

The same curve is the tautochrone

The cycloid solves a second problem, one Huygens had settled decades before Bernoulli posed his: it is also the tautochrone (equal time). Turn the arc into a bowl (cusps up, vertex down) and release a bead from rest anywhere on it: the time to reach the bottom does not depend on the starting point.

The reason is a hidden harmonic oscillator. Measure arc length ss from the bottom of the bowl and height hh above the bottom. For the cycloid, s=4Rcos(θ/2)s = 4R\cos(\theta/2) and h=2Rcos2(θ/2)h = 2R\cos^2(\theta/2), so

h=s28R:h = \frac{s^2}{8R}:

as a function of arc length, the bowl is an exact parabolic potential well. Conservation of energy, 12s˙2+gh=gh0\tfrac12 \dot{s}^2 + g h = g h_0, then describes simple harmonic motion in ss with angular frequency ω=g/4R\omega = \sqrt{g/4R}, so

s(t)=s0cos(ωt),s(t) = s_0 \cos(\omega t),

whose period is independent of the amplitude s0s_0. Every bead reaches s=0s = 0 after a quarter period, π2ω=πR/g\frac{\pi}{2\omega} = \pi\sqrt{R/g}, the same number as the brachistochrone descent time. The four beads below follow this closed form (and keep oscillating past the bottom, like pendulums):

elapsed τ = 0.00the beads meet the bottom together at τ = π, 3π, 5π, …

Huygens found this in the 1650s while hunting for a pendulum whose period does not change with amplitude (a circular pendulum’s period does, slightly, which ruins a clock as the swing decays). His fix used another property of the cycloid: its evolute, the curve traced by the centers of its osculating circles, is a congruent cycloid. Hanging the pendulum from a cusp between two cycloidal cheeks makes the bob wrap along them and swing on a cycloid, giving a truly amplitude-independent period. He published the theory in the Horologium Oscillatorium (1673).

A little history

Galileo had already noticed in the Discorsi (1638) that descent along a circular arc beats the straight chord between the same endpoints. The full problem was posed by Johann Bernoulli in the Acta Eruditorum in June 1696 as a public challenge. Solutions appeared the following year from Johann himself, his brother Jakob, Leibniz, Tschirnhaus, l’Hôpital, and Newton, whose solution was published anonymously; Bernoulli is reported to have recognized the author anyway, “as the lion by its claw.”

The aftermath mattered more than the contest. Jakob Bernoulli’s solution method, clumsier than Johann’s optics trick but more general, treated the whole curve as the unknown and asked how the time integral responds to small deformations. That question, systematized by Euler and Lagrange in the following decades, became the calculus of variations: the framework behind least-action mechanics, geodesics, and optimal control. The cycloid was its first solved problem.

References



Previous Post
Percolation
Next Post
Euler's identity