Clear Notion Academy

Statistics and Probability (Beyond Advanced) Practice: A fair coin is tossed until the pattern H, T, H appears on three consecutive tosses. What…

Question

A fair coin is tossed until the pattern H, T, H appears on three consecutive tosses. What is the expected number of tosses?

Options

  1. 1414
  2. 88
  3. 66
  4. 1010

Answer

Correct option: D

Hint

Let E0,E1,E2E_0, E_1, E_2 be the expected numbers of further tosses when the current useful progress is nothing, H, HT. A tail after HT destroys everything, but a head after H keeps the progress H.

Solution

States: ∅\varnothing (no progress), H, HT; let E0,E1,E2E_0,E_1,E_2 be the expected further tosses. E0=1+12E1+12E0E_0=1+\frac12E_1+\frac12E_0 (a tail leaves no progress). E1=1+12E1+12E2E_1=1+\frac12E_1+\frac12E_2 (H keeps progress H; T gives HT). E2=1+12⋅0+12E0E_2=1+\frac12\cdot0+\frac12E_0 (H finishes; T after HT leaves nothing, since neither T nor TT starts HTH). From the first: E0=2+E1E_0=2+E_1. From the second: E1=2+E2E_1=2+E_2. Third: E2=1+12E0E_2=1+\frac12E_0. So E0=4+E2=5+12E0E_0=4+E_2=5+\frac12E_0, E0=10E_0=10. Contrast HHT, whose expected waiting time is 88: in HTH a failure at the last step can throw away all progress, while HHT never loses its H's. Reasoning 'any pattern of length 33 takes 23=82^3=8 tosses on average' is the trap; 1414 is the value for HHH and 66 for HH. Answer: 1010.

More questions from Statistics and Probability (Beyond Advanced) Practice

Practise the full set: Statistics and Probability — Beyond Advanced