Mathematics · Permutations and Combinations

JEE Advanced 2022 — Paper 2 — Question 15

Consider 4 boxes, where each box contains 3 red balls and 2 blue balls. Assume that all 20 balls are distinct. In how many different ways can 10 balls be chosen from these 4 boxes so that from each box at least one red ball and one blue ball are chosen?

  1. Option A:

    21816

    Correct
  2. Option B:

    85536

  3. Option C:

    12096

  4. Option D:

    156816

Answer: A

Step-by-step solution

Each box must contribute at least 1 red and 1 blue.

Use generating functions: red choices for one box are 3x+3x2+x33x + 3x^2 + x^3 (choose 1, 2, or 3 reds), blue choices are 2y+y22y + y^2 (choose 1 or 2 blues).

For all 4 boxes, the generating function is (3x+3x2+x3)4(2y+y2)4(3x+3x^2+x^3)^4 (2y+y^2)^4.

We need total 10 balls, so sum coefficients of xrybx^r y^b where r+b=10r+b=10, r,b≥4r, b \ge 4.

This gives (r,b)=(4,6),(5,5),(6,4)(r,b) = (4,6), (5,5), (6,4).

Coefficient of x4x^4 in red factor: each box gives 1 red, so 34=813^4 = 81.

Coefficient of y6y^6 in blue factor: distribution 2-1-1-1 gives (41)(22)23=4×1×8=32\binom{4}{1} \binom{2}{2} 2^3 = 4 \times 1 \times 8 = 32.

Contribution: 81×24=194481 \times 24 = 1944.

Coefficient of x5x^5: distribution 2-1-1-1 gives (41)(32)33=4×3×27=324\binom{4}{1} \binom{3}{2} 3^3 = 4 \times 3 \times 27 = 324.

Coefficient of y5y^5: distribution 2-1-1-1 gives (41)(22)23=32\binom{4}{1} \binom{2}{2} 2^3 = 32. Contribution: 324×32=10368324 \times 32 = 10368.

Coefficient of x6x^6: two distributions.

(i) 2-2-1-1: (42)(32)232=6×9×9=486\binom{4}{2} \binom{3}{2}^2 3^2 = 6 \times 9 \times 9 = 486.

(ii) 3-1-1-1: (41)(33)33=4×1×27=108\binom{4}{1} \binom{3}{3} 3^3 = 4 \times 1 \times 27 = 108.

Total 594594.

Coefficient of y4y^4: each box gives 1 blue: 24=162^4 = 16.

Contribution: 594×16=9504594 \times 16 = 9504.

Total ways: 1944+10368+9504=218161944 + 10368 + 9504 = 21816.

Thus answer is A.

Answer key and solution verified before publishing.

Practise Permutations and Combinations

Start with this question, then two more from the same chapter — with a tutor that explains every step. Free.

Exam
JEE Advanced 2022
Paper
Paper 2
Subject
Mathematics
Chapter
Permutations and Combinations
Topic
Combinations