Calculate integrate (x^3 + 1)/(x^2 - 1) dx . Divide first