Box 1 contains 30 cards numbered 1 to 30 and Box 2 contains 20 cards numbered 31 to 50. A box is selected at random and a card is drawn from it. The number on the card is found to be a non-prime number. The probability that the card was drawn from Box 1 is
- Option A:
- Option B:
- Option C:
- Option D:
Solution
Core idea. With equally likely sources, the chance of each source given the result is in proportion to its chance of producing the result.
Concept refresher. Bayes theorem gives the probability of a case after an event has been seen:
where is the total over all the cases.
Picture the situation. Each box is chosen with probability one half, and then one card is drawn. The numbers 1 to 30 contain 10 primes, and the numbers 31 to 50 contain 5. A non-prime card is evidence about which box was used.
Approach. Find the chance of a non-prime from each box and apply Bayes theorem.
Step 1: Non-primes in each box
From 1 to 30 the primes are 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, so Box 1 has 20 non-primes and the chance is . From 31 to 50 the primes are 31, 37, 41, 43, 47, so Box 2 has 15 non-primes and the chance is .
Step 2: Bayes theorem
With each box equally likely, the probability of Box 1 is divided by , that is .
Answer. (B)
Sanity check. With a common denominator the two chances are and , in the ratio 8 to 9, so the shares are and .
Why the other options are wrong
- (A) The value is the chance of a non-prime from Box 1, not the chance of Box 1 given a non-prime.
- (C) The value is half the correct share; the factor for choosing a box cancels and must not be applied again.
- (D) The value does not follow from the chances and , whose ratio is 8 to 9.
Key takeaway
The trap. The number 1 is not a prime, so it counts among the non-primes.
How toppers think. They reduce the two chances to one denominator and read the ratio.
Remember.
More on Bayes’ Theorem
- A candidate has to go to the examination centre to appear in an examination. The candidate uses only one…
- A bag contains (N + 1) coins - N fair coins, and one coin with 'Head' on both sides. A coin is selected at…
- The probabilities that players A and B of a team are selected for the captaincy for a tournament are 0.6 and…
- All 30 on Bayes’ Theorem ›