There are 6 bags, each with 5 balls. Each bag has a different number of white balls (from 0 to 5). One bag is randomly chosen, and 2 balls are randomly drawn from it. Given that both balls are white, the probability that all the balls in the bag are white is b a with a and b relatively prime , then find the value of a × b .
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
i think that there is an error. when there are 4 white ball and 1 other colour ball the cases are just two WC AND WW. where C is the other ball . if the cases has to be 6 or 4C2. it must then mean that the white balls each are unique or the draws are somehow ordered. i think the problem should mention that. feel free to correct me if i am wrong.
TWO BALLS ARE DEFINITELY WHITE. OUT OF THE REMAINING THREE THERE ARE THESE POSSIBILITIES
RWW
WRW
WWR
RRW
RWR
WRR
RRR
WWW
EIGHT POSSIBILITIES AND ONE POSSIBILITY(WWW) WANTED, THEREFORE THE PROBABILITY THAT ALL FIVE BALLS ARE WHITE IS 1/8.
AND OF COURSE THE COLOUR OF NON WHITE BALLS MATTER, OR ELSE THERE WILL BE INFINITE POSSIBILITIES BECAUSE OF INFINITE COLOURS.
Log in to reply
Well, the probability of drawing two white balls are different in each case
Log in to reply
Yeah right. And 1/8 is true only if you consider probability of two white balls drawn equal in each case, and that's not true.
This is a question about prior-posterior distribution. It was badly phrased because it did not clarify exactly what the prior distribution was. @Sandeep Bhardwaj took a uniform distribution over all possible outcomes given the data, while @Varun Agrawal took a probability distribution with the assumption that the balls are white or not-white, with equal probability.
In the latter case, we will arrive at the answer of 1/8. Those who answered 8 have been marked correct. I have updated the question to indicate a uniform distribution over all possible scenarios (0-5 balls).
Sandeep, can you update your solution accordingly? Thanks.
Confusing even with the crutch of computer code!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
|
IM NOT SURE IF THIS IS EVEN A VALID SOLUTION. I think I got it just by pure luck. Ok, we start by taking probabilities of choosing two white balls if the bag contains :5 white balls, 4 white balls, 3 white balls, or two white balls:
1 0 / 1 0 , 6 / 1 0 , 3 / 1 0 , 1 / 1 0 respectively
Now, taking the average probability, we find it to be 1 / 2
Therefore, (1/2 change picking two whites)*(10/10 chance of picking a white ball if all are white)=5/10 chance of having all whites.
Again, I'm pretty sure that Sandeep's solution is correct but I'm not sure about mine.
Can someone please validate this.
Log in to reply
taking average is not something logical, it's just a coincidence. ^_^
Log in to reply
It does make some sense if you think about it. It's the exact same equation as yours if you take out all the 1/4's. There has to be some mathematical proof saying why it SHOULDN'T turn out the same but it does.
This works because of the (previously unstated) assumption that the prior distribution is uniform. Otherwise, you need to weight it by the prior distribution probabilities.
Log in to reply
Thank you. At least now I know that it wasn't just "luck" XD
Problem Loading...
Note Loading...
Set Loading...
If P(A)=probability of getting the bag chosen for drawing balls when all the 5 balls in the bag are white.
P(B)=probability of getting the bag chosen for drawing balls when only 4 balls in the bag are white
P(C)=probability of getting the bag chosen for drawing balls when only 3 balls in the bag are white
P(D)=probability of getting the bag chosen for drawing balls when only 2 balls in the bag are white
P(E)=probability of getting two white balls drawn from the bag
P(E/A)=probability of two white balls drawn when the bag is chosen which has all white balls in it
P(E/B)=probability of two white balls drawn when the bag is chosen which has only 4 white balls in it
P(E/C)=probability of two white balls drawn when the bag is chosen which has only 3 white balls in it
P(E/D)=probability of two white balls drawn when the bag is chosen which has only 2 white balls in it.
So using baye's theorem
required probability = P ( A ) . P ( E / A ) + P ( B ) . P ( E / B ) + P ( C ) . P ( E / C ) + P ( D ) . P ( E / D ) P ( A ) . P ( E / A )
= 4 1 . 1 + 4 1 . 1 0 6 + 4 1 1 0 3 + 4 1 1 0 1 4 1 . 1 = 2 1