Computer Sciences > GATE 2026 SET-1 > Probability
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
A
1/4
B
1/3
C
1/2
D
2/3

Correct : b

Start with 1 Red and 1 Blue ball. At each step, pick one ball at random, then return it along with a new ball of the same colour. After two steps the urn has 4 balls. We want the probability of having exactly 2 Red and 2 Blue.
After Step 1:
Picking Red (probability 1/2) gives urn state (2R, 1B).
Picking Blue (probability 1/2) gives urn state (1R, 2B).
After Step 2 from state (2R, 1B):
Picking Red (probability 2/3) gives (3R, 1B) — unequal.
Picking Blue (probability 1/3) gives (2R, 2B) — equal ✓
After Step 2 from state (1R, 2B):
Picking Red (probability 1/3) gives (2R, 2B) — equal ✓
Picking Blue (probability 2/3) gives (1R, 3B) — unequal.
Total probability:
P(equal) = P(2R,1B) × P(equal | 2R,1B) + P(1R,2B) × P(equal | 1R,2B)
= (1/2 × 1/3) + (1/2 × 1/3)
= 1/6 + 1/6 = 1/3
Correct answer: B — 1/3 ✓

Similar Questions

The probability that a k-digit number does NOT contain the digits 0, 5 or 9 is__
#221 MCQ
A six sided unbiased die with four green faces and two red faces is rolled seven times. Which of the following combinations is the most likely outcome of the ex...
#244 MCQ
Suppose you break a stick of unit length at a point chosen uniformly at random. Then the expected length of the shorter stick is ________
#517 Fill in the Blanks

Related Topics

urn ball probability equal GATE 2026 GATE CS 2026 Set-1 Q33 Polya urn model red blue balls GATE probability equal balls after two steps GATE engineering mathematics probability GATE 2026 urn pick ball add same colour GATE probability 1/3 urn red blue GATE

Unique Visitor Count

Total Unique Visitors

Loading......