Two Plus Two Older Archives  

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

Reply
 
Thread Tools Display Modes
  #1  
Old 09-12-2003, 01:52 PM
RocketManJames RocketManJames is offline
Senior Member
 
Join Date: Nov 2002
Posts: 118
Default Probability Problem (non-poker)

For those who like puzzles/problems...

A friend gave me a probability puzzle to solve. I was able to come up with a 'simplified' formula that must hold true at the right answer, but I had to iterate using a computer to solve it. Is there a way to solve the following problem simply and without having to iterate?

Z placed a box on the table and told X to take out five balls from it (X didn't know anything about their colour/number). He removed five blue balls. Surprised, Z exclaimed: “That that would happen was an exact 50-50 chance.” What is the smallest number of balls and how many of them blue should he have placed in the box to get that result?

I will post my 'iterated answer' with my reasoning in a separate post.

-RMJ
Reply With Quote
  #2  
Old 09-12-2003, 01:58 PM
RocketManJames RocketManJames is offline
Senior Member
 
Join Date: Nov 2002
Posts: 118
Default My \'Iterated\' Solution

I reasoned that there need only be two types of balls, Blue and Non-Blue (let's call it W), and that (B c 5) / [(W+B) c 5] = 1/2.

This reduced to
[B*(B-1)*...*(B-4)] / [(B+W)*(B+W-1)*...*(B+W-4)] = 1/2.

I did not see a straightforward way to get a B and W that satisfies the above, so I had to iterate using a computer.

The result I got was B=9, W=1.
Reply With Quote
  #3  
Old 09-12-2003, 02:19 PM
Bozeman Bozeman is offline
Senior Member
 
Join Date: Sep 2002
Location: On the road again
Posts: 1,213
Default Re: Probability Problem (non-poker)

For this to be true, there must be at least one (call it red) other ball in the box. The one red ball will drawn half the time if there are 10 total balls. Any solution with more red balls will have more total balls. Thus, 9 blue, one "red".

Craig
Reply With Quote
  #4  
Old 09-16-2003, 11:02 AM
thylacine thylacine is offline
Senior Member
 
Join Date: Jul 2003
Posts: 294
Default Re: Probability Problem (non-poker)

How about 2 red and (17-sqrt(201))/2 blue? [img]/images/graemlins/smirk.gif[/img]
Reply With Quote
  #5  
Old 09-16-2003, 11:05 AM
Copernicus Copernicus is offline
Senior Member
 
Join Date: Jun 2003
Posts: 1,018
Default Re: My \'Iterated\' Solution

Another way to reason it from where you got is:

Invert both sides of your equation and call B+W=T(otal) (just to make thinking about it easier) .

Then T*(T-1)*(T-2)*(T-3)*(T-4)/(B)*(B-1)*(B-2)*(B-3)(B-4)=2

For the ratio to be 2, if you factor all of the numbers in the N(umerator) and (Denominator) into their prime factors, everything has to cancel in the N and the D except 2*P in the N and P in the D.

Since all but one of the prime factors exist in both the N and D, the product of the non-unique prime factors in each the N and D must be the same. The constraints that the original numbers are consecutive in both N and D, and their products are the same means they must be the same numbers. (This is provable, but beyond this little post).

The problem therefore reduces to, "what is the smallest set of 5 consecutive numbers in the numerator that has 4 identical consecutive numbers in the denominator, except that the remaining number in the N is 2*the remaining number in the D?" Since the N is larger, you also know that its non-cancelling number is larger than the non-cancelling number in the D. Further, since the cancelling numbers were shown to be consecutive, the non-cancelling number in the N must be T, and the non-cancelling number in the D must be T-5 (because T-1, T-2, T-3, and T-4 are the only possible cancelling numbers in both the N and D). The problem therefore becomes
T/(T-5)=2, or T=10. Since there is only root to the equation, not only is T=10 the minimum but also the only solution.

Iteration is easier, and from the iteration you can probably prove by induction that there is no larger set of numbers that can meet the criteria. The above, however, is more rigorous and independent of having a "starting point" for an induction proof.
Reply With Quote
  #6  
Old 09-16-2003, 01:10 PM
BruceZ BruceZ is offline
Senior Member
 
Join Date: Sep 2002
Posts: 1,636
Default Re: Probability Problem (non-poker)

Here's a similar problem. It's a little more interesting.

sock drawer problem
Reply With Quote
  #7  
Old 09-16-2003, 03:10 PM
elwoodblues elwoodblues is offline
Senior Member
 
Join Date: Oct 2002
Location: Rosemount, MN
Posts: 462
Default Re: Probability Problem (non-poker)

I came up with the same solution - 9 Blue, 1 Red. If I'm wrong, could someone point out my error:

I started with the assumption that it would be 1 Red. From there, I came up with the following equation:

Number of Blue Balls = B
Total = T
B/T * (B-1)/(T-1) * (B-2)/(T-2) * (B-3)/(T-3) * (B-4)/(T-4) = 1/2

We assume Red Balls = 1, therefore T = B + 1

Substituting (B + 1) for T in the equation gets


B/(B+1) * (B-1)/B * (B-2)/(B-1) * (B-3)/(B-2) * (B-4)/(B-3) = 1/2

Now, it's just a matter of simplifying the equation...to get to:
(B-4)/(B+1) = 1/2
Solving for B we get B=9

~elwood
Reply With Quote
  #8  
Old 09-16-2003, 03:34 PM
slider77 slider77 is offline
Member
 
Join Date: Sep 2003
Posts: 73
Default Re: Probability Problem (non-poker)

You guys are oversimplifying the problem I think. The key word in the problem is "exact". If 9/10 are blue, the .9^5 = .5905 = about 59%. That's not "exactly 50/50".

This is more like a linear/integer programming problem - iterations are the only way to get at it. I used Excel and got

5129 = Blue
5892 = Non-Blue
Reply With Quote
  #9  
Old 09-16-2003, 03:54 PM
thylacine thylacine is offline
Senior Member
 
Join Date: Jul 2003
Posts: 294
Default Balls are drawn \" without replacement\"

Suppose b red balls, t total balls.

Balls are drawn " without replacement".

So Prob(all 5 red|5 drawn) is

C(b,5)/C(t,5) or equivalently P(b,5)/P(t,5)

and NOT b^5/t^5.

It seems you have simply found that 5129/5892 is a rational approximation for (1/2)^(1/5) which in any case is irrational.
Reply With Quote
  #10  
Old 09-16-2003, 05:26 PM
slider77 slider77 is offline
Member
 
Join Date: Sep 2003
Posts: 73
Default Re: Balls are drawn \" without replacement\"

If it's balls are kept out after each draw, it would just be solving algebra.

B = Number Blue Balls
N = Total Balls

First draw: P(Blue ball) = B/N
2nd draw: P(Blue ball) = B-1/N-1


Multiply all draws and set equal to .5


1 Equation, 2 variables - start with N=6 and "trial and error" until the equation balances. Or use Solver in Excel.
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 03:03 AM.


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