1.16 problem 16

Internal problem ID [4419]

Book: Fundamentals of Differential Equations. By Nagle, Saff and Snider. 9th edition. Boston. Pearson 2018.
Section: Chapter 2, First order differential equations. Section 2.2, Separable Equations. Exercises. page 46
Problem number: 16.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

Solve \begin {gather*} \boxed {\frac {y^{\prime }}{y}+y \,{\mathrm e}^{\cos \relax (x )} \sin \relax (x )=0} \end {gather*}

Solution by Maple

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

dsolve(1/y(x)*diff(y(x),x)+y(x)*exp(cos(x))*sin(x)=0,y(x), singsol=all)
 

\[ y \relax (x ) = -\frac {1}{{\mathrm e}^{\cos \relax (x )}-c_{1}} \]

Solution by Mathematica

Time used: 0.295 (sec). Leaf size: 21

DSolve[1/y[x]*y'[x]+y[x]*Exp[Cos[x]]*Sin[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to -\frac {1}{e^{\cos (x)}+c_1} \\ y(x)\to 0 \\ \end{align*}