JEE Challenger
More from Probability

Probability of Coin Tossing Experiment Ending with Consecutive Heads

Consider an experiment of tossing a coin repeatedly until the outcomes of two consecutive tosses are same. If the probability of a random toss resulting in head is 13\frac{1}{3}, then the probability that the experiment stops with head is

Options

A

13\frac{1}{3}

B

521\frac{5}{21}

Correct
C

421\frac{4}{21}

D

27\frac{2}{7}

Step-by-Step Solution

To find the probability that the experiment stops with a head (i.e., ending with two consecutive heads, HHHH), we first define the probabilities for a single coin toss:

  • Probability of getting a Head: p=P(H)=13p = P(H) = \frac{1}{3}
  • Probability of getting a Tail: q=P(T)=1p=23q = P(T) = 1 - p = \frac{2}{3}

The experiment continues tossing the coin until two consecutive outcomes are identical (either HHHH or TTTT).

Method 1: Using Infinite Series

For the experiment to stop with two consecutive Heads, the sequence of outcomes must end with HHHH, and all preceding tosses must alternate in outcome so that no two adjacent tosses are identical before the final HHHH.

The possible winning sequences can be divided into two cases depending on the first toss:

  1. Sequences starting with HH:

    • Length 2: HH    p2HH \implies p^2
    • Length 4: HTHH    pqpp=p3qHTHH \implies p \cdot q \cdot p \cdot p = p^3 q
    • Length 6: HTHTHH    p4q2HTHTHH \implies p^4 q^2
    • In general, for length 2k2k (where k1k \ge 1): pk+1qk1p^{k+1} q^{k-1}

    Sum of probabilities for Case 1: S1=p2+p3q+p4q2+=p21pqS_1 = p^2 + p^3 q + p^4 q^2 + \dots = \frac{p^2}{1 - pq}

  2. Sequences starting with TT:

    • Length 3: THH    qpp=qp2THH \implies q \cdot p \cdot p = q p^2
    • Length 5: THTHH    q2p3THTHH \implies q^2 p^3
    • Length 7: THTHTHH    q3p4THTHTHH \implies q^3 p^4
    • In general, for length 2k+12k+1 (where k1k \ge 1): qkpk+1q^k p^{k+1}

    Sum of probabilities for Case 2: S2=qp2+q2p3+q3p4+=qp21pqS_2 = q p^2 + q^2 p^3 + q^3 p^4 + \dots = \frac{q p^2}{1 - pq}

Adding both cases, the total probability PP that the experiment stops with HHHH is: P=S1+S2=p2+qp21pq=p2(1+q)1pqP = S_1 + S_2 = \frac{p^2 + q p^2}{1 - pq} = \frac{p^2(1 + q)}{1 - pq}

Substituting p=13p = \frac{1}{3} and q=23q = \frac{2}{3}: p2=(13)2=19p^2 = \left(\frac{1}{3}\right)^2 = \frac{1}{9} 1+q=1+23=531 + q = 1 + \frac{2}{3} = \frac{5}{3} 1pq=1(13)(23)=129=791 - pq = 1 - \left(\frac{1}{3}\right)\left(\frac{2}{3}\right) = 1 - \frac{2}{9} = \frac{7}{9}

P=19×5379=52779=527×97=521P = \frac{\frac{1}{9} \times \frac{5}{3}}{\frac{7}{9}} = \frac{\frac{5}{27}}{\frac{7}{9}} = \frac{5}{27} \times \frac{9}{7} = \frac{5}{21}


Method 2: Using Conditional Probability (Recurrence)

Let PHP_H be the conditional probability that the experiment ends with HHHH given that the previous single outcome was HH. Let PTP_T be the conditional probability that the experiment ends with HHHH given that the previous single outcome was TT.

Starting from the initial state (before any toss):

  • The first toss is HH with probability pp, moving the state to HH.
  • The first toss is TT with probability qq, moving the state to TT.

So, the required probability is: P=pPH+qPTP = p P_H + q P_T

From state HH:

  • If the next toss is HH (probability pp), the sequence HHHH occurs, and the experiment stops with HHHH (success, probability 11).
  • If the next toss is TT (probability qq), the sequence is HTHT, which moves us to state TT.

Thus: PH=p(1)+qPT=p+qPT— (1)P_H = p(1) + q P_T = p + q P_T \quad \text{--- (1)}

From state TT:

  • If the next toss is TT (probability qq), the sequence TTTT occurs, and the experiment stops with TTTT (failure, probability 00).
  • If the next toss is HH (probability pp), the sequence is THTH, which moves us to state HH.

Thus: PT=q(0)+pPH=pPH— (2)P_T = q(0) + p P_H = p P_H \quad \text{--- (2)}

Substituting equation (2) into (1): PH=p+q(pPH)    PH(1pq)=p    PH=p1pqP_H = p + q(p P_H) \implies P_H(1 - pq) = p \implies P_H = \frac{p}{1 - pq}

Then, PT=p21pqP_T = \frac{p^2}{1 - pq}

Substituting PHP_H and PTP_T back into PP: P=p(p1pq)+q(p21pq)=p2(1+q)1pqP = p \left(\frac{p}{1 - pq}\right) + q \left(\frac{p^2}{1 - pq}\right) = \frac{p^2(1 + q)}{1 - pq}

Plugging in p=13p = \frac{1}{3} and q=23q = \frac{2}{3}: P=(13)2(1+23)1(13)(23)=19×5379=521P = \frac{\left(\frac{1}{3}\right)^2 \left(1 + \frac{2}{3}\right)}{1 - \left(\frac{1}{3}\right)\left(\frac{2}{3}\right)} = \frac{\frac{1}{9} \times \frac{5}{3}}{\frac{7}{9}} = \frac{5}{21}

Therefore, the correct option is (B).

Probability of Coin Tossing Experiment Ending with Consecutive Heads | Mathematics PYQ Solution - JEE Challenger