Matthew H. answered 07/19/19
Math and Computer Science Tutor
Let's call the event that the ball was drawn from jar 2 "J2" and the event it's white "W".
In these terms, the problem is asking for P(J2 | W) .
For conditional probability, we use Bayes' Theorem.
P(J2 | W) = P(J2) * P(W | J2) / P(W)
We can plug in values from the given information easily for the numerator. P(J2) is 1/2. P(W | J2) is 2/5 (2 of 5 balls are white in J2).
For the denominator, P(W), we must get the overall chance we got a white ball. This is equal to P(J1)*P(W | J1) + P(J2)*P(W | J2) + P(J3)*P(W | J3), or more simply, the sum of the chance we get each jar times the chance we get a white ball from that jar.
Finally, just take the numerator over the denominator for our answer.
Not sure if the 22 is a typo or not (seems odd), so I'll let you do the actual computation, and please let me know if this answer uses too much shorthand or skips over anything you don't understand!