The Brachistochrone — Why the Shortest Route Isn't Always the Fastest
Beyond the syllabus | A-level Maths and Further Maths | Optimisation and mechanics
Stretch a piece of string between the start and finish of a marble run. Pull it taut and you have found the shortest route. Now give the string a little slack and press down near the start. You have made the journey longer. Could you also have made it quicker?
In the lab at Hemel Private Tuition, I would give students the string before showing them the tracks. Once you have felt it pull tight, the straight line is a very persuasive answer. But the string has only answered a question about distance. The clock has a different question to settle.
Two beads arrive with the same speed. Which arrives first?
Imagine two small beads released from rest. Each slides along a smooth wire from the same starting point to the same lower finishing point. Gravity is uniform and we can ignore friction and air resistance.
One wire is straight. The other drops steeply, then levels out. Which bead has the greater speed at the finish? This is a good moment to commit to an answer before predicting which one wins the race.
A bead that has fallen a vertical distance h has lost gravitational potential energy mgh. That energy has become kinetic energy. This gives
m*g*h = (1/2)*m*v^2
v = sqrt(2*g*h)Both beads finish at the same speed because both have fallen through the same height. Yet a bead that makes much of its descent early can spend a larger part of the journey moving quickly. Think of the first few centimetres of the straight track. The bead is using some of its slowest moments to cover horizontal ground. A steeper start lets gravity accelerate it more strongly along the wire.
Why not drop vertically and turn sharply towards the finish? That gives an excellent start, but leaves the whole horizontal distance still to cover. A curve can begin travelling sideways while the bead is still gaining speed. The question is how soon it should start to turn.
The shape hiding on a bicycle wheel
Put a white dot on the rim of a bicycle wheel, right where it touches the ground. Roll the wheel slowly along a straight line without letting it slip. Relative to the room, the dot rises, sweeps forwards and comes down to meet the ground again. Its path is a cycloid.
Turn that tracing upside down. Starting from one of its pointed ends, the curve dives vertically, bends smoothly and reaches a horizontal tangent at its lowest point. A suitably scaled section of this curve gives the quickest journey for our bead. The problem takes its name from the Greek for “shortest time” — the brachistochrone. Wolfram MathWorld — Brachistochrone Problem
Here is an unexpected consequence. Move the finishing point far enough sideways while keeping the same drop, and the fastest track dips below the finish before climbing back up. The bead uses some of its speed on the climb, but the time it gained earlier more than pays for it. That would be my second vote of the lesson. Who would put an uphill section in a downhill race?
Build the race on a tabletop
A convenient board has room for a 40 cm drop and a 62.8 cm horizontal run. These dimensions make the finish the lowest point of the chosen cycloid and give the track a horizontal exit. Make four interchangeable profiles, or mount four lanes side by side. Use the same smooth channel material and identical solid balls throughout.
| Track | How to shape it | Question to ask before release |
|---|---|---|
| Straight | Stretch the channel directly between the end marks. | How much does the shortest distance save? |
| Circular arc | Use a compass or a string and pencil to draw an arc through both marks. Place the centre directly above the finish for a horizontal exit. | Is an ordinary circular bend close enough to win? |
| Steep then flat | Give the first section a steep slope and blend it smoothly into a long, nearly level run. | Can the head start pay for the extra distance? |
| Cycloid | Plot the points below on the board and fair a flexible strip through them, starting as close to vertical as the apparatus allows. | Where would you expect this lane to gain time? |
Cycloid template. Measure rightwards and downwards from the start. Each pair below is (distance right, drop), in centimetres. The close spacing at the left is deliberate.
(0, 0) (0.5, 2.7) (3.6, 10.0) (11.4, 20.0)
(24.6, 30.0) (42.4, 37.3) (62.8, 40.0)Plot these on squared paper, or enlarge the profile to full size on an A1 sheet. Check the start and finish using the centre of each ball. A ball riding in a channel runs slightly offset from the surface you have drawn.
Film the part your eyes miss
I would set my Canon R5 C on a tripod, square to the side of the apparatus, with the start, finish and a ruler all in frame. My favourite use for slow motion here would be to pause before anyone wins. Which ball is lowest? Which is furthest across? Are those the same ball?
- Ask everyone to write down a finishing order and one reason for their first choice. Lift a common release gate cleanly, without giving any ball a push.
- Record at a known capture rate, ideally 120 frames per second if available. Use the first frame of movement for each ball and the first frame its centre crosses the finish line. For a single interchangeable lane, use the same framing and release each time.
- Calculate elapsed time with time in seconds = frame difference / capture frame rate. Use the capture rate even if the replay is slowed down. At 120 frames per second, one frame represents about 0.0083 s.
- Run at least five trials. Swap the balls between lanes and keep the mean and range for each profile. If the circular arc and cycloid finish a frame apart and change places between runs, report what your camera could actually resolve.
A real ball puts some energy into spinning. For an ideal uniform solid sphere rolling without slipping on a single surface, its centre moves at v = sqrt(10gh/7). That is a constant fraction of the sliding bead's speed at every depth. For the same centre paths this stretches all the theoretical times by the same factor, so the ideal winning shape survives. A channel, a join that jolts the ball, or slipping on the steep start can all affect the recorded result. A close race gives students a reason to look at the apparatus again.
A-level challenge — put a number on the advantage
For the board above, take g = 9.81 m/s^2. Model the moving object as a sliding bead. The straight route is about 0.745 m long, by Pythagoras. Its final speed is sqrt(29.810.40), or about 2.80 m/s. Its acceleration along the straight slope is constant, so its mean speed is half its final speed.
Time on straight track = 0.745 / 1.40 = about 0.532 sThe cycloid on this board is generated by a circle of radius 0.20 m rolling through half a revolution. Its arc length is 0.800 m and its predicted travel time is about 0.449 s. The bead takes a route 5.5 cm longer and arrives about 0.083 s earlier. That time difference would span roughly ten frames at 120 frames per second in the sliding-bead model.
There is a good exam-technique question tucked inside that calculation. Can we use half the final speed as the mean on the cycloid too? Look at the last few centimetres. The track is almost horizontal there, so gravity contributes very little acceleration along it. The constant-acceleration argument we used on the straight slope no longer applies.
Further Maths — what are we differentiating?
In a familiar optimisation problem, you might choose the radius of a tin that uses the least metal for a given volume. Each possible answer is a number. Here each possible answer is a whole track. Move one small section of the track and you alter both the distance travelled there and the speed at which it is covered.
Let x be the horizontal distance and y the vertical drop from the start. A short piece of track has length ds. The time spent on it is ds/v. Adding those contributions along a candidate curve gives:
T = integral from A to B of ds / sqrt(2*g*y)
ds = sqrt(1 + (dy/dx)^2) * dxThis is the entry point to the calculus of variations. The expression assigns a travel time to every admissible curve. The aim is to find the curve that makes the total smallest. You can actually see what the integral is weighing up. Near the top, y is tiny, so a centimetre of track costs a lot of time. Lower down, that same centimetre is cheaper.
We can check the time along the winning curve with ordinary parametric differentiation. Write r for the generating circle's radius and t for the angle it turns through, measured in radians. Here t is an angle, not elapsed time.
x = r*(t - sin(t))
y = r*(1 - cos(t))Differentiate and use 1 - cos(t) = 2*sin(t/2)^2. On the descending half-arch, for 0 < t <= pi, the expressions simplify as follows.
ds/dt = 2*r*sin(t/2)
v = 2*sqrt(g*r)*sin(t/2)
(ds/dt)/v = sqrt(r/g)The two sine factors cancel. Equal turns of the generating wheel correspond to equal intervals of bead travel time. Integrating from 0 to pi gives T = pisqrt(r/g). With r = 0.20 m, that is our 0.449 s. Integrating ds/dt over the same interval gives the track length 4r = 0.800 m. These calculations check this particular curve's performance. Establishing its optimality among all curves is the deeper variational problem. Wolfram MathWorld — Cycloid
The challenge that crossed Europe
In 1696 Johann Bernoulli publicly challenged other mathematicians to find the path of quickest descent. His brother Jacob Bernoulli, Gottfried Wilhelm Leibniz and Isaac Newton were among those who supplied solutions. Think about what the challenge demanded. Beating the straight line with one clever drawing would have taken them only part of the way. Someone could always arrive the next morning with a different drawing and a faster time. Their solutions had to account for that unseen rival too. Wolfram MathWorld — Cycloid
One last change to the track
At the end of the lesson I would leave the start gate where it is and slide the finishing mark further to the right. Then I would hand back the flexible strip. A student who picked the straight line at the beginning now has a much more interesting decision. How much extra track are they willing to add to gain speed early? Would they dare take their ball below the finish?
That is what I like about this problem for A-level students. Pythagoras can tell them how long the straight track is. Mechanics can tell them how fast the bead will finish. A camera can tell them who won. But the moment they ask, “Could any other shape beat mine?”, they have asked a question that needs a new kind of mathematics.







