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

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?

This question was previously asked in
NDA 2020 GAT Previous Year Paper (06-Sep-2020)
The correct answer is \(\dfrac{10}{29}\)

Understanding the Problem: Probability of Cake Failure

The question asks us to find the proportion of failed cakes that were baked by cook X. We are given the individual probabilities of failure for each cook (X, Y, and Z) and the proportion of total cakes each cook bakes. This type of problem requires us to use concepts from probability, specifically the Law of Total Probability and Bayes' Theorem.

Given Information

Let's list the probabilities provided in the question:

  • Probability that a cake baked by X fails, \(P(F|X) = 0.02\)
  • Probability that a cake baked by Y fails, \(P(F|Y) = 0.03\)
  • Probability that a cake baked by Z fails, \(P(F|Z) = 0.05\)
  • Proportion of cakes baked by X, \(P(X) = 50\% = 0.50\)
  • Proportion of cakes baked by Y, \(P(Y) = 30\% = 0.30\)
  • Proportion of cakes baked by Z, \(P(Z) = 20\% = 0.20\)

Notice that the proportions of cakes baked by each cook sum up to \(0.50 + 0.30 + 0.20 = 1.00\), covering all cakes baked in the restaurant.

Calculating the Total Probability of Failure

Before we can find the proportion of failures caused by X, we need to determine the overall probability of a cake failing, regardless of who baked it. This is calculated using the Law of Total Probability. The total probability of an event (failure, F) is the sum of the probabilities of that event occurring under each possible condition (being baked by X, Y, or Z), weighted by the probability of each condition.

The formula for the Law of Total Probability is:

\(P(F) = P(F|X)P(X) + P(F|Y)P(Y) + P(F|Z)P(Z)\)

Let's plug in the given values:

\(P(F) = (0.02 \times 0.50) + (0.03 \times 0.30) + (0.05 \times 0.20)\)

Performing the multiplications:

\(P(F) = 0.010 + 0.009 + 0.010\)

Summing these values:

\(P(F) = 0.029\)

So, the total probability of a cake failing is 0.029, or 2.9%.

Calculating the Proportion of Failures Caused by X (Bayes' Theorem)

The question asks for the "proportion of failures caused by X". In probability terms, this is the conditional probability that a cake was baked by X GIVEN that it failed. This is denoted as \(P(X|F)\). We can calculate this using Bayes' Theorem.

Bayes' Theorem states:

\(P(X|F) = \dfrac{P(F|X) \times P(X)}{P(F)}\)

We have already calculated all the components needed for this formula:

  • \(P(F|X) = 0.02\)
  • \(P(X) = 0.50\)
  • \(P(F) = 0.029\)

Now, let's substitute these values into Bayes' Theorem:

\(P(X|F) = \dfrac{0.02 \times 0.50}{0.029}\)

Calculate the numerator:

\(0.02 \times 0.50 = 0.010\)

So, the equation becomes:

\(P(X|F) = \dfrac{0.010}{0.029}\)

To express this as a fraction, we can multiply the numerator and denominator by 1000 to remove the decimals:

\(P(X|F) = \dfrac{0.010 \times 1000}{0.029 \times 1000} = \dfrac{10}{29}\)

Therefore, the proportion of failures caused by X is \(\dfrac{10}{29}\).

Summary of Calculations

Cook Proportion Baked (\(P(\text{Cook})\)) Failure Probability (\(P(F|\text{Cook})\)) Contribution to Total Failure (\(P(F|\text{Cook}) \times P(\text{Cook})\))
X 0.50 0.02 \(0.50 \times 0.02 = 0.010\)
Y 0.30 0.03 \(0.30 \times 0.03 = 0.009\)
Z 0.20 0.05 \(0.20 \times 0.05 = 0.010\)

Total probability of failure, \(P(F) = 0.010 + 0.009 + 0.010 = 0.029\).

Proportion of failures caused by X, \(P(X|F) = \dfrac{\text{Contribution of X to Failure}}{\text{Total Probability of Failure}} = \dfrac{0.010}{0.029} = \dfrac{10}{29}\).

Conclusion

Based on the probabilities provided and applying Bayes' Theorem, the proportion of cake failures that were baked by cook X is \(\dfrac{10}{29}\).

Revision Table: Key Probability Concepts

Concept Description Formula Example (from this problem)
Conditional Probability The probability of an event occurring given that another event has already occurred. \(P(F|X)\): Probability of failure given it was baked by X.
Law of Total Probability Used to find the total probability of an event when there are multiple mutually exclusive ways for the event to occur. \(P(F) = \sum P(F|\text{Cook})P(\text{Cook})\)
Bayes' Theorem Used to find the conditional probability of an event (e.g., Cook X) given the occurrence of another event (e.g., Failure), often used to update probabilities based on new evidence. \(P(X|F) = \dfrac{P(F|X)P(X)}{P(F)}\)

Additional Information: Applying Bayes' Theorem in Real Life

Bayes' Theorem is a fundamental concept in probability with wide-ranging applications. It's used in many fields to update beliefs or probabilities based on new data or evidence. Here are a few examples:

  • Medical Diagnosis: Calculating the probability of a patient having a disease given a positive test result, considering the test's accuracy and the prevalence of the disease.
  • Spam Filtering: Determining the probability that an email is spam based on the presence of certain words, using data from previously classified emails.
  • Machine Learning: Forming the basis for Naive Bayes classifiers, used in text categorization and other classification tasks.
  • Finance: Updating the probability of a stock's price movement based on new economic data or company news.
  • Quality Control: Assessing the probability that a defective product came from a specific manufacturing line based on its defect rate and production volume.

In essence, Bayes' Theorem helps us reverse conditional probabilities – going from the probability of an outcome given a cause, to the probability of a cause given an outcome.

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

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

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


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

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

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