4.32.42 \((1-x)^2 y''(x)-4 (1-x) y'(x)+2 y(x)=0\)

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

[[_2nd_order, _exact, _linear, _homogeneous]]

Book solution method
TO DO

Mathematica
cpu = 0.0229209 (sec), leaf count = 20

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

Maple
cpu = 0.01 (sec), leaf count = 17

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

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

Mathematica raw output

{{y[x] -> ((-1 + x)*C[1] + C[2])/(-1 + x)^2}}

Maple raw input

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

Maple raw output

y(x) = (_C1+_C2*(-1+x))/(-1+x)^2