Hi

I am stuck on this problem integrating the following.

$\displaystyle \int\frac{arctan (x)}{1+x^2}dx$

In order to integrate should I be integrating by parts and seperating the function into $\displaystyle arctan(x)\cdot\frac{1}{1+x^2}$

Or should I be using the substitution method to do this?

I am very stuck - I know that $\displaystyle \int arctan(x) = x\cdot arctan (x) - \frac {1}{2}ln(1+x^2) + c$ but don't know if it's relevant to help me solve??

Thanks