4.9 problem 10

Internal problem ID [6075]

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: 10.
ODE order: 2.
ODE degree: 1.

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

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

Solution by Maple

Time used: 0.015 (sec). Leaf size: 16

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

\[ y \left (x \right ) = -\frac {x^{2}}{4}+\ln \left (x \right )-\ln \left (2\right ) \]

Solution by Mathematica

Time used: 0.024 (sec). Leaf size: 19

DSolve[{x*y''[x]+y'[x]+x==0,{y[2]==-1,y'[2]==-1/2}},y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \log \left (\frac {x}{2}\right )-\frac {x^2}{4} \\ \end{align*}