2.43 problem 43

Internal problem ID [9630]

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: 43.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_rational, _Riccati]

Solve \begin {gather*} \boxed {y^{\prime } x -x^{2 n} a y^{2}-\left (b \,x^{n}-n \right ) y-c=0} \end {gather*}

Solution by Maple

Time used: 0.008 (sec). Leaf size: 72

dsolve(x*diff(y(x),x)=a*x^(2*n)*y(x)^2+(b*x^n-n)*y(x)+c,y(x), singsol=all)
 

\[ y \relax (x ) = \frac {\left (\sqrt {4 b^{2} a c -b^{4}}\, \tan \left (\frac {\sqrt {4 b^{2} a c -b^{4}}\, \left (b \,x^{n}+c_{1} n \right )}{2 b^{2} n}\right )-b^{2}\right ) x^{-n}}{2 a b} \]

Solution by Mathematica

Time used: 1.074 (sec). Leaf size: 98

DSolve[x*y'[x]==a*x^(2*n)*y[x]^2+(b*x^n-n)*y[x]+c,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \frac {x^{-n} \left (-b+\sqrt {b^2-4 a c} \left (-1+\frac {2 c_1}{e^{\frac {x^n \sqrt {b^2-4 a c}}{n}}+c_1}\right )\right )}{2 a} \\ y(x)\to \frac {x^{-n} \left (\sqrt {b^2-4 a c}-b\right )}{2 a} \\ \end{align*}