Canonical: https://knowlpedia.com/real-analysis/integral-test/

# Integral test

A convergence test that compares a nonnegative decreasing series to an improper integral.

**Integral test:** Let \(f:[1,\infty)\to[0,\infty)\) be continuous and decreasing, and define \(a_n=f(n)\). Then the [series](https://knowlpedia.com/real-analysis/series/) \(\sum_{n=1}^\infty a_n\) [converges](https://knowlpedia.com/real-analysis/convergent-series/) if and only if the improper integral
\[
\int_1^\infty f(x)\,dx
\]
converges (is finite).

Moreover, for each integer \(N\ge 1\) one has the remainder bounds
\[
\int_{N+1}^\infty f(x)\,dx \;\le\; \sum_{n=N+1}^\infty a_n \;\le\; \int_N^\infty f(x)\,dx.
\]

## Remarks

This test complements the [comparison test](https://knowlpedia.com/real-analysis/comparison-test/) for nonnegative series and is often paired with the [Cauchy condensation test](https://knowlpedia.com/real-analysis/cauchy-condensation-test/) for slowly varying terms.
