Question

A bag has rr red balls and bb black balls. All balls are identical except for their colours. In a trial, a ball is randomly drawn from the bag, its colour is noted and the ball is placed back into the bag along with another ball of the same colour. Note that the number of balls in the bag will increase by one, after the trial. A sequence of four such trials is conducted. Which one of the following choices gives the probability of drawing a red ball in the fourth trial?

Choose one option
Official answer and solution
Official answer
A
From
Official GATE 2021 answer key

Solution

Apply the invariance property of Polya's Urn model under reinforcement sampling.

The bag initially contains rr red balls and bb black balls, for a total of r+br + b balls. In each trial, a ball is drawn, observed, and returned with one additional ball of the same colour. This is the classical Polya Urn model with parameter c=1c = 1.

In Polya's urn scheme, the marginal probability of drawing a red ball at any given trial kk (where k=1,2,3,4,…k = 1, 2, 3, 4, \dots) is strictly invariant and equals the initial proportion of red balls in the urn:

P(Rk)=rr+bP(R_k) = \frac{r}{r+b}

To see this explicitly for trial 2:

P(R2)=P(R1)P(R2∣R1)+P(B1)P(R2∣B1)P(R_2) = P(R_1) P(R_2 \mid R_1) + P(B_1) P(R_2 \mid B_1)
P(R2)=rr+b×r+1r+b+1+br+b×rr+b+1=r(r+1)+br(r+b)(r+b+1)=r(r+b+1)(r+b)(r+b+1)=rr+bP(R_2) = \frac{r}{r+b} \times \frac{r+1}{r+b+1} + \frac{b}{r+b} \times \frac{r}{r+b+1} = \frac{r(r+1) + br}{(r+b)(r+b+1)} = \frac{r(r+b+1)}{(r+b)(r+b+1)} = \frac{r}{r+b}

By induction, this invariance holds for all trials, including the fourth trial.

Thus, the probability of drawing a red ball in the fourth trial is rr+b\dfrac{r}{r+b}, which corresponds to option A.

Final answer

A

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

Source

Paper
GATE 2021 Computer Science and Information Technology - Session 2 (CS2)
Question
43 of 65, printed as CS Q.33
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.