This is known as an "improper integral", since the function is not defined at one of the end points.
So we need to see what happens CLOSE to that end point.
.
If this limit converges, then the integral will converge and can be evaluated. If the limit does not exist or tends to , the integral will diverge.