QlarIITy

MathematicsJEE Main 2021 · 18 MarchInteger

Let P(x)P(x) be a real polynomial of degree 3 which vanishes at x=−3x = -3. Let P(x)P(x) have local minima at x=1x = 1, local maxima at x=−1x = -1 and ∫−11P(x)dx=18\int_{-1}^{1}P(x)dx = 18, then the sum of all the coefficients of the polynomial P(x)P(x) 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. The sum of the coefficients of a polynomial is its value at 1.

Concept refresher. For an odd function hh,

∫−aah(x)dx=0\int_{-a}^{a}h(x)dx = 0

Picture the situation. Since P′P^{\prime} is a quadratic vanishing at ±1\pm 1, P′(x)=k(x2−1)P^{\prime}(x) = k(x^2 - 1) and P(x)=k(x33−x)+cP(x) = k\left(\dfrac{x^3}{3} - x\right) + c. The sum of all the coefficients of a polynomial is its value at x=1x = 1.

Approach. Find the two constants, then evaluate the polynomial at 1.

  1. Step 1: The constants

    The zero at −3-3 gives P(−3)=k(−9+3)+c=0P(-3) = k(-9 + 3) + c = 0, so c=6kc = 6k. In the integral the odd part contributes nothing, so ∫−11P(x)dx=2c=18\int_{-1}^{1}P(x)dx = 2c = 18, which gives c=9c = 9 and k=32k = \dfrac{3}{2}.

  2. Step 2: The sum

    Since k>0k > 0, P′P^{\prime} changes from negative to positive at 1, a minimum, as required. The sum of the coefficients is P(1)=32(13−1)+9=−1+9=8P(1) = \dfrac{3}{2}\left(\dfrac{1}{3} - 1\right) + 9 = -1 + 9 = 8.

Answer. 8

Sanity check. Written out, P(x)=x32−3x2+9P(x) = \dfrac{x^3}{2} - \dfrac{3x}{2} + 9, and 12−32+9=8\dfrac{1}{2} - \dfrac{3}{2} + 9 = 8; also P(−3)=−272+92+9=0P(-3) = -\dfrac{27}{2} + \dfrac{9}{2} + 9 = 0.

Common wrong answers

  • 9: Giving the constant term c=9c = 9 in place of P(1)P(1) gives 9.
  • 10: A sign slip in the zero condition, c=−6kc = -6k, gives k=−32k = -\dfrac{3}{2} and P(1)=1+9=10P(1) = 1 + 9 = 10.

Key takeaway

The trap. The odd part of a function contributes nothing to an integral over a symmetric interval.

How toppers think. They integrate only the constant term over the symmetric interval.

Remember. P(x)=k(x33−x)+cP(x) = k\left(\dfrac{x^3}{3} - x\right) + c with c=6kc = 6k

More on Maxima & Minima