Q. 3.13

Question

The probability of getting ahead on a single toss of a coin is p 

Suppose that A starts and continues to flip the coin until a tail shows up, at which point B starts flipping.

Then Bcontinues to flip until a tail comes up, at which point A takes over, and so on.

Let Pn,m denote the probability that A accumulates a total of n heads before B accumulates m

 Show that

                             Pn,m=pPn-1,m+(1-p)1-Pm,n

Step-by-Step Solution

Verified
Answer

Pn,m is the probability that the first player flips nheads in total before the second one flipm.

Concentrate on the first flip, the rest of the game is equivalent to a new game with possibly changed order of the players.

1Step1: Probability of getting heads

Given:

A and B engage in a game. A is the first to leave.

With probability p, any of them turns head with probability (1-p), any one of them flips tails with probability (1-p), and the turns are lost.

Pn,m- Chances that A will amass n heads before B will accumulate m

prove:

Pn,m=p×Pn-1,m+(1-p)1-Pm,n

2Step2: Using the probability formula.


The following are the occasions:

An,m-event in which A flips n heads prior flipping m

Heads were the first to flip.

Using the total probability formula,

Pn,m=PAn,m=PAn,mHP(H)+PAn,mHcPHc

3Step3: Prove the statement.


Given that H occurred, A proceeds to toss with the same probability as before - similar to a fresh game in which A starts first and, since A has already flipped one head, A must flip n-1 more before B flip m of them.

PAn,mH=PAn-1,m=:Pn-1,m

=PAn,mHc

Given that Hc occurred, the situation is analogous to starting afresh game with B as the first player, both with 0 heads. The probability that B - the first player achieves m heads before the other achieves n heads is Pm,n and this is the complement of the desired occurrence.

PAn,mHc=1-Pm,n

Substitute this P(H)=p,PHc=1-pto the equations, the formula is proved.