Show that the given differential equation is homogeneous and then solve it.
(x2−y2)dx+2xydy=0
Given, (x2−y2)dx+2xydy=0
⇒2xydy=(y2−x2)dx⇒dydx=dydx=y2−x22xy ...(i)
Here, the numerator and denominator both have polynomial of degree 2. So, the given differential equation is homogeneous.
So, put y=vx ⇒dydx=v+xdvdx,then Eq. (i) becaomes
v+xdvdx=v2x2−x22x2v⇒v+xdvdx=v1−12v⇒xdvdx=v2−12v−v⇒xdvdx=−1−v22v⇒2vv2+1dv=−dxx
On integrating both sides, we get
∫2vv2+1dv+∫dxx=0Let v2+1=t⇒2v=dtdv⇒dv=dt2v ∴∫2vt×dt2v+∫dxx=0⇒log|t|+log|x|=logC⇒log|(v2+1)x|=logC (∵t=1+r2))
⇒log[(y2+x2x2)x])=logC⇒y2+x2x=C (∵v=y/x)
⇒x2+y2=Cx
This is the required solution of the given differential equation.