S.O.S. Mathematics CyberBoard

Your Resource for mathematics help on the web!
It is currently Mon, 20 May 2013 00:18:23 UTC

All times are UTC [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Tricky probability question
PostPosted: Wed, 6 Jun 2012 09:39:43 UTC 
Offline
S.O.S. Newbie

Joined: Wed, 6 Jun 2012 09:36:32 UTC
Posts: 1
Hey guys, im new to this community ! I have a problem with a probability question that does not provide much data -

A box may contain any combination of bottles of drinks (orange or apple) . All boxes were assumed to contain the same number of bottles of drinks and all combinations were equally probably. Sam bought a box of drinks and pulled two bottles out at random, one after another without replacement. What was the probability that the second bottle was orange, given that the first bottle was orange ?

Is there a possible way to get a numeric answer to this problem?

Thanks a ton :)


Top
 Profile  
 
 Post subject: Re: Tricky probability question
PostPosted: Wed, 6 Jun 2012 10:42:23 UTC 
Offline
Member of the 'S.O.S. Math' Hall of Fame

Joined: Sun, 24 Jul 2005 20:12:39 UTC
Posts: 3688
Location: Ottawa Ontario
Don't think so; if 2n = number of bottles:
probability of 1st two being same = (n-1) / (2n-1)
So if 20 orange and 20 apple: 19/39.

_________________
I'm not prejudiced...I hate everybody equally!


Top
 Profile  
 
 Post subject: Re: Tricky probability question
PostPosted: Thu, 7 Jun 2012 08:11:45 UTC 
Offline
S.O.S. Newbie

Joined: Thu, 7 Jun 2012 08:01:59 UTC
Posts: 2
There are 2^n ways of arranging n bottles of orange and applejuice. Half of them starts with a bottle of orange juice. The probability that Sams first bottle has orangejuice is 1/2. There are 2^(n-1) ways of arranging the remaining n-1 bottles and half of them starts with a bottle of orangejuice. The probability of the second bottle having orangejuice is then 1/2, and the total probability of pulling two bottles of orangejuice is 1/4


Top
 Profile  
 
 Post subject: Re: Tricky probability question
PostPosted: Thu, 7 Jun 2012 09:32:30 UTC 
Offline
S.O.S. Oldtimer

Joined: Fri, 27 Jul 2007 10:17:26 UTC
Posts: 278
Location: Chandler, AZ, USA
I think P = \frac{1}{2}.

For every combination of bottles where the first two are orange, there is a combination that is identical, except that the second bottle is apple.


Top
 Profile  
 
 Post subject: Re: Tricky probability question
PostPosted: Thu, 7 Jun 2012 13:29:11 UTC 
Offline
S.O.S. Newbie

Joined: Thu, 7 Jun 2012 08:01:59 UTC
Posts: 2
I agree. The probability of pulling two bottles of orange juice is 1/4. But the probability of pulling a second bottle of orange juice when you have already pulled anothe one is 1/2


Top
 Profile  
 
 Post subject: Re: Tricky probability question
PostPosted: Thu, 7 Jun 2012 15:03:11 UTC 
Offline
Member of the 'S.O.S. Math' Hall of Fame

Joined: Mon, 19 May 2003 19:55:19 UTC
Posts: 7949
Location: Lexington, MA
Hello, xadoxic!

Quote:
A box may contain any combination of bottles of drinks (orange or apple).
All boxes were assumed to contain the same number of bottles of drinks and all combinations were equally probable.
Sam bought a box of drinks and pulled two bottles out at random, one after another without replacement.
What was the probability that the second bottle was orange, given that the first bottle was orange?

Is there a possible way to get a numeric answer to this problem?

There is no way to get an exact answer, but we can construct a formula.


Suppose the boxes contain n bottles.

Let (x,y) represent \begin{Bmatrix} x &=& \text{no. of orange drinks} \\ y &=& \text{no. of apple drinks} \end{Bmatrix}

Then there are n+1 possible contents:
. . \begin{array}{ccccccccc}(n,0) & (n-1,1) & (n-2,2) & (n-3,3) & \hdots & (2,n-2) & (1,n-1) & (0,n) \end{array}

One orange is drawn from the box.
The probability that the second bottle is also orange is:

. . \begin{array}{cccccccccccccccc}\frac{n-1}{n-1}&& \frac{n-2}{n-1} && \frac{n-3}{n-1} && \hdots && \frac{2}{n-1} && 0 && 0 \end{array}


$\text{Therefore: }\:P(\text{2nd Or}\,|\,\text{1st Or}) \;=\;\frac{1}{n+1}\left[\frac{2}{n-1} + \frac{3}{n-1} + \frac{4}{n-1} + \cdots + \frac{n-2}{n-1} + \frac{n-1}{n-1}\right]

. . . . . . . . . . . . . . . . . . . . . . . .$=\;\frac{1}{(n+1)(n-1)}\big[2 + 3 + 4 + \hdots + (n-1)\big]

. . . . . . . . . . . . . . . . . . . . . . . .$=\;\frac{1}{(n+1)(n-1)}\cdot \frac{(n+1)(n-2)}{2}

. . . . . . . . . . . . . . . . . . . . . . . .$=\;\frac{n-2}{2(n-1)}
And that's all we can do.


However, we note that: .$\lim_{n\to\infty}\frac{n-2}{2(n-1)} \:=\:\frac{1}{2}



Top
 Profile  
 
 Post subject: Re: Tricky probability question
PostPosted: Thu, 7 Jun 2012 19:40:47 UTC 
Offline
S.O.S. Oldtimer

Joined: Fri, 27 Jul 2007 10:17:26 UTC
Posts: 278
Location: Chandler, AZ, USA
But if an orange is drawn first, then (0,n) was not a possibility.

Then you have n-1 bottles remaining, with the following n possible combinations:
(n-1,0), (n-2,1), (n-3,2),... (1,n-2), (0,n-1).

Then P(2nd = orange) = \frac{1}{n}[\frac{n-1}{n-1} + \frac{n-2}{n-1} + ... + \frac{0}{n-1}]
= \frac{1}{n(n-1)}[(n-1) + (n-2) + ... + 1] = \frac{1}{n(n-1)}\cdot\frac{n(n-1)}{2}) = \frac{1}{2}


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Contact Us | S.O.S. Mathematics Homepage
Privacy Statement | Search the "old" CyberBoard

users online during the last hour
Powered by phpBB © 2001, 2005-2011 phpBB Group.
Copyright © 1999-2013 MathMedics, LLC. All rights reserved.
Math Medics, LLC. - P.O. Box 12395 - El Paso TX 79913 - USA