Question

A box contains five balls of same size and shape. Three of them are green coloured balls and two of them are orange coloured balls. Balls are drawn from the box one at a time. If a green ball is drawn, it is not replaced. If an orange ball is drawn, it is replaced with another orange ball.

First ball is drawn. What is the probability of getting an orange ball in the next draw?

Choose one option
Official answer and solution
Official answer
D
From
Official GATE 2022 answer key

Solution

Apply the law of total probability conditioning on the outcome of the first draw.

Initially, the box contains 3 green balls (GG) and 2 orange balls (OO), making 5 balls in total.

Let E1E_1 be the color of the first drawn ball and O2O_2 be the event of drawing an orange ball in the second draw:

  • Case 1: First ball drawn is green (G1G_1). The probability is P(G1)=35P(G_1) = \frac{3}{5}. Since green balls are not replaced, the box now contains 2 green balls and 2 orange balls (4 balls total). The conditional probability of drawing orange on the second draw is P(O2∣G1)=24=12P(O_2 \mid G_1) = \frac{2}{4} = \frac{1}{2}.
  • Case 2: First ball drawn is orange (O1O_1). The probability is P(O1)=25P(O_1) = \frac{2}{5}. Since orange balls are replaced with another orange ball, the box still contains 3 green balls and 2 orange balls (5 balls total). The conditional probability of drawing orange on the second draw is P(O2∣O1)=25P(O_2 \mid O_1) = \frac{2}{5}.

By the law of total probability:

P(O2)=P(G1)P(O2∣G1)+P(O1)P(O2∣O1)=(35×12)+(25×25)=310+425=15+850=2350P(O_2) = P(G_1) P(O_2 \mid G_1) + P(O_1) P(O_2 \mid O_1) = \left(\frac{3}{5} \times \frac{1}{2}\right) + \left(\frac{2}{5} \times \frac{2}{5}\right) = \frac{3}{10} + \frac{4}{25} = \frac{15 + 8}{50} = \frac{23}{50}
Final answer

Option (D)

Common trap

Assuming the orange ball is not replaced, or forgetting that the total number of balls decreases only when a green ball is drawn.

The answer is the one in the official GATE answer key. The solution is this site's own explanation.

Source

Paper
GATE 2022 Computer Science and Information Technology (CS)
Question
8 of 65
Section
General Aptitude

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.