Internal problem ID [5839]
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]
\[ \boxed {y+\left (x -2 \sin \left (y\right )\right ) y^{\prime }=-{\mathrm e}^{x}} \]
✓ 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)
\[ {\mathrm e}^{x}+x y \left (x \right )+2 \cos \left (y \left (x \right )\right )+c_{1} = 0 \]
✓ Solution by Mathematica
Time used: 0.233 (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 ] \]