Compute the coefficients of $\sum\limits_{n=1}^\infty A_n\sin\frac{n\pi x}{l}=\frac{x^2-x}{4}.$
If I already computed the coefficient for $\sum\limits_{n=1}^\infty A_n\sin\frac{n\pi x}{l}=x^2$ and $\sum\limits_{n=1}^\infty A_n\sin\frac{n\pi x}{l}=x,$ can I just divide both series by 4 and then subtract them and the sum would be the coefficient $A_n$ of $\sum\limits_{n=1}^\infty A_n\sin\frac{n\pi x}{l}=\frac{x^2-x}{4}$ ,
Am I right?
If I am not right, then is there an easier way to compute the coefficient other than compute the complicated integral ?