5.7 problem 7

Internal problem ID [549]

Book: Elementary differential equations and boundary value problems, 10th ed., Boyce and DiPrima
Section: Section 2.6. Page 100
Problem number: 7.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [_exact]

\[ \boxed {{\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} \]

Solution by Maple

Time used: 0.015 (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 \left (x \right )\right )+2 \cos \left (x \right ) y \left (x \right )+c_{1} = 0 \]

Solution by Mathematica

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

DSolve[Exp[x]*Sin[y[x]]-2*Sin[x]*y[x]+(2*Cos[x]+Exp[x]*Cos[y[x]])*y'[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 ] \]