Four balls numbered 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 b a where a and b are coprime positive integers. What is the value of a + b ?
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.
Exactly how I did it!
'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.
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
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/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 choices) . Whence,
3 / 4 × 2 / 4 × 1 / 4 = 3 / 3 2
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 colours. Whence,
3 / 4 × 2 / 4 × 1 / 4 × 1 / 4 = 3 / 1 2 8
In summary, the total probability is:
case (i) + case (ii) + case (iii) + case (iv) = 1 / 4 + 3 / 1 6 + 3 / 3 2 + 3 / 1 2 8 = 7 1 / 1 2 8
Therefore, a + b = 7 1 + 1 2 8 = 1 9 9
Sorry to clarify, Case (iv) is when the fifth ball drawn is the same colour as the first ball (:
Problem Loading...
Note Loading...
Set Loading...
Assume that the number which came out the first comes out again on the second turn. The probability is 4 1 .
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 4 3 × 4 1 = 1 6 3
fourth turn 4 3 × 4 2 × 4 1 = 3 2 3 (each number, excluding the number which came out the first, should not come out again.)
fifth turn 4 3 × 4 2 × 4 1 × 4 1 = 1 2 8 3
So the total probability is 4 1 + 1 6 3 + 3 2 3 + 1 2 8 3 = 1 2 8 7 1 . Hence the answer is 71+128= 199 .