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.169874 (sec), leaf count = 20

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

Maple
cpu = 0.013 (sec), leaf count = 19

\[\left [y \left (x \right ) = \frac {\textit {\_C1}}{\left (x -1\right )^{2}}+\frac {\textit {\_C2}}{x -1}\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))

Maple raw output

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