3.11 problem Problem 11

Internal problem ID [2649]

Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition, 2015
Section: Chapter 1, First-Order Differential Equations. Section 1.6, First-Order Linear Differential Equations. page 59
Problem number: Problem 11.
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.045 (sec). Leaf size: 20

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

\[ y(x)\to \frac {1}{2} \sec (x) (\cos (2 x)+2 c_1) \]