29.24.30 problem 693

Internal problem ID [5283]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 24
Problem number : 693
Date solved : Sunday, March 30, 2025 at 07:50:43 AM
CAS classification : [[_homogeneous, `class A`], _rational, _dAlembert]

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

Maple. Time used: 0.005 (sec). Leaf size: 281
ode:=x*(2*x^3+y(x)^3)*diff(y(x),x) = (2*x^3-x^2*y(x)+y(x)^3)*y(x); 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y &= -\frac {\left (-\left (54+6 \sqrt {6 \ln \left (x \right )^{3}+18 \ln \left (x \right )^{2} c_1 +18 \ln \left (x \right ) c_1^{2}+6 c_1^{3}+81}\right )^{{2}/{3}}+6 \ln \left (x \right )+6 c_1 \right ) x}{3 \left (54+6 \sqrt {6 \ln \left (x \right )^{3}+18 \ln \left (x \right )^{2} c_1 +18 \ln \left (x \right ) c_1^{2}+6 c_1^{3}+81}\right )^{{1}/{3}}} \\ y &= -\frac {x \left (\left (\frac {i \sqrt {3}}{6}+\frac {1}{6}\right ) \left (54+6 \sqrt {6 \ln \left (x \right )^{3}+18 \ln \left (x \right )^{2} c_1 +18 \ln \left (x \right ) c_1^{2}+6 c_1^{3}+81}\right )^{{2}/{3}}+\left (\ln \left (x \right )+c_1 \right ) \left (i \sqrt {3}-1\right )\right )}{\left (54+6 \sqrt {6 \ln \left (x \right )^{3}+18 \ln \left (x \right )^{2} c_1 +18 \ln \left (x \right ) c_1^{2}+6 c_1^{3}+81}\right )^{{1}/{3}}} \\ y &= \frac {\left (\frac {\left (i \sqrt {3}-1\right ) \left (54+6 \sqrt {6 \ln \left (x \right )^{3}+18 \ln \left (x \right )^{2} c_1 +18 \ln \left (x \right ) c_1^{2}+6 c_1^{3}+81}\right )^{{2}/{3}}}{6}+\left (1+i \sqrt {3}\right ) \left (\ln \left (x \right )+c_1 \right )\right ) x}{\left (54+6 \sqrt {6 \ln \left (x \right )^{3}+18 \ln \left (x \right )^{2} c_1 +18 \ln \left (x \right ) c_1^{2}+6 c_1^{3}+81}\right )^{{1}/{3}}} \\ \end{align*}
Mathematica. Time used: 51.721 (sec). Leaf size: 362
ode=x(2 x^3+y[x]^3)D[y[x],x]==(2 x^3-x^2 y[x]+y[x]^3)y[x]; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)\to \frac {-6^{2/3} x^2 \log (x)+6^{2/3} c_1 x^2+\sqrt [3]{6} \left (9 x^3+\sqrt {3} \sqrt {x^6 \left (27+2 (\log (x)-c_1){}^3\right )}\right ){}^{2/3}}{3 \sqrt [3]{9 x^3+\sqrt {3} \sqrt {x^6 \left (27+2 (\log (x)-c_1){}^3\right )}}} \\ y(x)\to \frac {i \left (\sqrt {3}+i\right ) \sqrt [3]{9 x^3+\sqrt {3} \sqrt {x^6 \left (27+2 (\log (x)-c_1){}^3\right )}}}{6^{2/3}}+\frac {\left (1+i \sqrt {3}\right ) x^2 (\log (x)-c_1)}{\sqrt [3]{6} \sqrt [3]{9 x^3+\sqrt {3} \sqrt {x^6 \left (27+2 (\log (x)-c_1){}^3\right )}}} \\ y(x)\to \frac {i \left (\sqrt {3}+i\right ) x^2 (-\log (x)+c_1)}{\sqrt [3]{6} \sqrt [3]{9 x^3+\sqrt {3} \sqrt {x^6 \left (27+2 (\log (x)-c_1){}^3\right )}}}-\frac {\left (1+i \sqrt {3}\right ) \sqrt [3]{9 x^3+\sqrt {3} \sqrt {x^6 \left (27+2 (\log (x)-c_1){}^3\right )}}}{6^{2/3}} \\ \end{align*}
Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(x*(2*x**3 + y(x)**3)*Derivative(y(x), x) - (2*x**3 - x**2*y(x) + y(x)**3)*y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out