First we give a very important improper integral, which will be used together with the tests for convergence.
Proof.
For

, we have:
Then:
This limit is infinite for

, and is equal to 1 for

.
For
, we have:
This integral has infinite limit for

in a neighborhood of

, i.e. the given improper integral diverges.