# Thread: basic fourier series query

1. ## basic fourier series query

is the fourier coefficient an for f(x)=x^2 , -pi<x<pi

(4/n^2)(-1)^n

because text book says

(4/n^2)(-1)^(n+1)

2. I agree with you. It should be n, not n+1.