Quoto

Learn / Library / Probability

Expected birthday pairs

ProbabilityMedium

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.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

Count the pairs and use linearity of expectation with one indicator per pair.

Solution
  1. The number of pairs is .
  2. Each pair shares a birthday with probability .
  3. By linearity the expected number of matching pairs is .
  4. Dividing numerator and denominator by gives .

Answer: