2.10 problem 10

Internal problem ID [2059]

Book: Differential equations and linear algebra, Stephen W. Goode, second edition, 2000
Section: 1.6, page 50
Problem number: 10.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_linear]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.039 (sec). Leaf size: 20

DSolve[y'[x]==Sin[x]*(y[x]*Sec[x]-2),y[x],x,IncludeSingularSolutions -> True]
 

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