13.20 problem 374

Internal problem ID [3630]

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

CAS Maple gives this as type [_rational, _Riccati]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.363 (sec). Leaf size: 31

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

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