The differential equation is (x2−yx2)dy+(y2+x2y2)dx=0
Factor out common terms:
x2(1−y)dy+y2(1+x2)dx=0
Rearranging:
x2(1−y)dy=−y2(1+x2)dx
Dividing both sides by x2y2:
y2(1−y)dy=−x2(1+x2)dx
Expanding the left side:
y2(1−y)dy=y2dy−ydy
Expanding the right side:
−x2(1+x2)dx=−x2dx−dx
The equation becomes:
y2dy−ydy=−x2dx−dx
Integrating both sides:
∫y2dy−∫ydy=−∫x2dx−∫dx
−y1−loge∣y∣=x1−x+c
Multiplying by −1:
y1+loge∣y∣=−x1+x−c
Replacing −c with c:
loge∣y∣+y1=−x1+x+c
Rearranging:
loge∣y∣+x1+y1−x=c