Two Plus Two Newer Archives  

Go Back   Two Plus Two Newer Archives > General Gambling > Probability
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-12-2007, 09:03 AM
jay_shark jay_shark is offline
Senior Member
 
Join Date: Sep 2006
Posts: 2,277
Default A problem over morning coffee

OK here is a fun little exercise to introduce to probability students .

A bag contains A red marbles and B black marbles . Marbles are withdrawn at random until only balls of the same color remain . What is the probability that only red marbles are left ?
Reply With Quote
  #2  
Old 08-12-2007, 09:33 AM
AaronBrown AaronBrown is offline
Senior Member
 
Join Date: May 2005
Location: New York
Posts: 2,260
Default Re: A problem over morning coffee

This only uses some probability if you do it the hard way. It's a brainteaser, with a bit of insight you can see the answer immediately, otherwise you could slog through some combinatorics.

It is a clever problem, I have used it in job interviews.
Reply With Quote
  #3  
Old 08-12-2007, 12:09 PM
DiamondDog DiamondDog is offline
Senior Member
 
Join Date: Jul 2007
Posts: 202
Default Re: A problem over morning coffee

I'll have a go.

For there to be only red marbles remaining, the first B marbles picked all have to be black.

P(first one picked is black) = B/(A+B)

assuming that happens, P(second one picked is black) = (B-1)/((A+B-1)

etc

Probability that first B marbles picked are all black
= B/(A+B) x (B-1)/(A+B-1) x (B-2)/(A+B-2) X ….. x 1/(A+1)


= B!/[(A+B)!/(A!)]

= A!B!/[(A+B)!]

Is that right?
Is there a quicker way?
Reply With Quote
  #4  
Old 08-12-2007, 12:28 PM
AaronBrown AaronBrown is offline
Senior Member
 
Join Date: May 2005
Location: New York
Posts: 2,260
Default Re: A problem over morning coffee

That is the probability that the first B are all black, but that is not required for the problem. We only require that B of the first B+n be black, for any n < A. You have solved for n = 0.

You can do this problem without any combinatorics at all, in a simple one-line argument.
Reply With Quote
  #5  
Old 08-12-2007, 01:27 PM
Dale Dough Dale Dough is offline
Senior Member
 
Join Date: Aug 2005
Posts: 1,043
Default Re: A problem over morning coffee

EDIT this is too easy, I don't have to wait for someone to tell me I was right. So I won't screw it up for the rest.
Reply With Quote
  #6  
Old 08-12-2007, 02:17 PM
DiamondDog DiamondDog is offline
Senior Member
 
Join Date: Jul 2007
Posts: 202
Default Re: A problem over morning coffee

[ QUOTE ]
That is the probability that the first B are all black, but that is not required for the problem. We only require that B of the first B+n be black, for any n < A. You have solved for n = 0.

[/ QUOTE ]
You're right. I can see that now.

[ QUOTE ]
You can do this problem without any combinatorics at all, in a simple one-line argument.

[/ QUOTE ]
I'm going to have to take your word for that. [img]/images/graemlins/crazy.gif[/img]
Reply With Quote
  #7  
Old 08-12-2007, 03:12 PM
Silent A Silent A is offline
Senior Member
 
Join Date: Aug 2005
Location: out of the grid
Posts: 2,838
Default Re: A problem over morning coffee

Think of it this way ...

Let's say you keep picking until no marbles are left.

What's the probability that the last one picked will be red?

Then think about how this relates to the OP.
Reply With Quote
  #8  
Old 08-12-2007, 03:19 PM
neverforgetlol neverforgetlol is offline
Senior Member
 
Join Date: Oct 2005
Posts: 6,048
Default Re: A problem over morning coffee

Ah I see, clever problem.
Reply With Quote
  #9  
Old 08-12-2007, 09:17 PM
rjp rjp is offline
Senior Member
 
Join Date: Sep 2006
Location: Charleston, SC
Posts: 1,115
Default Re: A problem over morning coffee

I must be missing the obvious. What's the answer?
Reply With Quote
  #10  
Old 08-12-2007, 09:46 PM
jay_shark jay_shark is offline
Senior Member
 
Join Date: Sep 2006
Posts: 2,277
Default Re: A problem over morning coffee

The answer is a/(a+b) .


It is equivalent to the probability that the last ball is red which is obviously a/(a+b) .

Think about it for a while . Once only red marbles remain , you can continue discarding red marbles until the last one is left since this won't change the probability . In other words , all that matters is the last ball .
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:41 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.