A factory has three machines , and producing 1000, 2000 and 3000 bolts per day respectively. The machines produces 1% defective bolts, produces 1.5% and produces 2% defective bolts. At the end of a day, a bolt is drawn at random and is found defective. What is the probability that this defective bolt has been produced by the machine ?
Bayes' Theorem and Probability Distribution · Question 19 of 49
A factory has three machines X , Y and Z producing 1000, 2000 and 3000 bolts per day respectively.
Solution:
Key idea: Bayes' theorem. If the events are mutually exclusive, together cover every possibility, and an event is known to have happened, then , where the theorem of total probability gives . The chance that a bolt comes from a machine is that machine's daily output divided by the total daily output of 6000 bolts (1000 + 2000 + 3000).
Step 1 — Name the events.
We name the possible causes (the hypotheses) and the observed result, so that each probability has a clear meaning.
- : the bolt is produced by machine
- : the bolt is produced by machine
- : the bolt is produced by machine
- : the bolt is defective
Step 2 — Write the probability of each hypothesis.
We divide each machine's output by the total of 6000 bolts.
Step 3 — Write the probability of under each hypothesis.
Machines , and produce 1%, 1.5% and 2% defective bolts.
Step 4 — Find the total probability of .
By the theorem of total probability, we multiply the probability of each hypothesis by the chance of under it and add the results.
Step 5 — Apply Bayes' theorem.
Bayes' theorem divides the term of the sum above by the total probability .
Therefore, the probability that the defective bolt was produced by machine is (0.1 as a decimal).
