Help finding fourier coefficient

Kuma
Messages
129
Reaction score
0

Homework Statement



Trying to find the Nth degree Fourier polynomial of

f(x) =e^x for x between -pi to pi.


Homework Equations





The Attempt at a Solution



I'm trying to calculate ak which is given by

1/∏ ∫e^x cos kx dx from -∏ to ∏

I'm getting stuck here trying to use integration by parts. The integral in integration by parts is basically recursive no matter what I set for u or dv.
 
Physics news on Phys.org
It's recursive but you only need to do two iterations due to a nice trick which your calculus teacher did you a disservice if he/she didn't teach it to you.

You'll end up with a second copy of the original integral, which you can then combine with the original one. Try it and if you get stuck, post what you have and I'll give you a hint.
 
Hmm I looked at the example. I kind of get it but my answer is a bit off. This is for the definite integral. I'm getting a k^2 e^x cos kx for the second term of the answer. Everything else is the same. The answer is

A2I3I.png
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top