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]
Solve \begin {gather*} \boxed {y^{\prime }-\sin \relax (x ) \left (y \sec \relax (x )-2\right )=0} \end {gather*}
✓ Solution by Maple
Time used: 0.016 (sec). Leaf size: 17
dsolve(diff(y(x),x)=sin(x)*(y(x)*sec(x)-2),y(x), singsol=all)
\[ y \relax (x ) = \frac {\frac {\cos \left (2 x \right )}{2}+c_{1}}{\cos \relax (x )} \]
✓ Solution by Mathematica
Time used: 0.052 (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*}