4.12.25 x2(1y(x))y(x)+(x+1)y(x)2=0

ODE
x2(1y(x))y(x)+(x+1)y(x)2=0 ODE Classification

[_separable]

Book solution method
Separable ODE, Neither variable missing

Mathematica
cpu = 0.0184982 (sec), leaf count = 25

{{y(x)1W(e1xc1x)}}

Maple
cpu = 0.011 (sec), leaf count = 23

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

DSolve[(1 + x)*y[x]^2 + x^2*(1 - y[x])*y'[x] == 0,y[x],x]

Mathematica raw output

{{y[x] -> -ProductLog[-(E^(x^(-1) - C[1])/x)]^(-1)}}

Maple raw input

dsolve(x^2*(1-y(x))*diff(y(x),x)+(1+x)*y(x)^2 = 0, y(x),'implicit')

Maple raw output

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