# A group of 50 people are comparing their birthdays (as usual, assume their birthdays are independent, are not February 29, etc.). Find the expected number of pairs of people with the same birthday, and the expected number of days in the year on which at least two of these people were born.

Intro to probability chapter 4 ex 31
A group of 50 people are comparing their birthdays (as usual, assume their birthdays are independent, are not February 29, etc.). Find the expected number of pairs of people with the same birthday, and the expected number of days in the year on which at least two of these people were born.
Solution: Creating an indicator r.v. for each pair of people, we have that the expected number of pairs of people with the same birthday is (50C2 . 1/365) by linearity. Now create an indicator r.v. for each day of the year, taking the value 1 if at least two of the people were born that day (and 0 otherwise). Then the expected number of days on which at least two people were born is
$365\left(1-\left(364/365{\right)}^{50}-50\cdot \left(1/365\right)\cdot \left(364/365{\right)}^{49}\right)$
Could someone explain how we got the answer ?
You can still ask an expert for help

• Questions are typically answered in as fast as 30 minutes

Solve your problem for the price of one coffee

• Math expert for every subject
• Pay only if we can solve it

Brendon Melton
Step 1
(a) Number all possible pairs of people $1,2,\dots ,\left(\genfrac{}{}{0}{}{50}{2}\right)$ and for all i in this range define the indicator random variable:

If $X=\text{#pairs sharing a birthday}$, then $X=\sum _{i}{I}_{i}$ and so,

Step 2
(b) For $i=1,2,\dots ,365,\phantom{\rule{thickmathspace}{0ex}}$ define the indicator random variable:

If , then $X=\sum _{i}{I}_{i}$ and so,