The given differential equation is
(x2−y2)dx+2xydy=0(i)
This differential equation is homogeneous since the degree of each coefficient of dx and dy is the same (here, degree =2).
From (i),
2xydy=−(x2−y2)dx
⇒dxdy=−2xyx2−y2=2xyy2−x2
Dividing numerator and denominator by x2,
dxdy=2(xy)(xy)2−1=f(xy)(ii)
∴The given differential equation is homogeneous.
Substitution
Put
xy=v⇒y=vx
⇒dxdy=v+xdxdv
Substituting these values in (ii),
v+xdxdv=2vv2−1
Simplification
xdxdv=2vv2−1−v
=2vv2−1−2v2
=−2vv2+1
Separating Variables
xdxdv=−2vv2+1
⇒2vdv=−xv2+1dx
⇒v2+12vdv=−xdx
Integrating both sides
∫v2+12vdv=−∫x1dx
⇒log(v2+1)=−logx+logc
⇒log(v2+1)+logx=logc
⇒log((v2+1)x)=logc
⇒(v2+1)x=c
Substituting v=xy
(x2y2+1)x=c
⇒xy2+x2=c
or
x2+y2=cx
Required Solution
x2+y2=cx