78.1.29 problem 2 (o)

Internal problem ID [18084]
Book : DIFFERENTIAL EQUATIONS WITH APPLICATIONS AND HISTORICAL NOTES by George F. Simmons. 3rd edition. 2017. CRC press, Boca Raton FL.
Section : Chapter 1. The Nature of Differential Equations. Separable Equations. Section 2. Problems at page 9
Problem number : 2 (o)
Date solved : Tuesday, January 28, 2025 at 11:25:48 AM
CAS classification : [_separable]

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

Solution by Maple

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

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

Solution by Mathematica

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

DSolve[D[y[x],x]+y[x]*Tan[x]==0,y[x],x,IncludeSingularSolutions -> True]
 
\begin{align*} y(x)\to c_1 \cos (x) \\ y(x)\to 0 \\ \end{align*}