Solution:
Concept: Every term is of degree 3, so the equation is homogeneous. We put y=vx; then dxdy=v+xdxdv. The v-integral is done by partial fractions.
Step 1 — Make dxdy the subject and substitute.
We divide by (y3−3x2y)dx, then divide the top and bottom by x3.
dxdy=y3−3x2yx3−3xy2
v+xdxdv=v3−3v1−3v2
Step 2 — Simplify.
We subtract v from both sides over the common denominator v3−3v.
xdxdv=v3−3v1−3v2−v4+3v2
xdxdv=v3−3v1−v4
Step 3 — Separate the variables.
We divide by x and multiply by the reciprocal fraction. Changing the sign of the top and bottom gives a neater form.
xdx=1−v4v3−3vdv
xdx=v4−13v−v3dv
Step 4 — Split into partial fractions.
Since v4−1=(v2−1)(v2+1), we try v2−1Av+v2+1Bv. Comparing Av(v2+1)+Bv(v2−1) with 3v−v3 gives two equations.
A+B=−1
A−B=3
Adding and subtracting them gives A=1, B=−2.
v4−13v−v3=v2−1v−v2+12v
Step 5 — Integrate.
Each fraction is a multiple of ff′. We write the constant as logc.
log∣x∣+logc=21log∣v2−1∣−log(v2+1)
cx=v2+1∣v2−1∣
Squaring both sides (and taking the sign into the constant) gives the following.
c2x2=(v2+1)2v2−1
Step 6 — Put back v=xy.
We have v2−1=x2y2−x2 and (v2+1)2=x4(x2+y2)2.
c2x2=(x2+y2)2(y2−x2)x2
We cancel x2 (with x=0) and clear the fraction.
c2(x2+y2)2=y2−x2
Therefore, the general solution is c2(x2+y2)2=y2−x2, where c is an arbitrary constant.