Two people are said to have the same birthday if they were born in the same month and on the same day of the month (the year of birth is not relevant). If there is are 40 people in a room, compute the probability that at least two people have the same birthday.

I calculated the probability as follows (40*39)/2 = 780. (364/365)^780 = 11.77%. This seems very low. Can someone please provide me with the correct equation or let me know if what I have is correct? Thanks so much.

  • $\begingroup$ What is the probability that everyone has different birthdays? Lets label the people $a_1,a_2,a_3,\dots,a_{40}$... The probability $a_2$'s birthday is different than $a_1$ is $\frac{364}{365}$. Given that $a_2$ and $a_1$ have different birthdays, the probability that $a_3$'s birthday is different than both $a_2$ and $a_1$ is $\frac{363}{365}$. Given that $a_1,a_2,a_3$ all have different birthdays the probability of $a_4$ having a different birthday than all of $a_3,a_2,a_1$ is $\frac{362}{365}$... multiplying these we get... $\endgroup$ – JMoravitz Feb 21 '17 at 22:59
  • $\begingroup$ As an aside, this is the classic birthday problem, which has been discussed at length on this site hundreds of time already. Pick at random from the related bar, search in the top search bar, or just visit the wikipedia page for the problem for more information. Your solution is incorrect because these are in fact dependent events, not independent events. If $a_1$ has the same birthday as $a_2$ and $a_2$ has the same birthday as $a_3$ then obviously $a_1$ and $a_3$ have the same birthday. $\endgroup$ – JMoravitz Feb 21 '17 at 23:00
  • $\begingroup$ Actually your $11.77\%$ is slightly too high $\endgroup$ – Henry Feb 21 '17 at 23:36
  • $\begingroup$ @Henry $11.77\%$ is slightly too high for probability that noone shares a birthday. It is horrifically low for the probability that at least two people share a birthday. $\endgroup$ – JMoravitz Feb 21 '17 at 23:46
  • $\begingroup$ Would it not just be $2 \times \frac{1}{365}$? $\frac{1}{365}$ chance of same bday? $\endgroup$ – Nick Pavini Feb 22 '17 at 0:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.