First note that
.
Now note that .
Now when you evalute , its the same as .
Spoiler:
Does this make sense?
To answer the last question. If the integral is similar to , and , then the integral is divergent. Also, the integral can be divergent if the integrand crosses a vertical asymptote.
EDIT: Plato and Kriz beat me...