3.40 problem 1040

Internal problem ID [8620]

Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 2, linear second order
Problem number: 1040.
ODE order: 2.
ODE degree: 1.

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

Solve \begin {gather*} \boxed {y^{\prime \prime }+x y^{\prime }-y=0} \end {gather*}

Solution by Maple

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

dsolve(diff(diff(y(x),x),x)+x*diff(y(x),x)-y(x)=0,y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.056 (sec). Leaf size: 45

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

\begin{align*} y(x)\to -\sqrt {\frac {\pi }{2}} c_2 x \text {Erf}\left (\frac {x}{\sqrt {2}}\right )-c_2 e^{-\frac {x^2}{2}}+c_1 x \\ \end{align*}