Its my Birthday! How many people do I need to invite to obtain at least 50% chance that at least one of them shares the same birthday as MY birthday? Assume a year has exactly 365 days.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
The probability that person 1 does not match my birthdate is 364/365. The probability that person 2 does not match my birthdate remains 364/365 and similarly 364/365 so on for person 3 and 4 etc. Multiplying these probabilities, i.e (364/365)^n at n= person 253 the probability of not matching falls below 50%. Thus the probability of matching is above 50 % if i invite 253 ppl.
I think you should put the logic in this way..
Following your argument the probability that among the n people you have invited no one shares their birthday with you is ( 3 6 5 3 6 4 ) n .
So the probability that at least one person shares birthday with you will be 1 − ( 3 6 5 3 6 4 ) n .
We want this to be equal to half and hence we have 1 − ( 3 6 5 3 6 4 ) n = 0 . 5 .
Yes Eddie you described it perfectly! That`s why l voted your solution up :-)
Wow and it just so happens my birthday is in 4 days :)
The probability that NONE of my friends that I invited has the same birthday as me is equal to 1 − ( 3 6 5 3 6 4 ) x
So we need to find out a value of n where 1 − ( 3 6 5 3 6 4 ) n = 0.5
1 − ( 3 6 5 3 6 4 ) n = 0.5
( 3 6 5 3 6 4 ) n = 0.5
log( 3 6 5 3 6 4 ) n = log 0.5
n (log 3 6 5 3 6 4 ) = log 0.5
n= l o g ( 0 . 5 ) l o g ( 3 6 4 / 3 6 5 )
n = 252.65
So I have to have at least 253 friends over
Problem Loading...
Note Loading...
Set Loading...
Let us consider that we have invited n people.
So the probability that the first person does not share birthday with me is 3 6 5 3 6 4 . The same holds for the second,third fourth person etc.
Following this argument the probability that among the n people I have invited no one shares their birthday with me is ( 3 6 5 3 6 4 ) n .
So the probability that at least one person shares birthday with me will be 1 − ( 3 6 5 3 6 4 ) n .
We want this to be equal to half and hence we have 1 − ( 3 6 5 3 6 4 ) n = 0 . 5 .
Solving for n we get n = 2 5 3 to be the minimum integral value for which this holds true hence out answer is 2 5 3 .