The integral is
.
Conisder
.
Substitute
in the integral.

If
then
is divergent.
Consider
.
then
.

If
, then
.

If
then
is divergent.
Consider
.
then
.

If
, then
.

If
then
is convergent.
If
then
is divergent.
If
then
is divergent.
If
then
is convergent.