77.7.4 problem 3

Internal problem ID [20407]
Book : A Text book for differentional equations for postgraduate students by Ray and Chaturvedi. First edition, 1958. BHASKAR press. INDIA
Section : Chapter II. Equations of first order and first degree. Exercise II (F) at page 24
Problem number : 3
Date solved : Thursday, October 02, 2025 at 05:52:56 PM
CAS classification : [_rational, [_1st_order, `_with_symmetry_[F(x)*G(y),0]`]]

\begin{align*} y^{4}+2 y+\left (x y^{3}+2 y^{4}-4 x \right ) y^{\prime }&=0 \end{align*}
Maple. Time used: 0.009 (sec). Leaf size: 27
ode:=y(x)^4+2*y(x)+(x*y(x)^3+2*y(x)^4-4*x)*diff(y(x),x) = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ x -\frac {\left (-y^{2}+c_1 \right ) y^{2}}{y^{3}+2} = 0 \]
Mathematica. Time used: 60.179 (sec). Leaf size: 2021
ode=(y[x]^4+2*y[x])+(x*y[x]^3+2*y[x]^4-4*x)*D[y[x],x]==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} \text {Solution too large to show}\end{align*}
Sympy. Time used: 56.155 (sec). Leaf size: 4383
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq((x*y(x)**3 - 4*x + 2*y(x)**4)*Derivative(y(x), x) + y(x)**4 + 2*y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ \text {Latex too large to display} \]