2.23 problem 48

Internal problem ID [2803]

Book: Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section: Various 2
Problem number: 48.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_Riccati]

\[ \boxed {y^{\prime }-\cos \left (x \right )+\left (\sin \left (x \right )-y\right ) y=0} \]

Solution by Maple

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

dsolve(diff(y(x),x) = cos(x)-(sin(x)-y(x))*y(x),y(x), singsol=all)
 

\[ y \left (x \right ) = -\frac {{\mathrm e}^{-\cos \left (x \right )}}{c_{1} +\int {\mathrm e}^{-\cos \left (x \right )}d x}+\sin \left (x \right ) \]

Solution by Mathematica

Time used: 60.445 (sec). Leaf size: 39

DSolve[y'[x]==Cos[x]-(Sin[x]-y[x])y[x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \sin (x)-\frac {c_1 e^{-\cos (x)}}{1+c_1 \int _1^xe^{-\cos (K[1])}dK[1]} \\ \end{align*}