47.1.3 problem 3

Internal problem ID [7384]
Book : Ordinary differential equations and calculus of variations. Makarets and Reshetnyak. Wold Scientific. Singapore. 1995
Section : Chapter 1. First order differential equations. Section 1.1 Separable equations problems. page 7
Problem number : 3
Date solved : Monday, January 27, 2025 at 02:51:30 PM
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 = c_{1} {\mathrm e}^{-\cos \left (x \right )} \]

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*}