Q.A bag contains 4 red and 4 black balls, another bag contains 2 red and 6 black balls. One of the two bags is selected at random and a ball is drawn from the bag which is found to be red. Find the probability that the ball is drawn from the first bag.
Using Bayes’ theorem, the probability that the red ball came from the first bag is .
We have two bags, each with a different mix of red and black balls. A bag is chosen at random, then a ball is drawn and turns out to be red. The question asks: given that we saw a red ball, what is the chance it came from the first bag?
This is a classic case of inverse probability — we know the outcome (red ball) and want to trace back to which bag it likely came from. The tool for this is Bayes’ theorem, which flips conditional probabilities using the law of total probability.
Let’s define the events clearly:
- : first bag is chosen
- : second bag is chosen
- : a red ball is drawn
We are asked for .
- Prior probabilities Since the bag is chosen at random, each bag is equally likely:
-
Likelihoods — probability of drawing a red from each bag
- First bag: 4 red out of 8 total balls →
- Second bag: 2 red out of 8 total balls →
-
Total probability of drawing a red ball
By the law of total probability:
- Apply Bayes’ theorem
A common mistake is to forget that the denominator must be the total probability of the observed event (red ball), not just the probability from one bag. Always compute using both bags.
Notice that the first bag has a higher proportion of red balls (1/2 vs 1/4), so seeing a red ball makes it more likely we picked the first bag — and indeed the posterior probability (2/3) is greater than the prior (1/2).
The probability that the red ball came from the first bag is .
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.