How do I find $$\int\frac{2x^3 + 5x^2 +2x +2}{(x^2 +2x + 2)(x^2 + 2x - 2)}\mathrm dx$$
I used partial fractions by breaking up $x^2 + 2x - 2$ into $(x+1)^2 - 3$ and split it into $(a+b)(a-b)$ but as u can see it's extreme tedious. I was wondering if there is a faster technique to resolve this.