1

On this thread, Bernard kindly gave me the formula

$$\sum_{k=0}^R \cos k \theta = \frac{\sin \frac{(R+1)\theta}{2}}{\sin \frac{\theta}{2}} \cos \frac{R \theta}{2}$$

He describes the formula as well-known. Does it have a name, so I can find a few pages relating to it?

Arnaud D.
  • 20,884

1 Answers1

1

Lagrange Trigonometric Identity. See here

  • Thank you. That link says Lagrange's identity is only valid for $0 \lt \theta \lt 2 \pi$. Is this true? I'm after a universal statement - or at least true for all real numbers. – Richard Burke-Ward Apr 21 '18 at 09:34
  • it is true. If $\theta \notin [0,2\pi ]$ that is not a problem since $\cos \left( k\theta \right)=\cos \left( k\theta +2n\pi \right)$ and you can choose $n$ such that $k\theta +2n\pi \in [0,2\pi ]$. –  Apr 21 '18 at 11:11