GATE / CS ARCHIVE

GATE CSE 2016 SET 1 / QUESTION 29

GATE CSE 2016 Set 1 Q29

Discrete Mathematics · Probability & Random Variables · Full GATE CSE 2016 Set 1 paper

GATE 2016 Set 1, Q29 2 marks · NAT
Report issue

Probability & Random Variables

Question 29, GATE 2016: Repeatedly toss a fair coin twice. TH outputs Y and stops; HH or HT outputs N and stops; TT restarts the experiment. Find the probability of eventually outputting Y, to two decimal places.
Tap to enlarge
Answer & solution

Official answer: 0.33 : 0.34

Our answer: 1/3 ≈0.33

Let p be the probability of eventual Y. A first-round TH gives Y with probability 1/4, while TT with probability 1/4 restarts independently. Thus p=1/4+p/4, so p=1/3. Infinite restart has probability lim(1/4)n=0. Two-decimal answer 0.33.

Another derivation conditions on the first round that does not restart. Of the equally likely terminal outcomes TH,HH,HT, exactly one produces Y, giving 1/3. Or sum the disjoint cases: Y after k restarts has probability(1/4)k(1/4), and their geometric series is(1/4)/(1−1/4). The single-round probability 1/4 is not the final answer because TT does not end the experiment in failure.

Original paper, page 12 · Answer key