1.5 problem 1.

Internal problem ID [2575]

Book: Differential equations with applications and historial notes, George F. Simmons, 1971
Section: Chapter 2, section 7, page 37
Problem number: 1..
ODE order: 1.
ODE degree: 1.

CAS Maple gives this as type [[_homogeneous, `class D`]]

\[ \boxed {y^{\prime } x -y-2 \,{\mathrm e}^{-\frac {y}{x}}=0} \]

Solution by Maple

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

dsolve(x*diff(y(x),x)=y(x)+2*exp(- y(x)/x),y(x), singsol=all)
 

\[ y \left (x \right ) = \ln \left (\frac {2 c_{1} x -2}{x}\right ) x \]

Solution by Mathematica

Time used: 0.555 (sec). Leaf size: 16

DSolve[x*y'[x]==y[x]+2*Exp[- y[x]/x],y[x],x,IncludeSingularSolutions -> True]
 

\begin{align*} y(x)\to x \log \left (-\frac {2}{x}+c_1\right ) \\ \end{align*}