4.5.17 xy(x)=xey(x)x+y(x)+x

ODE
xy(x)=xey(x)x+y(x)+x ODE Classification

[[_homogeneous, `class A`], _dAlembert]

Book solution method
Homogeneous equation

Mathematica
cpu = 0.0242288 (sec), leaf count = 21

{{y(x)xlog(ec1x1)}}

Maple
cpu = 0.022 (sec), leaf count = 31

{ln(ey(x)x+1)+ln(ey(x)x)ln(x)_C1=0} Mathematica raw input

DSolve[x*y'[x] == x + E^(y[x]/x)*x + y[x],y[x],x]

Mathematica raw output

{{y[x] -> -(x*Log[-1 + 1/(E^C[1]*x)])}}

Maple raw input

dsolve(x*diff(y(x),x) = x+y(x)+x*exp(y(x)/x), y(x),'implicit')

Maple raw output

-ln(exp(y(x)/x)+1)+ln(exp(y(x)/x))-ln(x)-_C1 = 0