10.11 problem 24

Internal problem ID [9775]

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]

\[ \boxed {y^{\prime } x -a \cos \left (\lambda x \right )^{m} y^{2}-k y-a \,b^{2} x^{2 k} \cos \left (\lambda x \right )^{m}=0} \]

Solution by Maple

Time used: 0.032 (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 \left (x \right ) = -\tan \left (-b a \left (\int \frac {\cos \left (\lambda x \right )^{m} 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*}