2.1 problem 6

Internal problem ID [13786]

Book: INTRODUCTORY DIFFERENTIAL EQUATIONS. Martha L. Abell, James P. Braselton. Fourth edition 2014. ElScAe. 2014
Section: Chapter 1. Introduction to Differential Equations. Review exercises, page 23
Problem number: 6.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

dsolve(diff(y(x),x)+y(x)*cos(x)=0,y(x), singsol=all)
 

\[ y \left (x \right ) = c_{1} {\mathrm e}^{-\sin \left (x \right )} \]

Solution by Mathematica

Time used: 0.028 (sec). Leaf size: 19

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

\begin{align*} y(x)\to c_1 e^{-\sin (x)} y(x)\to 0 \end{align*}