Probability of sharing a birthday

  • Thread starter Thread starter locke
  • Start date Start date
  • Tags Tags
    Probability
AI Thread Summary
The probability of two people sharing a birthday in a room of 19 is calculated by first determining the likelihood that all 19 have different birthdays. This is done by calculating the product of the probabilities that each subsequent person has a unique birthday, leading to the formula (364! / (364 - (19 - 1))!) / 365^(19 - 1). The final probability of at least two people sharing a birthday is then found by subtracting this result from 1. The approximate probability of sharing a birthday among 19 people is 0.379119. This illustrates the counterintuitive nature of the birthday problem in probability theory.
locke
Messages
16
Reaction score
0
I'm trying to figure out what the probability of two people in a room sharing a birthday is, if there are 19 people in the room.

Originally i assumed that the chances of any pair of people sharing a birthday are 1/365. Since there are 19c2 pairs of people in the room in question, I thought the probability was 19c2/365. This is obviously wrong though, since if the number of pairs in the room was >365, this type of reasoning would yield probabilities greater than one.

Can anyone point me towards the right answer?
 
Physics news on Phys.org
Since you are concerned with whether two or more people share the same birthday, it's easier to calculate the probablilty that a birthday is not shared, and then subtract that from 1.

The probability that 4 people will all have different birthdays (ignoring leap years) is:

364/365 * 363/365 * 362/365

Explanation: We don't worry about the first person, as a single person can't have a shared birthday. The second person has 364 days to choose from, the third person 363, and the fourth person 362.

Extending this to 19 people, we get the probability that they all have different birthdays is:

(364! / (364 - (19 - 1))!) / 365^(19 - 1)

So the probability that two (or more) people share a birthday is one minus that.

1 - (364! / 346!) / 365^18 = 0.379119 (approximately)
 
Last edited:
Back
Top