Q.There are three urns containing white and black balls, white and black balls, and white and black balls, respectively. There is an equal probability of each urn being chosen. A ball is drawn at random from the chosen urn and it is found to be white. Find the probability that the ball drawn was from the second urn.
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →Using Bayes’ theorem, the probability that the white ball came from the second urn is .
Why Bayes’ theorem works here
We have three urns, each equally likely to be chosen. A white ball is observed. The question is: given that white happened, what’s the chance it came from urn 2? This is a classic inverse probability problem — we know the probability of white given each urn, but we need the probability of the urn given white. That’s exactly what Bayes’ theorem does: it flips the conditional probability using the prior probabilities and the likelihoods.
The intuition: each urn has a different fraction of white balls. Urn 3 has the most white (4 out of 5), so if we see white, it’s more likely to have come from urn 3 than from urn 1 (which has only 2 white out of 5). Urn 2 sits in the middle. Bayes’ theorem lets us compute the exact posterior probability.
Step-by-step solution
1. Define the events
Let , , be the events that urn 1, urn 2, or urn 3 is chosen.
Let be the event that a white ball is drawn.
2. Write the prior probabilities
Since each urn is equally likely:
3. Write the likelihoods (probability of white given each urn)
- Urn 1: 2 white, 3 black →
- Urn 2: 3 white, 2 black →
- Urn 3: 4 white, 1 black →
4. Apply Bayes’ theorem
We want . Bayes’ theorem says:
The denominator is the total probability of drawing a white ball, found by the law of total probability:
Substitute the values:
Factor out : …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.