The Birthday Paradox
In this lesson, you will learn
- Why there is a 50.7% chance that two of 23 people share a birthday
- How to find the probability of no matches
- How to use complementary events to find the chance of a match
- What the fractions 365/365, 364/365 and so on mean
π€― Brain teaser: In a room of just 23 people, what's the chance that two of them share a birthday? Your gut says about 6%β¦ but your gut is wrong!
π€ Quick! What do you think the probability is?
π€― The answer isβ¦
That's right: it's basically a coin flip! πͺ
Interactive Simulation
Fill a room with 23 random people and see whether any of them share a birthday. Tap a person to see their birthday.
Press Generate 23 People to fill a room.
The more rooms you test, the closer the match rate gets to 50.7%.
Why This Works (The Math)
Our brains think in a straight line: "23 people Γ· 365 days = tiny chance!" But the real math is surprisingly simple. We use just two steps:
- Find the probability of no matches.
- Use the rule P(no matches) + P(at least one match) = 1.
π Let's see it in action:
P(at least one match) = 1 β 0.992 = 0.8% chance
P(at least one match) = 1 β 0.973 = 2.7% chance
P(at least one match) = 1 β 0.493 = 50.7% chance! π―
Each new person must avoid every birthday already in the room, so "no matches" becomes less and less likely. With 23 people there are 253 different pairs, and each pair is a chance for a match. That's why it surprises our brains! π€―
Share This Mind-Blowing Discovery!
Help blow your friends' minds with this probability paradox!
Where did we Get the 365/365, 364/365, etc...?
The fraction represents: "Safe choices / Total choices"
365/365 (Person 1):
Numerator (365): How many "safe" birthday choices person 1 has (all 365 days are safe since no one else has a birthday yet)
Denominator (365): Total possible birthdays in a year
Result: 365/365 = 1 = 100% chance of no conflict
364/365 (Person 2):
Numerator (364): How many "safe" birthday choices person 2 has (all days EXCEPT person 1's birthday)
Denominator (365): Total possible birthdays in a year
Result: 364/365 = 99.73% chance of no conflict with person 1
363/365 (Person 3):
Numerator (363): How many "safe" birthday choices person 3 has (all days EXCEPT person 1's AND person 2's birthdays)
Denominator (365): Total possible birthdays in a year
Result: 363/365 = 99.45% chance of no conflict with persons 1 & 2
The pattern:
Each new person has fewer and fewer "safe" days to choose from, so the numerator keeps shrinking while the denominator stays 365.