🏠 Home

๐ŸŽ‚ The Birthday Problem

How many people does it take before two probably share a birthday?

/ 22
๐ŸŽ‚ The Setup
Topics: probability, complement rule, multiplication rule
Question: In a room with n people, what is the probability that at least two of them share the same birthday?

Assume: 365 days in a year (ignore leap years), and birthdays are equally likely on any day.

Most people guess you'd need around 180 people for a 50% chance. The real answer is surprisingly small. How small?
Complement rule: It's easier to calculate P(no shared birthday) first, then subtract from 1.

P(at least one shared birthday) = 1 โˆ’ P(all birthdays different)

P(all different, n people) = 365/365 ร— 364/365 ร— 363/365 ร— โ€ฆ ร— (366โˆ’n)/365
People (n)P(all different)P(shared birthday)
2364/365 โ‰ˆ 0.9973โ‰ˆ 0.27%
10โ‰ˆ 0.8831โ‰ˆ 11.7%
20โ‰ˆ 0.5886โ‰ˆ 41.1%
23โ‰ˆ 0.4927โ‰ˆ 50.7%
30โ‰ˆ 0.2937โ‰ˆ 70.6%
50โ‰ˆ 0.0296โ‰ˆ 97.0%
70โ‰ˆ 0.00084โ‰ˆ 99.9%
๐Ÿ“ Questions
1
Person 1 enters an empty room. Their birthday can be any of 365 days. What is P(no shared birthday) at this point? 1 mark
2
Person 2 enters. For no shared birthday, their birthday must avoid the 1 day already taken. Write P(Person 2's birthday is different) as a fraction. 1 mark
3
Using the multiplication rule, write an expression for P(all 3 people have different birthdays). You do not need to calculate it yet. 2 marks
4
Write the general formula for P(all n people have different birthdays). Use product notation or expand the first few terms clearly. 3 marks
5
Calculate P(at least two people share a birthday) for n = 5. Show your working. (Round to 3 decimal places.) 3 marks
6
Most people guess ~180 when asked how many people are needed for a 50% chance of a shared birthday. The actual answer is 23. Why do you think people's intuition is so far off? 3 marks
7
Your class has 30 students. Using the probability โ‰ˆ 70.6% for n = 30, how many classes out of 100 would you expect to contain at least one shared birthday? 2 marks
8
Extension: The probability grows quickly because each new person adds many new possible pairs. How many unique pairs of people are there in a group of n people? Write a formula and evaluate it for n = 23. 7 marks

Answer Key

๐ŸŽ‚ Birthday Problem

1.P = 365/365 = 1 (certain โ€” no conflict possible with one person).
2.P = 364/365.
3.P = 365/365 ร— 364/365 ร— 363/365.
4.P(all different, n people) = โˆแตขโ‚Œโ‚€โฟโปยน (365โˆ’i)/365 = (365 ร— 364 ร— โ€ฆ ร— (366โˆ’n)) / 365โฟ
5.P(all different, 5) = (365ร—364ร—363ร—362ร—361)/365โต โ‰ˆ 0.9729. P(shared) = 1 โˆ’ 0.9729 โ‰ˆ 0.027 = 2.7%.
6.People tend to compare each person to themselves ("does anyone share MY birthday?"), giving odds of 1/365 per person. But the question asks about any pair โ€” with 23 people there are C(23,2) = 253 possible pairs, each with a small chance of matching. The cumulative probability is much higher than expected.
7.70.6% ร— 100 โ‰ˆ 71 classes would have at least one shared birthday.
8.Pairs = C(n, 2) = n(nโˆ’1)/2. For n=23: 23ร—22/2 = 253 pairs. Each pair has a 1/365 โ‰ˆ 0.27% chance of matching, and 253 such chances accumulate quickly.