🦘 Math Kangaroo Grade All Felix 1-2 Ecolier 3-4 Benjamin 5-6 Kadett 7-8 Junior 9-10 Student 11-12 ⇄ switch contest
2011 Math Kangaroo

Problem 24

Problem 24 · 2011 Math Kangaroo Stretch
Counting & Probability perfect-square

A box contains red and green balls. If two balls are drawn at random, the probability that they are the same colour is \(\tfrac{1}{2}\). Which of the following could be the total number of balls in the box?

Show answer
Answer: A — 81
Show hints
Hint 1 of 2
Set the chance of two same-colour equal to the chance of two different.
Still stuck? Show hint 2 →
Hint 2 of 2
The condition simplifies to (r − g)² = r + g, so the total must be a perfect square.
Show solution
Approach: reduce the probability condition to a perfect-square total
  1. P(same) = 1/2 means C(r,2)+C(g,2) = rg, which simplifies to (r−g)² = r+g = n.
  2. So the total n must be a perfect square.
  3. Among the choices only 81 = 9² qualifies, so the total could be 81.
Mark: · log in to save