All about flooble | fun stuff | Get a free chatterbox | Free JavaScript | Avatars    
perplexus dot info

Home > Probability
White Balls and Black Balls (Posted on 2009-12-23) Difficulty: 2 of 5
Each of the three urns contains six balls with an urn containing five white balls and one black ball, while another urn contains four white and two black balls and, the remaining urn contains three white and three black balls.

One white ball is drawn at random from one of the three urns and, one black ball is drawn without replacement from one of the remaining two urns. (The balls are drawn blindly, without knowing which the identities are of the urns from which they are drawn.)

Determine the probability of drawing a white ball from the remaining urn.

See The Solution Submitted by K Sengupta    
No Rating

Comments: ( Back to comment list | You must be logged in to post comments.)
Solution solution Comment 1 of 1

There are 6 possible orders of urns from which the balls can have been sampled. The probabilities of drawing first a white, then a black, given each of the 6 orders, are:

         W    B
1,2,3: (5/6)(1/3)
1,3,2: (5/6)(1/2)
2,1,3: (2/3)(1/6)
2,3,1: (2/3)(1/2)
3,1,2: (1/2)(1/6)
3,2,1: (1/2)(1/3)

Adding these up and dividing by 6 gives an overall a priori probability that the observed conditions would exist as 25/108.

The probabilities of drawing in sequence white, black, white are:

         W    B    W
1,2,3: (5/6)(1/3)(1/2)
1,3,2: (5/6)(1/2)(2/3)
2,1,3: (2/3)(1/6)(1/2)
2,3,1: (2/3)(1/2)(5/6)
3,1,2: (1/2)(1/6)(2/3)
3,2,1: (1/2)(1/3)(5/6)

These average 17/108, and again, the average is the overall probability as each order is equally likely a priori.

Thus the sought probability, that the last ball drawn would be white, is 17/25 -- the ratio that the observed conditions would happen and the desired outcome would also happen, divided by the a priori probability that the observed conditions would happen at all (Bayes' rule).

   10   A=(5//6)*(1//3)
   11   B=(5//6)*(1//2)
   12   C=(2//3)*(1//6)
   13   D=(2//3)*(1//2)
   14   E=(1//2)*(1//6)
   15   F=(1//2)*(1//3)
   20   print (A+B+C+D+E+F)//6
   41   A=(5//6)*(1//3)*(1//2)
   42   B=(5//6)*(1//2)*(2//3)
   43   C=(2//3)*(1//6)*(1//2)
   44   D=(2//3)*(1//2)*(5//6)
   45   E=(1//2)*(1//6)*(2//3)
   46   F=(1//2)*(1//3)*(5//6)
   50   print (A+B+C+D+E+F)//6

  Posted by Charlie on 2009-12-23 14:49:27
Please log in:
Remember me:
Sign up! | Forgot password

Search body:
Forums (0)
Newest Problems
Random Problem
FAQ | About This Site
Site Statistics
New Comments (2)
Unsolved Problems
Top Rated Problems
This month's top
Most Commented On

Copyright © 2002 - 2018 by Animus Pactum Consulting. All rights reserved. Privacy Information