Solution:
Key idea: When the equation is linear in x (not in y), we treat x as the dependent variable and write it as dydx+Px=Q, where P and Q are functions of y only. Then IF=e∫Pdy and the solution is x⋅IF=∫Q⋅IFdy+c, where c is the arbitrary constant.
Step 1 — Part (i): linear form in x.
We take reciprocals (with y>0, as given) to get dydx.
dydx=yx+2y2
dydx−y1x=2y
Here P=−y1, whose integral is −logy.
IF=y1
Step 2 — Part (i): solve.
We multiply Q=2y by the IF and integrate.
yx=∫2dy
yx=2y+c
x=2y2+cy
Step 3 — Part (ii): solve.
Exactly as in part (i), the equation becomes linear in x with IF y1 (here y>0 near the given point).
dydx−y1x=3y
yx=∫3dy
yx=3y+c
Step 4 — Part (ii): use the given point.
We are told that y is 1 when x is 2.
2=3+c
c=−1
So yx=3y−1, and multiplying by y gives x=3y2−y.
Step 5 — Part (iii): linear form in x.
We divide by ydy to get dydx and collect the x term.
dydx+y1x=3y
Here P=y1, so the IF is y (taking y>0).
Step 6 — Part (iii): solve.
We multiply Q=3y by y and integrate.
xy=∫3y2dy
xy=y3+c
Step 7 — Part (iv): linear form in x.
We move y2 to the right and take reciprocals.
dydx=−y2x−y1
dydx+y21x=y31
Here P=y21, whose integral is −y1.
IF=e−1/y
Step 8 — Part (iv): set up the integral.
We multiply Q by the IF.
xe−1/y=∫y3e−1/ydy
We put t=−y1, so that dt=y2dy.
Also y1 is −t. Writing y3dy as y1⋅y2dy, it becomes −tdt.
xe−1/y=∫−tetdt
Step 9 — Part (iv): integrate and simplify.
Integration by parts gives ∫tetdt=(t−1)et, so the integral is (1−t)et.
xe−1/y=(1+y1)e−1/y+c
We divide by e−1/y.
x=1+y1+ce1/y
Multiplying by y multiplies every term, including the constant term.
xy=y+1+cye1/y
Note: In part (iv) the last term is cye1/y; the factor y comes from multiplying ce1/y by y.
Step 10 — Part (v): linear form in x.
Taking reciprocals gives dydx directly.
dydx=x+y+1
dydx−x=y+1
Here P=−1, so the IF is e−y.
Step 11 — Part (v): solve.
We multiply Q=y+1 by e−y and integrate by parts with y+1 as the first function.
xe−y=∫(y+1)e−ydy
xe−y=−(y+1)e−y−e−y+c
xe−y=−(y+2)e−y+c
Multiplying by ey gives x.
x=cey−y−2
Step 12 — Part (vi): linear form in x.
We divide by ydy and collect the x term.
dydx+y1x=y2
Here P=y1, so the IF is y (taking y>0).
Step 13 — Part (vi): solve.
We multiply Q=y2 by y and integrate.
xy=∫y3dy
xy=4y4+c
Therefore, (i) x=2y2+cy; (ii) x=3y2−y; (iii) xy=y3+c; (iv) xy=1+y+cye1/y; (v) x=cey−y−2; (vi) xy=4y4+c.