0
$\begingroup$

The problem is as follows:

A person draws 3 balls from a bag containing 3 white, 4 red and 5 black balls. He is offered ₹10, ₹5 and ₹2 if he draws 3 balls of the samee colour, 2 balls of the same colour and 1 ball of each colour. Find his expectation.

My approach is:

Total expectation= P(3 balls are of the same colour)*10+ P(2 balls of the same colour)*5+ P(1 ball of each colour)*2.

Now, P(3 balls of same colour)= P(3 White coloured balls) + P(3 Red coloured balls) + P(3 Black coloured balls).

Similarly, calculate P(2 balls of same colour) and P(1 ball of each colour).

Am I right? If possible, please provide a detailed solution. Thanks.

$\endgroup$
5
  • 1
    $\begingroup$ Yes, this is right. You just have to compute those probabilities and you'll get the answer. $\endgroup$ Commented May 8, 2018 at 16:22
  • $\begingroup$ Since it has been confirmed by pwerth that you are on the right track you have to say at which point you´re stuck. $\endgroup$ Commented May 8, 2018 at 16:45
  • $\begingroup$ I'm stuck on the calculation part. After calculating, I'm getting: P(3 balls are of the same colour)= 3/44, P(2 balls are of the same colour)= 6/55, P(1 ball of each colour)= 17/44. Are these values right? $\endgroup$ Commented May 8, 2018 at 17:23
  • $\begingroup$ "one ball of same color" is rather unclear. Which is the win in the following cases: WWW, resp WWR, resp. WRB? $\endgroup$ Commented May 8, 2018 at 18:55
  • $\begingroup$ Sorry, it was a typo. Updated! $\endgroup$ Commented May 8, 2018 at 19:17

1 Answer 1

1
$\begingroup$

If i correctly understood the situation, then the possible occurrences are respecting one of the three patterns

  • XXX, three balls of same color, and the win is 10,
  • XXY, possibly in an other order, and the win is 5,
  • XYZ, and the win is 2.

(Different letters mark different colors.)

Totally there are 3+4+5 = 12 balls. Let us number them, 1,2,3,...,11,12. 1,2,3 are W(hite), 4,5,6,7 are R(ed), the remaining 8,9,10,11,12 B(lack). There are 12.11.10 possibilities to extract them, getting thus ordered extractions.

  • How many times do we get the pattern XXX? There are $$3\cdot 2\cdot 1+4\cdot 3\cdot 2+5\cdot 4\cdot 3=6+24+60=90$$ cases.

  • How many times do we get the pattern XXY or XYX or YXX? Three times $XXY$. We split the counting depending on the choice of the two colors $X,Y$. There are $$ \begin{aligned} &3(3\cdot 2\cdot (4+5)+4\cdot 3\cdot (3+5)+5\cdot 4\cdot (3+4)) \\ &\qquad =3(54 + 96 + 140) \\ &\qquad= 3\cdot 290 \\ &\qquad= 870 \end{aligned} $$ cases. (One can get the number of this "rather complicated countinq" after having the two simpler numbers, "excluding" them from the total.)

  • Finally, XYZ, we permute to get WRB, there are $3!=6$ permutations, so there are $$3!\cdot 3\cdot 4\cdot 5=6\cdot 60=360$$ cases.

The corresponding probabilities are thus $$ \frac{ 90}{1320}\ ,\qquad \frac{870}{1320}\ ,\qquad \frac{360}{1320}\ . $$ The expected win is $$ 10\cdot \frac{ 90}{1320}+ 5\cdot \frac{870}{1320}+ 2\cdot \frac{360}{1320} = \frac {199}{44} \approx 4.52272727272727\dots\ . $$

Computer check, since it is easy, using sage here:

balls = [0..11] colors = 'WWWRRRRBBBBB' X, XY, XYZ = 0, 0, 0 A = Arrangements( balls, 3 ) for a in A: extracted_colors = len( Set( [ colors[a[k]] for k in [0,1,2] ] ) ) if extracted_colors == 1: X += 1 elif extracted_colors == 2: XY += 1 elif extracted_colors == 3: XYZ += 1 print "Probabilities:", X/len(A), XY/len(A), XYZ/len(A) print "Expected win:", 10*X/len(A) + 5*XY/len(A) + 2* XYZ/len(A) 

Results:

Probabilities: 3/44 29/44 3/11 Expected win: 199/44 
$\endgroup$
1
  • $\begingroup$ Thanks for the answer. It was a calculation mistake. $\endgroup$ Commented May 9, 2018 at 8:42

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.