# Math Help - Integration Help

1. ## Integration Help

How would you integrate

(2+t)^2 / 1+t^2 dt

Had a long uni break and now i'm trying to get back into it but i've forgotten a lot.

Please show intermediate steps. I've tried integration by parts, is that the right way to tackle it?

2. Note that:
\begin{aligned}(2+t)^2 & = t^2 + 4t + 4 \\ & = {\color{red}t^2 + 1} + 4t + 3 \end{aligned}

So: $\frac{(2+t)^2}{1+t^2} = \frac{{\color{red}t^2 + 1} + 4t + 3 }{1 + t^2} = \underbrace{\frac{{\color{red} t^2 + 1}}{1+t^2}}_{=1} + \frac{4t }{1+t^2} + \frac{3}{1+t^2}$

$\int \frac{(2+t)^2}{1+t^2} \ dt \ \ = \ \ \int \left( 1 + \frac{4t}{1+t^2} + 3 \cdot \frac{1}{1+t^2}\right) dt$
On the RHS, use a $u$-sub for the second integral and $\arctan (x)$ should ring a bell for the third.