Question 3.EX.67: A coin having probability p of coming up heads is continuall......

A coin having probability p of coming up heads is continually flipped. Let P_{j} (n) denote the probability that a run of j successive heads occurs within the first n flips.

(a) Argue that

P_{j} (n) = P_{j} (n− 1)+ p^{j} (1 −p)[1 −P_{j} (n −j −1)]

(b) By conditioning on the first non-head to appear, derive another equation relating P_{j} (n) to the quantities P_{j} (n −k), k = 1, . . . , j .

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.

Part (a) is proven by noting that a run of j successive heads can occur within the first n flips in two mutually exclusive ways. Either there is a run of j successive heads within the first n 1 flips; or there is no run of j successive heads within the first nj 1 flips, flip nj is not a head, and flips nj +1 through n are all heads.

Let A be the event that a run of j successive heads occurs within the first n,(n≥ j), flips. Conditioning on X, the trial number of the first non-head, gives the following

\begin{aligned}P_j(n) & =\sum_k P(A \mid X=k) p^{k-1}(1-p) \\ & =\sum_{k=1}^j P(A \mid X=k) p^{k-1}(1-p)+\sum_{k=j+1}^{\infty} P(A \mid X=k) p^{k-1}(1-p) \\& =\sum_{i=1}^j P_j(n-k) p^{k-1}(1-p)+\sum_{k=j+1}^{\infty} p^{k-1}(1-p) \\& =\sum_{i=1}^j P_j(n-k) p^{k-1}(1-p)+p^j\end{aligned}

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.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...
Question: 3.EX.6

Verified Answer:

\begin{aligned}& p_{X \mid Y}(1 \mid 3)...