\int \frac{1}{t^2+1}dt = \frac{t}{t^2+1} + \int t\frac{2tdt}{(t^2+1)^2}