2.41 problem 41

Internal problem ID [9624]

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

CAS Maple gives this as type [_rational, _Riccati]

\[ \boxed {y^{\prime } x -x^{2 n} y^{2}-\left (m -n \right ) y-x^{2 m}=0} \]

Solution by Maple

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

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

\[ y \left (x \right ) = \tan \left (\frac {-c_{1} m -c_{1} n +x^{m +n}}{m +n}\right ) x^{m -n} \]

Solution by Mathematica

Time used: 0.48 (sec). Leaf size: 28

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

\begin{align*} y(x)\to x^{m-n} \tan \left (\frac {x^{m+n}}{m+n}+c_1\right ) \\ \end{align*}