Question 3.14: Independent trials, each of which is a success with probabil......

Independent trials, each of which is a success with probability p, are performed until there are k consecutive successes. What is themean number of necessary trials?

The blue check mark means that this solution has been answered and checked by an expert. This guarantees that the final answer is accurate.
Learn more on how we answer questions.

Let N_{k} denote the number of necessary trials to obtain k consecutive successes, and let M_{k} denote its mean. We will obtain a recursive equation for M_k by conditioning on N_{k−1,} the number of trials needed for k −1 consecutive successes. This yields

M_k=E\left[N_k\right]=E\left[E\left[N_k \mid N_{k-1}\right]\right]
Now,
E\left[N_k \mid N_{k-1}\right]=N_{k-1}+1+(1-p) E\left[N_k\right]
where the preceding follows since if it takes N_{k-1} trials to obtain k-1consecutive successes, then either the next trial is a success and we have our k in a row or it is a failure and we must begin anew. Taking expectations of both sides of the preceding yields
M_k=M_{k-1}+1+(1-p) M_k
or
M_k=\frac{1}{p}+\frac{M_{k-1}}{p}
Since N_1, the time of the first success, is geometric with parameter p, we see that
M_1=\frac{1}{p}
and, recursively
\begin{aligned}& M_2=\frac{1}{p}+\frac{1}{p^2}, \\& M_3=\frac{1}{p}+\frac{1}{p^2}+\frac{1}{p^3}\end{aligned}
and, in general,

M_k=\frac{1}{p}+\frac{1}{p^2}+\cdots+\frac{1}{p^k}

Related Answered Questions

Question: 3.EX.93

Verified Answer:

(a) By symmetry, for any value of \left(T_1...
Question: 3.EX.73

Verified Answer:

Condition on the value of the sum prior to going o...
Question: 3.EX.67

Verified Answer:

Part (a) is proven by noting that a run of j succe...
Question: 3.EX.60

Verified Answer:

(a) Intuitive that f (p) is increasing in p, since...
Question: 3.EX.53

Verified Answer:

\begin{aligned}P\{X=n\} & =\int_0^{\inf...
Question: 3.EX.47

Verified Answer:

E[X^{2}Y^{2}|X] = X^{2}E[Y^{2} |X]\\ \geq X...
Question: 3.EX.23

Verified Answer:

Let X denote the first time a head appears. Let us...
Question: 3.EX.19

Verified Answer:

\begin{aligned}\int E[X \mid Y=y] f_Y(y) d ...
Question: 3.EX.13

Verified Answer:

The conditional density of X given that X > 1 i...