1.25 problem 24

Internal problem ID [2779]

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]

Solve \begin {gather*} \boxed {y^{\prime }-y \sec \relax (x )=0} \end {gather*}

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.039 (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 \tanh ^{-1}\left (\tan \left (\frac {x}{2}\right )\right )} \\ y(x)\to 0 \\ \end{align*}