1.500 problem 514

Internal problem ID [7990]

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

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

\[ \boxed {y^{\prime \prime }-3 x y^{\prime }+\left (2 x^{2}+5\right ) y=0} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 77

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

\[ y \left (x \right ) = c_{1} {\mathrm e}^{\frac {x^{2}}{2}} \left (x^{6}-15 x^{4}+45 x^{2}-15\right )+c_{2} {\mathrm e}^{\frac {x^{2}}{2}} \left (x^{6}-15 x^{4}+45 x^{2}-15\right ) \left (\int \frac {{\mathrm e}^{\frac {x^{2}}{2}}}{\left (x^{6}-15 x^{4}+45 x^{2}-15\right )^{2}}d x \right ) \]

Solution by Mathematica

Time used: 0.269 (sec). Leaf size: 95

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

\[ y(x)\to \frac {e^{\frac {x^2}{2}} \left (\sqrt {2 \pi } c_2 \left (x^6-15 x^4+45 x^2-15\right ) \text {erfi}\left (\frac {x}{\sqrt {2}}\right )-2 c_2 e^{\frac {x^2}{2}} x \left (x^4-14 x^2+33\right )+1440 c_1 \left (x^6-15 x^4+45 x^2-15\right )\right )}{1440} \]