7.3.3 problem 3

Internal problem ID [43]
Book : Elementary Differential Equations. By C. Henry Edwards, David E. Penney and David Calvis. 6th edition. 2008
Section : Chapter 1. First order differential equations. Section 1.4 (separable equations). Problems at page 43
Problem number : 3
Date solved : Friday, February 07, 2025 at 08:12:51 AM
CAS classification : [_separable]

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

Solution by Maple

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

dsolve(diff(y(x),x)=y(x)*sin(x),y(x), singsol=all)
 
\[ y = {\mathrm e}^{-\cos \left (x \right )} c_1 \]

Solution by Mathematica

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

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