The solution of the differential equation x−y arc tanyxdx+x arcTanyxdy=0 is of the form logx4x2+y2+k tan−1yx = c then the value of k is
xy
yx
2xy
2yx
The given equation can rewritten as
dydx=ytan−1yx−xxtan−1yx=yx−1tan−1y/xv+xdvdx=v−1tan−1v ( on substituting y=vx)⇒∫tan−1vdv=−∫dxxvtan−1v−∫v11+v2dv+lnx=c by parts⇒lnx−12∫2v1+v2dv+yxtan−1yx=c⇒2lnx−ln1+v2+2yxtan−1yx=c
⇒2lnx−lnx2+y2x2+2yxtan−1yx=c⇒lnx4x2+y2+2yxtan−1yx=c