JEE Challenger
More from Permutations and Combinations

Number of Ways to Divide Students into Teams with Specific Restrictions

A group of 99 students, s1,s2,,s9s_1, s_2, \dots, s_9, is to be divided to form three teams X,YX, Y, and ZZ of sizes 2,32, 3, and 44, respectively. Suppose that s1s_1 cannot be selected for the team XX, and s2s_2 cannot be selected for the team YY. Then the number of ways to form such teams, is ________.

Official Numerical Answer665

Step-by-Step Solution

To find the number of ways to divide the 99 students s1,s2,,s9s_1, s_2, \dots, s_9 into three teams X,YX, Y, and ZZ of sizes 2,32, 3, and 44 respectively, subject to the conditions that s1Xs_1 \notin X and s2Ys_2 \notin Y, we can use two different approaches: the Principle of Inclusion-Exclusion (PIE) and direct casework.


Method 1: Principle of Inclusion-Exclusion (PIE)

Step 1: Total number of unrestricted ways The total number of ways to divide 99 students into teams X,Y,ZX, Y, Z of sizes 2,3,42, 3, 4 without any restrictions is: Ntotal=(92)×(73)×(44)N_{\text{total}} = \binom{9}{2} \times \binom{7}{3} \times \binom{4}{4} Ntotal=36×35×1=1260N_{\text{total}} = 36 \times 35 \times 1 = 1260

Step 2: Number of ways where restriction is violated Let AA be the set of distributions where student s1s_1 is selected in team XX. Let BB be the set of distributions where student s2s_2 is selected in team YY.

  • Finding N(A)N(A) (where s1Xs_1 \in X): Since s1s_1 is fixed in team XX, we need to choose 11 more student for XX from the remaining 88 students, then 33 students for YY from the remaining 77 students, and the remaining 44 students go to ZZ: N(A)=(81)×(73)×(44)=8×35×1=280N(A) = \binom{8}{1} \times \binom{7}{3} \times \binom{4}{4} = 8 \times 35 \times 1 = 280

  • Finding N(B)N(B) (where s2Ys_2 \in Y): Since s2s_2 is fixed in team YY, we need to choose 22 more students for YY from the remaining 88 students, then 22 students for XX from the remaining 66 students, and the remaining 44 students go to ZZ: N(B)=(82)×(62)×(44)=28×15×1=420N(B) = \binom{8}{2} \times \binom{6}{2} \times \binom{4}{4} = 28 \times 15 \times 1 = 420

  • Finding N(AB)N(A \cap B) (where s1Xs_1 \in X and s2Ys_2 \in Y): With s1Xs_1 \in X and s2Ys_2 \in Y, we select 11 more student for XX from the remaining 77 students, 22 more students for YY from the remaining 66 students, and the rest 44 go to ZZ: N(AB)=(71)×(62)×(44)=7×15×1=105N(A \cap B) = \binom{7}{1} \times \binom{6}{2} \times \binom{4}{4} = 7 \times 15 \times 1 = 105

Step 3: Applying PIE The number of valid team formations is given by N(AˉBˉ)N(\bar{A} \cap \bar{B}): N(AˉBˉ)=NtotalN(A)N(B)+N(AB)N(\bar{A} \cap \bar{B}) = N_{\text{total}} - N(A) - N(B) + N(A \cap B) N(AˉBˉ)=1260280420+105=665N(\bar{A} \cap \bar{B}) = 1260 - 280 - 420 + 105 = 665


Method 2: Casework Analysis

Since s1Xs_1 \notin X and s2Ys_2 \notin Y, s1s_1 can belong to YY or ZZ, and s2s_2 can belong to XX or ZZ. This gives four mutually exclusive cases for the pair of team assignments (s1,s2)(s_1, s_2):

  1. Case 1: s1Ys_1 \in Y and s2Xs_2 \in X

    • Select 11 remaining student for XX from 77: (71)=7\binom{7}{1} = 7
    • Select 22 remaining students for YY from 66: (62)=15\binom{6}{2} = 15
    • Select 44 remaining students for ZZ from 44: (44)=1\binom{4}{4} = 1 Ways1=7×15×1=105\text{Ways}_1 = 7 \times 15 \times 1 = 105
  2. Case 2: s1Ys_1 \in Y and s2Zs_2 \in Z

    • Select 22 students for XX from 77: (72)=21\binom{7}{2} = 21
    • Select 22 remaining students for YY from 55: (52)=10\binom{5}{2} = 10
    • Select 33 remaining students for ZZ from 33: (33)=1\binom{3}{3} = 1 Ways2=21×10×1=210\text{Ways}_2 = 21 \times 10 \times 1 = 210
  3. Case 3: s1Zs_1 \in Z and s2Xs_2 \in X

    • Select 11 remaining student for XX from 77: (71)=7\binom{7}{1} = 7
    • Select 33 remaining students for YY from 66: (63)=20\binom{6}{3} = 20
    • Select 33 remaining students for ZZ from 33: (33)=1\binom{3}{3} = 1 Ways3=7×20×1=140\text{Ways}_3 = 7 \times 20 \times 1 = 140
  4. Case 4: Both s1Zs_1 \in Z and s2Zs_2 \in Z

    • Select 22 students for XX from 77: (72)=21\binom{7}{2} = 21
    • Select 33 remaining students for YY from 55: (53)=10\binom{5}{3} = 10
    • Select 22 remaining students for ZZ from 22: (22)=1\binom{2}{2} = 1 Ways4=21×10×1=210\text{Ways}_4 = 21 \times 10 \times 1 = 210

Total Ways: Total=105+210+140+210=665\text{Total} = 105 + 210 + 140 + 210 = 665


The number of ways to form such teams is 665.

Number of Ways to Divide Students into Teams with Specific Restrictions | Mathematics PYQ Solution - JEE Challenger