1.4 problem Example 3.4

Internal problem ID [5083]

Book: THEORY OF DIFFERENTIAL EQUATIONS IN ENGINEERING AND MECHANICS. K.T. CHAU, CRC Press. Boca Raton, FL. 2018
Section: Chapter 3. Ordinary Differential Equations. Section 3.2 FIRST ORDER ODE. Page 114
Problem number: Example 3.4.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class A`], _dAlembert]

\[ \boxed {y^{\prime } x -2 \sqrt {x y}-y=0} \]

Solution by Maple

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

dsolve(x*diff(y(x),x)-2*sqrt(x*y(x))=y(x),y(x), singsol=all)
 

\[ -\frac {y \left (x \right )}{\sqrt {y \left (x \right ) x}}+\ln \left (x \right )-c_{1} = 0 \]

Solution by Mathematica

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

DSolve[x*y'[x]-2*Sqrt[x*y[x]]==y[x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {1}{4} x (2 \log (x)+c_1){}^2 \\ \end{align*}