QlarIITy

MathematicsJEE Main 2023 · 1 FebruaryInteger

Number of integral solutions to the equation x+y+z=21x + y + z = 21, where x≥1,y≥3,z≥4x \geq 1, y \geq 3, z \geq 4, is equal to ______ .

Try it before you look.The full solution is on this page, below the answer box, the moment you check. No sign-in needed.

Solution

Core idea. Lower limits are removed by a shift, then the standard formula applies.

Concept refresher. The number of solutions of x1+x2+…+xk=nx_1 + x_2 + \ldots + x_k = n in non-negative integers is

N=n+k−1Ck−1N = {}^{n+k-1}C_{k-1}

A variable that must be at least mm is replaced by mm plus a new non-negative variable.

Picture the situation. Each variable has a lower limit: 1, 3 and 4. Handing each variable its minimum uses up 8 of the total, and what is left is shared among the three variables with no further restriction. Counting such free sharings is a standard formula.

Approach. Shift each variable by its lower limit and count the non-negative solutions.

  1. Step 1: Shift the variables

    Put x=a+1x = a + 1, y=b+3y = b + 3 and z=c+4z = c + 4 with aa, bb, cc non-negative. Then a+b+c=21−8=13a + b + c = 21 - 8 = 13.

  2. Step 2: Count

    Three non-negative integers adding to 13 can be chosen in 13+2C2=15C2=105{}^{13+2}C_2 = {}^{15}C_2 = 105 ways.

Answer. 105

Sanity check. If a=0a = 0 the pair bb, cc can be chosen in 14 ways, if a=1a = 1 in 13 ways, and so on down to 1; the sum 14+13+…+114 + 13 + \ldots + 1 is 105.

Common wrong answers

  • 66: Using the formula for positive solutions after shifting gives 12C2=66{}^{12}C_2 = 66.
  • 253: Ignoring the lower limits and counting non-negative solutions of the original equation gives 23C2=253{}^{23}C_2 = 253.

Key takeaway

The trap. After the shift the new variables may be zero.

How toppers think. They subtract the sum of the lower limits from the total in one step.

Remember. N=n+k−1Ck−1N = {}^{n+k-1}C_{k-1}

More on Distribution Problems