∫ x arctan xdx
=∫ arctan xd(x^2/2)
=x^2/2*arctanx+(1/2)∫ x^2/(1+x^2)*dx
=(1/2)(x^2arctanx+x-arctanx)+C