## Probability it came from Bag A...

Bag A contains 5 white balls and 2 green balls. Bag B contains 3 white balls and 4 green
balls. A fair die is rolled and if a 1 or a 2 comes up, a ball is randomly selected from Bag A;
however, if a 3, 4, 5 or 6 comes up, a ball is randomly selected from Bag B.
a) What is the probability of selecting a white ball?
b) If a white ball is selected, what is the probability that this ball came form Bag A?

Alright so a) I figured out. It's 11/21. I got that by multiplying the likelihood of first rolling a one or two (2/6) with the likelihood of getting a white ball in bag a (5/7) and then adding that number to this same process in bag b.

However for part b), for some reason I just can't wrap my head around it. I know that the probability of selecting a white ball is now 11/21, so is this an equation dealing with P(bag a ("given that" line)white ball probability)? Conditional probability? A little lost.

 PhysOrg.com science news on PhysOrg.com >> 'Whodunnit' of Irish potato famine solved>> The mammoth's lament: Study shows how cosmic impact sparked devastating climate change>> Curiosity Mars rover drills second rock target
 Yes it is a conditional probability problem. You can use: $$P(A|B) = \frac{P(A \cap B)}{P(B)}$$ Where A and B are two events.
 You found the chance of getting a white ball from bag a (Ill call it A), and you found the chance of getting a white ball in general (Ill call it B). I would just divide A by B to get the probability that a white ball comes from bag A.

 Tags probability