Before you integrate something, it's always good to spend some time to look at it closely.
Now if you choose u = x, and dv = (arctan(x)dx) / (1 + x2)2, then it's very hard to find v.
If you choose u = x / (1 + x2)2, and dv = arctan(x)dx, then you'll get a mess when you try to find du, and obviously, you are complicating the integrand.
And if you choose u = 1 / (1 + x2)2, and dv = x arctan(x) dx, then it's hard to find v.
...
And if you choose u = arctan(x), and dv = (x dx) / (1 + x2)2, you can make the integrand look simplier. Now just try it.
You then come up with something like:
\int \frac{dx}{(1 + x ^ 2) ^ 2}, you can again try to integrate it by parts.
Viet Dao,