The integral is
.

Let
.
Differentiate on each side.
\
Let
.
Integrate on each side.
\
Integration by parts :
.

.
Case 1 : For
.
Equation (1) is a undefined.
\If
then
is divergent.
Case 2 : For
.
If
then
is convergent.
If
then
is divergent.
If
then
is convergent.