1.4 problem 2 (a)

Internal problem ID [5162]

Book: An introduction to Ordinary Differential Equations. Earl A. Coddington. Dover. NY 1961
Section: Chapter 1.3 Introduction– Linear equations of First Order. Page 38
Problem number: 2 (a).
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

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

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

Solution by Mathematica

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

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

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