Solution:
Let E1 be the event of time consumed by machine A, E2 be the event of time consumed by machine B and E3 be the event of time consumed by machine C. Let X be the event of producing defective items.
Then,
P(E1)=50%=10050=21
P(E2)=30%=10030=103
P(E3)=20%=10020=51
Also,
P(X∣E1)=P(defective item produced by A)=1%=1001
P(X∣E2)=P(defective item produced by B)=5%=1005
P(X∣E3)=P(defective item produced by C)=7%=1007
Now, the probability that an item produced by machine A, being given that a defective item is produced, is P(E1∣X).
By using Bayes’ theorem, we have:
P(E1∣X)=P(E1)⋅P(X∣E1)+P(E2)⋅P(X∣E2)+P(E3)⋅P(X∣E3)P(E1)⋅P(X∣E1)
Now by substituting the values we get:
P(E1∣X)=21⋅1001+103⋅1005+51⋅100721⋅1001=2001+100015+50072001=10005+15+142001=345
Thus, P(E1∣X)=345.