4.2 problem 2

Internal problem ID [6068]

Book: Elementary differential equations. By Earl D. Rainville, Phillip E. Bedient. Macmilliam Publishing Co. NY. 6th edition. 1981.
Section: CHAPTER 16. Nonlinear equations. Section 101. Independent variable missing. EXERCISES Page 324
Problem number: 2.
ODE order: 2.
ODE degree: 1.

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

\[ \boxed {x^{2} y^{\prime \prime }+{y^{\prime }}^{2}-2 y^{\prime } x=0} \] With initial conditions \begin {align*} [y \left (2\right ) = 5, y^{\prime }\left (2\right ) = -4] \end {align*}

Solution by Maple

Time used: 0.171 (sec). Leaf size: 24

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

\[ y \left (x \right ) = \frac {x^{2}}{2}+3 x +9 \ln \left (x -3\right )-3-9 i \pi \]

Solution by Mathematica

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

DSolve[{x^2*y''[x]+(y'[x])^2-2*x*y'[x]==0,{y[2]==5,y'[2]==-4}},y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {1}{2} x (x+6)+9 \log (x-3)-9 i \pi -3 \\ \end{align*}