Let $f : [−π, π] → \mathbb{R}$ be continuous. Pick out the case(s) which imply that $f ≡ 0$.
(a) $\int_{-\pi}^{\pi}{x^nf(x)\,dx} = 0$, for all $n ≥ 0$.
(b)$\int_{-\pi}^{\pi}{\cos (nx)\, f(x)\,dx} = 0$, for all $n ≥ 0$.
(c)$\int_{-\pi}^{\pi}{\sin (nx)\, f(x)\,dx} = 0$, for all $n ≥ 1$ .
If we take $\sin nx$ in (b) and $\cos nx$ in (a), then the integral becomes zero. So, (b) and (c) are not true.
But I can not verify (a). Can I get some help?
Also, in the answer it is given that all are true.
Where did I make a mistake?