Hi.

This is a differential equation but im stuck at the integral.

dy/dx + 2xy = xy^2 + 2x

i moved everything to one side except y' and factored out x. I get:

dy/dx = x(y^2 - 2y +2)

then

dy/(y^2 - 2y +2) = x dx

how do i integrate the left side?