Solution:
Key idea: Bayes' theorem. If the events E1,E2,…,En are mutually exclusive, together cover every possibility, and an event A is known to have happened, then P(Ei/A)=P(A)P(Ei)P(A/Ei), where the theorem of total probability gives P(A)=∑P(Ej)P(A/Ej). For each bag, the chance of "one white and one red" is the number of ways to choose 1 white and 1 red, divided by the number of ways to choose any 2 balls.
Step 1 — Name the events.
We name the possible causes (the hypotheses) and the observed result, so that each probability has a clear meaning.
- E1: bag I is chosen
- E2: bag II is chosen
- E3: bag III is chosen
- A: the two balls drawn are one white and one red
Step 2 — Write the probability of each hypothesis.
A bag is chosen at random, so each bag has the same chance.
P(E1)=31
P(E2)=31
P(E3)=31
Step 3 — Write the probability of A under each hypothesis.
From the table, bag I has 6 balls (1 white, 3 red), bag II has 4 balls (2 white, 1 red) and bag III has 9 balls (4 white, 2 red).
P(A/E1)=6C21C1×3C1=153=51
P(A/E2)=4C22C1×1C1=62=31
P(A/E3)=9C24C1×2C1=368=92
Step 4 — Find the total probability of A.
By the theorem of total probability, we multiply the probability of each hypothesis by the chance of A under it and add the results.
P(A)=P(E1)P(A/E1)+P(E2)P(A/E2)+P(E3)P(A/E3)=31×51+31×31+31×92=151+91+272=1359+13515+13510=13534
Step 5 — Apply Bayes' theorem.
Bayes' theorem divides the E3 term of the sum above by the total probability P(A).
P(E3/A)=P(A)P(E3)P(A/E3)=13534272=272×34135=175
Therefore, the probability that the white and red balls came from the third bag is 175.