21.30 problem 606

Internal problem ID [3856]

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

CAS Maple gives this as type [_rational]

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

Solution by Maple

Time used: 0.047 (sec). Leaf size: 30

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

\[ c_{1} +\frac {{\mathrm e}^{-2 i y \left (x \right )} \left (i x +y \left (x \right )\right )}{2 i y \left (x \right )+2 x} = 0 \]

Solution by Mathematica

Time used: 0.117 (sec). Leaf size: 18

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

\[ \text {Solve}\left [y(x)-\arctan \left (\frac {x}{y(x)}\right )=c_1,y(x)\right ] \]