Learn / Library / Probability
Expected birthday pairs
In a room there are people with independent birthdays, each uniform over days (ignore leap days). What is the expected number of pairs of people who share a birthday?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Count the pairs and use linearity of expectation with one indicator per pair.
Solution
- The number of pairs is .
- Each pair shares a birthday with probability .
- By linearity the expected number of matching pairs is .
- Dividing numerator and denominator by gives .
Answer: