QlarIITy

MathematicsJEE Main 2021 · 18 MarchInteger

If f(x)f(x) and g(x)g(x) are two polynomials such that the polynomialP(x)=f(x3)+xg(x3)P(x) = f\left(x^3\right) + xg\left(x^3\right)is divisible by x2+x+1x^2 + x + 1, then P(1)P(1) 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. Divisibility by a quadratic is two conditions, one for each root.

Concept refresher. If a polynomial P(x)P(x) is divisible by q(x)q(x), then P(r)=0P(r) = 0 for every root rr of qq. The roots of x2+x+1x^2 + x + 1 are ω\omega and ω2\omega^2, with

ω3=1\omega^3 = 1

and ω≠ω2\omega \neq \omega^2.

Picture the situation. The polynomial is built from two others evaluated at the cube of the variable. At each complex cube root of unity that cube is 1, so the polynomial there is a simple combination of the two numbers f(1)f(1) and g(1)g(1). Vanishing at both roots gives two independent conditions on these two numbers.

Approach. Evaluate the polynomial at the two roots, solve for the two values at one, and evaluate at one.

  1. Step 1: Two conditions

    Since PP is divisible by x2+x+1x^2 + x + 1, it vanishes at ω\omega and ω2\omega^2. At both points x3=1x^3 = 1, so f(1)+ωg(1)=0f(1) + \omega g(1) = 0 and f(1)+ω2g(1)=0f(1) + \omega^2 g(1) = 0.

  2. Step 2: Solve

    Subtracting, (ω−ω2)g(1)=0(\omega - \omega^2)g(1) = 0, and ω≠ω2\omega \neq \omega^2, so g(1)=0g(1) = 0; then f(1)=0f(1) = 0 as well. At x=1x = 1 also x3=1x^3 = 1, so P(1)=f(1)+g(1)=0P(1) = f(1) + g(1) = 0.

Answer. 0

Sanity check. An example: f(x)=x−1f(x) = x - 1 and g(x)=0g(x) = 0 give P(x)=x3−1=(x−1)(x2+x+1)P(x) = x^3 - 1 = (x - 1)(x^2 + x + 1), which is divisible, and P(1)=0P(1) = 0.

Common wrong answers

  • 3: Writing P(1)=3Q(1)P(1) = 3Q(1) and taking Q(1)Q(1) as 1 gives 3; divisibility alone only makes P(1)P(1) a multiple of 3, and here the multiple is zero.

Key takeaway

The trap. Two different roots give two independent equations, so both unknown values are fixed.

How toppers think. They note that the cube of each root is one, which removes the inner polynomials.

Remember. ω3=1\omega^3 = 1 and ω≠ω2\omega \neq \omega^2

More on Cube Roots of Unity