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 sele...
Solutions · 1
Official solution
To solve this problem, we use Bayes' theorem. Let's define the events:
X: Selecting bag XY: Selecting bag YZ: Selecting bag ZA: Drawing a one-rupee coin
We are given that a bag is selected at random, so the probabilities for choosing any of the bags are:
P(X)=P(Y)=P(Z)=31
Next, we need the probability of drawing a one-rupee coin from each bag:
From bag X: P(A∣X)=5+45=95
From bag Y: P(A∣Y)=4+54=94
From bag Z: P(A∣Z)=3+63=93=31
We need to find the probability that the coin came from bag Y given that a one-rupee coin was drawn, i.e., we need P(Y∣A). Using Bayes' theorem:
P(Y∣A)=P(A)P(A∣Y)⋅P(Y)
To find P(A), the total probability of drawing a one-rupee coin can be calculated as follows:
P(A)=P(A∣X)⋅P(X)+P(A∣Y)⋅P(Y)+P(A∣Z)⋅P(Z)
Substituting the values:
P(A)=(95⋅31)+(94⋅31)+(31⋅31)
Calculating the above, we get:
P(A)=275+274+91
Note that 91=273, so:
P(A)=275+274+273=2712=94
Now, substituting back into Bayes' theorem:
P(Y∣A)=94(94)⋅(31)=94⋅31⋅49=31
Hence, the probability that the coin came from bag Y is:
Option B: 31