Q.7.72

Question

Suppose that in Problem 7.70, we continue to flip the coin until a head appears. Let N denote the number of flips needed. Find

(a) P{Ni},i1

(b) P{N=i};

(c) E[N]

Step-by-Step Solution

Verified
Answer

a) The value of P{Ni},i1 is P[Ni]=1i;i=0,1,2,.,n

b) The value of P{N=i} is P[N=i]=1(i)(i+1);i=0,1,2,,n

c) The value of E[N] is .

1Step 1: Given Information (Part a)

Flip the coin until a head appears.  

Number of flips needed =N

P{NI},i1=?

2Step 2: Explanation (Part a)

We have,

P[N=i]=01i10p(1p)i1dp

=01p(1p)i1dp

=(1)!(i1)!(2+i1)!

=(i1)!(i+1)!

=1i(i+1)

P[Ni]=x=i1x(x+1)

=x=i1x1x+1

=1i

HenceP[Ni]=1i;i=0,1,2,.,n

3Step 3: Final Answer

Hence, the value of P{Ni},i1 is P[Ni]=1i;i=0,1,2,,n

4Step 1: Given Information (Part b)

Flip the coin until a head appears.  

Number of flips needed=N

P{N=i}=?

5Step 2: Explanation (Part b)

We have,

P[N=i]=P[Ni]P[N>i]

=P[Ni]P[Ni+1]

=1i1i+1

=1i(i+1)

P[N=i]=1(i)(i+1);i=0,1,2,.,n

6Step 3: Final Answer (Part b)

Hence, the value of E[N] is .

7Step 1: Given Information (Part c)

Flip the coin until a head appears.  

Number of flips needed =N

The Value of E[N]=?

8Step 2: Explanation (Part c)

E(N)=i=0P[Ni]

=i=01i

=

9Step 3: Final Answer (Part c)

Therefore, the value of E[N]=