2026-11-29

Problem — 2026-11-29

Easy

EasyProbability

On a metro line, the gaps between consecutive trains are independent, and each gap is either 44 minutes or 1616 minutes with probability 12\frac12 each. You arrive at the platform at a uniformly random moment over a very long day, without looking at the timetable. What is your expected waiting time, in minutes, until the next train?

Express as a simplified fraction or a decimal to 3 places

Show solution
The naive answer, half the average gap of 1010 minutes, is wrong: you are more likely to arrive during a long gap. Over a long time, half of all gaps are 1616 minutes and half are 44, so the fraction of time covered by 1616-minute gaps is 1616+4=45\frac{16}{16+4}=\frac45, and by 44-minute gaps 15\frac15. Within a gap your wait is uniform, averaging half the gap. So the expected wait is 45⋅8+15⋅2=325+25=345=6.8\frac45\cdot8+\frac15\cdot2=\frac{32}{5}+\frac{2}{5}=\frac{34}{5}=6.8 minutes.