第 1217 题:(2021 Fall AMC 12b, 21)
For real numbers $x$, let\[P(x)=1+\cos(x)+i\sin(x)-\cos(2x)-i\sin(2x)+\cos(3x)+i\sin(3x)\]where $i = \sqrt{-1}$. For how many values of $x$ with $0\leq x<2\pi$ does\[P(x)=0?\]
$\textbf{(A)}\ 0$ $\textbf{(B)}\ 1$ $\textbf{(C)}\ 2$ $\textbf{(D)}\ 3$ $\textbf{(E)}\ 4$
- With $z=e^{ix}$ (so $|z|=1$), $P(x)=1+z-z^2+z^3$.
- If $z^3-z^2+z+1=0$ with $|z|=1$, take conjugates ($\overline z=\frac1z$) and multiply by $z^3$: $1-z+z^2+z^3=0$. Subtracting the two equations gives $2z-2z^2=0$, so $z=1$; but $1-1+1+1\ne0$.
- No $x$ works. The answer is (A).
For real $x$, let $P(x)=1-\cos x-i\sin x+\cos2x+i\sin2x-\cos3x-i\sin3x$. For how many values of $x$ with $0\le x<2\pi$ is $P(x)=0$?