2022 AMC 12B Problem 20

Attempt Problem 20 of the 2022 AMC 12B below, then check your answer against the professionally curated solution from LIVE by Po-Shen Loh. You can also try the full timed exam, view all 2022 AMC 12B solutions, or check the answer key.

All problems are used with official legal permission of the Mathematical Association of America (MAA).

20.

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?
1010
1313
1919
2020
2323
Answer: E
Concepts:polynomialChinese Remainder Theorem
Small hint:
The least-degree polynomial is a cubic; write P(x)=x+2P(x) = x + 2 +(x2+x+1)(px+q)+ (x^2 + x + 1)(px + q)
Big hint:
Reduce that expression modulo x2+1x^2 + 1 using x2≡−1,x^2 \equiv -1, and match it to 2x+12x + 1
Solution:
No linear polynomial can have the two different remainders. If P(x)=ax2+bx+cP(x)=ax^2+bx+c were quadratic, comparing its remainders would give both b−a=1, c−a=2b-a=1,\ c-a=2 and b=2, c−a=1,b=2,\ c-a=1, a contradiction. Thus the least possible degree is 3.3. Write P(x)=(x+2)P(x) = (x + 2) +(x2+x+1)(px+q),+ (x^2 + x + 1)(px + q), which has remainder x+2x + 2 upon division by x2+x+1.x^2 + x + 1.
Reducing modulo x2+1x^2 + 1 (so x2≡−1x^2 \equiv -1) gives remainder (q+1)x+(2−p).(q + 1)x + (2 - p). Setting this equal to 2x+12x + 1 gives q=1q = 1 and p=1.p = 1.
Then P(x)=x3+2x2+3x+3,P(x) = x^3 + 2x^2 + 3x + 3, and the sum of the squares of the coefficients is 1+4+9+9=23.1 + 4 + 9 + 9 = 23.
Thus, the correct answer is E.
LIVE by Po-Shen Loh
Programs

LIVE Classes

Self-Paced Classes

Stars

Scholarship

About Us

Who Is Po-Shen Loh?

Email Contact

Newsletter

Jobs

Become a Star

For a more Thought Full world.

© 2026 Expii, Inc.