El profesor se sorprenderá mucho al ver tu solución correcta😉
2 2 d d - x*y (x) + x *--(y(x))*y(x) = 2 - --(y(x))*y(x) dx dx
x^2*y*y' - x*y^2 = -y*y' + 2
____________________________________________________________________________________ / 2 2 2 y(x) = -\/ C1 + 2*x + I*log(I + x) + C1*x - I*log(x - I) + I*x *log(I + x) - I*x *log(x - I)
____________________________________________________________________________________ / 2 2 2 y(x) = \/ C1 + 2*x + I*log(I + x) + C1*x - I*log(x - I) + I*x *log(I + x) - I*x *log(x - I)
(x, y):
(-10.0, 0.75)
(-7.777777777777778, 0.6575146677780436)
(-5.555555555555555, 0.6115115791072541)
(-3.333333333333333, 0.6667524357667878)
(-1.1111111111111107, 1.0306935301610332)
(1.1111111111111107, 3.6051181944457986)
(3.333333333333334, 8.703722891991598)
(5.555555555555557, 14.145871684132752)
(7.777777777777779, 19.658782425820153)
(10.0, 25.197184607474927)
(10.0, 25.197184607474927)