29.2.1 problem 26

Internal problem ID [4634]
Book : Ordinary differential equations and their solutions. By George Moseley Murphy. 1960
Section : Various 2
Problem number : 26
Date solved : Monday, January 27, 2025 at 09:28:51 AM
CAS classification : [_separable]

\begin{align*} y^{\prime }&=y \tan \left (x \right ) \end{align*}

Solution by Maple

Time used: 0.003 (sec). Leaf size: 8

dsolve(diff(y(x),x) = y(x)*tan(x),y(x), singsol=all)
 
\[ y \left (x \right ) = \sec \left (x \right ) c_{1} \]

Solution by Mathematica

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

DSolve[D[y[x],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*}