I have a problem that sounds.
Let f be given as the sum function on the interval ]-R,R[ $$f(x)=\sum_{n=0}^{\infty}n(1-3^{-n})x^{2n}$$ for $$|x|<R$$
Show that
$$f(x)=\frac{x^2}{(1-x^2)^2}-\frac{3x^2}{(3-x^2)^2}$$ for $$|x|<R$$
First my idea os to look at it separted $$\sum_{n=0}^{\infty}n(1-3^{-n})x^{2n}=\sum_{n=0}^{\infty}nx^{2n}-\sum_{n=0}^{\infty}(1-\frac{1}{3^n})x^{2n}$$ My idea is then to use some geometric series properties to rewrite the expression without the sum sign, but how I am unsure of?
Prior to this, I have determined the radius of convergence to $$ R=1$$
Thanks in advance