2019 AMC 12B Problem 21

Attempt Problem 21 of the 2019 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 2019 AMC 12B solutions, or check the answer key.

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

21.

How many quadratic polynomials with real coefficients are there such that the set of roots equals the set of coefficients? (For clarification: If the polynomial is ax2+bx+c,ax^2+bx+c, a≠0,a\neq0, and the roots are rr and s,s, then the requirement is that {a,b,c}={r,s}.\{a,b,c\}=\{r,s\}.)
33
44
55
66
infinitely many
Answer: B
Concepts:Vieta’s Formulascaseworksystem of equations
Small hint:
Since {a,b,c}\{a,b,c\} has at most two values, at least two coefficients are equal
Big hint:
By Vieta, r+s=−bar+s=-\dfrac{b}{a} and rs=ca;rs=\dfrac{c}{a}; work through each equal-coefficient case
Solution:
If all three coefficients had one value u,u, the polynomial would be u(x2+x+1),u(x^2+x+1), whose roots do not equal u.u. Thus the coefficient and root sets both have two distinct values, so exactly two coefficients coincide. By Vieta’s formulas, r+s=−bar+s=-\dfrac{b}{a} and rs=ca.rs=\dfrac{c}{a}.
First suppose a=b=ua=b=u and c=v.c=v. The roots are u,v,u,v, so Vieta gives u+v=−1u+v=-1 and uv=vu.uv=\frac{v}{u}. Hence v(u2−1)=0,v(u^2-1)=0, producing x2+x−2x^2+x-2 and −x2−x.-x^2-x.
If b=c=vb=c=v and a=u,a=u, the same product equation gives v(u2−1)=0,v(u^2-1)=0, while the sum equation leaves only u=1, v=−12.u=1,\ v=-\tfrac12. This gives x2−12x−12.x^2-\tfrac12x-\tfrac12.
Finally, if a=c=ua=c=u and b=v,b=v, the product equation gives uv=1,uv=1, so v=1u.v=\frac{1}{u}. The sum equation becomes u3+u+1=0.u^3+u+1=0. This strictly increasing cubic has one real root u,u, producing exactly one more polynomial, ux2+1ux+u.ux^2+\dfrac1u x+u. Therefore there are 44 polynomials.
Thus, B is the correct answer.
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.