1
$\begingroup$

An urn has 5 black balls and 4 white balls in it. We randomly sample a ball, and return it to the urn (sampling with replacement), until we get 2 balls with the same color. What is the probability that the first ball was white, if we know that the last one was white ? I tried building a tree, and realized that the experiment can have 2 or 3 stages, not more. Then I tried to fit conditional probability, but I got a fairly long fraction, which made no sense to me. Could you please help me to solve this problem ? Thanks !

$\endgroup$
  • 1
    $\begingroup$ Since there can be no more than three stages, the tree would be particularly simple and small. What's the matter with that approach? $\endgroup$ – whuber Jun 6 '16 at 20:11
  • $\begingroup$ I am getting the wrong number $\endgroup$ – user3275222 Jun 7 '16 at 2:52
  • $\begingroup$ Then you might find it most productive to show us how you are getting the wrong number (and why you know it is wrong: sometimes the answer you think is correct actually is not). $\endgroup$ – whuber Jun 7 '16 at 14:09
1
$\begingroup$

If my interpretation of "until we get $2$ balls with the same color" is correct then there are $6$ possibilities:

  • WW
  • WBW
  • WBB
  • BB
  • BWB
  • BWW

The corresponding probabilities are easy to find. E.g. $P(BWW)=\frac59\frac49\frac49$.

To be found is: $$\frac{P(WW)+P(WBW)}{P(WW)+P(WBW)+P(BWW)}$$

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.