3.18 problem 18

Internal problem ID [4487]

Book: Fundamentals of Differential Equations. By Nagle, Saff and Snider. 9th edition. Boston. Pearson 2018.
Section: Chapter 2, First order differential equations. Section 2.4, Exact equations. Exercises. page 64
Problem number: 18.
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [y=_G(x,y')]

Solve \begin {gather*} \boxed {2 x +y^{2}-\cos \left (x +y\right )-\left (2 y x -\cos \left (x +y\right )-{\mathrm e}^{y}\right ) y^{\prime }=0} \end {gather*}

Solution by Maple

dsolve((2*x+y(x)^2-cos(x+y(x)))-(2*x*y(x)-cos(x+y(x))-exp(y(x)))*diff(y(x),x)=0,y(x), singsol=all)
 

\[ \text {No solution found} \]

Solution by Mathematica

Time used: 0.0 (sec). Leaf size: 0

DSolve[(2*x+y[x]^2-Cos[x+y[x]])-(2*x*y[x]-Cos[x+y[x]]-Exp[y[x]])*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

Not solved