30.20 problem 880

Internal problem ID [4116]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 30
Problem number: 880.
ODE order: 1.
ODE degree: 2.

CAS Maple gives this as type [_rational, _dAlembert]

\[ \boxed {2 {y^{\prime }}^{2} x +\left (2 x -y\right ) y^{\prime }-y=-1} \]

Solution by Maple

Time used: 0.062 (sec). Leaf size: 110

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

\[ y \left (x \right ) = -2 \left (x \,{\mathrm e}^{\operatorname {RootOf}\left (-x \,{\mathrm e}^{3 \textit {\_Z}}+2 x \,{\mathrm e}^{2 \textit {\_Z}}+c_{1} {\mathrm e}^{\textit {\_Z}}+\textit {\_Z} \,{\mathrm e}^{\textit {\_Z}}-{\mathrm e}^{\textit {\_Z}} x +1\right )}-{\mathrm e}^{2 \operatorname {RootOf}\left (-x \,{\mathrm e}^{3 \textit {\_Z}}+2 x \,{\mathrm e}^{2 \textit {\_Z}}+c_{1} {\mathrm e}^{\textit {\_Z}}+\textit {\_Z} \,{\mathrm e}^{\textit {\_Z}}-{\mathrm e}^{\textit {\_Z}} x +1\right )} x -\frac {1}{2}\right ) {\mathrm e}^{-\operatorname {RootOf}\left (-x \,{\mathrm e}^{3 \textit {\_Z}}+2 x \,{\mathrm e}^{2 \textit {\_Z}}+c_{1} {\mathrm e}^{\textit {\_Z}}+\textit {\_Z} \,{\mathrm e}^{\textit {\_Z}}-{\mathrm e}^{\textit {\_Z}} x +1\right )} \]

Solution by Mathematica

Time used: 1.438 (sec). Leaf size: 49

DSolve[2 x (y'[x])^2+(2 x-y[x])y'[x]+1-y[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\[ \text {Solve}\left [\left \{x=\frac {\frac {1}{K[1]+1}+\log (K[1]+1)}{K[1]^2}+\frac {c_1}{K[1]^2},y(x)=2 x K[1]+\frac {1}{K[1]+1}\right \},\{y(x),K[1]\}\right ] \]