4.35.4 \(x^2 (a+b x) y''(x)-2 x (2 a+b x) y'(x)+2 y(x) (3 a+b x)=0\)

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

[[_2nd_order, _with_linear_symmetries]]

Book solution method
TO DO

Mathematica
cpu = 0.177563 (sec), leaf count = 23

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

Maple
cpu = 0.057 (sec), leaf count = 29

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

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

Mathematica raw output

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

Maple raw input

dsolve(x^2*(b*x+a)*diff(diff(y(x),x),x)-2*x*(b*x+2*a)*diff(y(x),x)+2*(b*x+3*a)*y(x) = 0, y(x))

Maple raw output

[y(x) = _C1*x^2/(b*x+a)+_C2*x^3/(b*x+a)]