Skip to content
Exercise 13.3 · Q2

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.

Uttar Pradesh UpmspTextbookSubjective· 3mImportance★★★★★
28% · 46/165 Questions
✓ Free question

Using Bayes’ theorem, the probability that the red ball came from the first bag is 23\frac{2}{3}.

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:

  • B1B_1: first bag is chosen
  • B2B_2: second bag is chosen
  • RR: a red ball is drawn

We are asked for P(B1∣R)P(B_1 \mid R).


  1. Prior probabilities Since the bag is chosen at random, each bag is equally likely:

P(B1)=12,P(B2)=12P(B_1) = \frac{1}{2}, \quad P(B_2) = \frac{1}{2}

  1. Likelihoods — probability of drawing a red from each bag

    • First bag: 4 red out of 8 total balls → P(R∣B1)=48=12P(R \mid B_1) = \frac{4}{8} = \frac{1}{2}
    • Second bag: 2 red out of 8 total balls → P(R∣B2)=28=14P(R \mid B_2) = \frac{2}{8} = \frac{1}{4}
  2. Total probability of drawing a red ball

    By the law of total probability:

P(R)=P(B1)⋅P(R∣B1)+P(B2)⋅P(R∣B2)P(R) = P(B_1) \cdot P(R \mid B_1) + P(B_2) \cdot P(R \mid B_2)

P(R)=12⋅12+12⋅14=14+18=38P(R) = \frac{1}{2} \cdot \frac{1}{2} + \frac{1}{2} \cdot \frac{1}{4} = \frac{1}{4} + \frac{1}{8} = \frac{3}{8}

  1. Apply Bayes’ theorem

P(B1∣R)=P(B1)⋅P(R∣B1)P(R)=12⋅1238=1438=14×83=23P(B_1 \mid R) = \frac{P(B_1) \cdot P(R \mid B_1)}{P(R)} = \frac{\frac{1}{2} \cdot \frac{1}{2}}{\frac{3}{8}} = \frac{\frac{1}{4}}{\frac{3}{8}} = \frac{1}{4} \times \frac{8}{3} = \frac{2}{3}

Watch out

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 P(R)P(R) using both bags.

Tip

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).

✓Final answer

The probability that the red ball came from the first bag is 23\boxed{\frac{2}{3}}.

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.