10.5.7 problem 7

Internal problem ID [1199]
Book : Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section : Section 2.6. Page 100
Problem number : 7
Date solved : Monday, January 27, 2025 at 04:44:01 AM
CAS classification : [_exact]

\begin{align*} {\mathrm e}^{x} \sin \left (y\right )-2 \sin \left (x \right ) y+\left (2 \cos \left (x \right )+{\mathrm e}^{x} \cos \left (y\right )\right ) y^{\prime }&=0 \end{align*}

Solution by Maple

Time used: 0.025 (sec). Leaf size: 17

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

Solution by Mathematica

Time used: 0.276 (sec). Leaf size: 20

DSolve[Exp[x]*Sin[y[x]]-2*Sin[x]*y[x]+(2*Cos[x]+Exp[x]*Cos[y[x]])*D[y[x],x] == 0,y[x],x,IncludeSingularSolutions -> True]
 
\[ \text {Solve}\left [e^x \sin (y(x))+2 y(x) \cos (x)=c_1,y(x)\right ] \]