4.32.35 \(-(a-(2-a) x) y'(x)-a y(x)+x (x+1) y''(x)=0\)

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

[[_2nd_order, _exact, _linear, _homogeneous]]

Book solution method
TO DO

Mathematica
cpu = 0.268802 (sec), leaf count = 67

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

Maple
cpu = 0.056 (sec), leaf count = 23

\[\left [y \left (x \right ) = \frac {\textit {\_C1}}{x +1}+\frac {x^{a} x \textit {\_C2}}{x +1}\right ]\] Mathematica raw input

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

Mathematica raw output

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

Maple raw input

dsolve(x*(x+1)*diff(diff(y(x),x),x)-(a-(2-a)*x)*diff(y(x),x)-a*y(x) = 0, y(x))

Maple raw output

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