78.1.28 problem 2 (n)

Internal problem ID [18083]
Book : DIFFERENTIAL EQUATIONS WITH APPLICATIONS AND HISTORICAL NOTES by George F. Simmons. 3rd edition. 2017. CRC press, Boca Raton FL.
Section : Chapter 1. The Nature of Differential Equations. Separable Equations. Section 2. Problems at page 9
Problem number : 2 (n)
Date solved : Tuesday, January 28, 2025 at 11:25:47 AM
CAS classification : [_quadrature]

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

Solution by Maple

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

dsolve(diff(y(x),x)*sin(x)=1,y(x), singsol=all)
 
\[ y = -\ln \left (\csc \left (x \right )+\cot \left (x \right )\right )+c_{1} \]

Solution by Mathematica

Time used: 0.005 (sec). Leaf size: 13

DSolve[D[y[x],x]*Sin[x]==1,y[x],x,IncludeSingularSolutions -> True]
 
\[ y(x)\to -\text {arctanh}(\cos (x))+c_1 \]