5.1 problem Problem 1

Internal problem ID [2204]

Book: Differential equations and linear algebra, Stephen W. Goode and Scott A Annin. Fourth edition, 2015
Section: Chapter 1, First-Order Differential Equations. Section 1.9, Exact Differential Equations. page 91
Problem number: Problem 1.
ODE order: 1.
ODE degree: 1.

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

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

Solution by Maple

dsolve(y(x)*exp(x*y(x))+(2*y(x)-x*exp(x*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[y[x]*Exp[x*y[x]]+(2*y[x]-x*Exp[x*y[x]])*y'[x]==0,y[x],x,IncludeSingularSolutions -> True]
 

Not solved