SOLUTION —
$\text { } \begin{array}{l} y=\left(1+x^2\right) \tan ^{-1} x-x \\\Rightarrow \quad \frac{d y}{d x}=\left(1+x^2\right) \cdot \frac{1}{\left(1+x^2\right)}+\tan ^{-1} x \cdot(2 x)-1 \\=2 x \tan ^{-1} x\end{array}$
So, The correct option will be (B).