Defence PYQWritten Exam 2020MathematicsProbability - Bayes' Theorem

NDA · Question 120

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?

  1. 9/29

  2. 10/29

  3. 19/29

  4. 28/29

Show answer & explanationShow explanation

Answer: (B) 10/29

Explanation

Let F be the event that a cake fails to rise. Given P(X) = 0.5, P(Y) = 0.3, P(Z) = 0.2, and P(F | X) = 0.02, P(F | Y) = 0.03, P(F | Z) = 0.05. By Bayes' theorem, P(X | F) = (P(X)P(F | X))/(P(X)P(F | X) + P(Y)P(F | Y) + P(Z)P(F | Z)) = 0.5(0.02)/(0.5(0.02) + 0.3(0.03) + 0.2(0.05)) = 0.010/(0.010 + 0.009 + 0.010) = 0.010/0.029 = 10/29.