Skip to content
Official PYQ · 2026

GATE CS 2026 Set 1 Q1 — Probability: Random Variables and Distributions

Explain with AI

An urn contains one red ball and one blue ball. At each step, a ball is picked uniformly at random from the urn, and this ball together with another ball of the same color is put back in the urn. The probability that there are equal number of red and blue balls after two steps is

Choose one option
View worked solution

Answer: B

We are given an urn initially containing 11 red ball (R\text{R}) and 11 blue ball (B\text{B}). At each step, we draw a ball, and return it to the urn along with an additional ball of the same color.

Initially, the total number of balls is 22. After two steps, 22 more balls will be added, making the total number of balls equal to 44. For there to be an equal number of red and blue balls after two steps, the urn must contain exactly 2 R2\text{ R} and 2 B2\text{ B} balls.

Let us analyze the two possible sequences of draws that result in 2 R2\text{ R} and 2 B2\text{ B} balls:

  1. Sequence 1: Red then Blue (R→B\text{R} \to \text{B})
    • Step 1: Draw a Red ball. The probability is 12\frac{1}{2}. The urn now contains 2 R2\text{ R} and 1 B1\text{ B} (total 33 balls).
    • Step 2: Draw a Blue ball. The probability is 13\frac{1}{3}.
    • The probability of this sequence is: P(R→B)=12×13=16P(\text{R} \to \text{B}) = \frac{1}{2} \times \frac{1}{3} = \frac{1}{6}
  2. Sequence 2: Blue then Red (B→R\text{B} \to \text{R})
    • Step 1: Draw a Blue ball. The probability is 12\frac{1}{2}. The urn now contains 1 R1\text{ R} and 2 B2\text{ B} (total 33 balls).
    • Step 2: Draw a Red ball. The probability is 13\frac{1}{3}.
    • The probability of this sequence is: P(B→R)=12×13=16P(\text{B} \to \text{R}) = \frac{1}{2} \times \frac{1}{3} = \frac{1}{6}

Since these two sequences are mutually exclusive, the total probability of having an equal number of red and blue balls after two steps is:

P(Equal)=P(R→B)+P(B→R)=16+16=26=13P(\text{Equal}) = P(\text{R} \to \text{B}) + P(\text{B} \to \text{R}) = \frac{1}{6} + \frac{1}{6} = \frac{2}{6} = \frac{1}{3}

Thus, the correct option is B.

Free practice · Your answers on this page are not saved.

Published
Report a correction
Keep exploringMore Probability: Random Variables and Distributions questions