Question #323863

 How many times do you need to toss a fair coin to get 100 heads with probability 90%?



1
Expert's answer
2022-04-26T00:56:18-0400

Since a fair coin is considered, the probability of getting a head is 12\frac12 and the probability of getting a tail is 12\frac12. Assume that XX is a random variable, which denotes a number of heads after nn tosses. It has a binomial distribution. The aim is to find such nn that P(X=100)=0.9.P(X=100)=0.9. Since XX has a binomial distribution, we get: P(X=100)=Cn100(12)nP(X=100)=C_{n}^{100}(\frac12)^{n}, where Cn100=n!100!(n100)!=(n99)(n98)n100!C_n^{100}=\frac{n!}{100!(n-100)!}=\frac{(n-99)(n-98)\ldots n}{100!}.

Denote f(n)=(n99)(n98)n100!(12)nf(n)=\frac{(n-99)(n-98)\ldots n}{100!}(\frac12)^{n}. The function is considered for n100n\geq100. We point out that f(n)>0f(n)>0. Consider f(n+1)f(n)=(n98)(n97)(n+1)(n99)(n98)n12=12n+1n99\frac{f(n+1)}{f(n)}=\frac{(n-98)(n-97)\ldots (n+1)}{(n-99)(n-98)\ldots n}\cdot\frac12=\frac12\cdot\frac{n+1}{n-99}.Consider inequalities: 12n+1n99<1n+1<2n198n>199\frac12\cdot\frac{n+1}{n-99}<1\Longleftrightarrow n+1<2n-198\Longleftrightarrow n>199. Thus, f(n+1)<f(n)f(n+1)<f(n) for n>199n>199. It means that f(200)>f(201)>f(202)f(200)>f(201)>f(202)\ldots

12n+1n99>1n+1>2n198n<199\frac12\cdot\frac{n+1}{n-99}>1\Longleftrightarrow n+1>2n-198\Longleftrightarrow n<199. Thus, f(n+1)>f(n)f(n+1)>f(n) for n<199n<199. It means that f(199)>f(198)>f(197)>f(199)>f(198)>f(197)>\ldots. Thus, it is enough to compute f(199)f(199) and f(200).f(200).

f(199)0.0563f(199)\approx0.0563 and f(200)0.0563f(200)\approx0.0563. Thus, the probability of getting 100100 heads is always less than 6%6\% irrespectively of the number of tosses.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS