3.3 problem 3

Internal problem ID [29]

Book: Differential equations and linear algebra, 3rd ed., Edwards and Penney
Section: Section 1.4. Separable equations. Page 43
Problem number: 3.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_separable]

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

Solution by Maple

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

dsolve(diff(y(x),x) = sin(x)*y(x),y(x), singsol=all)
 

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

Solution by Mathematica

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

DSolve[y'[x] == Sin[x]*y[x],y[x],x,IncludeSingularSolutions -> True]
 

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