Analyzing the Setup
Imagine you are staring at the expression (1−x−x2+x3)6. It looks like a monster, but in the world of JEE Advanced, monsters are often just illusions.
Look at the inner polynomial: 1−x−x2+x3. If we group the first two terms as (1−x) and the last two as −x2(1−x), we see a common factor.
We can rewrite the base as (1−x)(1−x2). Now, our expression becomes:
[(1−x)(1−x2)]6=(1−x)6(1−x2)6
We have successfully transformed a nightmare into a product of two standard binomials.
The Binomial Strategy
Now that we have (1−x)6(1−x2)6, we need the coefficient of x7. We treat these two binomials as independent entities.
For the first part, (1−x)6, the general term is:
Tr+1=(r6)(−x)r=(r6)(−1)rxr
For the second part, (1−x2)6, we use a different index, k. Its general term is:
Tk+1=(k6)(−x2)k=(k6)(−1)kx2k
When we multiply these together, we get the combined general term:
The Constraint Hunt
We are hunting for the coefficient of x7. This means the exponent of x in our combined term, r+2k, must equal 7.
We have the Diophantine equation r+2k=7, subject to the constraints 0≤r≤6 and 0≤k≤6. Let's test values for k:
If k=0, r=7 (Invalid, r>6).
If k=1, r=5 (Valid).
If k=2, r=3 (Valid).
If k=3, r=1 (Valid).
* If k=4, r=−1 (Invalid).
The Final Calculation
We calculate the coefficients for each valid pair (r,k):
For
(r=5,k=1):
(56)(16)(−1)5+1=6×6×1=36
For
(r=3,k=2):
(36)(26)(−1)3+2=20×15×(−1)=−300
For
(r=1,k=3):
(16)(36)(−1)1+3=6×20×1=120
Summing these up, we get 36−300+120=−144. The final coefficient is −144.