Bayes' Theorem on Two-Ball Transfer Between Urns

Board: JEE Foundation | Grade: Class 12 | Chapter: Probability

Problem

Bag A contains $4$ white and $5$ black balls, while Bag B contains $6$ white and $3$ black balls. Two balls are drawn at random from Bag A and transferred to Bag B. Next, one ball is drawn at random from Bag B and is found to be white. Find the probability that both balls transferred from Bag A were black.

Step-by-Step Textbook Solution

Step 1: Partition the transfer outcomes
Bag A has $9$ balls, so $\binom{9}{2} = 36$ pairs can be transferred:

  • $E_1$ (both white): $P(E_1) = \frac{\binom{4}{2}}{36} = \frac{6}{36} = \frac{1}{6}$. Bag B then has $8$ white, $3$ black $\implies P(W \mid E_1) = \frac{8}{11}$.
  • $E_2$ ($1$ white, $1$ black): $P(E_2) = \frac{4 \times 5}{36} = \frac{20}{36} = \frac{5}{9}$. Bag B then has $7$ white, $4$ black $\implies P(W \mid E_2) = \frac{7}{11}$.
  • $E_3$ (both black): $P(E_3) = \frac{\binom{5}{2}}{36} = \frac{10}{36} = \frac{5}{18}$. Bag B then has $6$ white, $5$ black $\implies P(W \mid E_3) = \frac{6}{11}$.

Step 2: Apply Bayes' Theorem
$$P(E_3 \mid W) = \frac{P(E_3)P(W \mid E_3)}{P(E_1)P(W \mid E_1) + P(E_2)P(W \mid E_2) + P(E_3)P(W \mid E_3)}$$ Multiply numerator and denominator by $36 \times 11$: $$P(E_3 \mid W) = \frac{10 \times 6}{(6 \times 8) + (20 \times 7) + (10 \times 6)} = \frac{60}{48 + 140 + 60} = \frac{60}{248} = \frac{15}{62}.$$

Final Answer: $\frac{15}{62}$.

NityaDhi Solution (Intuitive Method)

NityaDhi Expectation Denominator Shortcut:
You can compute the total probability $P(W)$ in 5 seconds without summing three cases! The expected number of white balls transferred from Bag A is $2 \times \frac{4}{9} = \frac{8}{9}$, so the expected white balls in Bag B (out of $11$) is $6 + \frac{8}{9} = \frac{62}{9}$. Hence $P(W) = \frac{62/9}{11} = \frac{62}{99}$, and $P(E_3 \mid W) = \frac{\frac{10}{36}\cdot\frac{6}{11}}{62/99} = \frac{15}{62}$!

Common Mistakes to Avoid

  • Using ordered permutations instead of combinations (or forgetting the factor of $2$ in $4 \times 5$ for 1 white and 1 black).
  • Forgetting that Bag B now contains $9 + 2 = 11$ balls rather than $9$ balls when computing $P(W \mid E_i)$.