Internal problem ID [5086]
Book: THEORY OF DIFFERENTIAL EQUATIONS IN ENGINEERING AND MECHANICS. K.T.
CHAU, CRC Press. Boca Raton, FL. 2018
Section: Chapter 3. Ordinary Differential Equations. Section 3.2 FIRST ORDER ODE. Page
114
Problem number: Example 3.6.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_exact]
Solve \begin {gather*} \boxed {{\mathrm e}^{x}+y+\left (x -2 \sin \relax (y)\right ) y^{\prime }=0} \end {gather*}
✓ Solution by Maple
Time used: 0.0 (sec). Leaf size: 16
dsolve((exp(x)+y(x))+(x-2*sin(y(x)))*diff(y(x),x)=0,y(x), singsol=all)
\[ x y \relax (x )+{\mathrm e}^{x}+2 \cos \left (y \relax (x )\right )+c_{1} = 0 \]
✓ Solution by Mathematica
Time used: 0.377 (sec). Leaf size: 19
DSolve[(Exp[x]+y[x])+(x-2*Sin[y[x]])*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
\[ \text {Solve}\left [x y(x)+2 \cos (y(x))+e^x=c_1,y(x)\right ] \]