In a bolt factory, machines X, Y, Z manufacture bolts that are respectively 25% 35%, and 40% of the factory’s total output. The machines X, Y, Z respectively produce 2%, 4% and 5% defective bolts. A bolt is drawn at random from the product and is found to be defective. What is the probability that it was manufactured by machine X?
5/39
This problem involves calculating conditional probability using Bayes' Theorem. We are given information about the production share of three machines (X, Y, and Z) in a bolt factory and the percentage of defective bolts produced by each machine. We need to find the probability that a randomly selected defective bolt was manufactured by machine X.
Let's denote the events as follows:
We are given the following probabilities:
We can summarize this information in a table:
| Machine | Output Share \(P(M_i)\) | Defective Rate \(P(D | M_i)\) |
|---|---|---|
| X | 0.25 | 0.02 |
| Y | 0.35 | 0.04 |
| Z | 0.40 | 0.05 |
To find the probability that a randomly drawn bolt is defective, \(P(D)\), we can use the Law of Total Probability. A bolt can be defective and come from machine X, or defective and come from machine Y, or defective and come from machine Z. These are mutually exclusive events.
The probability \(P(D)\) is calculated as:
\(P(D) = P(D | M_X)P(M_X) + P(D | M_Y)P(M_Y) + P(D | M_Z)P(M_Z)\)
Substituting the given values:
\(P(D) = (0.02 \times 0.25) + (0.04 \times 0.35) + (0.05 \times 0.40)\)
\(P(D) = 0.005 + 0.014 + 0.020\)
\(P(D) = 0.039\)
So, the total probability of drawing a defective bolt is 0.039 or 3.9%.
We want to find the probability that the bolt was manufactured by machine X, given that it is defective. This is the conditional probability \(P(M_X | D)\). Bayes' Theorem provides the formula for this:
\(P(M_X | D) = \frac{P(D | M_X)P(M_X)}{P(D)}\)
We have already calculated \(P(D | M_X)\), \(P(M_X)\), and \(P(D)\). Now we substitute these values into the formula:
\(P(M_X | D) = \frac{0.02 \times 0.25}{0.039}\)
\(P(M_X | D) = \frac{0.005}{0.039}\)
To express this as a fraction, we can multiply the numerator and denominator by 1000:
\(P(M_X | D) = \frac{0.005 \times 1000}{0.039 \times 1000} = \frac{5}{39}\)
The probability that a randomly drawn defective bolt was manufactured by machine X is \(\frac{5}{39}\).
| Event | Probability | Calculation/Source |
|---|---|---|
| Bolt from X \(P(M_X)\) | 0.25 | Given |
| Bolt from Y \(P(M_Y)\) | 0.35 | Given |
| Bolt from Z \(P(M_Z)\) | 0.40 | Given |
| Defective given X \(P(D|M_X)\) | 0.02 | Given |
| Defective given Y \(P(D|M_Y)\) | 0.04 | Given |
| Defective given Z \(P(D|M_Z)\) | 0.05 | Given |
| Total Defective \(P(D)\) | 0.039 | \(P(D|M_X)P(M_X) + P(D|M_Y)P(M_Y) + P(D|M_Z)P(M_Z)\) |
| From X given Defective \(P(M_X|D)\) | 5/39 | \(\frac{P(D|M_X)P(M_X)}{P(D)}\) (Bayes' Theorem) |
Bayes' Theorem is fundamental in probability theory and statistics. It describes how to update the probability of a hypothesis based on new evidence. In this bolt factory example:
The Law of Total Probability is often used in conjunction with Bayes' Theorem to find the denominator, which is the overall probability of the evidence.
This type of problem is common in quality control, medical testing, and other areas where we need to infer the cause (machine) given an effect (defective bolt).
One bag contain 3 white and 2 black balls, another bag contains 5 white and 3 black balls. If a bag is chosen at random and a ball is drawn from it, what is the chance that it is white?
Three cooks X, Y and Z bake a special kind of cake, and with respective probabilities 0.02, 0.03 and 0.05, it fails to rise. In the restaurant where they work, X bakes 50%, Y bakes 30% and Z bakes 20% of cakes. What is the proportion of failures caused by X?
An insurance company insured 2000 scooter drivers, 4000 car drivers and 6000 truck drivers. The probabilities of an accident involving a scooter driver car driver and a truck driver are 0.01, 0.03 and 0.15 respectively. One of the insured persons meets with an accident. The probability that the person is a scooter driver is
There are 3 coins in a box. One is a two-headed coin; another is a fair coin; and third is biased coin that comes up heads 75% of time. When one of the three coins is selected at random and flipped, it shows heads. What is the probability that it was the two-headed coin?
One bag contain 3 white and 2 black balls, another bag contains 5 white and 3 black balls. If a bag is chosen at random and a ball is drawn from it, what is the chance that it is white?
Three cooks X, Y and Z bake a special kind of cake, and with respective probabilities 0.02, 0.03 and 0.05, it fails to rise. In the restaurant where they work, X bakes 50%, Y bakes 30% and Z bakes 20% of cakes. What is the proportion of failures caused by X?
An insurance company insured 2000 scooter drivers, 4000 car drivers and 6000 truck drivers. The probabilities of an accident involving a scooter driver car driver and a truck driver are 0.01, 0.03 and 0.15 respectively. One of the insured persons meets with an accident. The probability that the person is a scooter driver is
There are 3 coins in a box. One is a two-headed coin; another is a fair coin; and third is biased coin that comes up heads 75% of time. When one of the three coins is selected at random and flipped, it shows heads. What is the probability that it was the two-headed coin?
A and B are independent witnesses in a case, the chance that A speaks truth is x and B speaks truth is y, If A and B agree on certain statements, the probability that the statement is true is