Concept: In each part we factorise the coefficients of dx and dy, divide by the product that mixes x and y, and integrate each side separately. A fraction such as x−1x2 is first split by long division.
Step 1 — Part (i): factorise and separate.
We take y common from the dx term and x common from the dy term, then divide by xy.
y(1+x)dx+x(1−y2)dy=0
x1+xdx+y1−y2dy=0
(x1+1)dx+(y1−y)dy=0
Step 2 — Part (i): integrate.
We integrate term by term and write the constant as −c.
log∣x∣+x+log∣y∣−2y2=−c
2y2−log∣y∣=x+log∣x∣+c
Step 3 — Part (ii): factorise and separate.
We take x2 common from the dy term and y2 from the dx term, then divide by x2y2.
x2(1−y)dy+y2(1+x)dx=0
y21−ydy+x21+xdx=0
(y21−y1)dy+(x21+x1)dx=0
Step 4 — Part (ii): integrate.
We use ∫t−2dt=−t1 and ∫tdt=log∣t∣.
−y1−log∣y∣−x1+log∣x∣=c
We collect the logs on the left and the fractions on the right.
log∣x∣−log∣y∣=x1+y1+c
logyx=xyx+y+c
Step 5 — Part (iii): separate.
We divide by (x−1)(y+1), with x=1, y=−1.
x−1x2dx+y+1y2dy=0
Step 6 — Part (iii): divide the polynomials.
Long division gives a polynomial plus a simple fraction in each case, which we can integrate.
x−1x2=x+1+x−11
y+1y2=y−1+y+11
Step 7 — Part (iii): integrate and combine.
We integrate every term and add one arbitrary constant c.
2x2+x+log∣x−1∣+2y2−y+log∣y+1∣=c
We combine the two logs with logA+logB=logAB.
log∣(x−1)(y+1)∣+21(x2+y2)+x−y=c
Step 8 — Part (iv): separate.
We move 2xydx to the right and divide by y(x+1), with y=0, x=−1.
(x+1)dy=2xydx
ydy=x+12xdx
Step 9 — Part (iv): split the fraction and integrate.
We write 2x=2(x+1)−2 so that the fraction becomes a constant minus a simple fraction.
ydy=(2−x+12)dx
log∣y∣=2x−2log∣x+1∣+c
log∣y∣=2[x−log∣x+1∣]+c
Therefore, (i) 2y2−log∣y∣=x+log∣x∣+c; (ii) logyx=xyx+y+c; (iii) log∣(x−1)(y+1)∣+21(x2+y2)+x−y=c; (iv) log∣y∣=2[x−log∣x+1∣]+c.