Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Find the complex exponential form (i.e. $\sum_{n=-\infty}^{\infty}c_n e^{\frac{2\pi}{T}nt}$) of the Fourier series of $$2+\frac{1}{2}\cos(t+45^\circ)+2\cos(3t)-2\sin(4t+30^\circ)$$

EDIT: Some info on what I've done so far.

My first instinct is to get all of the coefficients. I tried to do this with this integral: $$ c_n=\frac{1}{2\pi}\int_{0}^{2\pi}(2+\frac{1}{2}\cos(t+45^\circ)+2\cos(3t)-2\sin(4t+30^\circ))e^{-j n t}\, \mathrm{d}t $$ But the integral turned out pretty hairy and I'm wondering if I'm going about this wrong.

share|cite|improve this question
up vote 1 down vote accepted

First, convert your degrees into radians. Recall that $t$ degrees are worth $$ x=\frac{\pi t}{180} $$ radians.

Then use $$\cos x=\frac{e^{ix}+e^{-ix}}{2}$$ and $$\sin x=\frac{e^{ix}-e^{-ix}}{2i}.$$

No need to integrate, it's been done before to get your Fourier series.

share|cite|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.