Internal problem ID [7475]
Book: Collection of Kovacic problems
Section: section 1
Problem number: 757.
ODE order: 2.
ODE degree: 1.
CAS Maple gives this as type [[_2nd_order, _with_linear_symmetries], [_2nd_order, _linear, _with_symmetry_[0,F(x)]]]
Solve \begin {gather*} \boxed {x \left (x +2\right ) y^{\prime \prime }+\left (x +1\right ) y^{\prime }-4 y=0} \end {gather*}
✓ Solution by Maple
Time used: 0.006 (sec). Leaf size: 29
dsolve(x*(x+2)*diff(y(x),x$2)+(x+1)*diff(y(x),x)-4*y(x)=0,y(x), singsol=all)
\[ y \relax (x ) = c_{1} \left (2 x^{2}+4 x +1\right )+c_{2} \left (x +1\right ) \sqrt {\left (x +2\right ) x} \]
✓ Solution by Mathematica
Time used: 0.021 (sec). Leaf size: 37
DSolve[x*(x+2)*y''[x]+(x+1)*y'[x]-4*y[x]==0,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to 2 c_1 x (x+2)+2 i c_2 \sqrt {x} (x+1) \sqrt {x+2}+c_1 \\ \end{align*}