The general solution of the differential equation 1/x ~d y~d x= ^-1 x is
A. \(y+\frac{x^2 \tan ^{-1} x}{2}+\mathrm{c}=0\), where c is a constant of integration.
B. \(y+x \tan ^{-1} x+\mathrm{c}=0\), where c is a constant integration.
C. \(y-x-\tan ^{-1} x+\mathrm{c}=0\), where c is a constant of integration.
D. \(y=\frac{x^2 \tan ^{-1} x}{2}-\frac{1}{2}\left(x-\tan ^{-1} x\right)+\mathrm{c}\), where c is constant of integration.