I have read about Eulers rule but I am still unsure how to do this question ($\frac{1}{n}$ is a fraction) If $X ∼ B(n,\frac{1}{n})$ where $n = 824519$, estimate the probability that $X = 0$ using Euler’s number?
Thank you in advance
I have read about Eulers rule but I am still unsure how to do this question ($\frac{1}{n}$ is a fraction) If $X ∼ B(n,\frac{1}{n})$ where $n = 824519$, estimate the probability that $X = 0$ using Euler’s number?
Thank you in advance
Copyright © 2021 JogjaFile Inc.
When $X\sim B(n,p)$, you have $P(X=k)={n\choose k}p^k(1-p)^{n-k}$.
For $p=1/n$ and $k=0$, you get:
$$p(X=0)=\left(1-\frac{1}{n}\right)^n \xrightarrow[n\to\infty]{} e^{-1}$$
For large $n$, you can thus take the approximation $p(X=0)\simeq e^{-1}$.
In case you want something more accurate, write
$$P(X=0)=\left(1-\frac{1}{n}\right)^n=\exp\left(n\log(1-\frac1n)\right)=\exp\left[-n\left(\frac1n+\frac1{2n^2}+O(\frac1{n^3})\right)\right]\\=\exp\left(-1-\frac1{2n}+O(\frac1{n^2})\right)=e^{-1}\exp\left(-\frac1{2n}+O(\frac1{n^2})\right)=e^{-1}\left(1-\frac1{2n}+O(\frac1{n^2})\right)$$
For comparison, for $n=824519$, and to $15$ decimals: