I need to solve this: $$\int \frac{1-x^2}{x^2+x-2}$$
I tried to simplify the Denominator in this way:
$$ x^2+x-2 = (x-1)(x+2)$$
so my new integral is:
$$\int \frac{1-x^2}{(x-1)(x+2)}$$
So now I have N°(x) > D°(x) and as far as I know in this case I should try to divide the N(x) by the D(x) but I think that this is the wrong way, I have no idea about how to procede in this integral
Any hint?