78.6.11 problem 3 (a)

Internal problem ID [18100]
Book : DIFFERENTIAL EQUATIONS WITH APPLICATIONS AND HISTORICAL NOTES by George F. Simmons. 3rd edition. 2017. CRC press, Boca Raton FL.
Section : Chapter 2. First order equations. Section 10 (Linear equations). Problems at page 82
Problem number : 3 (a)
Date solved : Thursday, March 13, 2025 at 11:36:13 AM
CAS classification : [[_homogeneous, `class G`], _rational, _Bernoulli]

\begin{align*} x y^{\prime }+y&=x^{4} y^{3} \end{align*}

Maple. Time used: 0.003 (sec). Leaf size: 34
ode:=x*diff(y(x),x)+y(x) = x^4*y(x)^3; 
dsolve(ode,y(x), singsol=all);
 
\begin{align*} y &= \frac {1}{\sqrt {-x^{2}+c_1}\, x} \\ y &= -\frac {1}{\sqrt {-x^{2}+c_1}\, x} \\ \end{align*}
Mathematica. Time used: 0.417 (sec). Leaf size: 48
ode=x*D[y[x],x]+y[x]==x^4*y[x]^3; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)\to -\frac {1}{\sqrt {-x^4+c_1 x^2}} \\ y(x)\to \frac {1}{\sqrt {-x^4+c_1 x^2}} \\ y(x)\to 0 \\ \end{align*}
Sympy. Time used: 0.694 (sec). Leaf size: 29
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-x**4*y(x)**3 + x*Derivative(y(x), x) + y(x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ \left [ y{\left (x \right )} = - \frac {\sqrt {\frac {1}{C_{1} - x^{2}}}}{x}, \ y{\left (x \right )} = \frac {\sqrt {\frac {1}{C_{1} - x^{2}}}}{x}\right ] \]