ODE No. 238

\[ (a+x (y(x)+x)) y'(x)-b-y(x) (y(x)+x)=0 \] Mathematica : cpu = 0.254391 (sec), leaf count = 192

DSolve[-b - y[x]*(x + y[x]) + (a + x*(x + y[x]))*Derivative[1][y][x] == 0,y[x],x]
 

\[\left \{\left \{y(x)\to -\frac {a+x^2}{x}+\frac {1}{x \left (-\frac {a}{-a^2-a x^2-b x^2}-\frac {x}{\left (a^2+a x^2+b x^2\right )^{3/2} \sqrt {-\frac {1}{(a+b) \left (a^2+a x^2+b x^2\right )}+c_1}}\right )}\right \},\left \{y(x)\to -\frac {a+x^2}{x}+\frac {1}{x \left (-\frac {a}{-a^2-a x^2-b x^2}+\frac {x}{\left (a^2+a x^2+b x^2\right )^{3/2} \sqrt {-\frac {1}{(a+b) \left (a^2+a x^2+b x^2\right )}+c_1}}\right )}\right \}\right \}\] Maple : cpu = 0.072 (sec), leaf count = 93

dsolve((x*(y(x)+x)+a)*diff(y(x),x)-y(x)*(y(x)+x)-b = 0,y(x))
 

\[y \left (x \right ) = \frac {-a b x -c_{1} x +\sqrt {c_{1} \left (a +b \right ) \left (a \,x^{2}+b \,x^{2}+a^{2}-c_{1}\right )}}{-a^{2}+c_{1}}\]