Impact factor for posts is a measurement of importance.

Impact factor for users reflect their authority, reputation and contribution on a particular topic.

Rating reflects the quality of posts.

Rating on Voofie is not a simple average of all ratings, but a weighted average of rating, weighted by the impact factor of users who rated.

Explore exciting communities of

How to sum sin(n q) and cos(n q)?

02 Sep 10

This is a short how to about how to sum sin(n q) and cos(n q).

Bookmark and Share

Content

The Problem

Find a close form for the sum:

\f$\displaystyle \sum _{n=n_1}^{n_2} \sin (n \theta )\f$ and \f$\displaystyle \sum _{n=n_1}^{n_2} \cos (n \theta )\f$

Change to exponential

If you write:

\f[e^{i \theta }=\cos  \theta  + i \sin  \theta  \f] The problem can be solved easily since:

\f[\sum _{n=n_1}^{n_2} e^{i n \theta }=\sum _{n=n_1}^{n_2} \cos  n \theta  + i\sum _{n=n_1}^{n_2}  \sin  n \theta  \f]

\f$\sum _{n=n_1}^{n_2} e^{i n \theta }\f$ can be summed easily, since it is just a geometry sum.

Now,

\f$\begin{align*} \sum _{n=n_1}^{n_2} e^{i n \theta } &= e^{i n_1\theta }\sum _{n=0}^{n_2-n_1} e^{i n \theta }\\   &= \frac{e^{i n_1\theta }\left(1-e^{i\left(n_2-n_1+1\right)\theta }\right)}{1-e^{i \theta }}\\   &= \frac{e^{i n_1\theta }-e^{i\left(n_2+1\right)\theta }}{1-e^{i \theta }}  \end{align*}\f$

Therefore, the desire cosine and sine sum is just the real and imaginary part of the expression.

\f[\sum _{n=n_1}^{n_2} \sin (n \theta )= \frac{1}{2i}\left(\frac{e^{i n_1\theta }-e^{i\left(n_2+1\right)\theta }}{1-e^{i \theta }}-\frac{e^{-i n_1\theta }-e^{-i\left(n_2+1\right)\theta }}{1-e^{-i \theta }}\right) \f] \f[\sum _{n=n_1}^{n_2} \cos (n \theta )=\frac{1}{2}\left(\frac{e^{i n_1\theta }-e^{i\left(n_2+1\right)\theta }}{1-e^{i \theta }}+\frac{e^{-i n_1\theta }-e^{-i\left(n_2+1\right)\theta }}{1-e^{-i \theta }}\right)\f]

Special case

When \f$n_1 = -N\f$ and \f$n_2 = N\f$ , we have:

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

\f[\sum _{n=-N}^{N} \sin (n \theta ) = 0\f]

 

0 Comments

Please login to post comment.

What is Voofie?

Voofie organizes knowledge, discovers useful resources and recognizes knowledgable users.

Bookmark your blog in Voofie to get more traffic as well as building a reputation in your field!

Explore more about it. Become a member—our FREE Registration takes just seconds.

Page Info
13Impacts
0/0 rates
829
Your Rating:
Version: 1
Submitted: 02 Sep 10
Permalink
Author
Avatar for ross_tang

Ross Tang (ross_tang)

Degree in Physics and Mathematics, Master in Physics
香港

  • Mathematics
  • 809
  • Summation
  • 0
  • Trigonometry
  • 0