Why the Bus Takes So Long

  • Medium
  • Probability puzzles
  • Tests: Realising you are more likely to land in a long gap

The puzzle

Buses on a route are ten minutes apart on average. You arrive at the stop at a random moment.

How long do you expect to wait? Five minutes is the natural answer and it is usually wrong.

Stuck?

One at a time, smallest first. Open only as many as you need — the whole point of the puzzle is the part you work out yourself.

Hint 1

Suppose the gaps alternate 5 minutes and 15 minutes - still an average of 10.

Hint 2

Which gap are you more likely to arrive during?

Show the answer Hide the answer

Longer than five. With gaps alternating 5 and 15 minutes, the average gap you land in is 12.5 minutes and the average wait is 6.25.

How to get there

Gaps of 5 and 15 average 10 minutes, but they do not occupy equal amounts of time: in each 20-minute cycle, 15 minutes are inside the long gap and only 5 inside the short one. Arriving at random, you land in the long gap three times in four.

The gap you experience averages (5 × 5 + 15 × 15)/(5 + 15) = 250/20 = 12.5 minutes, and your expected wait is half of that: 6.25 minutes rather than 5.

The more irregular the timetable, the worse it gets - and only a perfectly regular service gives the naive answer. This is the inspection paradox, and it is the same effect as the friendship paradox: you sample intervals in proportion to their length.

The technique worth keeping

When you sample a moment in time, you sample intervals in proportion to their length, not equally. Weight each interval by itself before averaging - and expect the answer to exceed the plain mean whenever the intervals vary.