Question
Question: A bag A contains 2 white and 3 red balls, and another bag B contains 4 white and 5 red balls. One ba...
A bag A contains 2 white and 3 red balls, and another bag B contains 4 white and 5 red balls. One ball is drawn at random from one of the bags and it is found to be red. Find the probability that it was drawn from bag B.
[a] P(E2∣E)=5225[b] P(E2∣E)=5224[c] P(E2∣E)=5226[d] P(E2∣E)=5223
Solution
Hint: Assume that E is the event of drawing out a red ball, E1 the event of drawing a ball from bag A and E2 the event of drawing out a ball from B. Use law of total probability, which states that if E1,E2,⋯,En are mutually exclusive and exhaustive events then for any event A, P(A)=r=1∑nP(A∣Er)P(Er), to determine the probability of event E. Use the fact that P(A⋂E)=P(E)P(A∣E)=P(A)P(E∣A). Hence determine P(E2∣E).
Complete step by step solution:
Let E be the event of drawing a red ball
Let E1 be the event of drawing out a ball from bag A
Let E2 be the event of drawing out a ball from the bag B.
Hence we need to determine the probability of event E2 given that E has occurred.
Now, we have P(E1)=21 and P(E2)=21(Since the bags are chosen at random)
Also, we have
P(E∣E1)=53(Since there are three red balls and two white balls in bag A) and P(E∣E2)=95(Since there are five red balls and 4 white balls in bag B )
Since E1 and E2 are mutually exclusive and exhaustive events, we get
P(E)=P(E1)P(E∣E1)+P(E2)P(E∣E2)(By law of total probability)
Hence, we have
P(E)=21×53+21×95=4526
Also, we know that P(A⋂B)=P(A)P(B∣A)=P(B)P(A∣B)
Hence, we have
P(E2⋂E)=P(E2)P(E∣E2)=P(E)P(E2∣E)
Hence, we have
21×95=4526×P(E2∣E)⇒P(E2∣E)=2×9×265×45=5225
Hence the probability that the ball is drawn from bag B given that it is red is 5225
Hence option [a] is correct.
Note: The above result can directly be achieved using Bayes theorem, which says that if E1,E2,⋯,En describe a partition on sample space of a random experiment and E is any event, then P(Ek∣E)=r=1∑nP(Er)P(E∣Er)P(Ek)P(E∣Ek)
Substituting the values, we get
P(E2∣E)=21×53+21×9521×95=53+9595=5225, which is the same as obtained above.