Example 1
Question: A factory has three machines A, B, and C that produce bulbs. Each machine produces bulbs with equal probability (i.e., each machine is equally likely to be selected for production). The probability that a defective bulb is produced by machines A, B, and C are 4%, 2%, and 5% respectively. A bulb chosen at random is found to be defective. Find the probability that it was produced by machine B.
Solution: Let \(H_A\), \(H_B\), \(H_C\) be the events that a bulb is produced by machine A, B, and C respectively, and let \(D\) be the event that the bulb is defective. Since each machine is equally likely to be chosen: \[P(H_A) = P(H_B) = P(H_C) = \frac{1}{3}\] The conditional probabilities of defect are: \[P(D \mid H_A) = 0.04, \quad P(D \mid H_B) = 0.02, \quad P(D \mid H_C) = 0.05\] By the Total Probability Theorem: \[P(D) = P(H_A)\cdot P(D \mid H_A) + P(H_B)\cdot P(D \mid H_B) + P(H_C)\cdot P(D \mid H_C)\] \[P(D) = \frac{1}{3}(0.04) + \frac{1}{3}(0.02) + \frac{1}{3}(0.05)\] \[P(D) = \frac{1}{3}(0.04 + 0.02 + 0.05) = \frac{0.11}{3}\] By Bayes' Theorem: \[P(H_B \mid D) = \frac{P(H_B)\cdot P(D \mid H_B)}{P(D)}\] \[P(H_B \mid D) = \frac{\dfrac{1}{3} \times 0.02}{\dfrac{0.11}{3}}\] \[P(H_B \mid D) = \frac{0.02}{0.11} = \frac{2}{11}\]
Answer: \(\dfrac{2}{11}\)
Example 2
Question: Three students X, Y, and Z appear for a competitive exam. The probability that X, Y, and Z are selected is \(\frac{1}{3}\) each (equal chances). If selected, the probabilities that X, Y, and Z score above 90% marks are 60%, 45%, and 30% respectively. Given that a randomly chosen selected student scored above 90%, find the probability that it was student Y.
Solution: Let \(H_X\), \(H_Y\), \(H_Z\) be the events that student X, Y, Z is selected, and let \(E\) be the event that the selected student scores above 90%. Given: \[P(H_X) = P(H_Y) = P(H_Z) = \frac{1}{3}\] The conditional probabilities are: \[P(E \mid H_X) = 0.60, \quad P(E \mid H_Y) = 0.45, \quad P(E \mid H_Z) = 0.30\] By the Total Probability Theorem: \[P(E) = P(H_X)\cdot P(E \mid H_X) + P(H_Y)\cdot P(E \mid H_Y) + P(H_Z)\cdot P(E \mid H_Z)\] \[P(E) = \frac{1}{3}(0.60) + \frac{1}{3}(0.45) + \frac{1}{3}(0.30)\] \[P(E) = \frac{1}{3}(0.60 + 0.45 + 0.30) = \frac{1.35}{3} = 0.45\] By Bayes' Theorem: \[P(H_Y \mid E) = \frac{P(H_Y)\cdot P(E \mid H_Y)}{P(E)}\] \[P(H_Y \mid E) = \frac{\dfrac{1}{3} \times 0.45}{0.45}\] \[P(H_Y \mid E) = \frac{0.45}{3 \times 0.45} = \frac{1}{3}\]
Answer: \(\dfrac{1}{3}\)