Q. 3.18

Question

Let Qn denote the probability that no run of 3 consecutive heads appears in n tosses of a fair coin. Show that

Qn=12Qn-1+14Qn-2+18Qn-3

Q0=Q1=Q2=1

Find Q8

Hint: Condition on the first tail 

Step-by-Step Solution

Verified
Answer

By following the formula, the value of P8=81128

1Step1: given data

n tosses of a fair coin

Sn, there are no three heads in a row.

Ai the first tails is i=1,2,3,4,5,..

Probabilities:

PSn=Qn

PA1=12

PA2=12×12=14

PA3=123=18

probabilities of a1, a2, a3 are obtained using independence:

Prove:

Qn=12Qn-1+14Qn-2+18Qn-3

Q0=Q1=Q2=1

2Step2: Find the probabilities of S n


The first tail can be divided by the number of events Sn. If there are no three consecutive heads, a first tail can only appear in the first, second, or third row.

PSn=PSnA1+PSnA2+PSnA3                  (1)


These intersections are mutually exclusive because A1A2and A3are mutually exclusive.

Because all events are independent, after the initial tail, the remaining flips work in the same way as the original chain, but with a smaller size. consequently,

PSnA1=PA1PSn-1

PSnA2=PA1PSn-2

PSnA3=PA1PSn-3

substituting this into equation (1) and changing PSn=Qn we obtain recursive

Qn=12Qn-1+14Qn-2+18Qn-3

Q0=Q1=Q2=1

3Step3: Find Q 8

Using recursive formula:

Qn=12Qn-1+14Qn-2+18Qn-3

Q0=Q1=Q2=1

Q3=12×1+14×1+18×1=78

Q4=12×78+14×1+18×1=1316

Q5=12×1316+14×78+18×1=34

Q7=12×1116+14×34+18×1316=81128

Q8=12×81128+14×1116+18×34=149256