23.1.388 problem 373

Internal problem ID [4995]
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 : 373
Date solved : Tuesday, September 30, 2025 at 09:13:20 AM
CAS classification : [_rational, [_Riccati, _special]]

\begin{align*} x^{4} y^{\prime }+a^{2}+x^{4} y^{2}&=0 \end{align*}
Maple. Time used: 0.003 (sec). Leaf size: 24
ode:=x^4*diff(y(x),x)+a^2+x^4*y(x)^2 = 0; 
dsolve(ode,y(x), singsol=all);
 
\[ y = \frac {-a \tan \left (\frac {a \left (c_1 x -1\right )}{x}\right )+x}{x^{2}} \]
Mathematica. Time used: 0.314 (sec). Leaf size: 94
ode=x^4*D[y[x],x]+a^2+x^4*y[x]^2==0; 
ic={}; 
DSolve[{ode,ic},y[x],x,IncludeSingularSolutions->True]
 
\begin{align*} y(x)&\to \frac {2 a^2 c_1 e^{\frac {2 i a}{x}}+i a \left (e^2+2 c_1 x e^{\frac {2 i a}{x}}\right )+e^2 x}{x^2 \left (e^2+2 i a c_1 e^{\frac {2 i a}{x}}\right )}\\ y(x)&\to \frac {x-i a}{x^2} \end{align*}
Sympy. Time used: 2.826 (sec). Leaf size: 58
from sympy import * 
x = symbols("x") 
a = symbols("a") 
y = Function("y") 
ode = Eq(a**2 + x**4*y(x)**2 + x**4*Derivative(y(x), x),0) 
ics = {} 
dsolve(ode,func=y(x),ics=ics)
 
\[ y{\left (x \right )} = \frac {i a e^{\frac {2 i a \left (C_{1} x - 1\right )}{x}} + i a + x e^{\frac {2 i a \left (C_{1} x - 1\right )}{x}} - x}{x^{2} \left (e^{\frac {2 i a \left (C_{1} x - 1\right )}{x}} - 1\right )} \]