Sum of Cosines of Arithmetic Sequence of Angles/Formulation 1

Theorem
Let $\alpha \in \R$ be a real number such that $\alpha \ne 2 \pi k$ for $k \in \Z$.

Then:

Proof
From Sum of Complex Exponentials of i times Arithmetic Sequence of Angles: Formulation 1:


 * $\displaystyle \sum_{k \mathop = 0}^n e^{i \paren {\theta + k \alpha} } = \paren {\map \cos {\theta + \frac {n \alpha} 2} + i \map \sin {\theta + \frac {n \alpha} 2} } \frac {\map \sin {\alpha \paren {n + 1} / 2} } {\map \sin {\alpha / 2} }$

From Euler's Formula, this can be expressed as:


 * $\displaystyle \sum_{k \mathop = 0}^n \paren {\map \cos {\theta + k \alpha} + i \map \sin {\theta + k \alpha} } = \frac {\map \sin {\alpha \paren {n + 1} / 2} } {\map \sin {\alpha / 2} } \paren {\map \cos {\theta + \frac {n \alpha} 2} + i \map \sin {\theta + \frac {n \alpha} 2} }$

Equating real parts:
 * $\displaystyle \sum_{k \mathop = 0}^n \map \cos {\theta + k \alpha} = \frac {\map \sin {\alpha \paren {n + 1} / 2} } {\map \sin {\alpha / 2} } \map \cos {\theta + \frac {n \alpha} 2}$