Clear Notion Academy

Statistics and Probability (Beyond Advanced) Practice: A coin with P(head)=0.6 is tossed repeatedly. Find the probability that the pattern THH…

Question

A coin with P(head)=0.6P(\text{head})=0.6 is tossed repeatedly. Find the probability that the pattern THH (tail, head, head on three consecutive tosses) appears before the pattern HHT.

Answer

Answer: 0.64

Hint

Ask what must have happened just before the first occurrence of HH in the sequence.

Solution

Look at the first time two consecutive heads occur. HHT can only be completed after an HH, and from an HH the next tail completes HHT while a head keeps the HH alive. If the very first two tosses are HH, then the first tail afterwards completes HHT, and THH cannot have occurred earlier (there has been no tail yet). So HHT wins. Probability 0.62=0.360.6^2=0.36. Otherwise a tail occurs before the first HH. The first HH is then preceded by that tail (the toss before the first HH must be T, since it is not H), so THH is completed at the very moment the first HH appears, before any HHT can occur. Hence P(THH first)=1−0.62=0.64P(\text{THH first})=1-0.6^2=0.64. Setting up a Markov chain with states gives the same value; the tempting 'patterns of equal length are equally likely' guess 12\frac12 is wrong. Answer: 0.640.64.

More questions from Statistics and Probability (Beyond Advanced) Practice

Practise the full set: Statistics and Probability — Beyond Advanced