How chance works
Chance is easy to test and hard to feel. Four experiments in a lab notebook let you roll two dice, flip thousands of coins, fill a room with birthdays and play the three doors puzzle, and see what the maths says and why.
Key takeaways
- With two dice there are 36 equally likely outcomes. A 7 can happen 6 ways and a 2 or a 12 only 1 way. A sum is never “due”.
- The share of heads in many coin flips gets close to a half (the law of large numbers), but the coin does not make up for a streak.
- The flip after a run of the same side is just as likely to break the run as to carry it on. The gambler’s fallacy is the belief that it is not.
- In a room of 23 people there is about a 50.7 per cent chance that two share a birthday, because there are 253 pairs.
- In the three doors puzzle, switching wins 2 times in 3, as long as the host always opens an empty door.
- Computer simulations are a way to test an answer. Whether the maths is right is a different question that has to be argued.
Sources
Most of these sites could not be opened while this page was written, so the facts were checked through search results that quote them. The 36 ways for two dice and the odds of 6 in 36 and 1 in 36, the 23 people and 50.7 per cent (and 99.9 per cent for 70), the 2 in 3 of the three doors puzzle with its assumptions, and the law of large numbers in 1713 each appeared in at least two places. The experiments are simulations made for this page. They use the random numbers of your browser, so a run will differ from the next one. This page is about the maths of chance and gives no advice about gambling.
- Wikipedia: birthday problem23 people and 50.7 per cent, the 253 pairs, and the assumptions.
- Generalist Academy: the birthday paradoxA plain walk through the birthday numbers.
- Encyclopedia of Mathematics: Monty Hall problemSwitching wins 2 in 3, and the assumptions about the host.
- Abakcus: Marilyn vos SavantThe 1990 Parade column and the letters she received.
- Wikipedia: Ars ConjectandiBernoulli and the law of large numbers, printed in 1713.
- American Mathematical Society: Bernoulli (PDF)Background on Jacob Bernoulli and his theorem.
- LibreTexts: the gambler’s fallacyWhy a run does not change the odds of the next flip.
- Basic Mathematics: dice roll simulatorThe 36 outcomes of two dice and the number of ways for each sum.
- University of Texas: probability models (PDF)The sum of two dice as a triangular distribution.