Fourier series for t

patter2809

New member
Joined
Mar 29, 2013
Messages
17
Q. Find best approximation to f(t) = t in interval (-pi,pi) by a linear combination of exp(kit), for integer k, and represent as a real-valued function. Write function as a sum of functions of sin(kt), and cos(kt) for k > 0.

A. Calculated Fourier coefficients to be i/k when k is even, -i/k when k is odd, and pi/2 for k = 0.

Pn(t) = pi/2 + Σk=-nn (-1)k i eikt / k. But using eikt+e-ikt = 2cos(kt), the real part of Pn(t) is just pi/2 as Σk=-nn (-1)k i eikt/k = Σk=1n (-1)k2icos(kt)/k

Please help, this is driving me mad!
 
a0 = 1/pi Integral (from -pi to pi) t dt
ak = 1/pi Integral (from -pi to pi) t * cos(kt) dt
bk = 1/pi Integral (from -pi to pi) t * sin(kt) dt

fourier series:
a0/2 + summation (from k=1 to infinity) (ak * cos(kx) + bk*sin(kx))
 
Top