Internal problem ID [3126]
Book: Differential equations with applications and historial notes, George F. Simmons,
1971
Section: Chapter 2, End of chapter, page 61
Problem number: 17.
ODE order: 1.
ODE degree: 1.
CAS Maple gives this as type [_exact]
\[ \boxed {y^{2} {\mathrm e}^{y x}+\left ({\mathrm e}^{y x}+{\mathrm e}^{y x} y x \right ) y^{\prime }=-\cos \left (x \right )} \]
✓ Solution by Maple
Time used: 0.031 (sec). Leaf size: 16
dsolve((y(x)^2*exp(x*y(x))+cos(x))+(exp(x*y(x))+x*y(x)*exp(x*y(x)))*diff(y(x),x)=0,y(x), singsol=all)
\[ y \left (x \right ) = \frac {\operatorname {LambertW}\left (-x \left (\sin \left (x \right )+c_{1} \right )\right )}{x} \]
✓ Solution by Mathematica
Time used: 60.266 (sec). Leaf size: 19
DSolve[(y[x]^2*Exp[x*y[x]]+Cos[x])+(Exp[x*y[x]]+x*y[x]*Exp[x*y[x]])*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
\[ y(x)\to \frac {W(x (-\sin (x)+c_1))}{x} \]