There are two bags I and II, containing 3 red and 4 white balls, and 2 red and 3 white balls respectively. A bag is selected at random and a ball is drawn from it. It is found to be a red ball, find the probability that it is drawn from the first bag.
Bayes' Theorem and Probability Distribution · Question 2 of 49
There are two bags I and II, containing 3 red and 4 white balls, and 2 red and 3 white balls respectively.
Solution:
Key idea: Bayes' theorem. If the events are mutually exclusive, together cover every possibility, and an event is known to have happened, then , where the theorem of total probability gives .
Step 1 — Name the events.
We name the possible causes (the hypotheses) and the observed result, so that each probability has a clear meaning.
- : bag I is selected
- : bag II is selected
- : the ball drawn is red
Step 2 — Write the probability of each hypothesis.
A bag is selected at random, so each of the two bags has the same chance.
Step 3 — Write the probability of under each hypothesis.
Bag I has 3 red balls among its 7 balls (3 red, 4 white), and bag II has 2 red balls among its 5 balls (2 red, 3 white).
Step 4 — Find the total probability of .
By the theorem of total probability, we multiply the probability of each hypothesis by the chance of under it and add the results.
Step 5 — Apply Bayes' theorem.
Bayes' theorem divides the term of the sum above by the total probability .
Check: The other hypothesis has , and the two posterior probabilities add to 1, as they must.
Therefore, the probability that the red ball was drawn from the first bag is .
