1.647 problem 662

Internal problem ID [8137]

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

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

\[ \boxed {y^{\prime \prime }+y^{\prime } x +3 y=0} \]

Solution by Maple

Time used: 0.016 (sec). Leaf size: 50

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

\[ y \left (x \right ) = c_{1} \left (\sqrt {2}\, \sqrt {\pi }\, \operatorname {erfi}\left (\frac {\sqrt {2}\, x}{2}\right ) \left (x -1\right ) \left (x +1\right ) {\mathrm e}^{-\frac {x^{2}}{2}}-2 x \right )+c_{2} {\mathrm e}^{-\frac {x^{2}}{2}} \left (x^{2}-1\right ) \]

Solution by Mathematica

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

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

\[ y(x)\to \frac {1}{4} e^{-\frac {x^2}{2}} \left (\sqrt {2 \pi } c_2 \left (x^2-1\right ) \text {erfi}\left (\frac {x}{\sqrt {2}}\right )+4 c_1 \left (x^2-1\right )-2 c_2 e^{\frac {x^2}{2}} x\right ) \]