2.18 problem 18

Internal problem ID [9601]

Book: Handbook of exact solutions for ordinary differential equations. By Polyanin and Zaitsev. Second edition
Section: Chapter 1, section 1.2. Riccati Equation. 1.2.2. Equations Containing Power Functions
Problem number: 18.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_rational, [_Riccati, _special]]

\[ \boxed {x^{4} y^{\prime }+x^{4} y^{2}+a^{2}=0} \]

Solution by Maple

Time used: 0.0 (sec). Leaf size: 34

dsolve(x^4*diff(y(x),x)=-x^4*y(x)^2-a^2,y(x), singsol=all)
 

\[ y \left (x \right ) = -\frac {\sqrt {a^{2}}\, \tan \left (\frac {\sqrt {a^{2}}\, \left (x c_{1} -1\right )}{x}\right )-x}{x^{2}} \]

Solution by Mathematica

Time used: 0.526 (sec). Leaf size: 54

DSolve[x^4*y'[x]==-x^4*y[x]^2-a^2,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {x+a \left (\frac {1}{a c_1 e^{\frac {2 i a}{x}}-\frac {i}{2}}-i\right )}{x^2} \\ y(x)\to \frac {x-i a}{x^2} \\ \end{align*}