$1639)$ $$\int \frac{x^2}{ 1+x^2}\, \mathrm{d}x$$
I know that ,$$\int \frac{1}{ 1+x^2}\, \mathrm{d}x = \arctan x+C$$ but I dont know what to do with $x^2$, so I used integration by parts method, and got
$$x^2\arctan x + C - \int 2x\arctan x \mathrm{d}x$$
so what I really want, is to know,should I go further and again integrate by part method what I got, or there some elementary integral which I can use.
And I need some hint to solve this problem:
$$\int \frac{x^{2}+3}{x^2-1}\, \mathrm{d}x$$
I hope I explain my point clear,thanks.