2.4 problem 29

Internal problem ID [2784]

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

CAS Maple gives this as type [_linear]

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

Solution by Maple

Time used: 0.015 (sec). Leaf size: 11

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

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

Solution by Mathematica

Time used: 0.04 (sec). Leaf size: 13

DSolve[y'[x]==Sec[x]-y[x]*Tan[x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to \sin (x)+c_1 \cos (x) \\ \end{align*}