4. (12%) Calculate $\int_0^1 x \tan^{-1} x \, dx$