I have to find the sine series of $x^3$ using the the cosine series of $x^2/2$.
$${x^2 \over 2}={l^2 \over 6}+{2 l^2 \over \pi^2}\left[\sum{(-1)^n \over n^2}\cos\left({n\pi x \over l}\right)\right]$$
I know I have to integrate but when integrating what happens to the constant of integration.
Also there's a ${l^2 \over 6}x$ term when integrating.With this term how to make the series in the Fourier Sine series to be of the form $\sum A_n \sin({n\pi x\over l})$.
Can someone please show me how to do this because I need the answer to this question to do the other parts which are based on this.
Any help would be really valuable.
Obviously when you integrate you get
$$\frac{x^3}{6} = \frac{\ell^2}{6} x + \frac{2 \ell^3}{\pi^3} \sum_{n=1}^{\infty} \frac{(-1)^n}{n^3} \sin{\left (\frac{n \pi x}{\ell} \right )}$$
You now need to represent $x$ in terms of a Fourier sine series to finish this off. That is, express
$$x = \sum_{n=1}^{\infty} B_n \sin{\left (\frac{n \pi x}{\ell} \right )}$$
where
$$B_n = \frac1{\ell} \int_0^{\ell} dx \, x \, \sin{\left (\frac{n \pi x}{\ell} \right )} = \frac{(-1)^{n+1}}{\pi n} \ell$$