23.1.363 problem 348

Internal problem ID [4970]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Part II. Chapter 1. THE DIFFERENTIAL EQUATION IS OF FIRST ORDER AND OF FIRST DEGREE, page 223
Problem number : 348
Date solved : Tuesday, September 30, 2025 at 09:06:32 AM
CAS classification : [[_homogeneous, `class G`], _rational, _Riccati]

\begin{align*} x^{3} y^{\prime }&=x^{4}+y^{2} \end{align*}
Maple. Time used: 0.001 (sec). Leaf size: 23
ode:=x^3*diff(y(x),x) = x^4+y(x)^2; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \frac {x^{2} \left (\ln \left (x \right )-c_1 -1\right )}{\ln \left (x \right )-c_1} \]
Mathematica. Time used: 0.105 (sec). Leaf size: 29
ode=x^3*D[y[x],x]==x^4+y[x]^2; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \frac {x^2 (\log (x)-1+c_1)}{\log (x)+c_1}\\ y(x)&\to x^2 \end{align*}
Sympy. Time used: 0.116 (sec). Leaf size: 12
from sympy import * 
x = symbols("x") 
y = Function("y") 
ode = Eq(-x**4 + x**3*Derivative(y(x), x) - y(x)**2,0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = x^{2} \left (1 - 8 x^{2}\right ) \]