PDA

View Full Version : a sum of Cosines (Fouries series)


phonic
Dec1-11, 04:37 PM
Dear All,

I wonder how to calculate the sum of the following Cosines:

\sum_{n=1}^\infty \cos(nx)


Can anyone give a hint? Thanks a lot!

micromass
Dec1-11, 05:57 PM
First, use the following formula:

\cos \alpha= \frac{e^{i\alpha}+e^{-i\alpha}}{2}.

Then apply formulas of geometric series.

dextercioby
Dec1-11, 06:49 PM
A little simpler is to directly compute

\sum_{n=1}^{\infty} (\cos nx + i\sin nx)

and at the end separate the real and imaginary parts. Also gives you the sume of sines.