To add comments or start new threads please go to the full version of: Probability Question
PhysOrgForum Science, Physics and Technology Discussion Forums > General Sci-Tech Discussions > Puzzling questions

buttershug
You have a bag with a ball in it.
The ball is either black or white. (equal probabilties)
You put a white ball in the bag and shake it up.
You pull out a white ball but can't tell if it's one you just put in or was the original one.

What is the probability that the ball in the bag is white?
barakn
2/3
NeoDevin
There are 2 balls, each can be either white or black.

This gives 4 possibilities:
Both are black
Both are white
The one in hand is black, the one in the bag is white
The one in hand is white, the one in the bag is black

Because we know that at least one is white, the first case cannot occur. Of the other three cases, 2 have a white ball in the bag. Therefore the answer of 2/3 is correct.
Euler
P(A|B) = P (A and B)/P(B) => result.

Although conditional probability takes a little bit of the magic away from these puzzles. Here is a decent article if you'd like to be able to do more puzzles like this.
Dabeer
QUOTE (NeoDevin+Jun 2 2008, 11:51 PM)
There are 2 balls, each can be either white or black.

This gives 4 possibilities:
Both are black
Both are white
The one in hand is black, the one in the bag is white
The one in hand is white, the one in the bag is black

Because we know that at least one is white, the first case cannot occur. Of the other three cases, 2 have a white ball in the bag. Therefore the answer of 2/3 is correct.

But the second "white ball in the bag" has a black ball in the hand, and is thus cannot occur, leaving only two possible cases and a 1:2 probability.

Merely playing Devil's advocate... biggrin.gif
LostInThought
Oh man - this reminds me so much of a probability riddle thread that went totally out of hand here. It's a perfect example of how people can start assuming information in their heads about a given problem and relentlessly defend an incorrect answer because of it.

Not that that happens here. ¬_¬

Fortunately, this question gives sufficient information to yield an answer of 2/3.
Dabeer
QUOTE (NeoDevin+Jun 2 2008, 11:51 PM)
There are 2 balls, each can be either white or black.

This gives 4 possibilities:
Both are black
Both are white
The one in hand is black, the one in the bag is white
The one in hand is white, the one in the bag is black

Because we know that at least one is white, the first case cannot occur.  Of the other three cases, 2 have a white ball in the bag.  Therefore the answer of 2/3 is correct.

A better illustration might be:

Let Ball A be the ball in the bag, and Ball B be the ball we add. The possible outcomes are thus:

Take out Ball A, it is black, Ball B is in the bag and is white.
Take out Ball A, it is white, Ball B is in the bag and is white.
Take out Ball B, it is white, Ball A is in the bag and is black.
Take out Ball B, it is white, Ball A is in the bag and is white.

Since the first one cannot happen (we know the ball we took out is white), there are three remaining possibilities. In 2 of those cases, the ball in the bag is white. Thus, the correct answer is 2/3.
barakn
QUOTE (LostInThought+Jun 3 2008, 12:23 PM)
Oh man - this reminds me so much of a probability riddle thread that went totally out of hand here. It's a perfect example of how people can start assuming information in their heads about a given problem and relentlessly defend an incorrect answer because of it.

Not that that happens here. ¬_¬

Fortunately, this question gives sufficient information to yield an answer of 2/3.

Since we're all so fond of controversy rolleyes.gif , I'm posting the riddle that started that thread:
QUOTE
You get new neighbours, a family with two kids. If you see a boy standing at a window; what is the probability of the other kid being a girl?

So your answer will probably take the form of a fraction. Pretend that the chance of any given kid being a boy is exactly 1/2 and the chance of being a girl is exactly 1/2.

I know how I'd answer.
phyti
Dont get the same answer.

"Since the first one cannot happen (we know the ball we took out is white),
there are three remaining possibilities."

(you don't know which ball you drew)

"There are 2 balls, each can be either white or black.

(only the original)

buttershug:
QUOTE
The ball is either black or white. (equal probabilties)


probability of remaining ball in bag being white,
after pulling a white ball from bag is s.

b = p(black), w = p(white)

b1 in the bag with w = 1/2 and b = 1/2
b2 put in bag with w = 1 and b = 0
p(b1)=p(b2)=1/2

only 3 possibilities:
pull b1 in b, s = 1
pull b1 in w, s = 1
(mutually exclusive, one or the other)

pull b2 in w, s = 1/2 (b1 is still unknown)

s = 1/2(1+1)+1/2(1/2) = 3/4



phyti
With morning comes the dawn!
I'm not answering the same question!
Another reason why I don't work for NASA.
Carry on.
PhysOrg scientific forums are totally dedicated to science, physics, and technology. Besides topical forums such as nanotechnology, quantum physics, silicon and III-V technology, applied physics, materials, space and others, you can also join our news and publications discussions. We also provide an off-topic forum category. If you need specific help on a scientific problem or have a question related to physics or technology, visit the PhysOrg Forums. Here you’ll find experts from various fields online every day.
To quit out of "lo-fi" mode and return to the regular forums, please click here.