Consider the integral. There is a discontinuity in the interval of integration at -1, which requires splitting the integral into two type 2 improper integrals.