1.32 problem 32

Internal problem ID [7612]

Book: Differential Gleichungen, E. Kamke, 3rd ed. Chelsea Pub. NY, 1948
Section: Chapter 1, linear first order
Problem number: 32.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_Riccati]

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

Solution by Maple

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

dsolve(diff(y(x),x) + y(x)^2*sin(x) - 2*sin(x)/cos(x)^2=0,y(x), singsol=all)
 

\[ y \left (x \right ) = -\frac {2 \left (\cos \left (x \right )^{3} c_{1} +1\right )}{\left (\cos \left (x \right )^{3} c_{1} -2\right ) \cos \left (x \right )} \]

Solution by Mathematica

Time used: 0.555 (sec). Leaf size: 29

DSolve[y'[x] + y[x]^2*Sin[x] - 2*Sin[x]/Cos[x]^2==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \sec (x)-\frac {3 \cos ^2(x)}{\cos ^3(x)+c_1} \\ y(x)\to \sec (x) \\ \end{align*}