Maths WorkshopMaths problems with full solutions
Exercise 5Calculus › Single-variable calculus › Integration › Improper integralsL1Added 2 Nov 2026

When do integrals of powers converge?

#improper integrals#p-test#Riemann integrals

Statement

For which real pp do the following improper integrals converge?
∫1+∞dxxp,∫01dxxp.\int_1^{+\infty}\frac{dx}{x^p},\qquad\int_0^1\frac{dx}{x^p}.

Hint

Compute ∫dxxp\int\frac{dx}{x^p} separately for p≠1p\ne1 and p=1p=1, then take limits.

Show solutionHide solution

Solution

At infinity. For p≠1p\ne1 and R>1R>1,
∫1Rdxxp=R1−p−11−p.\int_1^R\frac{dx}{x^p}=\frac{R^{1-p}-1}{1-p}.
- If p>1p>1, R1−p→0R^{1-p}\to0 and the integral converges to 1p−1\frac1{p-1}.
- If p<1p<1, R1−p→+∞R^{1-p}\to+\infty: divergence.
- If p=1p=1: ∫1Rdxx=ln⁡R→+∞\int_1^R\frac{dx}x=\ln R\to+\infty: divergence.

So ∫1+∞x−pdx\int_1^{+\infty}x^{-p}dx converges iff p>1p>1.

At zero. For p≠1p\ne1 and 0<ε<10<\varepsilon<1,
∫ε1dxxp=1−ε1−p1−p.\int_\varepsilon^1\frac{dx}{x^p}=\frac{1-\varepsilon^{1-p}}{1-p}.
- If p<1p<1, ε1−p→0\varepsilon^{1-p}\to0 and the integral converges to 11−p\frac1{1-p}.
- If p>1p>1, ε1−p→+∞\varepsilon^{1-p}\to+\infty: divergence.
- If p=1p=1: ∫ε1dxx=−ln⁡ε→+∞\int_\varepsilon^1\frac{dx}x=-\ln\varepsilon\to+\infty: divergence.

So ∫01x−pdx\int_0^1x^{-p}dx converges iff p<1p<1.

Remark. These two families are the benchmark for all comparison tests. Notice that no pp makes both converge: ∫0+∞x−pdx\int_0^{+\infty}x^{-p}dx always diverges.