1.646 problem 661

Internal problem ID [7379]

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

CAS Maple gives this as type [_erf]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.005 (sec). Leaf size: 27

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

\begin{align*} y(x)\to -2 c_2 x \operatorname {DawsonF}(x)+2 c_1 e^{-x^2} x+c_2 \\ \end{align*}