Bag I contains 4 white and 6 black balls.
Bag II contains 4 white and 3 black balls.One ball is drawn at random from any one of the two bags and it is found to be a black ball. The probability that the black ball was drawn from Bag I is (rounded off to two decimal places).
Show the worked solutionGiven:
Bag I: 4 white + 6 black = 10 balls
Bag II: 4 white + 3 black = 7 ballsUsing Bayes' Theorem:
Let B = event of drawing a black ball
Let \(B_1\) = Bag I chosen, \(B_2\) = Bag II chosen\(P(B_1) = P(B_2) = \dfrac{1}{2}\) (equal probability of choosing either bag)\(P(B | B_1) = \dfrac{6}{10} = 0.6\)
\(P(B | B_2) = \dfrac{3}{7} \approx 0.4286\)Total probability of black ball:
\(P(B) = P(B_1) \cdot P(B|B_1) + P(B_2) \cdot P(B|B_2)\)
\(P(B) = \dfrac{1}{2} \times \dfrac{6}{10} + \dfrac{1}{2} \times \dfrac{3}{7} = \dfrac{3}{10} + \dfrac{3}{14} = \dfrac{21}{70} + \dfrac{15}{70} = \dfrac{36}{70}\)Probability black ball came from Bag I:
\(P(B_1|B) = \dfrac{P(B_1) \cdot P(B|B_1)}{P(B)} = \dfrac{\dfrac{1}{2} \times \dfrac{6}{10}}{\dfrac{36}{70}} = \dfrac{\dfrac{3}{10}}{\dfrac{36}{70}} = \dfrac{3}{10} \times \dfrac{70}{36} = \dfrac{210}{360} = \dfrac{7}{12} \approx \mathbf{0.58}\)
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com