Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
XTTX
Posts:
1
Registered:
12/16/07
|
|
Birthday Problem Qualms
Posted:
Dec 16, 2007 12:42 AM
|
|
Well, I was just googling some math puzzles to do (how nerdy,) but anyways... I came across this one: http://mathforum.org/dr.math/faq/faq.birthdayprob.html Now, the question poses something along the lines of "how many students would need to be in a class in order for the probability of at least 2 to have the same birthdays be >= 50%." Now, I view this as a binomial distribution. let X = the event that 2 or more students have the same birthday. P(X >= 2) = E[(n over k)(p^k*(1-p)^(n-k))] where k = {2,3,4,...n) and n = class size. Formula can be found here: http://en.wikipedia.org/wiki/Binomial_distribution.
First find the probability 2 or more students have the same birthday of a single day, say January 1st. Suppose p = the probability of a student having a birthday on a single day of the year: 1/365 ~ .0027 n = class size = unknown variable k = {2,3,4...n) In order to consider all days of the year, we multiply the P(X >= 2 | day is January 1st) * 365. Now if we just brute force this, plugging in 23 for class size (as suggested) gives you a probability of .6671, much higher than 50%. The get the closest value, 20 should be defined as n, giving you a probability of .5037.
Is there anything wrong with my thinking or calculations?
|
|
|
|