ODE
\[ (1-x) x y''(x)-(x+1) y'(x)+y(x)=0 \] ODE Classification
[[_2nd_order, _exact, _linear, _homogeneous]]
Book solution method
TO DO
Mathematica ✓
cpu = 0.174013 (sec), leaf count = 24
\[\left \{\left \{y(x)\to \frac {c_2 x^2+2 c_1}{2-2 x}\right \}\right \}\]
Maple ✓
cpu = 0.055 (sec), leaf count = 22
\[\left [y \left (x \right ) = \frac {\textit {\_C1}}{x -1}+\frac {x^{2} \textit {\_C2}}{x -1}\right ]\] Mathematica raw input
DSolve[y[x] - (1 + x)*y'[x] + (1 - x)*x*y''[x] == 0,y[x],x]
Mathematica raw output
{{y[x] -> (2*C[1] + x^2*C[2])/(2 - 2*x)}}
Maple raw input
dsolve(x*(1-x)*diff(diff(y(x),x),x)-(x+1)*diff(y(x),x)+y(x) = 0, y(x))
Maple raw output
[y(x) = 1/(x-1)*_C1+x^2/(x-1)*_C2]