$f(x) = x$ , $f(x+2\pi) = f(x) $ on $ [-\pi , \pi] $
How do I know that this function is even or odd? My book says odd, but I don't understand how to work this out?
also why does $a_0 = 0$ and $a_n = 0$?
since its an odd function I thought we use the even extension?
i.e $$ a_n = \frac{1}{\pi} \int_{-\pi}^{\pi} f(x) \cos(nx)dx $$
but the answer is
$$ b_{n} = \frac{-2}{n}\cos(n\pi) = \frac{2(-1)^{n+1}}{n} $$