Brachistochrone comparison

Compare the fall time along a cycloid, a straight line and a true circular arc between the same endpoints.

About this tool

One release, three paths

Compare a frictionless point bead released from rest at A=(0,0) on each of three fixed, guided tracks. The coordinate y points downward. B=(πH/2,H) is the same endpoint for all tracks. Gravity is constant, g=9.81 m/s². Conservation of energy gives v=√(2gy); mass cancels. This is a point-particle model with a two-sided guide, not a rolling ball or a contact-force calculation for a one-sided ramp.

Cycloid and straight line

The half-cycloid is x=(H/2)(θ−sinθ), y=(H/2)(1−cosθ), with 0≤θ≤π. Its travel time is Tc=π√(H/(2g)). The angle grows linearly with time, even though the bead starts with zero speed. The cycloid is the brachistochrone for these endpoints.

Let X=πH/2 and D=√(X²+H²). The straight line has travel time Ts=D√(2/(gH)); its position fraction is (t/Ts)². The displayed extra time is 100(T/Tc−1), with the cycloid as the reference.

A genuine circle

A circle can join A and B only if R≥D/2. No input is silently enlarged. Define h=√(R²−D²/4), Cx=X/2+hH/D, Cy=H/2−hX/D, and α=2atan2(D/2,h). The selected smaller arc around C is: x=Cx(1−cosu)−Cysinu and y=Cxsinu+Cy(1−cosu), for 0≤u≤α. It starts downward and its true radius is R.

This arc may first move left of A or pass below B and rise again. These are permitted track shapes; the diagram includes the complete arc at equal x/y scale. Its travel time is the integral of R du/√(2gy(u)). The substitution u=αq² removes the release singularity. Controlled quadrature and a monotone time interpolation provide the circular bead position without an artificial starting speed.

Controls and interpretation

H accepts continuous values from 0.8 to 4 m. R is positive, at most 6 m, and must meet the endpoint condition. Calculate prepares a paused comparison. Run advances a shared model clock; Step advances it by 0.04 s. Each marker remains at B once its own travel time has elapsed. The table reports the arrival speed there, without modelling a stop or impact. Time elapsed (%) is the fraction of each path’s travel time, not a distance fraction.

Changing either input discards the previous result. Reset keeps the inputs. Hiding the tool or leaving the page pauses playback; no elapsed wall time is caught up on return. A long display frame advances at most 0.25 s of model time. Returning within the same page session restores a calculated result paused. Reloading restores valid inputs only and requires Calculate again.

Sources

Rutgers: the brachistochrone problem uses a normalized gravity convention; this tool uses the explicit physical g above. See also Liberzon: the brachistochrone.