Birthday paradox
In a room of just 23 people, it is more likely than not that two share a birthday.
What the symbols mean
- number of people in the room
- number of pairs of people
- days in a year times 2
Why it works — the picture
Do not count people, count pairs. 23 people make 23 x 22 / 2 = 253 pairs, and each pair has about a 1 in 365 chance of matching. 253 chances at 1/365 is nearly 0.7 expected matches, and the exact chance of at least one is about 50.7 percent. Pairs grow like n squared, so they explode much faster than the room fills.
Try it yourself
- Survey a class or a football squad: is there a match? Try several groups.
- Count the pairs in a group of 10, then 30.
- How many people give a 99 percent chance? (About 57.)
Where it’s used in real life
The same maths shows how quickly accidental collisions appear: in computer hash tables, and in why cryptographic fingerprints must be very long.