Question 27·Hard·Probability and Conditional Probability
A company uses two machines, Machine A and Machine B, to manufacture identical metal pins. Machine A produces 40% of the pins, and Machine B produces the rest. Historical data show that 3% of the pins produced by Machine A are defective, whereas 5% of the pins produced by Machine B are defective.
A pin is selected at random from one day’s production and is found to be defective. What is the probability that the defective pin was produced by Machine A?
For problems asking for the probability that an outcome came from a particular group given some condition (like being defective), set up a clear structure: write down each group’s share of the total and its conditional probability for the condition, multiply to get the joint probabilities for each group with the condition, sum these to get the total probability of the condition, and finally use . To work quickly under time pressure, you can also imagine a convenient total number of items (like 1,000 pins), compute how many defective pins each machine would produce, and take the fraction from the machine of interest over the total defective pins.
Hints
Identify the given probabilities
Write down the probability that a pin comes from each machine, and the probability that a pin from each machine is defective. Label them as , , , and .
Find the overall chance that a pin is defective
First compute the probability that a pin is defective and from Machine A, and the probability that it is defective and from Machine B. Then add these to get the total probability that a pin is defective, .
Use conditional probability the right way around
You want . Use the formula , and be careful not to mix it up with , which is given in the problem.
Desmos Guide
Compute the conditional probability numerically
In Desmos, type the expression (0.4*0.03)/(0.4*0.03 + 0.6*0.05) into an empty line. Look at the numerical output that appears to the right.
View the exact fraction form
Click or tap on the decimal result and, if Desmos offers a fraction form, note that simplified fraction. Then compare that fraction to the answer choices to see which option matches the value you computed.
Step-by-step Explanation
Translate the wording into probabilities
Let event be "pin was made by Machine A" and be "pin was made by Machine B". Let be "pin is defective".
From the problem:
- (the rest)
- (defective given it’s from A)
- (defective given it’s from B)
We are asked to find : the probability a pin came from A given that it is defective.
Find how likely a defective pin is from each machine
First find the probability that a randomly chosen pin is both from a machine and defective.
- From Machine A and defective:
- From Machine B and defective:
Now add these to get the overall probability that a pin is defective (from either machine):
Apply the conditional probability formula
The formula for conditional probability is
We already found:
Substitute these values:
Simplify the fraction and match the answer choice
Simplify by writing it as a fraction with whole numbers:
Now reduce by dividing numerator and denominator by their greatest common divisor, :
So the probability that a randomly chosen defective pin was produced by Machine A is , which corresponds to choice D.