Calculating the Probability of a Shared Birthday among n People

  • Thread starter Thread starter buddingscientist
  • Start date Start date
  • Tags Tags
    Probability
AI Thread Summary
The discussion centers on calculating the probability that at least two people in a room of n individuals share a birthday, assuming equal likelihood across 365 days. An incorrect initial approach involves calculating probabilities for pairs and generalizing, but it highlights the importance of finding the probability of all individuals having different birthdays and subtracting from one. The correct formula for this probability is derived from the product of probabilities that each subsequent person has a different birthday than those already considered. As n approaches 366, the probability of at least two people sharing a birthday approaches 1, confirming that with 366 people, a shared birthday is inevitable. The conversation emphasizes the need for a systematic method to arrive at the correct probability calculation.
buddingscientist
Messages
41
Reaction score
0
Suppose a room contains n people. Assuming that days of the year are equally likely to be birthdays for each person, calculate the probability that at least two of the people have a common birthday.

well I have the answer but I'm just curious as to the thought processes you go through to answer it.


what I've done (incorrectly) is:

if n = 2, P = 1/365^2
if n = 3, P = 1/365^2 (person 1, 2) + 1/365^2 (person 1, 3) + 1/365^2 (person 2, 3)

and generalized it to:
( 3 + (n sum i=3) (i)! / (i-1)! ) / 365^2

there's no question that it's wrong but that's the process I take
 
Physics news on Phys.org
work out the probability they all have different birthdays and subtract that from 1. Obviously if there are 366 people in the room the probabilit must be 1, mustn't it? (excludeing leap year things). Does n=366 give P=1 in your answer?
 
probably not (npi), I know my answer is wrong, you recommend using conjugates (1 - P(all different)), I'll work on it some more, thanks for your response
 
Ignoring leap years:

P(bd2 = bd1) = 1/365
P(bd2 != bd1) = 364/365
P(bd3 = bd1) + P(bd3 = bd2) = 2/365, given that bd1 != bd2
P(bd3 != bd1) AND P(bd3 != bd2) = 363/365

Therefore P(bd1 != bd2 != bd3) = 1 - (363/365) * (364/365)

So for any n,
P(two birthdays are the same) =
1 - (((365-(n-1))*(365-(n-2))...(364))/(365^n))
 
I was reading documentation about the soundness and completeness of logic formal systems. Consider the following $$\vdash_S \phi$$ where ##S## is the proof-system making part the formal system and ##\phi## is a wff (well formed formula) of the formal language. Note the blank on left of the turnstile symbol ##\vdash_S##, as far as I can tell it actually represents the empty set. So what does it mean ? I guess it actually means ##\phi## is a theorem of the formal system, i.e. there is a...
Back
Top