Question
Mathematics Question on Probability
There are three bags X, Y, and Z. Bag X contains 5 one-rupee coins and 4 five-rupee coins; Bag Y contains 4 one-rupee coins and 5 five-rupee coins, and Bag Z contains 3 one-rupee coins and 6 five-rupee coins. A bag is selected at random and a coin drawn from it at random is found to be a one-rupee coin. Then the probability, that it came from bag Y, is:
31
21
41
125
31
Solution
Let the events EX,EY, and EZ denote the selection of bags X,Y, and Z respectively. Let the event A denote drawing a one-rupee coin. We are required to find the conditional probability: P(EY∣A)=P(A)P(EY)×P(A∣EY).
The probabilities of selecting each bag are: P(EX)=P(EY)=P(EZ)=31.
The probability of drawing a one-rupee coin from each bag is given by: P(A∣EX)=95,P(A∣EY)=94,P(A∣EZ)=93.
The total probability of drawing a one-rupee coin, using the law of total probability: P(A)=P(EX)×P(A∣EX)+P(EY)×P(A∣EY)+P(EZ)×P(A∣EZ).
Substituting the values: P(A)=31×95+31×94+31×93, P(A)=275+274+273=2712=94.
Now, the conditional probability that the coin came from bag Y given that it is a one-rupee coin is: P(EY∣A)=P(A)P(EY)×P(A∣EY), P(EY∣A)=9431×94=94274=31.
Therefore: 31.