2.49 problem 49

Internal problem ID [4626]

Book: Engineering Mathematics. By K. A. Stroud. 5th edition. Industrial press Inc. NY. 2001
Section: Program 24. First order differential equations. Further problems 24. page 1068
Problem number: 49.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class G`], _rational, _Bernoulli]

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

Solution by Maple

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

dsolve(diff(y(x),x)+y(x)/x=x*y(x)^2,y(x), singsol=all)
 

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

Solution by Mathematica

Time used: 0.122 (sec). Leaf size: 22

DSolve[y'[x]+y[x]/x==x*y[x]^2,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {1}{x (-x+c_1)} \\ y(x)\to 0 \\ \end{align*}