Calculating the Probability of a Shared Birthday among n People

  • Context: Undergrad 
  • Thread starter Thread starter buddingscientist
  • Start date Start date
  • Tags Tags
    Probability
Click For Summary

Discussion Overview

The discussion revolves around calculating the probability that at least two people in a room of n individuals share the same birthday, assuming each day of the year is equally likely to be a birthday. The conversation includes various approaches to the problem, mathematical reasoning, and corrections of earlier claims.

Discussion Character

  • Exploratory
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant proposes an initial calculation method for the probability of shared birthdays, but acknowledges it is incorrect.
  • Another participant suggests calculating the probability that all individuals have different birthdays and subtracting that from 1, questioning the outcome when n=366.
  • A later reply indicates skepticism about the initial calculations and agrees with the suggestion to use the complementary approach of finding the probability of all different birthdays.
  • One participant provides a formula for the probability of at least two people sharing a birthday, derived from the probabilities of individuals having different birthdays.

Areas of Agreement / Disagreement

Participants express differing views on the correct method to calculate the probability, with no consensus reached on the validity of the initial approach or the proposed formulas. The discussion remains unresolved regarding the best method to use.

Contextual Notes

Some assumptions, such as ignoring leap years and the uniform distribution of birthdays, are acknowledged but not fully explored. The mathematical steps presented by participants may depend on specific interpretations of the problem.

Who May Find This Useful

Individuals interested in probability theory, combinatorics, or those studying mathematical reasoning related to statistics may find this discussion relevant.

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))
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
6K
Replies
8
Views
4K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 15 ·
Replies
15
Views
28K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
6K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 29 ·
Replies
29
Views
8K