Machine A makes 60% of a factory's bolts and machine B the rest. 2% of A's bolts and 3% of B's bolts are defective. A bolt chosen at random is defective. What is the probability that it was made by B?
A1/3
B2/5
C3/5
D1/2
Show answer & solution
Correct answer: D. 1/2
Solution: By Bayes' theorem: P(B | defective) = (0.4 × 0.03)/(0.6 × 0.02 + 0.4 × 0.03) = 0.012/(0.012 + 0.012) = 1/2.