Skip to main content
Back to Permutations & Combinations
JEE Main 2023
Permutations & Combinations
Permutations and Combinations
Medium

Question

Number of integral solutions to the equation x+y+z=21x+y+z=21, where x1,y3,z4x \ge 1,y\ge3,z\ge4, is equal to ____________.

Answer: 21

Solution

Key Concepts and Formulas

  • Stars and Bars Theorem: The number of non-negative integer solutions to the equation x1+x2+...+xk=nx_1 + x_2 + ... + x_k = n is given by (n+k1k1)=(n+k1n){n+k-1 \choose k-1} = {n+k-1 \choose n}.
  • Variable Substitution: When variables have lower bound restrictions (e.g., xax \ge a), we can substitute new variables to transform the problem into one with non-negative integer solutions.

Step-by-Step Solution

Step 1: State the given equation and constraints

We are given the equation x+y+z=21x+y+z=21, with the constraints x1x \ge 1, y3y \ge 3, and z4z \ge 4.

Step 2: Transform the variables to satisfy non-negativity

To apply the Stars and Bars theorem, we need non-negative integer solutions. We introduce new variables x1x_1, y1y_1, and z1z_1 such that:

  • x=x1+1x = x_1 + 1, where x10x_1 \ge 0
  • y=y1+3y = y_1 + 3, where y10y_1 \ge 0
  • z=z1+4z = z_1 + 4, where z10z_1 \ge 0

This ensures that x1x \ge 1, y3y \ge 3, and z4z \ge 4.

Step 3: Substitute the new variables into the original equation

Substitute the expressions for xx, yy, and zz in terms of x1x_1, y1y_1, and z1z_1 into the original equation: (x1+1)+(y1+3)+(z1+4)=21(x_1 + 1) + (y_1 + 3) + (z_1 + 4) = 21

Step 4: Simplify the equation

Simplify the equation by combining the constants: x1+y1+z1+1+3+4=21x_1 + y_1 + z_1 + 1 + 3 + 4 = 21 x1+y1+z1+8=21x_1 + y_1 + z_1 + 8 = 21 x1+y1+z1=218x_1 + y_1 + z_1 = 21 - 8 x1+y1+z1=13x_1 + y_1 + z_1 = 13

Now we have an equation with non-negative integer solutions, where x10x_1 \ge 0, y10y_1 \ge 0, and z10z_1 \ge 0.

Step 5: Apply the Stars and Bars Theorem

We can now apply the Stars and Bars theorem to find the number of non-negative integer solutions to x1+y1+z1=13x_1 + y_1 + z_1 = 13. Here, n=13n = 13 and k=3k = 3. The number of solutions is given by: (n+k1k1)=(13+3131)=(152){n+k-1 \choose k-1} = {13+3-1 \choose 3-1} = {15 \choose 2}

Step 6: Calculate the binomial coefficient

Calculate the binomial coefficient: (152)=15!2!(152)!=15!2!13!=15×142×1=15×7=105{15 \choose 2} = \frac{15!}{2!(15-2)!} = \frac{15!}{2!13!} = \frac{15 \times 14}{2 \times 1} = 15 \times 7 = 105

Common Mistakes & Tips

  • Forgetting to adjust the variables: The most common mistake is forgetting to introduce new variables to account for the lower bound restrictions on the original variables. Always transform the variables to ensure they are non-negative.
  • Incorrectly applying the formula: Make sure you correctly identify nn and kk in the Stars and Bars formula. nn is the sum the variables must add up to, and kk is the number of variables.
  • Double-checking constraints: Always double-check that the new variables satisfy the non-negativity constraints after the substitution.

Summary

We are given the equation x+y+z=21x+y+z=21 with the constraints x1,y3,z4x \ge 1, y \ge 3, z \ge 4. By substituting x=x1+1x = x_1 + 1, y=y1+3y = y_1 + 3, and z=z1+4z = z_1 + 4, we transform the equation into x1+y1+z1=13x_1 + y_1 + z_1 = 13 with non-negative integer solutions. Applying the Stars and Bars theorem, the number of solutions is (13+3131)=(152)=105{13+3-1 \choose 3-1} = {15 \choose 2} = 105.

Final Answer

The final answer is 105\boxed{105}.

Practice More Permutations & Combinations Questions

View All Questions