Shoes are produced by two machines and . 50% of the shoes are produced by machine with an estimate of 10% of them being defective. On machine , 20% of the shoes produced are defective if a shoe taken at random is found to be defective, what is the probability that shoe was produced by machine ?
Bayes' Theorem and Probability Distribution · Question 9 of 49
Shoes are produced by two machines A and B .
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 . Machine makes 50% of the shoes and only two machines are named, so machine makes the other 50%.
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 shoe is produced by machine
- : the shoe is produced by machine
- : the shoe is defective
Step 2 — Write the probability of each hypothesis.
Each machine produces half of the shoes.
Step 3 — Write the probability of under each hypothesis.
Ten per cent of machine 's shoes and 20 per cent of machine 's shoes are defective.
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 .
Check: The other hypothesis has , and the two posterior probabilities add to 1, as they must.
Therefore, the probability that the defective shoe was produced by machine is .
