Integral test for convergence

From HandWiki
Revision as of 22:47, 6 February 2024 by MainAI5 (talk | contribs) (change)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Test for infinite series of monotonous terms for convergence
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.

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.

Statement of the test

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

[math]\displaystyle{ \sum_{n=N}^\infty f(n) }[/math]

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

[math]\displaystyle{ \int_N^\infty f(x)\,dx }[/math]

is finite. In particular, 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

[math]\displaystyle{ \int_N^\infty f(x)\,dx\le\sum_{n=N}^\infty f(n)\le f(N)+\int_N^\infty f(x)\,dx }[/math]

 

 

 

 

(1)

for the infinite series.

Note that if the function [math]\displaystyle{ f(x) }[/math] is increasing, then the function [math]\displaystyle{ -f(x) }[/math] is decreasing and the above theorem applies.

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.

The monotonous function [math]\displaystyle{ f }[/math] is continuous almost everywhere. To show this, let [math]\displaystyle{ D=\{ x\in [N,\infty)\mid f\text{ is discontinuous at } x\} }[/math]. For every [math]\displaystyle{ x\in D }[/math], there exists by the density of [math]\displaystyle{ \mathbb Q }[/math] a [math]\displaystyle{ c(x)\in\mathbb Q }[/math] so that [math]\displaystyle{ c(x)\in\left[\lim_{y\downarrow x} f(y), \lim_{y\uparrow x} f(y)\right] }[/math]. Note that this set contains an open non-empty interval precisely if [math]\displaystyle{ f }[/math] is discontinuous at [math]\displaystyle{ x }[/math]. We can uniquely identify [math]\displaystyle{ c(x) }[/math] as the rational number that has the least index in an enumeration [math]\displaystyle{ \mathbb N\to\mathbb Q }[/math] and satisfies the above property. Since [math]\displaystyle{ f }[/math] is monotone, this defines an injective mapping [math]\displaystyle{ c:D\to\mathbb Q, x\mapsto c(x) }[/math] and thus [math]\displaystyle{ D }[/math] is countable. It follows that [math]\displaystyle{ f }[/math] is continuous almost everywhere. This is sufficient for Riemann integrability.[1]

Since f is a monotone decreasing function, we know that

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

and

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

Hence, for every integer nN,

[math]\displaystyle{ \int_n^{n+1} f(x)\,dx \le\int_{n}^{n+1} f(n)\,dx =f(n) }[/math]

 

 

 

 

(2)

and, for every integer nN + 1,

[math]\displaystyle{ f(n)=\int_{n-1}^{n} f(n)\,dx \le\int_{n-1}^n f(x)\,dx. }[/math]

 

 

 

 

(3)

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

[math]\displaystyle{ \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) }[/math]


[math]\displaystyle{ \sum_{n=N}^Mf(n)=f(N)+\sum_{n=N+1}^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. }[/math]

Combining these two estimates yields

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

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

Applications

The harmonic series

[math]\displaystyle{ \sum_{n=1}^\infty \frac 1 n }[/math]

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

[math]\displaystyle{ \int_1^M \frac 1 n\,dn = \ln n\Bigr|_1^M = \ln M \to\infty \quad\text{for }M\to\infty. }[/math]

On the other hand, the series

[math]\displaystyle{ \zeta(1+\varepsilon)=\sum_{n=1}^\infty \frac1{n^{1+\varepsilon}} }[/math]

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

[math]\displaystyle{ \int_1^M\frac1{n^{1+\varepsilon}}\,dn = \left. -\frac 1{\varepsilon n^\varepsilon} \right|_1^M= \frac 1 \varepsilon \left(1-\frac 1 {M^\varepsilon}\right) \le \frac 1 \varepsilon \lt \infty \quad\text{for all }M\ge1. }[/math]

From (1) we get the upper estimate

[math]\displaystyle{ \zeta(1+\varepsilon)=\sum_{x=1}^\infty \frac 1 {n^{1+\varepsilon}} \le \frac{1 + \varepsilon}\varepsilon, }[/math]

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 of 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

[math]\displaystyle{ \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 }[/math]

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

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

 

 

 

 

(4)

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

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

 

 

 

 

(5)

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

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

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

[math]\displaystyle{ N_k\ge \underbrace{e^{e^{\cdot^{\cdot^{e}}}}}_{k\ e'\text{s}}=e \uparrow\uparrow k }[/math]

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

[math]\displaystyle{ \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)}, }[/math]

hence

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

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

[math]\displaystyle{ -\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}}, }[/math]

hence

[math]\displaystyle{ \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\lt \infty }[/math]

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

See also

References

  1. Brown, A. B. (September 1936). "A Proof of the Lebesgue Condition for Riemann Integrability". The American Mathematical Monthly 43 (7): 396–398. doi:10.2307/2301737. ISSN 0002-9890.