ODE No. 160

\[ \left (x^2-4\right ) y'(x)+(x+2) y(x)^2-4 y(x)=0 \] Mathematica : cpu = 0.134792 (sec), leaf count = 27

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

\[\left \{\left \{y(x)\to \frac {2-x}{(x+2) (-\log (x+2)+c_1)}\right \}\right \}\] Maple : cpu = 0.032 (sec), leaf count = 21

dsolve((x^2-4)*diff(y(x),x)+(x+2)*y(x)^2-4*y(x) = 0,y(x))
 

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