I have to find the Fourier series of $\sin x$ . Assume that $\ell$ is not an integer multiple of $\pi$.(Hint: First find the Fourier series for $e^{ix}$)
This is how I did it:
Complex Fourier series of $e^{ix}$=$\sum {(-1)^n \over (\ell-n\pi)}\sin(\ell)e^{{in\pi x}\over\ell} $
Letting $x=-x$ $$e^{-ix}=\sum {(-1)^n \over (\ell-n\pi)}\sin(\ell)e^{{-in\pi x}\over\ell}\\ \sin x={e^{ix}-e^{ix} \over 2i}$$
I get $$\sin x=\sin (\ell)\sum {(-1)^n \over (\ell-n\pi)}\sin{{n\pi x}\over\ell}$$
Is this correct?Can I have a sine term on the right hand side when I am finding the series of a sine function?
Formula of complex fourier series is
$f(x)=\sum C_n e^{in\pi x \over l}$ wher n goes from $-\infty$ to $+\infty $.
$C_n$=${1\over 2l}\int_{-l}^l f(x)e^{-in\pi x \over l} dx$
