64.3.4 problem 4

Internal problem ID [13204]
Book : Differential Equations by Shepley L. Ross. Third edition. John Willey. New Delhi. 2004.
Section : Chapter 2, section 2.1 (Exact differential equations and integrating factors). Exercises page 37
Problem number : 4
Date solved : Monday, March 31, 2025 at 07:37:27 AM
CAS classification : [_rational, [_Abel, `2nd type`, `class A`]]

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

Maple
ode:=3*x^2*y(x)+2-(x^3+y(x))*diff(y(x),x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ \text {No solution found} \]
Mathematica
ode=(3*x^2+2)-(x^3+y[x])*D[y[x],x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 

Not solved

Sympy
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(3*x**2*y(x) - (x**3 + y(x))*Derivative(y(x), x) + 2,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
Timed Out