4.31.1 \(x^2 y''(x)-(x+2) x y'(x)+(x+2) y(x)=0\)

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

[[_2nd_order, _with_linear_symmetries]]

Book solution method
TO DO

Mathematica
cpu = 0.163443 (sec), leaf count = 16

\[\left \{\left \{y(x)\to x \left (c_2 e^x+c_1\right )\right \}\right \}\]

Maple
cpu = 0.063 (sec), leaf count = 13

\[[y \left (x \right ) = \textit {\_C1} x +\textit {\_C2} x \,{\mathrm e}^{x}]\] Mathematica raw input

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

Mathematica raw output

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

Maple raw input

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

Maple raw output

[y(x) = _C1*x+_C2*x*exp(x)]