Q.In a factory which manufactures bolts, machines A, B and C manufacture respectively 25%, 35% and 40% of the bolts. Of their outputs, 5, 4 and 2 percent are respectively defective bolts. A bolt is drawn at random from the product and is found to be defective. What is the probability that it is manufactured by the machine B?
You're viewing a preview — the full solution, concept, methods & PYQ mapping are locked.
Start your 14-day free trial to unlock the full solution →This is a classic Bayes’ theorem problem. We are given the prior probabilities of each machine producing a bolt and the conditional probabilities of a bolt being defective given the machine. The probability that a defective bolt came from machine B is approximately 0.406 (or 40.6%).
Why Bayes’ theorem?
We are asked: Given that a bolt is defective, what is the chance it came from machine B? This is a reverse probability — we know the chance of a defect given the machine, but we want the chance of the machine given a defect. That’s exactly what Bayes’ theorem handles.
The key insight: the total probability of a defective bolt is a weighted average of the defect rates of the three machines, weighted by their production shares. Then, the share of that total that comes from machine B is the answer.
Step-by-step solution
1. Define events clearly
Let:
- , , = event that a randomly chosen bolt is made by machine A, B, or C respectively.
- = event that the bolt is defective.
We are given:
- , ,
- , ,
We want .
2. Find the total probability of a defective bolt
By the law of total probability:
Substitute:
Compute each term:
Sum:
So 3.45% of all bolts are defective.
3. Apply Bayes’ theorem
Bayes’ theorem for :
Plug in:
4. Simplify the fraction …
Unlock everything free for 14 days
- Full step-by-step solutions
- Concept-first explanations
- Methods, shortcuts & mistakes
- PYQ mapping + timed mock tests
Full access for 14 days. No credit card required.