Find the general solution of $$(1+x^2)y''+2xy'-2y=0$$
in terms of power series in $x$. Can you express this solution by means of elementary functions?
I know that $y= \displaystyle\sum_{n=0}^{ \infty } a_nx^n$ and $y'= \displaystyle\sum_{n=1}^{ \infty } a_nnx^{n-1}$ and $y''=\displaystyle\sum_{n=2}^{ \infty } a_nn(n-1)x^{n-2}$.
As far as I can tell I am to simply plug these summations in the original equation stated above. Also, I shifted the following to get $x^n$. Giving:
$$\sum_{n=0}^{ \infty } a_{n+2}(n+2)(n+1)x^{n}+\sum_{n=2}^{ \infty } a_nn(n-1)x^{n}+\sum_{n=1}^{ \infty }2 a_nnx^{n}-\sum_{n=0}^{ \infty } 2a_nx^n=0$$
Now, I combine the equation into a single summation. $$\sum_{n=2}^{ \infty }\bigg[a_{n+2}(n+2)(n+1)+a_nn(n-1)+2a_nn-2a_n\bigg]x^n=0$$
Doing this, I am left over with $2(a_2-a_0)=0$ and $6a_3x=0$. I can also form $a_{n+2}=a_n\frac{1-n}{n+1}$ Following this I plugged values in for the third equation, but this is where things start to get difficult. I'm honestly not sure how to continue. The question itself confuses me specifically "in terms of power series in $x$. Can you express this solution by means of elementary functions?".