Question 13 Marks
If the probability of success in a single trial is $0.01.$ How many trials are required in order to have a probability greater than $0.5$ of getting at least one success?
Answer
View full question & answer→Let $X=$ number of successes. $p=$ probability of success in a single trial $\therefore \mathrm{p}=0.01$ and $q=1-p=1-0.01=0.99$ $\therefore \mathrm{X} \sim \mathrm{B}(\mathrm{n}, 0.01)$ The p.m.f. of $X$ is given by
$ \mathrm{P}(\mathrm{X}=\mathrm{x})={ }^n \mathrm{C}_x p^x q^{n-x}$
$\text { i.e. } p(x)={ }^n \mathrm{C}_x(0.01)^x(0.99)^{n-x}, x=1,2, \ldots, n$
$P(\text { at least one success })$
$\quad=P(X \geqslant 1)=1-P(X<1)$
$=1-P(X=0)=1-p(0)$
$=1-{ }^n \mathrm{C}_0(0.01)^0(0.99)^{n-0}$
$=1-1(1)(0.99)^n$
$=1-(0.99)^n $
Given: $P(X \geqslant 1)>0.5$
i.e. $1-(0.99)^n>0.5$
i.e. $1-0.5>(0.99)^n$
i.e. $0.5>(0.99)^n$
i.e. $(0.99)^n<0.5$
i.e. $\log (0.99)^n<\log (0.5)$
i.e. $n \log (0.99)<\log 0.5$
i.e. $n<\frac{\log 0.5}{\log 0.99}$
i.e. $n<68.96$
$\therefore n=68$
Hence, the number of trials required in order to have a probability greater than 0.5 of getting at least one success is $\frac{\log 0.5}{\log 0.99}$ or 68 .
$ \mathrm{P}(\mathrm{X}=\mathrm{x})={ }^n \mathrm{C}_x p^x q^{n-x}$
$\text { i.e. } p(x)={ }^n \mathrm{C}_x(0.01)^x(0.99)^{n-x}, x=1,2, \ldots, n$
$P(\text { at least one success })$
$\quad=P(X \geqslant 1)=1-P(X<1)$
$=1-P(X=0)=1-p(0)$
$=1-{ }^n \mathrm{C}_0(0.01)^0(0.99)^{n-0}$
$=1-1(1)(0.99)^n$
$=1-(0.99)^n $
Given: $P(X \geqslant 1)>0.5$
i.e. $1-(0.99)^n>0.5$
i.e. $1-0.5>(0.99)^n$
i.e. $0.5>(0.99)^n$
i.e. $(0.99)^n<0.5$
i.e. $\log (0.99)^n<\log (0.5)$
i.e. $n \log (0.99)<\log 0.5$
i.e. $n<\frac{\log 0.5}{\log 0.99}$
i.e. $n<68.96$
$\therefore n=68$
Hence, the number of trials required in order to have a probability greater than 0.5 of getting at least one success is $\frac{\log 0.5}{\log 0.99}$ or 68 .