Let $t$ be a real number such that $\sin \dfrac{t}{2}\neq 0$. Show that
$$\sum ^{n}_{k=1}\sin kt=\dfrac{\cos\dfrac{t}{2}-\cos \left( n+\dfrac{1}{2}\right) t}{2\sin \dfrac{t}{2}}$$ for every positive $n$. What method should I use?
Any explanation is much appreciated.