GATE EE 2021 · Counting (Permutations & Combinations)
MCQ · 2 marks · Problem EM-CPRB-0179
Suppose the probability that a coin toss shows "head" is p, where \(0\lt
p\lt 1\). The coin is tossed repeatedly until the first "head" appears. The expected number of tosses required is
Show the worked solution\(F(H) = p\), let x = Number of tosses\[\begin{aligned} &\begin{array}{|c|c|c|c|c|c|} \hline x & 1 & 2 & 3 & 4 & 5 \ldots \\ \hline P(x) & p & (1-p) p & (1-p)^{2} p & & \\ \hline \end{array}\\ &\begin{aligned} E(x) &=\sum x_{i} P(x)=p+2(1-p) p+3(p)(1-p)^{2}+\ldots \\ &=p\left[1+2(1-p)+3(1-p)^{2}+\ldots\right] \\ &=p[1-(1-p)]^{-2}=\frac{1}{p} \end{aligned} \end{aligned}\]
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com