Detailed Explanation
This is a classic Bayes' theorem problem. We are given the prior probabilities of picking a bolt from each machine (based on how much each machine produces), and the conditional probability that a bolt is defective given the machine that made it. We are then told a bolt is already defective (this is our new information), and asked for the reverse probability: given that it is defective, what is the chance machine B made it? Bayes' theorem lets us update the prior probability using the observed evidence (defectiveness). We first compute the total probability of drawing a defective bolt using the law of total probability, then divide the contribution of machine B by this total.
Formula Used
Let \(E_1, E_2, E_3\) be the events that a bolt is made by machines A, B, C, and \(D\) be the event that it is defective. Then Bayes' theorem gives \[P(E_2 \mid D) = \frac{P(E_2)\,P(D \mid E_2)}{P(E_1)\,P(D \mid E_1) + P(E_2)\,P(D \mid E_2) + P(E_3)\,P(D \mid E_3)}\]
Solution
- Step 1: Define the events. Let \(E_1, E_2, E_3\) be the events that a randomly drawn bolt is manufactured by machine A, B, C respectively, and let \(D\) be the event that the bolt is defective.
- Step 2: Write the prior probabilities from the production shares. \[P(E_1) = \frac{25}{100} = 0.25\] \[P(E_2) = \frac{35}{100} = 0.35\] \[P(E_3) = \frac{40}{100} = 0.40\]
- Step 3: Write the conditional probabilities of a defective bolt for each machine, using the given defect percentages. \[P(D \mid E_1) = \frac{5}{100} = 0.05\] \[P(D \mid E_2) = \frac{4}{100} = 0.04\] \[P(D \mid E_3) = \frac{2}{100} = 0.02\]
- Step 4: Find the total probability of drawing a defective bolt using the law of total probability. \[P(D) = P(E_1)P(D \mid E_1) + P(E_2)P(D \mid E_2) + P(E_3)P(D \mid E_3)\] Substituting the values: \[P(D) = (0.25)(0.05) + (0.35)(0.04) + (0.40)(0.02)\] \[P(D) = 0.0125 + 0.0140 + 0.0080 = 0.0345\]
- Step 5: Apply Bayes' theorem to find the probability that machine B made the bolt, given it is defective. \[P(E_2 \mid D) = \frac{P(E_2)P(D \mid E_2)}{P(D)} = \frac{0.0140}{0.0345}\]
- Step 6: Simplify the fraction. Multiply numerator and denominator by 10000: \[P(E_2 \mid D) = \frac{140}{345} = \frac{28}{69}\] As a decimal this is approximately \(0.4058\).
Final Answer
The probability that the defective bolt was manufactured by machine B is \[P(E_2 \mid D) = \frac{28}{69} \approx 0.406\]
Common Mistake
A common mistake is to report the answer as \(P(D \mid E_2) = 0.04\), which is the probability a bolt is defective given it came from B. The question asks the reverse, \(P(E_2 \mid D)\), so you must apply Bayes' theorem and divide by the total probability of a defective bolt.