32.6.47 problem Exercise 12.47, page 103

Internal problem ID [5912]
Book : Ordinary Differential Equations, By Tenenbaum and Pollard. Dover, NY 1963
Section : Chapter 2. Special types of differential equations of the first kind. Lesson 12, Miscellaneous Methods
Problem number : Exercise 12.47, page 103
Date solved : Sunday, March 30, 2025 at 10:26:41 AM
CAS classification : [[_homogeneous, `class A`], _rational, _dAlembert]

\begin{align*} 2 y^{3} y^{\prime }+x y^{2}-x^{3}&=0 \end{align*}

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

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