QlarIITy

MathematicsIIT-JEE 2012 · Paper 1Single correct

The total number of ways in which 5 balls of different colours can be distributed among 3 persons so that each person gets at least one ball is

  1. Option A: 75
  2. Option B: 150
  3. Option C: 210
  4. Option D: 243
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. Distinct balls to distinct persons with nobody empty is an onto count: 35−(31)25+(32)15=1503^{5}-\binom{3}{1}2^{5}+\binom{3}{2}1^{5}=150.

Concept refresher. The number of ways to distribute nn distinct objects among rr distinct persons so that nobody is left empty is the number of onto maps:

rn−(r1)(r−1)n+(r2)(r−2)n−⋯r^{n}-\binom{r}{1}(r-1)^{n}+\binom{r}{2}(r-2)^{n}-\cdots

Approach. Count all distributions, then use inclusion–exclusion to remove those in which at least one person gets nothing. Cross-check by grouping.

  1. Step 1: Count all distributions

    Each of the 5 balls can go to any of the 3 persons:

    35=2433^{5}=243
  2. Step 2: Remove distributions with an empty person

    Balls avoiding one chosen person: 25=322^{5}=32 ways, and the person can be chosen in (31)=3\binom{3}{1}=3 ways. Balls avoiding two chosen persons: 15=11^{5}=1 way, chosen in (32)=3\binom{3}{2}=3 ways.

    243−3⋅32+3⋅1=243−96+3=150243-3\cdot 32+3\cdot 1=243-96+3=150
  3. Step 3: Cross-check by group sizes

    The possible sizes are (3,1,1)(3,1,1) and (2,2,1)(2,2,1).

    (3,1,1): 5!3!⋅1!⋅1!⋅2!⋅3!=10⋅6=60(3,1,1):\ \frac{5!}{3!\cdot 1!\cdot 1!\cdot 2!}\cdot 3!=10\cdot 6=60
    (2,2,1): 5!2!⋅2!⋅1!⋅2!⋅3!=15⋅6=90(2,2,1):\ \frac{5!}{2!\cdot 2!\cdot 1!\cdot 2!}\cdot 3!=15\cdot 6=90

    Total =60+90=150=60+90=150.

Answer. (B)

Why the other options are wrong

  • (A) is half the count; it comes from dividing the (3,1,1)(3,1,1) and (2,2,1)(2,2,1) counts by an extra 2!2!.
  • (C) is more than the true count; the only possible size patterns (3,1,1)(3,1,1) and (2,2,1)(2,2,1) give 60+9060+90 ways.
  • (D) is 353^{5}, which still includes distributions in which a person gets no ball.

Key takeaway

The trap. Answering 35=2433^{5}=243 also counts distributions in which some person gets no ball.

How toppers think. They cross-check by group sizes: (3,1,1)(3,1,1) gives 6060 and (2,2,1)(2,2,1) gives 9090, totalling 150150.

Remember. Onto maps from nn objects to rr boxes: ∑k=0r(−1)k(rk)(r−k)n\sum_{k=0}^{r}(-1)^{k}\binom{r}{k}(r-k)^{n}.

More on Distribution Problems