4.32.41 \(-\left (2-x^2\right ) y'(x)+(2-x) x y''(x)+2 (1-x) y(x)=0\)

ODE
\[ -\left (2-x^2\right ) y'(x)+(2-x) x y''(x)+2 (1-x) y(x)=0 \] ODE Classification

[[_2nd_order, _with_linear_symmetries]]

Book solution method
TO DO

Mathematica
cpu = 0.0353396 (sec), leaf count = 18

\[\left \{\left \{y(x)\to c_2 x^2+c_1 e^x\right \}\right \}\]

Maple
cpu = 0.034 (sec), leaf count = 14

\[ \left \{ y \left ( x \right ) ={\it \_C1}\,{x}^{2}+{\it \_C2}\,{{\rm e}^{x}} \right \} \] Mathematica raw input

DSolve[2*(1 - x)*y[x] - (2 - x^2)*y'[x] + (2 - x)*x*y''[x] == 0,y[x],x]

Mathematica raw output

{{y[x] -> E^x*C[1] + x^2*C[2]}}

Maple raw input

dsolve(x*(2-x)*diff(diff(y(x),x),x)-(-x^2+2)*diff(y(x),x)+2*(1-x)*y(x) = 0, y(x),'implicit')

Maple raw output

y(x) = _C1*x^2+_C2*exp(x)