Skip to main content

2022 AMC 10B Problem 21

Problem 21 of 25HarderAlgebra

Let P(x)P(x) be a polynomial with rational coefficients such that when P(x)P(x) is divided by the polynomial x2+x+1,x^2 + x + 1, the remainder is x+2,x+2, and when P(x)P(x) is divided by the polynomial x2+1,x^2+1, the remainder is 2x+1.2x+1. There is a unique polynomial of least degree with these two properties. What is the sum of the squares of the coefficients of that polynomial?

Answer choices

Show solution

Solution

The first remainder condition gives P(x)=(x2+x+1)Q(x)+x+2.\begin{aligned}P(x)&=(x^2+x+1)Q(x)\\&\quad+x+2.\end{aligned} for some polynomial Q.Q. Modulo x2+1,x^2+1, we have x21,x^2\equiv-1, so P(x)xQ(x)+x+2.P(x)\equiv xQ(x)+x+2. If Q(x)=cQ(x)=c is constant, this remainder is (c+1)x+2,(c+1)x+2, which cannot equal 2x+1.2x+1. Thus QQ must have degree at least 1.1. Now let Q(x)=ax+b.Q(x)=ax+b. Reducing modulo x2+1x^2+1 gives P(x)(b+1)x+(2a).P(x)\equiv(b+1)x+(2-a). Matching this with 2x+12x+1 yields a=b=1.a=b=1. This constructs a degree-33 polynomial, and the failed constant case proves that degree 33 is minimal. Therefore, P(x)=(x+1)(x2+x+1)+x+2=x3+2x2+3x+3.\begin{aligned}P(x)&=(x+1)(x^2+x+1)\\&\quad+x+2\\&=x^3+2x^2+3x+3.\end{aligned} The sum of the squares of its coefficients is 12+22+32+32=23.1^2+2^2+3^2+3^2=23. Thus, the answer is E .

More practice

Concepts: polynomial · system of equations

Problem text and solution from the LIVE past-contest archive. See also the AoPS wiki page for community solutions.