What is the closed form for the summation of cos(nθ) from -N to N?

SpaceDomain
Messages
58
Reaction score
0
I am having a difficult time working with some of these infinite series. I studied them in calc 2, but that was a few years ago.

Could someone help me figure out how to find what the following sum converges to:

<br /> \sum_{n=-N}^N{cos(n \theta)} <br />

Shouldn't there be some property or convergence test I could do to find out what it actually converges to?
 
Last edited:
Mathematics news on Phys.org
This expands to:

<br /> cos(-N\theta)+ ... +cos(-4\theta)+ cos(-3\theta)+ cos(-2\theta) + cos(-\theta) + cos(0) <br /> + cos(\theta) + cos(2\theta) + cos(3\theta)+ cos(4\theta)+ ... + cos(N \theta)<br />


And since cos(-\alpha) = cos(\alpha) the above expansion boils down to:

<br /> cos(N\theta)+ ... +cos(4\theta)+ cos(3\theta)+ cos(2\theta) + cos(\theta) + cos(0) <br /> + cos(\theta) + cos(2\theta) + cos(3\theta)+ cos(4\theta)+ ... + cos(N \theta)<br />

Which can be simplified as:

<br /> cos(0) + 2cos(\theta) + 2cos(2\theta) + 2cos(3\theta)+ 2cos(4\theta)+ ... + 2cos(N \theta)<br />
 
Last edited:
So I am actually looking at the case where \theta = \frac{\pi}{2}

Therefore:

<br /> 2cos(0) = 2<br />

<br /> 2cos( \frac{\pi}{2} ) = 0<br />

<br /> 2cos(\pi) = -2 <br />

<br /> 2cos( \frac{3\pi}{2} ) = 0 <br />

<br /> 2cos( 2\pi ) = 2 <br />

.

.

.

<br /> 2cos(N \frac{\pi}{2}) <br />

So the sequence would be:
<br /> \{2, 0, -2, 0, 2, ... , 2cos(N \frac{\pi}{2}) \} <br />

Is my logic correct?
And if so, how do I sum the sequence to find what it converges to?
 
Last edited:
SpaceDomain said:
So I am actually looking at the case where \theta = \frac{\pi}{2}

Therefore:

<br /> 2cos(0) = 2<br />

<br /> 2cos( \frac{\pi}{2} ) = 0<br />

<br /> 2cos(\pi) = -2 <br />

<br /> 2cos( \frac{3\pi}{2} ) = 0 <br />

<br /> 2cos( 2\pi ) = 2 <br />

.

.

.

<br /> 2cos(N \frac{\pi}{2}) <br />

So the sequence would be:
<br /> \{2, 0, -2, 0, 2, ... , 2cos(N \frac{\pi}{2}) \} <br />

Is my logic correct?
And if so, how do I sum the sequence to find what it converges to?

Your logic is correct. The conclusion is that it doesn't converge.
 
Okay. Well this is part of a homework problem, so if an admin could move this to the homework section in "calculus and beyond" that would be great.

Here is the whole problem:

<br /> \lim_{N \rightarrow \infty}<br /> \frac{1}{2N+1}<br /> \sum_{n=-N}^N{|cos(n \frac{\pi}{4})|^2} <br />Here is how far I have evaluated it:

<br /> \lim_{N \rightarrow \infty}<br /> \frac{1}{2N+1}<br /> \sum_{n=-N}^N{cos^2(n \frac{\pi}{4})}<br />

<br /> \lim_{N \rightarrow \infty}<br /> \frac{1}{2N+1}<br /> \sum_{n=-N}^N{\frac{1+cos(2n \frac{\pi}{4})}{2}}<br />

<br /> \lim_{N \rightarrow \infty}<br /> \frac{1}{2N+1}<br /> (\sum_{n=-N}^N{\frac{1}{2}} + <br /> \sum_{n=-N}^N{\frac{1}{2}cos(n \frac{\pi}{2})}})<br />

<br /> \lim_{N \rightarrow \infty}<br /> \frac{1}{2N+1}<br /> \sum_{n=-N}^N{\frac{1}{2}} +<br /> \lim_{N \rightarrow \infty}<br /> \frac{1}{2N+1}<br /> \sum_{n=-N}^N{\frac{1}{2}cos(n \frac{\pi}{2})}}<br />

<br /> \frac{1}{2}<br /> \lim_{N \rightarrow \infty}<br /> \frac{1}{2N+1}(2N+1)+<br /> \lim_{N \rightarrow \infty}<br /> \frac{1}{2N+1}<br /> (\frac{1}{2})<br /> \sum_{n=-N}^N{cos(n \frac{\pi}{2})}}<br />

<br /> \frac{1}{2}<br /> \lim_{N \rightarrow \infty}(1)+<br /> \frac{1}{2}<br /> \lim_{N \rightarrow \infty}<br /> \frac{1}{2N+1}<br /> \sum_{n=-N}^N{cos(n \frac{\pi}{2})}}<br />

<br /> \frac{1}{2}+<br /> \frac{1}{2}<br /> \lim_{N \rightarrow \infty}<br /> \frac{1}{2N+1}<br /> \sum_{n=-N}^N{cos(n \frac{\pi}{2})}}<br />
 
Last edited:
The final answer is
<br /> \frac{1}{2}<br />

So as long as I have done everything else correct so far this part should go to zero:

<br /> \lim_{N \rightarrow \infty}<br /> \frac{1}{2N+1}<br /> \sum_{n=-N}^N{cos(n \frac{\pi}{2})}}<br />

Is that correct?
And if so, how does that go to zero?
 
Maybe that is as far as I can simplify:

<br /> \sum_{n=-N}^N{cos(n \frac{\pi}{2})}}<br />

So I should evaluate the limit on the outside. That would make:
<br /> <br /> \lim_{N \rightarrow \infty}<br /> \frac{1}{2N+1}=0<br />Therefore making the entire term:

<br /> \lim_{N \rightarrow \infty}<br /> \frac{1}{2N+1}<br /> \sum_{n=-N}^N{cos(n \frac{\pi}{2})}} = 0 <br />

Is that correct logic?
 
I suggest you go back to start.
cos2(nπ/4) =1 for n=0, 1/2 for n=1, 0 for n=2, 1/2 for n=3, and cycles from then on. For each set of 4 terms, the sum is 1, so the limit of the original sum is 1/4.
 
Could you please elaborate. I don't understand.
 
  • #10
SpaceDomain said:
Could you please elaborate. I don't understand.

I'm not sure how to elaborate, except to say that I made an error in arithmetic. The sum of four terms (1 + 1/2 +0 + 1/2) is 2 (not 1), so the limit = 1/2. This agrees with the result you got.
 
  • #11
Actually, you can find a close form for your summation expression. Please refer to http://www.voofie.com/concept/Mathematics/" for details:

http://www.voofie.com/content/156/how-to-sum-sinn-q-and-cosn-q/"

In short,

\sum _{n=-N}^N \cos (n \theta )=\cos (N \theta )+\cot \left(\frac{\theta }{2}\right) \sin (N \theta )

With this close form, you can solve your limit problem easily.
 
Last edited by a moderator:
Back
Top