How Many People Needed for a 50% Chance of Shared Birthday Months?

  • Thread starter Thread starter e(ho0n3
  • Start date Start date
Click For Summary
SUMMARY

The probability problem discussed involves determining the minimum number of people required in a room for at least a 50% chance that two individuals share a birthday month. The analysis reveals that for n = 5, the probability P(E_n) exceeds 0.5, while for n = 4, it remains at approximately 0.427. The solution utilizes both the complement method and the pigeonhole principle to arrive at the conclusion that 5 is the correct answer, contrasting with an initial numerical estimate of 37.

PREREQUISITES
  • Basic understanding of probability theory
  • Familiarity with the pigeonhole principle
  • Knowledge of combinatorial calculations
  • Experience with numerical programming for probability simulations
NEXT STEPS
  • Study the pigeonhole principle in depth
  • Learn about combinatorial probability calculations
  • Explore numerical methods for probability estimation
  • Investigate variations of the birthday problem in different contexts
USEFUL FOR

Mathematicians, statisticians, educators, and students interested in probability theory and its applications in real-world scenarios.

e(ho0n3
Messages
1,349
Reaction score
0
[SOLVED] Birthdays in the Same Month

Homework Statement


How many people have to be in a room in order that the probability that at least two of them celebrate their birthday in the same month is at least 1/2? Assume that all possible monthly outcomes are equally likely.


Homework Equations


Axioms and basic theorems of probability.


The Attempt at a Solution


Let E_n be the event that at least two of n people in a room celebrate their birthday in the same month. I'm basically asked to determine the value of n for which P(E_n) >= 1/2.

It must be easier to calculate the complement of E_n, ~E_n, and from that calculate P(E_n). Note that ~E_n is the event that nobody celebrates their birthday in the same month.

Now, ~E_n is the union of the events that nobody celebrates their birthday in the ith month of the year, which I will call F_i, i = 1 to 12. Since the F_i's are mutually exclusive, P(~E_n) = P(F_1) + ... + P(F_12).

If month j has d days, then P(F_j) = (365 - d)^n / 365^n. For months 1, 3, 5, 7, 8, 10, 12 d = 31, for months 4, 6, 9, 11 d = 30, and for month 2 d = 28 (assuming no leap years).

So P(~E_n) = 7 * 334^n / 365^n + 4 * 335^n / 365^n + 337^n / 365^n.

P(E_n) = 1 - P(~E_n) >= 1/2. I don't know how to determine n analytically, but I did obtain it numerically (using a simple basic program) and got n = 37.

The answer according to the book is 5. I must have done something wrong, but what?
 
Physics news on Phys.org
Aren't you supposed to assume that monthly outcomes are equally likely? So that you don't have to take february as 28 days and so on.
 
danni7070 said:
Aren't you supposed to assume that monthly outcomes are equally likely? So that you don't have to take february as 28 days and so on.

Is that what that means? I always overcomplicate. Sigh.

I think this way is much easier:

If there are more than 12 people, then P(E_n) = 1 (by the pigeonhole principle). If there's only one person, then P(E_n) = 0. Thus 1 < n < 13. Assuming the latter, then P(~E_n) = 12 * ... * (12 - n) / 12^n.

Of course, this doesn't make it easier to calculate P(E_n) analytically. Numerically I get that P(E_4) = 0.427083 and P(E_5) = 0.618056 so n = 5. Sweet!
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
11
Views
6K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
4
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 18 ·
Replies
18
Views
3K
Replies
23
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 15 ·
Replies
15
Views
28K
  • · Replies 12 ·
Replies
12
Views
4K