QlarIITy

MathematicsJEE Main 2025 · 23 JanuarySingle correct

If in the expansion of (1+x)p(1−x)q(1 + x)^p(1 - x)^q, the coefficients of xx and x2x^2 are 1 and −2-2, respectively, then p2+q2p^2 + q^2 is equal to :

  1. Option A: 18
  2. Option B: 13
  3. Option C: 8
  4. Option D: 20
Try it before you look.The full solution is on this page, below the options, the moment you check. No sign-in needed.

Solution

Core idea. The first coefficients of a product come from the first few terms of each factor.

Concept refresher. For small powers,

(1+x)p=1+px+p(p−1)2x2+…(1 + x)^p = 1 + px + \dfrac{p(p - 1)}{2}x^2 + \ldots

and (1−x)q(1 - x)^q has the same form with xx replaced by −x-x.

Picture the situation. Only the terms up to x2x^2 of each factor matter. The term in xx of the product comes from pxpx and −qx-qx. The term in x2x^2 comes from three places: the square term of each factor and the product of the two first-power terms. Two equations for pp and qq result.

Approach. Collect the coefficients of xx and x2x^2 in the product and solve for the two indices.

  1. Step 1: Coefficient of x

    The terms in xx are pxpx from the first factor and −qx-qx from the second, so p−q=1p - q = 1.

  2. Step 2: Coefficient of the square

    The terms in x2x^2 give pC2+qC2−pq=(p−q)2−(p+q)2{}^pC_2 + {}^qC_2 - pq = \dfrac{(p - q)^2 - (p + q)}{2}. Setting this equal to −2-2 with p−q=1p - q = 1 gives p+q=5p + q = 5.

  3. Step 3: Solve

    From the difference 1 and the sum 5, p=3p = 3 and q=2q = 2, so p2+q2=9+4=13p^2 + q^2 = 9 + 4 = 13.

Answer. (B) 13

Sanity check. Check:

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

with coefficients 1 and −2-2 as required.

Why the other options are wrong

  • (A) The value 18 would need p=q=3p = q = 3, but then the coefficient of xx would be 0.
  • (C) The value 8 would need p=q=2p = q = 2, but then the coefficient of xx would be 0.
  • (D) The value 20 would need p=4p = 4 and q=2q = 2, but then the coefficient of xx would be 2.

Key takeaway

The trap. The square term has a cross contribution from the two first-power terms.

How toppers think. They write the coefficient of the square with the sum and difference of the indices.

Remember. (p−q)2−(p+q)2\dfrac{(p - q)^2 - (p + q)}{2}

More on General & Middle Term