document.write( "Question 1181553: A company buys 20% of its electronic chips from supplier New and the rests from other suppliers. Assume that the company purchases a large number of chips from each supplier.
\n" ); document.write( "It is known that 1/10 (one tenth) of supplier New’s chips are defective while the other suppliers have only 1/50 (one fiftieth) chips defective. The company selects 20 chips at random from a batch and tests them. One chip is found to be defective.
\n" ); document.write( "What is the probability that this batch of chips came from supplier New?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #849994 by CPhill(1959)\"\" \"About 
You can put this solution on YOUR website!
Here's how to solve this problem using Bayes' Theorem:\r
\n" ); document.write( "\n" ); document.write( "**1. Define Events:**\r
\n" ); document.write( "\n" ); document.write( "* N: The batch of chips came from supplier New.
\n" ); document.write( "* O: The batch of chips came from other suppliers.
\n" ); document.write( "* D: A randomly selected chip is defective.\r
\n" ); document.write( "\n" ); document.write( "**2. Given Probabilities:**\r
\n" ); document.write( "\n" ); document.write( "* P(N) = 0.20 (20% of chips are from New)
\n" ); document.write( "* P(O) = 1 - P(N) = 0.80 (80% of chips are from other suppliers)
\n" ); document.write( "* P(D|N) = 1/10 = 0.10 (Probability of a defective chip given it's from New)
\n" ); document.write( "* P(D|O) = 1/50 = 0.02 (Probability of a defective chip given it's from other suppliers)\r
\n" ); document.write( "\n" ); document.write( "**3. What We Want:**\r
\n" ); document.write( "\n" ); document.write( "We want to find P(N|D), the probability that the batch came from supplier New *given* that one chip is found to be defective.\r
\n" ); document.write( "\n" ); document.write( "**4. Bayes' Theorem:**\r
\n" ); document.write( "\n" ); document.write( "Bayes' Theorem states:\r
\n" ); document.write( "\n" ); document.write( "P(N|D) = [P(D|N) * P(N)] / P(D)\r
\n" ); document.write( "\n" ); document.write( "We need to find P(D), the overall probability of a defective chip. We can use the law of total probability:\r
\n" ); document.write( "\n" ); document.write( "P(D) = P(D|N) * P(N) + P(D|O) * P(O)
\n" ); document.write( "P(D) = (0.10 * 0.20) + (0.02 * 0.80)
\n" ); document.write( "P(D) = 0.02 + 0.016
\n" ); document.write( "P(D) = 0.036\r
\n" ); document.write( "\n" ); document.write( "**5. Apply Bayes' Theorem:**\r
\n" ); document.write( "\n" ); document.write( "P(N|D) = (0.10 * 0.20) / 0.036
\n" ); document.write( "P(N|D) = 0.02 / 0.036
\n" ); document.write( "P(N|D) ≈ 0.556\r
\n" ); document.write( "\n" ); document.write( "**Answer:**\r
\n" ); document.write( "\n" ); document.write( "The probability that the batch of chips came from supplier New, given that one chip is defective, is approximately 0.556 or 55.6%.
\n" ); document.write( "
\n" ); document.write( "
\n" );