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

In summary, the conversation discusses a difficult problem involving an infinite series and finding its convergence. The speaker provides an expansion of the series and simplifies it to a sequence. They also discuss the logic behind summing the sequence to find the convergence. Another person joins the conversation and suggests an error in arithmetic. They also provide a resource for finding a close form for the summation expression, which can help solve the limit problem. Ultimately, the limit of the original sum is found to be 1/2.
  • #1
SpaceDomain
58
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:

[tex]
\sum_{n=-N}^N{cos(n \theta)}
[/tex]

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
  • #2
This expands to:

[tex]
cos(-N\theta)+ ... +cos(-4\theta)+ cos(-3\theta)+ cos(-2\theta) + cos(-\theta) + cos(0)
+ cos(\theta) + cos(2\theta) + cos(3\theta)+ cos(4\theta)+ ... + cos(N \theta)
[/tex]


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

[tex]
cos(N\theta)+ ... +cos(4\theta)+ cos(3\theta)+ cos(2\theta) + cos(\theta) + cos(0)
+ cos(\theta) + cos(2\theta) + cos(3\theta)+ cos(4\theta)+ ... + cos(N \theta)
[/tex]

Which can be simplified as:

[tex]
cos(0) + 2cos(\theta) + 2cos(2\theta) + 2cos(3\theta)+ 2cos(4\theta)+ ... + 2cos(N \theta)
[/tex]
 
Last edited:
  • #3
So I am actually looking at the case where [tex] \theta = \frac{\pi}{2} [/tex]

Therefore:

[tex]
2cos(0) = 2
[/tex]

[tex]
2cos( \frac{\pi}{2} ) = 0
[/tex]

[tex]
2cos(\pi) = -2
[/tex]

[tex]
2cos( \frac{3\pi}{2} ) = 0
[/tex]

[tex]
2cos( 2\pi ) = 2
[/tex]

[tex] . [/tex]

[tex] . [/tex]

[tex] . [/tex]

[tex]
2cos(N \frac{\pi}{2})
[/tex]

So the sequence would be:
[tex]
\{2, 0, -2, 0, 2, ... , 2cos(N \frac{\pi}{2}) \}
[/tex]

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

Therefore:

[tex]
2cos(0) = 2
[/tex]

[tex]
2cos( \frac{\pi}{2} ) = 0
[/tex]

[tex]
2cos(\pi) = -2
[/tex]

[tex]
2cos( \frac{3\pi}{2} ) = 0
[/tex]

[tex]
2cos( 2\pi ) = 2
[/tex]

[tex] . [/tex]

[tex] . [/tex]

[tex] . [/tex]

[tex]
2cos(N \frac{\pi}{2})
[/tex]

So the sequence would be:
[tex]
\{2, 0, -2, 0, 2, ... , 2cos(N \frac{\pi}{2}) \}
[/tex]

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.
 
  • #5
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:

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

[tex]
\lim_{N \rightarrow \infty}
\frac{1}{2N+1}
\sum_{n=-N}^N{cos^2(n \frac{\pi}{4})}
[/tex]

[tex]
\lim_{N \rightarrow \infty}
\frac{1}{2N+1}
\sum_{n=-N}^N{\frac{1+cos(2n \frac{\pi}{4})}{2}}
[/tex]

[tex]
\lim_{N \rightarrow \infty}
\frac{1}{2N+1}
(\sum_{n=-N}^N{\frac{1}{2}} +
\sum_{n=-N}^N{\frac{1}{2}cos(n \frac{\pi}{2})}})
[/tex]

[tex]
\lim_{N \rightarrow \infty}
\frac{1}{2N+1}
\sum_{n=-N}^N{\frac{1}{2}} +
\lim_{N \rightarrow \infty}
\frac{1}{2N+1}
\sum_{n=-N}^N{\frac{1}{2}cos(n \frac{\pi}{2})}}
[/tex]

[tex]
\frac{1}{2}
\lim_{N \rightarrow \infty}
\frac{1}{2N+1}(2N+1)+
\lim_{N \rightarrow \infty}
\frac{1}{2N+1}
(\frac{1}{2})
\sum_{n=-N}^N{cos(n \frac{\pi}{2})}}
[/tex]

[tex]
\frac{1}{2}
\lim_{N \rightarrow \infty}(1)+
\frac{1}{2}
\lim_{N \rightarrow \infty}
\frac{1}{2N+1}
\sum_{n=-N}^N{cos(n \frac{\pi}{2})}}
[/tex]

[tex]
\frac{1}{2}+
\frac{1}{2}
\lim_{N \rightarrow \infty}
\frac{1}{2N+1}
\sum_{n=-N}^N{cos(n \frac{\pi}{2})}}
[/tex]
 
Last edited:
  • #6
The final answer is
[tex]
\frac{1}{2}
[/tex]

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

[tex]
\lim_{N \rightarrow \infty}
\frac{1}{2N+1}
\sum_{n=-N}^N{cos(n \frac{\pi}{2})}}
[/tex]

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

[tex]
\sum_{n=-N}^N{cos(n \frac{\pi}{2})}}
[/tex]

So I should evaluate the limit on the outside. That would make:
[tex]

\lim_{N \rightarrow \infty}
\frac{1}{2N+1}=0
[/tex]Therefore making the entire term:

[tex]
\lim_{N \rightarrow \infty}
\frac{1}{2N+1}
\sum_{n=-N}^N{cos(n \frac{\pi}{2})}} = 0
[/tex]

Is that correct logic?
 
  • #8
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.
 
  • #9
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,

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

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

What is an infinite series?

An infinite series is a sum of an infinite number of terms. This means that the series never ends and continues infinitely.

How is an infinite series different from a finite series?

A finite series has a fixed number of terms and therefore has an ending point. An infinite series, on the other hand, continues forever and does not have an ending point.

What is "Another infinite series"?

"Another infinite series" is a term that refers to any infinite series that is different from the one being currently discussed or studied. It is a way to differentiate between different infinite series.

What is the importance of studying infinite series in science?

Infinite series are commonly used in mathematics and physics to model real-world phenomena. They can also be used to approximate solutions to complex problems and understand patterns in data. Therefore, studying infinite series is crucial in advancing scientific knowledge and understanding the world around us.

How can we determine if an infinite series converges or diverges?

There are various methods for determining the convergence or divergence of an infinite series, such as the ratio test, integral test, and comparison test. These methods involve analyzing the behavior of the terms in the series and determining if they approach a finite limit or grow infinitely.

Similar threads

Replies
15
Views
2K
Replies
3
Views
973
Replies
4
Views
384
  • Calculus and Beyond Homework Help
Replies
1
Views
231
Replies
5
Views
1K
Replies
11
Views
2K
  • Precalculus Mathematics Homework Help
Replies
10
Views
2K
Replies
6
Views
646
Replies
7
Views
1K
Replies
5
Views
3K
Back
Top