In mathematics, the integral test for convergence is a method used to test infinite series of monotonous terms for convergence. It was developed by Colin Maclaurin and Augustin-Louis Cauchy and is sometimes known as the Maclaurin–Cauchy test.
Consider an integer and a function defined on the unbounded interval, on which it is monotone decreasing. Then the infinite series
infty | |
\sum | |
n=N |
f(n)
converges to a real number if and only if the improper integral
infty | |
\int | |
N |
f(x)dx
is finite. In particular, if the integral diverges, then the series diverges as well.
If the improper integral is finite, then the proof also gives the lower and upper bounds
for the infinite series.
Note that if the function
f(x)
-f(x)
Many textbooks require the function
f
f
infty | |
\sum | |
n=N |
f(n)
infty | |
\int | |
N |
f(x)dx
The proof basically uses the comparison test, comparing the term with the integral of over the intervals and, respectively.
The monotonous function
f
D=\{x\in[N,infty)\midfisdiscontinuousatx\}
x\inD
Q
c(x)\inQ
c(x)\in\left[\limy\downarrowf(y),\limy\uparrowf(y)\right]
f
x
c(x)
N\toQ
f
c:D\toQ,x\mapstoc(x)
D
f
Since is a monotone decreasing function, we know that
f(x)\lef(n) forallx\in[n,infty)
and
f(n)\lef(x) forallx\in[N,n].
Hence, for every integer,
and, for every integer,
By summation over all from to some larger integer, we get from
M+1 | |
\int | |
N |
n+1 | |
f(x)dx=\sum | |
n |
f(x)dx}\lef(n)
Mf(n) | |
\le\sum | |
n=N |
and from
Mf(n)\le | |
\sum | |
n=N+1 |
n | |
f(N)+\sum | |
n-1 |
f(x)dx}\gef(n)
M | |
=f(N)+\int | |
N |
f(x)dx.
Combining these two estimates yields
M+1 | |
\int | |
N |
Mf(n)\le | |
f(x)dx\le\sum | |
n=N |
M | |
f(N)+\int | |
N |
f(x)dx.
Letting tend to infinity, the bounds in and the result follow.
The harmonic series
infty | |
\sum | |
n=1 |
1 | |
n |
M | |
\int | |
1 |
1 | |
ndn |
=ln
M | |
nr| | |
1 |
=lnM\toinfty forM\toinfty.
infty | |
\zeta(1+\varepsilon)=\sum | |
n=1 |
1{n | |
1+\varepsilon |
| ||||
\int | ||||
1 |
infty | |
\zeta(1+\varepsilon)=\sum | |
n=1 |
1 | |
n1+\varepsilon |
\le
1+\varepsilon | |
\varepsilon, |
The above examples involving the harmonic series raise the question of whether there are monotone sequences such that decreases to 0 faster than but slower than in the sense that
\limn\toinfty
f(n) | |
1/n |
=0 and \limn\toinfty
f(n) | |
1/n1+\varepsilon |
=infty
Using the integral test for convergence, one can show (see below) that, for every natural number, the seriesstill diverges (cf. proof that the sum of the reciprocals of the primes diverges for) butconverges for every . Here denotes the -fold composition of the natural logarithm defined recursively by
lnk(x)= \begin{cases} ln(x)&fork=1,\\ ln(lnk-1(x))&fork\ge2. \end{cases}
Nk\ge
| |||||||||
\underbrace{e |
To see the divergence of the series using the integral test, note that by repeated application of the chain rule
d | |
dx |
lnk+1(x) =
d | |
dx |
ln(ln | |||||||||||
|
ln | ||||
|
| ||||
\int | ||||
Nk |
=lnk+1
infty=infty. | |
(x)r| | |
Nk |
- | d |
dx |
1{\varepsilon(ln | |
k(x)) |
| ||||
1+\varepsilon
| |||||||||||||||||
\int | =- | ||||||||||||||||
Nk |
1{\varepsilon(ln | |
k(x)) |
infty<infty | |
Nk |