What should n be so that the probability is less than 0.5

88 Views Asked by At

n represents the number of people.

The probability is that none of these people have a birthday on the same day.

Neglect people that are born on 29 February.

What should n be so that the probability is less than $\frac{1}{2}$

so the probability should be something like this:

$\frac{365Pn}{(365)^n}$ = 0.5

but how to get n?

3

There are 3 best solutions below

0
On BEST ANSWER

Try this:

$$\begin{align} \dfrac{\ ^{365}P_n}{365^n}&<\frac 12\\ \frac{365}{365} \cdot \frac{364}{365}\cdot...\cdot\frac{365-n+1}{365}&<\frac 12\\ \left( 1-\frac{0}{365} \right)\left( 1-\frac 1{365}\right)\left( 1-\frac 2{365}\right)...\left( 1-\frac{n-1}{365}\right)&<\frac 12\\ \approx e^{-\frac 0{365}}e^{-\frac 1{365}}e^{-\frac 2{365}}...e^{-\frac {n-1}{365}}&<\frac 12\\ e^{-\frac{n(n-1)}{2\cdot 365}}&< \frac 12\\ \frac{n(n-1)}{2\cdot 365}&>\ln(2)\\ n^2-n-505.997&>0\\ n&>\frac {1+\sqrt{1+4(505.997)}}2\\ n&>22.99994\\ \therefore n&=23 \end{align}$$

And then check manually for n=22, 23, 24 to confirm that the result is correct.

0
On

The solution to the birthday problem is $23$. In a group of $n$ people with $n\geq23$ will have $p(\text{no $2$ people share a birthday})<0.5$.

0
On

The number of cases where $n$ people's birthday is on different days, is:

$$\binom{365}{n}$$

And the number of options is $$365^n$$

We want: $$\frac{365·364·\ldots · (365-n+1)}{n!365^n} \leq \frac{1}{2}$$

I don't think there's a clever fast way to do this other than trial and error.

Regarldess, this is related to the Birthday Problem and it is known that for $n \geq 23$ the inequality holds.