Internal problem ID [9779]
Book: Handbook of exact solutions for ordinary differential equations. By Polyanin and Zaitsev. Second
edition
Section: Chapter 1, section 1.2. Riccati Equation. subsection 1.2.6-2. Equations with cosine.
Problem number: 24.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_Riccati]
Solve \begin {gather*} \boxed {x y^{\prime }-a \left (\cos ^{m}\left (\lambda x \right )\right ) y^{2}-k y-a \,b^{2} x^{2 k} \left (\cos ^{m}\left (\lambda x \right )\right )=0} \end {gather*}
✓ Solution by Maple
Time used: 0.013 (sec). Leaf size: 36
dsolve(x*diff(y(x),x)=a*cos(lambda*x)^m*y(x)^2+k*y(x)+a*b^2*x^(2*k)*cos(lambda*x)^m,y(x), singsol=all)
\[ y \relax (x ) = -\tan \left (-a b \left (\int \frac {\left (\cos ^{m}\left (\lambda x \right )\right ) x^{k}}{x}d x \right )+c_{1}\right ) b \,x^{k} \]
✓ Solution by Mathematica
Time used: 1.031 (sec). Leaf size: 50
DSolve[x*y'[x]==a*Cos[\[Lambda]*x]^m*y[x]^2+k*y[x]+a*b^2*x^(2*k)*Cos[\[Lambda]*x]^m,y[x],x,IncludeSingularSolutions -> True]
\begin{align*} y(x)\to \sqrt {b^2} x^k \tan \left (\sqrt {b^2} \int _1^xa \cos ^m(\lambda K[1]) K[1]^{k-1}dK[1]+c_1\right ) \\ \end{align*}