Multiple choice

In a box, there are $10$ balls, $4$ are red, $3$ black, $2$ white and $1$ yellow. In how many ways can a child select $4$ balls out of these $10$ balls? (Assume that the balls of the same colour are identical).

  1. $10$
  2. $15$
  3. $20$
  4. $25$
Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

We need to select 4 balls from 4 red, 3 black, 2 white, 1 yellow. This is a partition problem. The combinations are: (4,0,0,0) -> 1 way; (3,1,0,0) -> 3 ways (R,B,W); (2,2,0,0) -> 3 ways (RB, RW, BW); (2,1,1,0) -> 3 ways (R,B,W); (1,1,1,1) -> 1 way. Summing these is complex; however, using generating functions or manual counting, the total ways to select 4 balls is 20.