A factory has three machines M₁, M₂, and M₃ producing bolts. M₁ produces 50%, M₂ produces 30%, and M₃ produces 20% of the total bolts. The defective rates are: M₁ → 2%, M₂ → 3%, M₃ → 4%. A bolt drawn at random is found to be defective.
A factory has three machines — M₁, M₂, and M₃ — that produce bolts. Machine M₁ produces 50% of the total bolts, machine M₂ produces 30%, and machine M₃ produces the remaining 20%. From past records, it is known that 2% of the bolts produced by M₁ are defective, 3% of those by M₂ are defective, and 4% of those by M₃ are defective. A bolt is drawn at random from the day's production and is found to be defective.
(i) What is the probability that the defective bolt was produced by machine M₁?
(ii) What is the probability that the defective bolt was produced by machine M₂?
(iii) Which machine is most likely to have produced the defective bolt? Find the probability for that machine.
OR
(iii) Find the total probability that a randomly selected bolt from the day's production is defective.
Show answerHide answer
Then:
P(E₁) = 50/100 = 1/2, P(E₂) = 30/100 = 3/10, P(E₃) = 20/100 = 1/5
P(A|E₁) = 2/100 = 1/50, P(A|E₂) = 3/100, P(A|E₃) = 4/100 = 1/25
─────────────────────────────────────
Total Probability P(A) (needed for all parts):
By the law of total probability,
P(A) = P(E₁)·P(A|E₁) + P(E₂)·P(A|E₂) + P(E₃)·P(A|E₃)
P(A) = (1/2)(1/50) + (3/10)(3/100) + (1/5)(1/25)
P(A) = 1/100 + 9/1000 + 1/125
Converting to a common denominator of 1000:
P(A) = 10/1000 + 9/1000 + 8/1000 = 27/1000
─────────────────────────────────────
(i) Probability that the defective bolt was produced by M₁: [1 mark]
Using Bayes' theorem,
P(E₁|A) = P(E₁)·P(A|E₁) / P(A)
P(E₁|A) = (1/100) / (27/1000)
P(E₁|A) = (1/100) × (1000/27)
∴ P(E₁|A) = 10/27
─────────────────────────────────────
(ii) Probability that the defective bolt was produced by M₂: [1 mark]
Using Bayes' theorem,
P(E₂|A) = P(E₂)·P(A|E₂) / P(A)
P(E₂|A) = (9/1000) / (27/1000)
∴ P(E₂|A) = 9/27 = 1/3
─────────────────────────────────────
(iii) Finding the most likely machine: [2 marks]
Using Bayes' theorem for M₃,
P(E₃|A) = P(E₃)·P(A|E₃) / P(A)
P(E₃|A) = (8/1000) / (27/1000)
P(E₃|A) = 8/27
Comparing the three posterior probabilities:
P(E₁|A) = 10/27, P(E₂|A) = 9/27, P(E₃|A) = 8/27
∵ 10/27 > 9/27 > 8/27,
∴ Machine M₁ is most likely to have produced the defective bolt, and the required probability is 10/27.
─────────────────────────────────────
OR
─────────────────────────────────────
(iii) Total probability that a randomly selected bolt is defective: [2 marks]
By the law of total probability,
P(A) = P(E₁)·P(A|E₁) + P(E₂)·P(A|E₂) + P(E₃)·P(A|E₃)
P(A) = (1/2)(1/50) + (3/10)(3/100) + (1/5)(1/25)
P(A) = 10/1000 + 9/1000 + 8/1000
∴ P(A) = 27/1000