document.write( "Question 1169525: A previous survey shows that a machine making plastic components is correctly set
\n" );
document.write( "up for the day's production on 85% of days. On days when it is set up correctly, 96%
\n" );
document.write( "of the components produced are good. If the machine is not set up correctly, only 30%
\n" );
document.write( "of the components produced are good. On a particular day, the machine is set up and
\n" );
document.write( "the first component produced is found to be good. What is the probability that the
\n" );
document.write( "machine is set up correctly? \n" );
document.write( "
Algebra.Com's Answer #851314 by CPhill(1959)![]() ![]() You can put this solution on YOUR website! Let's break down this problem using Bayes' Theorem.\r \n" ); document.write( "\n" ); document.write( "**Define the Events**\r \n" ); document.write( "\n" ); document.write( "* **C:** The machine is set up correctly. \n" ); document.write( "* **G:** The first component produced is good.\r \n" ); document.write( "\n" ); document.write( "**Given Probabilities**\r \n" ); document.write( "\n" ); document.write( "* $P(C) = 0.85$ (Probability the machine is set up correctly) \n" ); document.write( "* $P(C') = 1 - P(C) = 1 - 0.85 = 0.15$ (Probability the machine is not set up correctly) \n" ); document.write( "* $P(G|C) = 0.96$ (Probability of a good component given the machine is set up correctly) \n" ); document.write( "* $P(G|C') = 0.30$ (Probability of a good component given the machine is not set up correctly)\r \n" ); document.write( "\n" ); document.write( "**We need to find:**\r \n" ); document.write( "\n" ); document.write( "* $P(C|G)$ (Probability the machine is set up correctly given the component is good)\r \n" ); document.write( "\n" ); document.write( "**Apply Bayes' Theorem**\r \n" ); document.write( "\n" ); document.write( "Bayes' Theorem states:\r \n" ); document.write( "\n" ); document.write( "$$P(C|G) = \frac{P(G|C) \cdot P(C)}{P(G)}$$\r \n" ); document.write( "\n" ); document.write( "Where $P(G)$ can be found using the law of total probability:\r \n" ); document.write( "\n" ); document.write( "$$P(G) = P(G|C) \cdot P(C) + P(G|C') \cdot P(C')$$\r \n" ); document.write( "\n" ); document.write( "**Calculations**\r \n" ); document.write( "\n" ); document.write( "1. **Calculate $P(G)$:** \n" ); document.write( " $$P(G) = (0.96 \times 0.85) + (0.30 \times 0.15)$$ \n" ); document.write( " $$P(G) = 0.816 + 0.045$$ \n" ); document.write( " $$P(G) = 0.861$$\r \n" ); document.write( "\n" ); document.write( "2. **Calculate $P(C|G)$:** \n" ); document.write( " $$P(C|G) = \frac{P(G|C) \cdot P(C)}{P(G)}$$ \n" ); document.write( " $$P(C|G) = \frac{0.96 \times 0.85}{0.861}$$ \n" ); document.write( " $$P(C|G) = \frac{0.816}{0.861}$$ \n" ); document.write( " $$P(C|G) \approx 0.9477$$\r \n" ); document.write( "\n" ); document.write( "**Final Answer**\r \n" ); document.write( "\n" ); document.write( "The probability that the machine is set up correctly given that the first component produced is good is approximately 0.9477. \n" ); document.write( " \n" ); document.write( " |