Answer:
Given a defective product, the probability it was produced on the first machine is .
Step-by-step explanation:
This is a case that can be solved using the <em>Bayes' Theorem</em>, which implies <em>conditional probabilities</em>.
We have to remember that in conditional probabilities, the <em>sample space</em> is replaced by the probability of a given event (as can be seen below).
First, we need to find the probability of <em>producing a defective product</em>:
(1)
Where
P(D), the probability of producing a <em>defective product</em>.
P(F), the probability that the product was <em>produced by the first machine</em>. In this case, P(F) = 0.40.
P(S), the probability that the product was produced <em>by the second machine</em>. In this case, P(S) = 0.60.
P(D|F), a conditional probability that the product is <em>defective</em> given (or assuming) that it was produced by the <em>first machine</em>. In this case, from the question, P(D|F) = 0.02.
P(D|S), a conditional probability that the product is <em>defective</em> given (or assuming) that it was produced by the <em>second machine</em>. In this case, from the question, P(D|S) = 0.04.
So, from formula (1):
That is, the probability of producing a defective product from these two machines is P(D) = 0.032.
From conditional probabilities we know that:
So
In the same way, we can say that
In words, the probability that both events (D and F) occur is given by the "relationship" of conditional probabilities between these two events.
Then
The probability that a product comes from the first machine, given it is defective is as follows:
or 25%.