I received the following email (extract) from a colleague:
With the birthday question the chances of 23 people having unique birthdays is less than ½ so probability of shared birthdays is greater than 1-in-2.
Coincidentally on the day you sent out the paper, the following question/math fact was in my son’s 5th Class homework.
We are still debating the answer, hopefully you could clarify…
In a group of 368 people, how many should share the same birthday. There are 16×23 in 368 so there are 16 ways that 2 people should share same birthday (?) but my son pointed out, what about 3 people or 4 people etc.
I don’t think this is an easy problem at all.
First off we assume nobody is born on a leap day and the distribution of birthdays is uniform among the 365 possible birthdays. We also assume the birthdays are independent (so no twins and such).
They were probably going for 16 or 32 but that is wrong both for the reasons given by your son but also for the fact that people in different sets of 23 can also share birthdays.
The brute force way of calculating it is to call by the random variable that is the number of people who share a birthday and then the question is more or less looking for the expected value of
, which is given by:
.
Already we have that (why), and
is (why) the probability that four people share one birthday and 364 have different birthdays. This probability isn’t too difficult to calculate (its about
) but then things get a lot harder.
For , there are two possibilities:
- 5 share a birthday, 363 different birthdays, OR
- 2 share a birthday, 3 share a different birthday, and the remaining 363 have different birthdays
Then is already getting very complex:
- 6 share a birthday, 362 different birthdays, OR
- 3, 3, 362
- 4, 2, 362
- 2, 2, 2, 362
This problem is spiraling out of control.
There is another approach that takes advantage of the fact that expectation is linear, and the probability of an event not happening is
.
Label the 368 people by and define a random variable
by
Then , the number of people who share a birthday, is given by:
,
and we can calculate, using the linearity of expectation.
.
The are not independent but the linearity of expectation holds even when the addend random variables are not independent… and each of the
has the same expectation. Let
be the probability that person
does not share a birthday with anyone else; then
,
but , and
,
and so
.
All of the 368 have this same expectation and so
.
Now, what is the probability that nobody shares person ‘s birthday?
We need persons and
— 367 persons — to have different birthdays to person
, and for each there is 364/365 ways of this happening, and we do have independence here (person 1 not sharing person
‘s birthday doesn’t change the probability of person 2 not sharing person
‘s birthday), and so
is the product of the probabilities.
So we have that
,
and so the answer to the question is:
.
There is possibly another way of answering this using the fact that with 368 people there are
pairs of people.
1 comment
Comments feed for this article
May 1, 2020 at 2:05 pm
A Uniqueness Problem | J.P. McCarthy: Math Page
[…] the same argument as here we can establish […]