ODE No. 329

\[ x^n y(x)^m \left (a x y'(x)+b y(x)\right )+\alpha x y'(x)+\beta y(x)=0 \] Mathematica : cpu = 0.741449 (sec), leaf count = 102

DSolve[beta*y[x] + alpha*x*Derivative[1][y][x] + x^n*y[x]^m*(b*y[x] + a*x*Derivative[1][y][x]) == 0,y[x],x]
 

\[\text {Solve}\left [\frac {m \left ((a \beta -\alpha b) \log \left (x^n y(x)^m (b m-a n)-\alpha n+\beta m\right )+\beta \log (x) (b m-a n)\right )}{(b m-a n) (\beta m-\alpha n)}+\frac {\alpha m \log (\beta m y(x)-\alpha n y(x))}{\beta m-\alpha n}=c_1,y(x)\right ]\] Maple : cpu = 0.443 (sec), leaf count = 71

dsolve(y(x)^m*x^n*(a*x*diff(y(x),x)+b*y(x))+alpha*x*diff(y(x),x)+beta*y(x) = 0,y(x))
 

\[x^{\beta m \left (a n -b m \right )} \left (y \left (x \right )^{m}\right )^{\alpha \left (a n -b m \right )} \left (x^{n} \left (a n -b m \right ) y \left (x \right )^{m}-\beta m +\alpha n \right )^{-a \beta m +b m \alpha }-c_{1} = 0\]