Autumn B.

asked • 06/13/15

You walk into a room with 5 other people in it. What is the probability that one or more of them has a birthday in the same month as yours?

I know you use a formula such as 1 – P(not event A in n trials)

1 Expert Answer

By:

Hugh B. answered • 06/13/15

Tutor
4.9 (36)

Experienced Mathematics/Statistics/Biostatistics Tutor

Hugh B.

OOPS - my bad. I read this to be the same DAY, and it is the same MONTH. But the same trick works and of course the probability is much, much higher.
 
The total number of possible outcomes is 12 raised to the sixth power.
 
The total number of possible outcomes with no two birthdays in the same month is
12 x 11 x 10 x 9 x 8 x 7.
 
Assuming equally likely outcomes,
 
the probability of no two people with birthdays in the same month =
 
(12 x 11 x 10 x 9 x 8 x 7)/ 12 raised to the sixth power
 
And at least two people having birthdays in the same month is the complement of this event, so its probability is
the probability of at least two people with birthdays in the same month =

 1 - [(12 x 11 x 10 x 9 x 8 x 7)/ 12 raised to the sixth power]
 
Again using Excel, the probability of no two people with birthdays in the same month =

(12 x 11 x 10 x 9 x 8 x 7)/ 12 raised to the sixth power = 0.222800926
and he probability of at least two people with birthdays in the same month =

1 - 0.222800926 = 0.777199074
So about a 78% chance that at least two people have birthdays in the same month. Please forgive me for the earlier mistake.
 
Kind regards,
Hugh
 
 
Report

06/13/15

Hugh B.

OOOPS - I misread the question, it asks for months. But the same trick works and here is the math.
 
Total number of possible outcomes = 12 raised to the sixth power
 
Total number of outcomes with no two people having the same month = 12 x 11 x 10 x 9 x 8 x 7
 
Probability that no two people have birthdays in the same month =
 
(12 x 11 x 10 x 9 x 8 x 7)/ 12 raised to the sixth power = 0.222800926
Probability that at least two people have birthdays in the same month
 
= 1 - [(12 x 11 x 10 x 9 x 8 x 7)/ 12 raised to the sixth power] = 1 - 0.222800926 = 0.777199074
 
Please forgive me for the earlier mistake.
 
Kind regards,
Hugh
Report

06/13/15

David W.

THX for your 3 enumerated assumptions and for adding, “each month is equally likely.”

Now, out of a room of five, we are not looking for the probability of any two of them having the same birthday month (or 1 – probability of all of them having different birthday months), but the problem asks, “what’s the probability that one or more of them has a birthday in the same month as yours?” (pre-specified).

So, the probability of the first of the five people having a birthday in my month is 1/12. The second person’s birthday is independent of the first, so the probability of that person sharing my birthday month is 1/12. And so forth for all five of them. Isn’t this the case? (Note: rather than “the birthday problem,” which asks for any two, this is the “matching socks” problem which asks for a match to yours.
 
Comments?
Report

06/13/15

Hugh B.

Yes, I misread this twice, which is hard to believe! But I would stick by the last answer I gave. The rationale for the answer is that the event that one or more of them has the same month as me is the complement to the event that none of them has the same birthday month as me, so if we compute the probability that none of them has the same birthday month as me and then subtract that from one, we get the desired probability. This is the gist of the last answer I gave. By the way, Autumn, who originally posed the question, was clearly on the right track for the correct answer. Kudos
Report

06/14/15

David W.

Hugh, your last comment clears this up nicely:    P = 1 - (11/12)^5  = 0.35    THX!
 
So, how many people would have to be in the room to guarantee (P=1) that at least one of them shared my birthday month?   Is that ever possible?  What about a 99% chance?
Report

06/14/15

David W.

Oh, I forgot --   If we assume a uniform distribution (equally likely birth month as mine) and we sample the whole population, but find no one who shares my birth month, does invalidating the assumption invalidate the answer?
Report

06/14/15

Hugh B.

To answer the last questions, I will continue to assume each month equally likely.

If we want to find the number of people X for various levels of probability P we can solve P = 1 – (11/12)^X for X, where X is the number of people. For example, for P=0 .99, write
 
0.99 = 1 – (11/12) ^X -> 0.01=(11/12)^X -> ln(0.01) = X ln (11/12)
-> X = ln 0.01 / ln(11/12) = 52.92 or 53 people,
 
where ln is the natural log and I have used Excel to find the natural logs. Substituting back in
P = 1 - (11/12)^53 = 0.990064, again using Excel.

Also, it is clear that as the number of people X -> infinity, (i.e., as X grows without bound), the probability that at least one person shares your birthday approaches 1 asymptotically, and can be made to be as near to 1 as we would like. The easiest way to see this is to again look at the complementary probability. The probability that no one shares your birthday is (11/12)^X, which can be made to be arbitrarily small by making X sufficiently large. In other words, it is not possible to drive the probability that someone shares your birthday to be 1, but it is possible to get it as close to 1 as you would like.

I think it is easier to see what is going in a coin flipping example in which heads and tails are each equally likely and asking a question like what is the probability that we have had at least one head by the X-th flip? As the number of flips increases the sample space of possible outcomes increases very rapidly, while the outcome of "no heads in X flips" is always just one outcome in that sample space regardless of the number of flips. But then since each outcome in the sample space is equally likely, the outcome of "no heads" has a probability that has 1 in the numerator and a rapidly increasing number (i.e., 2^X) in the denominator, so that the probability of "no heads in X flips" approaches zero pretty fast as X increases. The same  thing is going on with this birthday example. The birthday example isn't quite as dramatic as with coin flips because with 12 months, the number of outcomes that satisfy "no one born in the month of your birthday" that is in the numerator of the probability also grows with X, it just doesn't grow as rapidly as the denominator.

Best, Hugh
Report

06/14/15

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.