6.18 problem 164

Internal problem ID [2911]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 6
Problem number: 164.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class D`], _rational, _Riccati]

\[ \boxed {y^{\prime } x -x^{2}-y \left (1+y\right )=0} \]

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.176 (sec). Leaf size: 12

DSolve[x y'[x]==x^2+y[x](1+y[x]),y[x],x,IncludeSingularSolutions -> True]
 

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