29.21.7 problem 583

Internal problem ID [5177]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 21
Problem number : 583
Date solved : Sunday, March 30, 2025 at 06:48:11 AM
CAS classification : [[_homogeneous, `class G`], _rational, [_Abel, `2nd type`, `class B`]]

\begin{align*} \left (1-x^{3} y\right ) y^{\prime }&=x^{2} y^{2} \end{align*}

Maple. Time used: 0.175 (sec). Leaf size: 673
ode:=(1-x^3*y(x))*diff(y(x),x) = x^2*y(x)^2; 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} \text {Solution too large to show}\end{align*}

Mathematica. Time used: 50.735 (sec). Leaf size: 331
ode=(1-x^3 y[x])D[y[x],x]==x^2 y[x]^2; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)\to \frac {\sqrt [3]{12 c_1 x^6+2 \sqrt {6} \sqrt {c_1 x^6 \left (1+6 c_1 x^6\right )}+1}+\frac {1}{\sqrt [3]{12 c_1 x^6+2 \sqrt {6} \sqrt {c_1 x^6 \left (1+6 c_1 x^6\right )}+1}}+1}{2 x^3} \\ y(x)\to \frac {2 i \left (\sqrt {3}+i\right ) \sqrt [3]{12 c_1 x^6+2 \sqrt {6} \sqrt {c_1 x^6 \left (1+6 c_1 x^6\right )}+1}-\frac {2 \left (1+i \sqrt {3}\right )}{\sqrt [3]{12 c_1 x^6+2 \sqrt {6} \sqrt {c_1 x^6 \left (1+6 c_1 x^6\right )}+1}}+4}{8 x^3} \\ y(x)\to \frac {-2 \left (1+i \sqrt {3}\right ) \sqrt [3]{12 c_1 x^6+2 \sqrt {6} \sqrt {c_1 x^6 \left (1+6 c_1 x^6\right )}+1}+\frac {2 i \left (\sqrt {3}+i\right )}{\sqrt [3]{12 c_1 x^6+2 \sqrt {6} \sqrt {c_1 x^6 \left (1+6 c_1 x^6\right )}+1}}+4}{8 x^3} \\ y(x)\to 0 \\ \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-x**2*y(x)**2 + (-x**3*y(x) + 1)*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out