Question
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
Official answer and solution
- Official answer
- B
- From
- Official GATE 2026 answer key
Solution
Compute the probability of picking one red ball and one blue ball in either order across the two steps.
Initially the urn has red () and blue () ball ( balls total). After two steps, the urn has balls, so having an equal number of red and blue balls means red and blue (one and one picked in the two steps):
- Step 1 picks and Step 2 picks :
- Step 1 picks and Step 2 picks :
Adding the two mutually exclusive cases gives .
Option (B)
Assuming independent steps with probability at the second step.
The answer is the one in the official GATE answer key. The solution is this site's own explanation.
Source
- Paper
- GATE 2026 Computer Science and Information Technology - Session 1 (CS1)
- Question
- 11 of 65
- Section
- Computer Science and Information Technology
Report an error in this question
GATE questions are the work of the organising institutes. This site is independent and is not affiliated with them.