First, we can factor out the constant 4 from the denominator:
∫−1∞4(x2+2x+2)dx =41∫−1∞x2+2x+2dx. Next, we complete the square in the denominator:
x2+2x+2=x2+2x+1+1=(x+1)2+1. So the integral becomes:
41∫−1∞(x+1)2+1dx. Let u=x+1, then du=dx. When x=−1, u=−1+1=0. When x→∞, u→∞. So the integral becomes:
41∫0∞u2+1du. We know that ∫u2+1du=arctan(u)+C, so: 41∫0∞u2+1du=41[arctan(u)]0∞. As u approaches infinity, arctan(u) approaches 2π. Also, arctan(0)=0. Therefore,
41[arctan(u)]0∞=41(2π−0)=8π.