10.5 problem 17.5

Internal problem ID [11732]

Book: AN INTRODUCTION TO ORDINARY DIFFERENTIAL EQUATIONS by JAMES C. ROBINSON. Cambridge University Press 2004
Section: Chapter 17, Reduction of order. Exercises page 162
Problem number: 17.5.
ODE order: 2.
ODE degree: 1.

CAS Maple gives this as type [_Hermite]

\[ \boxed {y^{\prime \prime }-x y^{\prime }+y=0} \] Given that one solution of the ode is \begin {align*} y_1 &= x \end {align*}

Solution by Maple

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

dsolve([diff(y(x),x$2)-x*diff(y(x),x)+y(x)=0,x],y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.091 (sec). Leaf size: 61

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

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