Let $f_k : = \sin(\omega t+ k \alpha)$ for $k \in \mathbb{N}_0$ and $\alpha, \omega \in \mathbb{R}$ fixed. The following formula is convenient in some engineering applications: $$\sum_{j=0}^N f_k = \frac{\sin(\frac{N}{2}\alpha)}{\sin(\frac{1}{2}\alpha)}\sin \left(\omega t + \frac{N-1}{2}\alpha\right).$$
As a fun exercise, I have been attempting to prove this useful formula, but cannot seem to get it for $N > 1$. For $N=1$, we have the following elementary argument:
Indeed, \begin{eqnarray*} \sin(\omega t) + \sin(\omega t + \alpha) &=& \text{Im}( (1 + e^{i \alpha})e^{i \omega t}), \end{eqnarray*}
and \begin{eqnarray*} 1+e^{i\alpha} &=& \frac{\sin(\alpha)}{\sin(\frac{\alpha}{2})}e^{i \alpha/2}. \end{eqnarray*}
Can someone help me with the general case?
HINT:
You have already proven the base case. Assume that it is true for some $K$, so that $$\sin\omega t+\sin(\omega t+\alpha)+\cdots+\sin(\omega t+K\alpha)= \frac{\sin(\frac{K}{2}\alpha)}{\sin(\frac{1}{2}\alpha)}\sin \left(\omega t + \frac{K-1}{2}\alpha\right).$$ Then for $K+1$, we have that $$\sum_{k=0}^{K+1}f_k=\sin(\omega t+(K+1)\alpha)+\frac{\sin(\frac{K}{2}\alpha)}{\sin(\frac{1}{2}\alpha)}\sin \left(\omega t + \frac{K-1}{2}\alpha\right)$$ and we wish to show that $$\sum_{k=0}^{K+1}f_k=\frac{\sin(\frac{K+1}{2}\alpha)}{\sin(\frac{1}{2}\alpha)}\sin \left(\omega t + \frac{K}{2}\alpha\right).$$ This is equivalent to proving that $$\small \sin\frac\alpha2\sin(\omega t+(K+1)\alpha)+\sin\frac{K\alpha}2\sin \left(\omega t + \frac{K-1}{2}\alpha\right)=\sin\frac{(K+1)\alpha}2\sin \left(\omega t + \frac{K}{2}\alpha\right)$$ and use the trigonometric identity $\sin A\sin B=\frac12[\cos(A-B)-\cos(A+B)]$.