1.45 problem 47

Internal problem ID [6779]

Book: Collection of Kovacic problems
Section: section 1
Problem number: 47.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [[_2nd_order, _with_linear_symmetries]]

Solve \begin {gather*} \boxed {\left (x +2\right ) y^{\prime \prime }+x y^{\prime }+3 y=0} \end {gather*}

Solution by Maple

Time used: 0.006 (sec). Leaf size: 71

dsolve((2+x)*diff(y(x),x$2)+x*diff(y(x),x)+3*y(x)=0,y(x), singsol=all)
 

\[ y \relax (x ) = c_{1} {\mathrm e}^{-x} \left (x^{2}-6 x +4\right ) \left (x +2\right )^{3}+c_{2} \left ({\mathrm e}^{-2-x} \left (x^{2}-6 x +4\right ) \left (x +2\right )^{3} \expIntegral \left (1, -2-x \right )+x^{4}-x^{3}-18 x^{2}-22 x +8\right ) \]

Solution by Mathematica

Time used: 0.261 (sec). Leaf size: 65

DSolve[(2+x)*y''[x]+x*y'[x]+3*y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {e^{-x} ((x-6) x+4) (x+2)^3 (c_2 \text {Ei}(x+2)+3840 c_1)+e^2 c_2 \left (x \left (x \left (-x^2+x+18\right )+22\right )-8\right )}{960 e} \\ \end{align*}