Say a bag contains 2 white balls and 3 black balls. 3 balls are drawn randomly with replacement. a. Find the P(1st is white | 2nd is black) b. Find the P(1st is white | at least 1 black ball is drawn)
For a. I found the P(W)=2/5 and the P(B)=3/5, then I multiplied those together to get 6/25. Then I used the formula for condition probability P(WB)/P(2nd is B)= (6/25)/(3/5)= 2/5, is this correct?
And then for b. I got stuck at P(at least 1 ball is B), I know I should do 1-P(only white balls are drawn) and to find that I thought about doing 5C2/5C3. Is this the correct way to find the P(at least 1 black ball is drawn?
Your answer for (a) is correct.
For (b) the probability is as you suggest $1-(\frac{2}{5})^3=\frac{117}{125}$.
On the top line you have the probability that the first ball is white and then the next two balls are not both white. This is $(\frac{2}{5})(1-(\frac{2}{5})^2)=\frac{42}{125}$.
So the conditional probability is $\frac{42}{117}.$