If $N$ is odd, show $\sin^N x$ can be written as a finite sum of the form $\sum _{k=1} ^{N} a_k \sin(kx)$? I am reading a Fourier series book, I got this exercise from the book but have no clue how to prove it. Would you mind kindly giving me some hints?
Thanks!

As we know in a Fourier series, when $f(x)$ is odd then the series reduces to
$$f(x)=\sum_{n=0}^\infty b_n\sin nx$$
here $\sin x$ is an odd function and for odd $N$, $\sin^Nx$ is odd as well. This means
$$\sin^Nx=\sum_{n=0}^\infty b_n\sin nx$$
for $n>N>0$ we have $b_n=0$ because
\begin{align}
2\pi b_n
&= \int_{-\pi}^{\pi} \sin^{N}x\sin nx\,dx \\
&= {\bf Im}\int_{-\pi}^{\pi} \sin^{N}xe^{inx}\,dx \\
&= {\bf Im}\int_{-\pi}^{\pi} \left(\dfrac{e^{ix}-e^{-ix}}{2i}\right)^{N}e^{inx}\,dx \\
&= {\bf Im}\left(\dfrac{1}{2i}\right)^{N}\int_{-\pi}^{\pi} \sum_{k=0}^N{N \choose k}(-1)^{N-k}\left(e^{ix}\right)^{k}\left(e^{-ix}\right)^{N-k}\left(e^{inx}\right)\,dx \\
&= {\bf Im}\left(\dfrac{1}{2i}\right)^{N}\sum_{k=0}^N {N \choose k}(-1)^{N-k}\int_{-\pi}^{\pi} e^{i(2k-N+n)x}\,dx \\
&= {\bf Im}\left(\dfrac{1}{2i}\right)^{N}\sum_{k=0}^N {N \choose k}(-1)^{N-k}0\hspace{2cm};\hspace{2cm}2k-N+n>0\\
&= 0
\end{align}
