2.1 problem 26

Internal problem ID [3290]

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

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

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

Solution by Mathematica

Time used: 0.035 (sec). Leaf size: 15

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

\begin{align*} y(x)\to c_1 \sec (x) y(x)\to 0 \end{align*}