Solution:
Key idea: We observe the result (one white and one red gem) and want the chance of one cause (Box II). Bayes' theorem gives P(E2∣A)=∑P(Ei)P(A∣Ei)P(E2)P(A∣E2).
Step 1 — Name the events.
Let E1, E2, E3 be the events that Box I, II, III is selected, and A the event that the two gems are one white and one red. A box is selected at random, so each of P(E1), P(E2) and P(E3) is 31.
Step 2 — Find P(A) for each box.
Two gems drawn one after the other without replacement give the same chances as choosing 2 gems together. One white and one red can be chosen in (white count) × (red count) ways.
Box I has 1 white and 2 red, 3 gems:
P(A∣E1)=3C21×2
P(A∣E1)=32
Box II has 2 white and 3 red, 5 gems:
P(A∣E2)=5C22×3
P(A∣E2)=53
Box III has 3 white and 1 red, 4 gems:
P(A∣E3)=4C23×1
P(A∣E3)=21
Step 3 — Apply Bayes' theorem.
The common factor 31 cancels from the top and the bottom, so we divide Box II's value by the sum of all three.
P(E2∣A)=32+53+2153
P(E2∣A)=(20+18+15)/3018/30
P(E2∣A)=5318
Therefore, the probability that the gems were drawn from Box II is 5318.