Posterior probabilities
Now suppose your production manager tells you that they’ve found a defective part (B). What’s the probability that it came from supplier A1?
P(A1|B)=P(A1)*P(B|A1)/P(B)
The numerator is specific enough, but the denominator can happen two different ways: (A1,B) and (A2,B)