First, we rewrite the equation as
2xydxdy=y2−x2. Then, we can write it as
dxdy=2xyy2−x2. This is a homogeneous differential equation. Let y=vx, then dxdy=v+xdxdv. Substituting into the equation, we have
v+xdxdv=2x(vx)(vx)2−x2=2vx2v2x2−x2=2vx2x2(v2−1)=2vv2−1. xdxdv=2vv2−1−v=2vv2−1−2v2=2v−v2−1=−2vv2+1. Separating the variables, we have
v2+12vdv=−x1dx. Integrating both sides, we have
∫v2+12vdv=∫−x1dx. ln(v2+1)=−ln∣x∣+C. ln(v2+1)+ln∣x∣=C. ln(x(v2+1))=C. x(v2+1)=eC=A, where A is a constant. Substituting v=xy back into the equation, we get x(x2y2+1)=A. x(x2y2+x2)=A. xy2+x2=A. y2+x2=Ax. x2−Ax+y2=0. Completing the square for x, (x−2A)2−4A2+y2=0. (x−2A)2+y2=4A2. This represents a circle centered at (2A,0) with radius 2∣A∣. Then the equation is
y2+x2=2Cx.