If $$f(x)=a_{0}+a_{1}\cos(x)+a_{2}\cos(2x)+\cdots+a_{n}\cos(nx)$$ where $a_{0}, a_{1},\ldots,a_{n}$ are non-zero real numbers and $$a_{n}>\lvert a_{0}\rvert+\lvert a_{1}\rvert+\cdots \lvert a_{n-1}\rvert$$ then the number of roots of $f(x)$ in the interval $0\le x\le 2\pi$ is:
The choices/options are:Atmost $n$ , more than $n$ but less than $2n$ , at least $n$ , zero
My try:
$$\lvert f(x)\rvert \le \lvert a_{0}\rvert+\lvert a_{1}\rvert+\cdots \lvert a_{n-1} \rvert+\lvert a_{n} \rvert$$ $$\implies \lvert f(x)\rvert \lt a_{n} +\lvert a_{n} \rvert$$ $$\implies \lvert f(x)\rvert \lt 2a_{n}$$ I am unable to proceed further...Thanks for any answers!
Hint: when $\cos(x) = \pm 1$ what can you say about $f(x)$?