The improper integral is .
The function is continuous on the interval , hence split it into integrals.
.
Integral formula.
Apply the limits.