Bag $A$ contains $3$ white and $4$ black balls. Bag $B$ contains $4$ white and $3$ black balls. Bag $C$ contains $2$ white and $5$ black balls. A bag is randomly selected and then a ball is randomly drawn from that bag. If the ball drawn was found to be white, then the probability that the ball is drawn from bag $C$ is
Show Hint
Bayes' theorem: Posterior probability = $\dfrac{\text{Prior}\times\text{Likelihood}}{\text{Total Probability}}$.
Step 2: Meaning Let
\[
A,B,C
\]
denote the events of selecting the corresponding bags.
Since a bag is chosen randomly,
\[
P(A)=P(B)=P(C)=\frac13.
\]
Also,
\[
P(W|A)=\frac37,
\qquad
P(W|B)=\frac47,
\qquad
P(W|C)=\frac27.
\]
Step 3: Analysis Total probability of drawing a white ball:
\[
P(W)
=
\frac13\left(\frac37+\frac47+\frac27\right)
=
\frac13\cdot\frac97
=
\frac37.
\]
By Bayes' theorem,
\[
P(C|W)
=
\frac{P(C)\,P(W|C)}{P(W)}.
\]
Substituting values,
\[
P(C|W)
=
\frac{\frac13\cdot\frac27}{\frac37}
=
\frac29.
\]
Step 4: Conclusion Hence the probability that the white ball came from bag $C$ is
\[
\frac29.
\]