p-test for convergence

The p-test is used to determine the convergence or divergence of improper integrals of the form 1xpdx. It is the fundamental "borderline" test for integrals involving power laws.

1. The Two Types of Improper Integrals

There are two distinct cases because the behavior of 1xp changes drastically depending on whether we are looking at infinity (tail behavior) or at zero (singularity behavior).

Type 1: Infinite Intervals (At Infinity)

Integral: 11xpdx

Type 2: Singularities (Near Zero)

Integral: 011xpdx

The Harmonic "Wall"

The harmonic function 1x (where p=1) is the critical boundary. It fails at both ends: it diverges at infinity (too slow to decay) and diverges at zero (too fast to be tamed).