2.5 problem 5

Internal problem ID [4244]

Book: Mathematical Methods in the Physical Sciences. third edition. Mary L. Boas. John Wiley. 2006
Section: Chapter 8, Ordinary differential equations. Section 2. Separable equations. page 398
Problem number: 5.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_quadrature]

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

Solution by Maple

Time used: 0.016 (sec). Leaf size: 8

dsolve([x*y(x)*diff(y(x),x)-x*y(x)=y(x),y(1) = 1],y(x), singsol=all)
 

\[ y \left (x \right ) = x +\ln \left (x \right ) \]

Solution by Mathematica

Time used: 0.003 (sec). Leaf size: 9

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

\begin{align*} y(x)\to x+\log (x) \\ \end{align*}