The solution of the differential equation xdx+ydy+ydx−xdyx2+y2=0 is
(where C is integration constant)
Let x=rcosθ,y=rsinθ
⇒xdx+ydy=rdr
Also xdy−ydx=r2dθ
∴ Given equation can be rewritten as
rdr−r2dθr2=0
⇒rdr=dθ
⇒r22=θ+c
⇒x2+y2=2tan−1yx+C;
where 2c=C2