The brachistochrone problem is a problem in the calculus of variations that asks for the curve along which a particle, released from rest and sliding without friction under uniform gravity, reaches a specified lower point in the shortest possible time. When the endpoints are not vertically aligned, the solution is an arc of an inverted cycloid, the curve traced by a point on the rim of a circle rolling along a straight line. The problem illustrates a fundamental distinction between shortest distance and shortest travel time: a longer path can be faster if it allows the particle to gain speed earlier.
Classical formulation
Consider two points in a vertical plane,
with and , where the vertical coordinate is measured downward from the starting point. A particle begins at with zero speed and moves along a fixed track to .
The classical assumptions are:
- gravitational acceleration is constant;
- friction and air resistance are absent;
- the particle slides rather than rolls;
- the track constrains its motion without doing work;
- there are no obstacles or restrictions on track depth.
By conservation of mechanical energy,
so its speed at depth is
The particle’s mass therefore has no effect on the optimal curve or the travel time.
For a track described as a graph , the arc-length element is
Consequently, the time of descent is the integral
The task is to minimize this expression over admissible curves satisfying the endpoint conditions. Unlike an elementary optimization problem, in which the unknowns are numbers, the unknown here is an entire curve.
The factor is singular at the starting point because the particle initially has zero speed. This does not make the optimal travel time infinite: the time integral along the cycloid converges.
Why a straight line is not fastest
The straight segment joining the endpoints has the shortest length, but not the shortest descent time. Its relatively shallow initial slope may keep the particle moving slowly over a substantial part of the journey.
A faster track begins more steeply, converting gravitational potential energy into kinetic energy earlier. It then turns toward the destination while the particle is moving rapidly. The optimal curve balances the additional distance against this increase in speed.
The curve need not descend continuously toward the endpoint. If the destination lies sufficiently far to the side relative to its depth, the fastest track first falls below the destination, then rises to meet it. During the final ascent the particle slows, but its earlier gain in speed more than compensates for the extra distance.
Variational derivation
Ignoring the constant factor , define
A sufficiently smooth minimizing curve must satisfy the Euler–Lagrange equation wherever .
Since has no explicit dependence on , the Euler–Lagrange equation admits the first integral known as the Beltrami identity:
Substitution gives
Writing the positive constant in terms of a length yields
This differential equation is solved parametrically by
Indeed,
and hence
These are the equations of a cycloid generated by a circle of radius , with its initial cusp at and its arch extending downward.
The variational calculation identifies a stationary candidate; the Euler–Lagrange equation alone is not a general proof of global minimality. Establishing that the appropriate cycloidal segment is the least-time path also requires a sufficiency argument. The classical result is that the segment lying within the first arch solves the unrestricted frictionless problem.
Determining the cycloid from the endpoints
Let be the parameter value at the destination. The endpoint conditions are
Eliminating gives
For , this equation determines a unique value
after which
The endpoint equation is transcendental and is generally solved using numerical methods.
The parameter also determines the track’s shape:
- If , the particle descends throughout the journey.
- If , the destination is the lowest point of the cycloid.
- If , the particle passes below the destination and then ascends.
The transition occurs when
At the start, the cycloid has a vertical tangent. The first-arch solution has no interior cusp, even when it includes a final ascending portion. If the endpoints are vertically aligned, the limiting solution is a straight vertical drop.
Travel time along the solution
Along the cycloid, for ,
while energy conservation gives
Therefore,
and the minimum travel time is
Thus the cycloidal parameter increases uniformly with time:
The particle’s speed itself is not constant; it increases during descent and decreases during any subsequent ascent.
For comparison, the straight track has length
and constant tangential acceleration . Its descent time is
For a fixed endpoint geometry, both times scale as . Changing the strength of a uniform gravitational field changes the duration but not the optimal track’s shape.
Optical interpretation
Johann Bernoulli’s solution used an analogy with light refraction. Under Fermat’s principle, a light ray follows a path of stationary travel time through a medium. Imagine a hypothetical medium in which light speed depends on depth according to
Its ray paths obey the same travel-time functional as the descending particle.
Dividing the medium into thin horizontal layers and applying Snell’s law shows that
is constant, where is the angle between the path and the vertical. Since
this produces the same first integral as the variational derivation.
The analogy also provides geometric intuition. Near the starting level, where the speed is small, the optimal path is nearly vertical. At greater depth, where the speed is higher, horizontal travel becomes less costly in time.
More abstractly, travel time defines a position-dependent length element,
Away from , the problem can therefore be viewed as finding a geodesic in a weighted geometry. The starting level is a singular boundary of that geometry.
Historical development
Galileo studied accelerated descent and compared straight and curved tracks in the seventeenth century, but did not obtain the correct general solution.
Johann Bernoulli publicly posed the brachistochrone problem in Acta Eruditorum in June 1696. Solutions appeared in 1697, including those of Johann Bernoulli, Jakob Bernoulli, Gottfried Wilhelm Leibniz, and Isaac Newton.
The name derives from Greek words meaning “shortest” and “time.” The problem became a landmark in the development of the calculus of variations because it demanded the optimization of a curve rather than a finite collection of quantities. Later work by Leonhard Euler and Joseph-Louis Lagrange helped turn such problems into a systematic mathematical theory.
Relation to the tautochrone problem
The cycloid also solves the tautochrone problem, but the two questions are distinct:
- The brachistochrone problem fixes two endpoints and asks which track gives the least travel time between them.
- The tautochrone problem asks for a track on which a particle released from rest takes the same time to reach the bottom, regardless of its starting position.
For a frictionless particle released on a suitable cycloidal arch generated by a circle of radius , the time to reach the bottom is
Christiaan Huygens established the cycloid’s tautochrone property before Bernoulli posed the brachistochrone challenge.
In the brachistochrone problem, however, the destination need not be the bottom of the cycloid, and the travel time depends on its parameter value .
Extensions and limitations
The cycloidal solution depends on the idealized physical assumptions. Several changes produce different optimization problems:
Nonzero initial speed: If the initial speed is , then
The effective zero-speed level lies above the starting point, so the track generally begins at a regular point of an appropriately shifted cycloid rather than at a cusp.
Rolling motion: For an ideal rigid body rolling without slipping, with fixed moment of inertia , mass , and rolling radius , rotational energy reduces its translational speed. In an idealized point-path model with constant , this multiplies all travel times by the same factor and preserves the cycloidal optimum for the center-of-mass path. A finite body also introduces geometric and contact constraints.
Friction or drag: Dissipation generally makes speed depend on the previous motion, not merely on depth. The classical travel-time functional no longer applies unchanged.
Variable gravity: If gravitational acceleration varies with position, the relation between speed and position changes, and the optimum is generally not the classical cycloid.
Obstacles and track constraints: Limits on depth, slope, curvature, or acceleration alter the admissible curves. The vertical initial tangent of the ideal solution may be disallowed.
The brachistochrone remains a standard example in classical mechanics and variational analysis because it combines an exactly solvable optimization problem with a clear demonstration that distance, speed, and time must be optimized together.