How do I evaluate $\cos(x) + \cos (2x) +\cos (3x) + ... + \cos (nx)$?

1.4k Views Asked by At

How to evaluate the above expression and express the answer in terms of $n$ and $x$?

2

There are 2 best solutions below

0
On

Hint

The desired sum is the real part of the geometric sum:

$$\sum_{k=1}^n e^{ikx}$$

0
On

hint multiply numerator and denominator by $\sin(x/2)$ and then use a telescopic series.