1.639 problem 654

Internal problem ID [8129]

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

CAS Maple gives this as type [_Lienard]

\[ \boxed {z y^{\prime \prime }-2 y^{\prime }+z y=0} \]

Solution by Maple

Time used: 0.031 (sec). Leaf size: 25

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

\[ y \left (z \right ) = c_{1} \left (\cos \left (z \right ) z -\sin \left (z \right )\right )+c_{2} \left (\cos \left (z \right )+\sin \left (z \right ) z \right ) \]

Solution by Mathematica

Time used: 0.069 (sec). Leaf size: 39

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

\[ y(z)\to -\sqrt {\frac {2}{\pi }} ((c_1 z+c_2) \cos (z)+(c_2 z-c_1) \sin (z)) \]