All Exams Test series for 1 year @ ₹349 only
Question

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?

This question was previously asked in
NDA I 2018 GAT Previous Year Paper (22-Apr-2018)
The correct answer is

5/39

Probability Calculation for Defective Bolts

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.

Understanding the Given Information

Let's denote the events as follows:

  • \(M_X\): A bolt is manufactured by machine X.
  • \(M_Y\): A bolt is manufactured by machine Y.
  • \(M_Z\): A bolt is manufactured by machine Z.
  • \(D\): A bolt is defective.

We are given the following probabilities:

  • Percentage of total output from machine X: \(P(M_X) = 25\% = 0.25\)
  • Percentage of total output from machine Y: \(P(M_Y) = 35\% = 0.35\)
  • Percentage of total output from machine Z: \(P(M_Z) = 40\% = 0.40\)
  • Percentage of defective bolts from machine X: \(P(D | M_X) = 2\% = 0.02\)
  • Percentage of defective bolts from machine Y: \(P(D | M_Y) = 4\% = 0.04\)
  • Percentage of defective bolts from machine Z: \(P(D | M_Z) = 5\% = 0.05\)

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

Calculating the Total Probability of a Defective Bolt

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%.

Applying Bayes' Theorem for Conditional Probability

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}\)

Conclusion

The probability that a randomly drawn defective bolt was manufactured by machine X is \(\frac{5}{39}\).

Revision Table: Key Probabilities

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)

Additional Information: Bayes' Theorem in Context

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 hypotheses are that the bolt came from Machine X, Y, or Z (\(M_X, M_Y, M_Z\)).
  • The initial probabilities of these hypotheses before observing the bolt's condition are \(P(M_X), P(M_Y), P(M_Z)\) (these are called prior probabilities).
  • The evidence is that the bolt is defective (\(D\)).
  • We know the likelihood of this evidence under each hypothesis (\(P(D|M_X), P(D|M_Y), P(D|M_Z)\)).
  • Bayes' Theorem allows us to calculate the updated probability of the hypothesis (e.g., bolt came from X) given the evidence (it's defective). These are called posterior probabilities \(P(M_X|D)\).

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).

Was this answer helpful?

Similar Questions

  1. 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?

  2. 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?

  3. 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

  4. 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?


Important Questions from Baye's Theorem

  1. 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?

  2. 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?

  3. 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

  4. 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?

  5. 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

Need Expert Advice?
Test Series
NDA img
Defence
NDA 2026 Mock Test Series (Latest Pattern)
503 Tests 1 Tests Free
1123 Attempts
4.6(139)
English, Hindi

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App