QlarIITy

MathematicsJEE Main 2024 · 27 JanuaryInteger

The coefficient of x2012x^{2012} in the expansion of (1−x)2008(1+x+x2)2007(1 - x)^{2008}(1 + x + x^2)^{2007} 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. Combine factors with a factorisation before expanding.

Concept refresher. The difference of cubes factorises as

1−x3=(1−x)(1+x+x2)1 - x^3 = (1 - x)(1 + x + x^2)

Picture the situation. There are 2008 factors (1−x)(1 - x) and 2007 factors (1+x+x2)(1 + x + x^2). Each quadratic factor can be paired with one linear factor to give 1−x31 - x^3, leaving one linear factor over. The powers of xx in a power of 1−x31 - x^3 are all multiples of 3, which restricts the powers the product can contain.

Approach. Rewrite the product with the difference of cubes and see which powers can occur.

  1. Step 1: Simplify the product

    Pair each quadratic factor with one linear factor. Since (1−x)(1+x+x2)=1−x3(1 - x)(1 + x + x^2) = 1 - x^3, the product is

    (1−x)×[(1−x)(1+x+x2)]2007=(1−x)(1−x3)2007\begin{aligned} &(1 - x) \times \left[(1 - x)(1 + x + x^2)\right]^{2007} \\[4pt] &= (1 - x)(1 - x^3)^{2007} \end{aligned}
  2. Step 2: Powers available

    The bracket (1−x3)2007(1 - x^3)^{2007} contains only powers of xx that are multiples of 3. The term in x2012x^{2012} of the product needs the power 2012 or 2011 from it.

  3. Step 3: Conclusion

    Since 2012=3×670+22012 = 3 \times 670 + 2 and 2011=3×670+12011 = 3 \times 670 + 1, neither power occurs, and the coefficient is 0.

Answer. 0

Sanity check. The same happens on a small scale:

(1−x)2(1+x+x2)=(1−x)(1−x3)=1−x−x3+x4\begin{aligned} &(1 - x)^2(1 + x + x^2) \\[4pt] &= (1 - x)(1 - x^3) = 1 - x - x^3 + x^4 \end{aligned}

has no term in x2x^2.

Common wrong answers

  • -1: The value −1-1 is the coefficient of xx in the spare factor 1−x1 - x, which would matter only if the power 2011 occurred in the bracket.

Key takeaway

The trap. A coefficient can be zero because the power never occurs.

How toppers think. They look at the remainders of the powers on division by 3.

Remember. 1−x3=(1−x)(1+x+x2)1 - x^3 = (1 - x)(1 + x + x^2)

More on General & Middle Term