# Integral test 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 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 function f defined on the unbounded interval [N, ∞), on which it is monotone decreasing. Then the infinite series

${\displaystyle \sum _^{\infty }f(n)}$

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

${\displaystyle \int _^{\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

${\displaystyle \int _^{\infty }f(x)\,dx\leq \sum _^{\infty }f(n)\leq f(N)+\int _^{\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

${\displaystyle f(x)\leq f(n)\quad {\text}x\in [n,\infty )}$

and

${\displaystyle f(n)\leq f(x)\quad {\text}x\in [N,n].}$

Hence, for every integer nN,

${\displaystyle \int _^f(x)\,dx\leq \int _^f(n)\,dx=f(n)}$

(2)

and, for every integer nN + 1,

${\displaystyle f(n)=\int _^f(n)\,dx\leq \int _^f(x)\,dx.}$

(3)

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

${\displaystyle \int _^f(x)\,dx=\sum _^\underbrace {\int _^f(x)\,dx} _{\leq \,f(n)}\leq \sum _^f(n)}$

and from (3)

${\displaystyle \sum _^f(n)\leq f(N)+\sum _^\underbrace {\int _^f(x)\,dx} _{\geq \,f(n)}=f(N)+\int _^f(x)\,dx.}$

Combining these two estimates yields

${\displaystyle \int _^f(x)\,dx\leq \sum _^f(n)\leq f(N)+\int _^f(x)\,dx.}$

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

## Applications

${\displaystyle \sum _^{\infty }{\frac }}$

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

${\displaystyle \int _^{\frac }\,dn=\ln n{\Bigr |}_^=\ln M\to \infty \quad {\text}M\to \infty .}$

Contrary, the series

${\displaystyle \zeta (1+\varepsilon )=\sum _^{\infty }{\frac }}}$

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

${\displaystyle \int _^{\frac }}\,dx=-{\frac {\varepsilon x^{\varepsilon }}}{\biggr |}_^={\frac {\varepsilon }}{\Bigl (}1-{\frac }}{\Bigr )}\leq {\frac {\varepsilon }}<\infty \quad {\text}M\geq 1.}$

From (1) we get the upper estimate

${\displaystyle \zeta (1+\varepsilon )=\sum _^{\infty }{\frac }}\leq {\frac {\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

${\displaystyle \lim _{\frac }=0\quad {\text}\quad \lim _{\frac }}=\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

${\displaystyle \sum _}^{\infty }{\frac (n)\cdots \ln _(n)\ln _(n)}}}$

(4)

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

${\displaystyle \sum _}^{\infty }{\frac (n)\cdots \ln _(n)(\ln _(n))^}}}$

(5)

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

${\displaystyle \ln _(x)={\begin\ln(x)&{\text}k=1,\\\ln(\ln _(x))&{\text}k\geq 2.\end}}$

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

${\displaystyle N_\geq \underbrace }}}} _}}=e\uparrow \uparrow k}$

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

${\displaystyle {\frac }\ln _(x)={\frac }\ln(\ln _(x))={\frac {\ln _(x)}}{\frac }\ln _(x)=\cdots ={\frac (x)}},}$

hence

${\displaystyle \int _}^{\infty }{\frac (x)}}=\ln _(x){\bigr |}_}^{\infty }=\infty .}$

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

${\displaystyle -{\frac }{\frac {\varepsilon (\ln _(x))^{\varepsilon }}}={\frac {(\ln _(x))^}}{\frac }\ln _(x)=\cdots ={\frac (x)(\ln _(x))^}},}$

hence

${\displaystyle \int _}^{\infty }{\frac (x)(\ln _(x))^}}=-{\frac {\varepsilon (\ln _(x))^{\varepsilon }}}{\biggr |}_}^{\infty }<\infty }$

and (1) gives bounds for the infinite series in (5).
The text passage is a detailed explanation of the integral test for convergence, including its statement, proof, and applications. It also explores the borderline between divergence and convergence of infinite series, providing specific examples and calculations.
no_question

the passage does not contain any explicit mathematical questions or problems for the reader to solve. it is an expository text that explains the integral test for convergence and provides examples of its application. while there are mathematical expressions and calculations, they are part of the explanation and not posed as questions to the reader.
Given a text passage, determine:
    1. If it contains a mathematical question (including word problems or calculations)
    2. If an answer to that mathematical question is provided in the text

First, describe the content structure you found in 1-2 sentences.

Then provide your analysis in the following format:
TYPE: <one of the following values>
- NO_QUESTION
- SINGLE_QUESTION
- SINGLE_QUESTION_WITH_ANSWER
- MULTIPLE_QUESTIONS
- MULTIPLE_QUESTIONS_WITH_ANSWERS
system
# Integral test 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 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 function f defined on the unbounded interval [N, ∞), on which it is monotone decreasing. Then the infinite series

${\displaystyle \sum _^{\infty }f(n)}$

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

${\displaystyle \int _^{\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

${\displaystyle \int _^{\infty }f(x)\,dx\leq \sum _^{\infty }f(n)\leq f(N)+\int _^{\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

${\displaystyle f(x)\leq f(n)\quad {\text}x\in [n,\infty )}$

and

${\displaystyle f(n)\leq f(x)\quad {\text}x\in [N,n].}$

Hence, for every integer nN,

${\displaystyle \int _^f(x)\,dx\leq \int _^f(n)\,dx=f(n)}$

(2)

and, for every integer nN + 1,

${\displaystyle f(n)=\int _^f(n)\,dx\leq \int _^f(x)\,dx.}$

(3)

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

${\displaystyle \int _^f(x)\,dx=\sum _^\underbrace {\int _^f(x)\,dx} _{\leq \,f(n)}\leq \sum _^f(n)}$

and from (3)

${\displaystyle \sum _^f(n)\leq f(N)+\sum _^\underbrace {\int _^f(x)\,dx} _{\geq \,f(n)}=f(N)+\int _^f(x)\,dx.}$

Combining these two estimates yields

${\displaystyle \int _^f(x)\,dx\leq \sum _^f(n)\leq f(N)+\int _^f(x)\,dx.}$

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

## Applications

${\displaystyle \sum _^{\infty }{\frac }}$

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

${\displaystyle \int _^{\frac }\,dn=\ln n{\Bigr |}_^=\ln M\to \infty \quad {\text}M\to \infty .}$

Contrary, the series

${\displaystyle \zeta (1+\varepsilon )=\sum _^{\infty }{\frac }}}$

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

${\displaystyle \int _^{\frac }}\,dx=-{\frac {\varepsilon x^{\varepsilon }}}{\biggr |}_^={\frac {\varepsilon }}{\Bigl (}1-{\frac }}{\Bigr )}\leq {\frac {\varepsilon }}<\infty \quad {\text}M\geq 1.}$

From (1) we get the upper estimate

${\displaystyle \zeta (1+\varepsilon )=\sum _^{\infty }{\frac }}\leq {\frac {\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

${\displaystyle \lim _{\frac }=0\quad {\text}\quad \lim _{\frac }}=\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

${\displaystyle \sum _}^{\infty }{\frac (n)\cdots \ln _(n)\ln _(n)}}}$

(4)

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

${\displaystyle \sum _}^{\infty }{\frac (n)\cdots \ln _(n)(\ln _(n))^}}}$

(5)

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

${\displaystyle \ln _(x)={\begin\ln(x)&{\text}k=1,\\\ln(\ln _(x))&{\text}k\geq 2.\end}}$

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

${\displaystyle N_\geq \underbrace }}}} _}}=e\uparrow \uparrow k}$

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

${\displaystyle {\frac }\ln _(x)={\frac }\ln(\ln _(x))={\frac {\ln _(x)}}{\frac }\ln _(x)=\cdots ={\frac (x)}},}$

hence

${\displaystyle \int _}^{\infty }{\frac (x)}}=\ln _(x){\bigr |}_}^{\infty }=\infty .}$

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

${\displaystyle -{\frac }{\frac {\varepsilon (\ln _(x))^{\varepsilon }}}={\frac {(\ln _(x))^}}{\frac }\ln _(x)=\cdots ={\frac (x)(\ln _(x))^}},}$

hence

${\displaystyle \int _}^{\infty }{\frac (x)(\ln _(x))^}}=-{\frac {\varepsilon (\ln _(x))^{\varepsilon }}}{\biggr |}_}^{\infty }<\infty }$

and (1) gives bounds for the infinite series in (5).
user
The text passage is a detailed explanation of the integral test for convergence, including its statement, proof, and applications. It also explores the borderline between divergence and convergence of infinite series, providing specific examples and calculations.

TYPE: NO_QUESTION

The passage does not contain any explicit mathematical questions or problems for the reader to solve. It is an expository text that explains the integral test for convergence and provides examples of its application. While there are mathematical expressions and calculations, they are part of the explanation and not posed as questions to the reader.