If a randomly selected chip is found to be defective, find the probability that the manufacturer was A.
Solution:
Let X denote the event that the randomly selected chip is defective.
Also, define A to be the event that the chip was manufactured by company A. Define the events B,C similarly.
So, in this case, we want to find,
P( the chip is manufactured by A | the chip is defective), which is same as, P(A∣X) .
Now we apply Bayes' Theorem to compute this probability.
P(A∣X)=P(X∣A)P(A)+P(X∣B)P(B)+P(X∣C)P(C)P(X∣A)P(A) [as the events A, B, C are mutually exclusive and exhaustive]
Substituting the values given in the question, we obtain,
P(A∣X)=(0.005×0.5)+(0.001×0.1)+(0.010×0.4)0.005×0.5=0.0025+0.0001+0.0040.0025=0.00660.0025=6625≈0.3788
Hence the required probability is 6625 , or approximately 0.3788
If a randomly selected chip is found to be defective, find the probability that the manufacturer was C.
Solution:
For this part, we should compute P(C∣X) .
Similar to above, we apply Bayes' theorem and obtain,
P(C∣X)=P(X∣A)P(A)+P(X∣B)P(B)+P(X∣C)P(C)P(X∣C)P(C)
=(0.005×0.5)+(0.001×0.1)+(0.010×0.4)0.010×0.4=0.0025+0.0001+0.0040.004=0.00660.004=3320≈0.6061
Hence the required probability is 3320 , or approximately 0.6061
Comments