Integral test for convergence

From Infogalactic: the planetary knowledge core
Jump to: navigation, search
The integral test applied to the harmonic series. Since the area under the curve y = 1/x for x[1, ∞) is infinite, the total area of the rectangles must be infinite as well.

Lua error in package.lua at line 80: module 'strict' not found.

In mathematics, the integral test for convergence is a method used to test infinite series of non-negative terms for convergence. It was developed by Colin Maclaurin and Augustin-Louis Cauchy and is sometimes known as the Maclaurin–Cauchy test.

Statement of the test

Consider an integer N and a non-negative, continuous function f defined on the unbounded interval [N, ∞), on which it is monotone decreasing. Then the infinite series

\sum_{n=N}^\infty f(n)

converges to a real number if and only if the improper integral

\int_N^\infty f(x)\,dx

is finite. In other words, if the integral diverges, then the series diverges as well.

Remark

If the improper integral is finite, then the proof also gives the lower and upper bounds

\int_N^\infty f(x)\,dx\le\sum_{n=N}^\infty f(n)\le f(N)+\int_N^\infty f(x)\,dx

 

 

 

 

(1)

for the infinite series.

Proof

The proof basically uses the comparison test, comparing the term f(n) with the integral of f over the intervals [n − 1, n) and [n, n + 1), respectively.

Since f is a monotone decreasing function, we know that


f(x)\le f(n)\quad\text{for all }x\in[n,\infty)

and


f(n)\le f(x)\quad\text{for all }x\in[N,n].

Hence, for every integer nN,


\int_n^{n+1} f(x)\,dx
\le\int_{n}^{n+1} f(n)\,dx
=f(n)

 

 

 

 

(2)

and, for every integer nN + 1,


f(n)=\int_{n-1}^{n} f(n)\,dx
\le\int_{n-1}^n f(x)\,dx.

 

 

 

 

(3)

By summation over all n from N to some larger integer M, we get from (2)


\int_N^{M+1}f(x)\,dx=\sum_{n=N}^M\underbrace{\int_n^{n+1}f(x)\,dx}_{\le\,f(n)}\le\sum_{n=N}^Mf(n)

and from (3)


\sum_{n=N}^Mf(n)\le f(N)+\sum_{n=N+1}^M\underbrace{\int_{n-1}^n f(x)\,dx}_{\ge\,f(n)}=f(N)+\int_N^M f(x)\,dx.

Combining these two estimates yields

\int_N^{M+1}f(x)\,dx\le\sum_{n=N}^Mf(n)\le f(N)+\int_N^M f(x)\,dx.

Letting M tend to infinity, the bounds in (1) and the result follow.

Applications

The harmonic series


\sum_{n=1}^\infty \frac1n

diverges because, using the natural logarithm, its derivative, and the fundamental theorem of calculus, we get


\int_1^M\frac1n\,dn=\ln n\Bigr|_1^M=\ln M\to\infty
\quad\text{for }M\to\infty.

Contrary, the series


\zeta(1+\varepsilon)=\sum_{x=1}^\infty \frac1{x^{1+\varepsilon}}

(cf. Riemann zeta function) converges for every ε > 0, because by the power rule


\int_1^M\frac1{x^{1+\varepsilon}}\,dx
=-\frac1{\varepsilon x^\varepsilon}\biggr|_1^M=
\frac1\varepsilon\Bigl(1-\frac1{M^\varepsilon}\Bigr)
\le\frac1\varepsilon<\infty
\quad\text{for all }M\ge1.

From (1) we get the upper estimate


\zeta(1+\varepsilon)=\sum_{x=1}^\infty \frac1{x^{1+\varepsilon}}\le\frac{1+\varepsilon}\varepsilon,

which can be compared with some of the particular values of Riemann zeta function.

Borderline between divergence and convergence

The above examples involving the harmonic series raise the question, whether there are monotone sequences such that f(n) decreases to 0 faster than 1/n but slower than 1/n1+ε in the sense that


\lim_{n\to\infty}\frac{f(n)}{1/n}=0
\quad\text{and}\quad
\lim_{n\to\infty}\frac{f(n)}{1/n^{1+\varepsilon}}=\infty

for every ε > 0, and whether the corresponding series of the f(n) still diverges. Once such a sequence is found, a similar question can be asked with f(n) taking the role of 1/n, and so on. In this way it is possible to investigate the borderline between divergence and convergence of infinite series.

Using the integral test for convergence, one can show (see below) that, for every natural number k, the series


\sum_{n=N_k}^\infty\frac1{n\ln(n)\ln_2(n)\cdots \ln_{k-1}(n)\ln_k(n)}

 

 

 

 

(4)

still diverges (cf. proof that the sum of the reciprocals of the primes diverges for k = 1) but


\sum_{n=N_k}^\infty\frac1{n\ln(n)\ln_2(n)\cdots\ln_{k-1}(n)(\ln_k(n))^{1+\varepsilon}}

 

 

 

 

(5)

converges for every ε > 0. Here lnk denotes the k-fold composition of the natural logarithm defined recursively by


\ln_k(x)=
\begin{cases}
\ln(x)&\text{for }k=1,\\
\ln(\ln_{k-1}(x))&\text{for }k\ge2.
\end{cases}

Furthermore, Nk denotes the smallest natural number such that the k-fold composition is well-defined and lnk(Nk) ≥ 1, i.e.


N_k\ge \underbrace{e^{e^{\cdot^{\cdot^{e}}}}}_{k\ e'\text{s}}=e \uparrow\uparrow k

using tetration or Knuth's up-arrow notation.

To see the divergence of the series (4) using the integral test, note that by repeated application of the chain rule


\frac{d}{dx}\ln_{k+1}(x)
=\frac{d}{dx}\ln(\ln_k(x))
=\frac1{\ln_k(x)}\frac{d}{dx}\ln_k(x)
=\cdots
=\frac1{x\ln(x)\cdots\ln_k(x)},

hence


\int_{N_k}^\infty\frac{dx}{x\ln(x)\cdots\ln_k(x)}
=\ln_{k+1}(x)\bigr|_{N_k}^\infty=\infty.

To see the convergence of the series (5), note that by the power rule, the chain rule and the above result


-\frac{d}{dx}\frac1{\varepsilon(\ln_k(x))^\varepsilon}
=\frac1{(\ln_k(x))^{1+\varepsilon}}\frac{d}{dx}\ln_k(x)
=\cdots
=\frac{1}{x\ln(x)\cdots\ln_{k-1}(x)(\ln_k(x))^{1+\varepsilon}},

hence


\int_{N_k}^\infty\frac{dx}{x\ln(x)\cdots\ln_{k-1}(x)(\ln_k(x))^{1+\varepsilon}}
=-\frac1{\varepsilon(\ln_k(x))^\varepsilon}\biggr|_{N_k}^\infty<\infty

and (1) gives bounds for the infinite series in (5).

References