1.25 problem 24

Internal problem ID [3288]

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

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.036 (sec). Leaf size: 24

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

\begin{align*} y(x)\to c_1 e^{2 \text {arctanh}\left (\tan \left (\frac {x}{2}\right )\right )} y(x)\to 0 \end{align*}