Answer explained
Solve: (x²-y²)dy/dx=2xy.
Given
Homogeneous differential equation (x²-y²)dy/dx=2xy.
Method
Substitute y=vx so dy/dx=v+x(dv/dx), then separate variables.
Step 1
v+x(dv/dx)=2v/(1-v²) ⇒ x(dv/dx)=v(1+v²)/(1-v²).
Step 2
(1-v²)/(v(1+v²))dv=dx/x. By partial fractions, (1-v²)/(v(1+v²))=1/v-2v/(1+v²).
Step 3
Integrating, ln|v|-ln(1+v²)=ln|x|+C, i.e. v/(1+v²)=kx.
Answer
Putting v=y/x: (y/x)/(1+y²/x²)=kx ⇒ y/(x²+y²)=k, i.e. x²+y²=Cy.