2021 AMC 12B Fall Problem 21

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

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

21.

For real numbers x,x, let P(x)=1+cos⁡(x)+isin⁡(x)−cos⁡(2x)−isin⁡(2x)+cos⁡(3x)+isin⁡(3x) \begin{aligned} P(x) &= 1 + \cos(x) + i\sin(x) \\ &\quad {}- \cos(2x) - i\sin(2x) \\ &\quad {}+ \cos(3x) + i\sin(3x) \end{aligned} where i=−1.i = \sqrt{-1}. For how many values of xx with 0≤x<2π0 \le x \lt 2\pi does P(x)=0?P(x) = 0?
00
11
22
33
44
Answer: A
Concepts:complex numbertrigonometric identity
Small hint:
Write P(x)=1+eix−e2ix+e3ixP(x) = 1 + e^{ix} - e^{2ix} + e^{3ix} and require both the real and imaginary parts to vanish
Big hint:
The imaginary part factors as sin⁡(2x)(2cos⁡x−1)\sin(2x)(2\cos x - 1)
Solution:
Group by Euler’s formula: P(x)=1+eix−e2ix+e3ix.P(x) = 1 + e^{ix} - e^{2ix} + e^{3ix}. The imaginary part is sin⁡x−sin⁡2x+sin⁡3x=(sin⁡x+sin⁡3x)−sin⁡2x=sin⁡2x(2cos⁡x−1). \begin{gathered} \sin x - \sin 2x + \sin 3x \\ = (\sin x + \sin 3x) - \sin 2x \\ = \sin 2x(2\cos x - 1). \end{gathered}
This vanishes when sin⁡2x=0\sin 2x = 0 (so x=0,π2,π,3π2x = 0, \tfrac{\pi}{2}, \pi, \tfrac{3\pi}{2}) or cos⁡x=12\cos x = \tfrac12 (so x=π3,5π3x = \tfrac{\pi}{3}, \tfrac{5\pi}{3}).
Checking the real part 1+cos⁡x−cos⁡2x+cos⁡3x1 + \cos x - \cos 2x + \cos 3x at each of these values gives ±2\pm 2 or 1,1, never 0.0. So no xx makes P(x)=0.P(x) = 0.
Thus, the correct answer is A.
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.