Draw me until you match me

Four balls numbered 1 , 2 , 3 , 4 1,2,3,4 are placed inside a hat. You draw a ball out of the hat, write down the number on the ball and place the ball back in the hat. You repeat this process until you have written down the same number twice.

The probability that the last ball you drew is the same as the first ball you drew can be expressed as a b \frac{a}{b} where a a and b b are coprime positive integers. What is the value of a + b ? a + b?


The answer is 199.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Jung Min Lee
Sep 30, 2013

Assume that the number which came out the first comes out again on the second turn. The probability is 1 4 \frac{1}{4} .

There are also cases when the number which came out the first comes out again on the third turn. (On the second turn, other numbers should come out.) The probability is 3 4 × 1 4 = 3 16 \frac{3}{4} \times \frac{1}{4} = \frac{3}{16}

fourth turn 3 4 × 2 4 × 1 4 = 3 32 \frac{3}{4} \times \frac{2}{4} \times \frac{1}{4} = \frac{3}{32} (each number, excluding the number which came out the first, should not come out again.)

fifth turn 3 4 × 2 4 × 1 4 × 1 4 = 3 128 \frac{3}{4} \times \frac{2}{4} \times \frac{1}{4} \times \frac{1}{4} = \frac{3}{128}

So the total probability is 1 4 + 3 16 + 3 32 + 3 128 = 71 128 \frac{1}{4}+\frac{3}{16}+\frac{3}{32}+\frac{3}{128}=\frac{71}{128} . Hence the answer is 71+128= 199 .

Exactly how I did it!

Steven Lee - 7 years, 8 months ago

'You draw a ball out of the hat, write down the number on the ball and place the ball back in the hat' ....doesn't this mean that you have to make infinite trails until you get the ball that you got first? ...then the probability should have been 1/4 + 3/4 1/4 + 3/4 3/4*1/4 .....upto infinite if the balls are not put back in the hat then your solution follows....isn't it? ...please clear my doubt.

Rahul Mistry - 7 years, 8 months ago
Zhang Lulu
Oct 2, 2013

By the pigeon-hole principle, if you draw 5 balls, at least 2 will be of the same colour. And hence we have 4 cases:

Case (i): The first ball you draw is same as the second ball. Trivially, the probability for this case is 1 / 4 1/4

Case (ii): The first ball you draw is the same as the third ball. That means the second ball you draw must be a different colour from the first and last draw. Hence probability for this case is:

probability that second draw is diff (hence 3 colours to choose from) * probability that third draw same as first draw

= 3 / 4 × 1 / 4 3/4 \times 1/4 = 3/16

Case (iii): The first ball you draw is the same as your fourth ball. Same analysis as above shows that the second ball needs to be different from the first and fourth (and hence 3 choices) and your third ball needs to be different from the first and fourth along with the second (and hence 3 1 = 2 3 - 1 = 2 choices) . Whence,

3 / 4 × 2 / 4 × 1 / 4 = 3 / 32 3/4 \times 2/4 \times 1/4 = 3/32

Case (iv): Well, this time it is seriously the same scenario as case (iii). The only additional change for this case is that the fourth ball is being limited to 2 1 = 1 2 - 1 = 1 colours. Whence,

3 / 4 × 2 / 4 × 1 / 4 × 1 / 4 = 3 / 128 3/4 \times 2/4 \times 1/4 \times 1/4 = 3/128

In summary, the total probability is:

case (i) + case (ii) + case (iii) + case (iv) = 1 / 4 + 3 / 16 + 3 / 32 + 3 / 128 = 71 / 128 1/4 + 3/16 + 3/32 + 3/128 = 71/128

Therefore, a + b = 71 + 128 = 199 a + b = 71 + 128 = 199

Sorry to clarify, Case (iv) is when the fifth ball drawn is the same colour as the first ball (:

Zhang Lulu - 7 years, 8 months ago

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...