1.637 problem 652

Internal problem ID [7371]

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

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

Solve \begin {gather*} \boxed {4 z y^{\prime \prime }+2 \left (1-z \right ) y^{\prime }-y=0} \end {gather*}

Solution by Maple

Time used: 0.063 (sec). Leaf size: 26

dsolve(4*z*diff(y(z),z$2)+2*(1-z)*diff(y(z),z)-y(z)=0,y(z), singsol=all)
 

\[ y \relax (z ) = c_{1} {\mathrm e}^{\frac {z}{2}} \erf \left (\frac {\sqrt {2}\, \sqrt {z}}{2}\right )+c_{2} {\mathrm e}^{\frac {z}{2}} \]

Solution by Mathematica

Time used: 0.022 (sec). Leaf size: 34

DSolve[4*z*y''[z]+2*(1-z)*y'[z]-y[z]==0,y[z],z,IncludeSingularSolutions -> True]
 

\begin{align*} y(z)\to e^{z/2} \left (c_1-\sqrt {2} c_2 \text {Gamma}\left (\frac {1}{2},\frac {z}{2}\right )\right ) \\ \end{align*}