Sum of Trigonometric Functions over Power

Proof
First, let:

Now, consider:
 * $\mathbf A + i \, \mathbf B$

where $i$ is the imaginary unit:

So equating real and imaginary parts:

This proves $(1)$ and $(2)$ respectively.

$(3)$ is proved by finding the quotient of the two results: