19.31 problem 31

Internal problem ID [9881]

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.8-1. Equations containing arbitrary functions (but not containing their derivatives).
Problem number: 31.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_Riccati]

Solve \begin {gather*} \boxed {y^{\prime }-y^{2} f \relax (x )+a^{2} f \relax (x )-\lambda \cos \left (\lambda x \right ) a -f \relax (x ) \left (\cos ^{2}\left (\lambda x \right )\right ) a^{2}=0} \end {gather*}

Solution by Maple

dsolve(diff(y(x),x)=f(x)*y(x)^2-a^2*f(x)+a*lambda*cos(lambda*x)+a^2*f(x)*cos(lambda*x)^2,y(x), singsol=all)
 

\[ \text {No solution found} \]

Solution by Mathematica

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

DSolve[y'[x]==f[x]*y[x]^2-a^2*f[x]+a*\[Lambda]*cos[\[Lambda]*x]+a^2*f[x]*Cos[\[Lambda]*x]^2,y[x],x,IncludeSingularSolutions -> True]
 

Not solved