In an urn there are balls each coloured either blue, red or green. If you draw (without repetitions) two balls randomly from the urn, the probability of getting two balls of different colour is , and the probability of getting a blue and a green ball is . How many red balls are there among the balls?
, 2011
Solutions — 2
Solution 1
Let , and be the number of blue, red and green balls, respectively. We know that .
If you draw two balls randomly from the urn, the probability of getting two balls of different colour is , and the probability of getting a blue and a green ball is and hence the probability of getting a red ball and a ball of a different colour is .
Hence .
From this we get the quadratic equation , and or .
Suppose . Then , and since the probability of having blue and a green ball is , then .
This leads to the quadratic equation with no integer roots, and hence a contradiction.
The only possibility therefore . (In this case we get and or the other way around.)
Solution 2
Let , and be the number of blue, red and green balls, respectively. From the probabilities stated we get and , and hence
From the first equation we see divides exactly one of and , and hence from the second must also divide . Assume w.l.o.g. that divides and let . Since we have . The first equation is now , and hence or . If we get which is impossible. The only solution is therefore , (the other way around) and .