Learning Outcomes
- Use the divergence test to determine whether a series converges or diverges
- Use the integral test to determine the convergence of a series
Divergence Test
For a series [latex]\displaystyle\sum _{n=1}^{\infty }{a}_{n}[/latex] to converge, the [latex]n\text{th}[/latex] term [latex]{a}_{n}[/latex] must satisfy [latex]{a}_{n}\to 0[/latex] as [latex]n\to \infty[/latex].
Therefore, from the algebraic limit properties of sequences,
Therefore, if [latex]\displaystyle\sum _{n=1}^{\infty }{a}_{n}[/latex] converges, the [latex]n\text{th}[/latex] term [latex]{a}_{n}\to 0[/latex] as [latex]n\to \infty[/latex]. An important consequence of this fact is the following statement:
This test is known as the divergence test because it provides a way of proving that a series diverges.
Theorem: Divergence Test
If [latex]\underset{n\to \infty }{\text{lim}}{a}_{n}=c\ne 0[/latex] or [latex]\underset{n\to \infty }{\text{lim}}{a}_{n}[/latex] does not exist, then the series [latex]\displaystyle\sum _{n=1}^{\infty }{a}_{n}[/latex] diverges.
It is important to note that the converse of this theorem is not true. That is, if [latex]\underset{n\to \infty }{\text{lim}}{a}_{n}=0[/latex], we cannot make any conclusion about the convergence of [latex]\displaystyle\sum _{n=1}^{\infty }{a}_{n}[/latex]. For example, [latex]\underset{n\to 0}{\text{lim}}\left(\frac{1}{n}\right)=0[/latex], but the harmonic series [latex]\displaystyle\sum _{n=1}^{\infty }\frac{1}{n}[/latex] diverges. In this section and the remaining sections of this chapter, we show many more examples of such series. Consequently, although we can use the divergence test to show that a series diverges, we cannot use it to prove that a series converges. Specifically, if [latex]{a}_{n}\to 0[/latex], the divergence test is inconclusive.
Example: Using the divergence test
For each of the following series, apply the divergence test. If the divergence test proves that the series diverges, state so. Otherwise, indicate that the divergence test is inconclusive.
- [latex]\displaystyle\sum _{n=1}^{\infty }\frac{n}{3n - 1}[/latex]
- [latex]\displaystyle\sum _{n=1}^{\infty }\frac{1}{{n}^{3}}[/latex]
- [latex]\displaystyle\sum _{n=1}^{\infty }{e}^{\frac{1}{{n}^{2}}}[/latex]
try it
What does the divergence test tell us about the series [latex]\displaystyle\sum _{n=1}^{\infty }\cos\left(\frac{1}{{n}^{2}}\right)\text{?}[/latex]
Watch the following video to see the worked solution to the above Try IT.
For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.
You can view the transcript for this segmented clip of “5.3.1” here (opens in new window).
Integral Test
In the previous section, we proved that the harmonic series diverges by looking at the sequence of partial sums [latex]\left\{{S}_{k}\right\}[/latex] and showing that [latex]{S}_{{2}^{k}}>1+\frac{k}{2}[/latex] for all positive integers [latex]k[/latex]. In this section we use a different technique to prove the divergence of the harmonic series. This technique is important because it is used to prove the divergence or convergence of many other series. This test, called the integral test, compares an infinite sum to an improper integral. It is important to note that this test can only be applied when we are considering a series whose terms are all positive.
To illustrate how the integral test works, use the harmonic series as an example. In Figure 1, we depict the harmonic series by sketching a sequence of rectangles with areas [latex]1,\frac{1}{2},\frac{1}{3},\frac{1}{4},\ldots[/latex] along with the function [latex]f\left(x\right)=\frac{1}{x}[/latex]. From the graph, we see that
Therefore, for each [latex]k[/latex], the [latex]k\text{th}[/latex] partial sum [latex]{S}_{k}[/latex] satisfies
Since [latex]\underset{k\to \infty }{\text{lim}}\text{ln}\left(k+1\right)=\infty[/latex], we see that the sequence of partial sums [latex]\left\{{S}_{k}\right\}[/latex] is unbounded. Therefore, [latex]\left\{{S}_{k}\right\}[/latex] diverges, and, consequently, the series [latex]\displaystyle\sum _{n=1}^{\infty }\frac{1}{n}[/latex] also diverges.
Now consider the series [latex]\displaystyle\sum _{n=1}^{\infty }\frac{1}{{n}^{2}}[/latex]. We show how an integral can be used to prove that this series converges. In Figure 2, we sketch a sequence of rectangles with areas [latex]1,\frac{1}{{2}^{2}},\frac{1}{{3}^{2}},\ldots[/latex] along with the function [latex]f\left(x\right)=\frac{1}{{x}^{2}}[/latex]. From the graph we see that
Therefore, for each [latex]k[/latex], the [latex]k\text{th}[/latex] partial sum [latex]{S}_{k}[/latex] satisfies
We conclude that the sequence of partial sums [latex]\left\{{S}_{k}\right\}[/latex] is bounded. We also see that [latex]\left\{{S}_{k}\right\}[/latex] is an increasing sequence:
Since [latex]\left\{{S}_{k}\right\}[/latex] is increasing and bounded, by the Monotone Convergence Theorem, it converges. Therefore, the series [latex]\displaystyle\sum _{n=1}^{\infty }\frac{1}{{n}^{2}}[/latex] converges.
We can extend this idea to prove convergence or divergence for many different series. Suppose [latex]\displaystyle\sum _{n=1}^{\infty }{a}_{n}[/latex] is a series with positive terms [latex]{a}_{n}[/latex] such that there exists a continuous, positive, decreasing function [latex]f[/latex] where [latex]f\left(n\right)={a}_{n}[/latex] for all positive integers. Then, as in Figure 3 (a), for any integer [latex]k[/latex], the [latex]k\text{th}[/latex] partial sum [latex]{S}_{k}[/latex] satisfies
Therefore, if [latex]{\displaystyle\int }_{1}^{\infty }f\left(x\right)dx[/latex] converges, then the sequence of partial sums [latex]\left\{{S}_{k}\right\}[/latex] is bounded. Since [latex]\left\{{S}_{k}\right\}[/latex] is an increasing sequence, if it is also a bounded sequence, then by the Monotone Convergence Theorem, it converges. We conclude that if [latex]{\displaystyle\int }_{1}^{\infty }f\left(x\right)dx[/latex] converges, then the series [latex]\displaystyle\sum _{n=1}^{\infty }{a}_{n}[/latex] also converges. On the other hand, from Figure 3 (b), for any integer [latex]k[/latex], the [latex]k\text{th}[/latex] partial sum [latex]{S}_{k}[/latex] satisfies
If [latex]\underset{k\to \infty }{\text{lim}}{\displaystyle\int }_{1}^{k+1}f\left(x\right)dx=\infty[/latex], then [latex]\left\{{S}_{k}\right\}[/latex] is an unbounded sequence and therefore diverges. As a result, the series [latex]\displaystyle\sum _{n=1}^{\infty }{a}_{n}[/latex] also diverges. Since [latex]f[/latex] is a positive function, if [latex]{\displaystyle\int }_{1}^{\infty }f\left(x\right)dx[/latex] diverges, then [latex]\underset{k\to \infty }{\text{lim}}{\displaystyle\int }_{1}^{k+1}f\left(x\right)dx=\infty[/latex]. We conclude that if [latex]{\displaystyle\int }_{1}^{\infty }f\left(x\right)dx[/latex] diverges, then [latex]\displaystyle\sum _{n=1}^{\infty }{a}_{n}[/latex] diverges.
Theorem: Integral Test
Suppose [latex]\displaystyle\sum _{n=1}^{\infty }{a}_{n}[/latex] is a series with positive terms [latex]{a}_{n}[/latex]. Suppose there exists a function [latex]f[/latex] and a positive integer [latex]N[/latex] such that the following three conditions are satisfied:
- [latex]f[/latex] is continuous,
- [latex]f[/latex] is decreasing, and
- [latex]f\left(n\right)={a}_{n}[/latex] for all integers [latex]n\ge N[/latex].
Then [latex]\displaystyle\sum _{n=1}^{\infty }{a}_{n}\text{ and }{\displaystyle\int }_{N}^{\infty }f\left(x\right)dx[/latex]both converge or both diverge (see Figure 3).
Although convergence of [latex]{\displaystyle\int }_{N}^{\infty }f\left(x\right)dx[/latex] implies convergence of the related series [latex]\displaystyle\sum _{n=1}^{\infty }{a}_{n}[/latex], it does not imply that the value of the integral and the series are the same. They may be different, and often are. For example,
is a geometric series with initial term [latex]a=\frac{1}{e}[/latex] and ratio [latex]r=\frac{1}{e}[/latex], which converges to
However, the related integral [latex]{\displaystyle\int }_{1}^{\infty }{\left(\frac{1}{e}\right)}^{x}dx[/latex] satisfies
In the following examples, we explore how to use the integral test. Before doing so, we should note that since one of the conditions of the test is that the function is decreasing, we can use calculus to verify that this condition is met.
Recall: Showing that a function is decreasing
A differentiable function [latex]f(x)[/latex] is decreasing on an interval [latex]\left( a,b \right)[/latex] if [latex]f'(x) < 0[/latex] for all [latex]x\in\left( a,b \right)[/latex].
Example: Using the Integral Test
For each of the following series, use the integral test to determine whether the series converges or diverges.
- [latex]\displaystyle\sum _{n=1}^{\infty }\frac{1}{{n}^{3}}[/latex]
- [latex]\displaystyle\sum _{n=1}^{\infty }\frac{1}{\sqrt{2n - 1}}[/latex]
try it
Use the integral test to determine whether the series [latex]\displaystyle\sum _{n=1}^{\infty }\frac{n}{3{n}^{2}+1}[/latex] converges or diverges.
Watch the following video to see the worked solution to the above Try IT.
For closed captioning, open the video on its original page by clicking the Youtube logo in the lower right-hand corner of the video display. In YouTube, the video will begin at the same starting point as this clip, but will continue playing until the very end.
You can view the transcript for this segmented clip of “5.3.2” here (opens in new window).
Try It
Candela Citations
- 5.3.1. Authored by: Ryan Melton. License: CC BY: Attribution
- 5.3.2. Authored by: Ryan Melton. License: CC BY: Attribution
- Calculus Volume 2. Authored by: Gilbert Strang, Edwin (Jed) Herman. Provided by: OpenStax. Located at: https://openstax.org/books/calculus-volume-2/pages/1-introduction. License: CC BY-NC-SA: Attribution-NonCommercial-ShareAlike. License Terms: Access for free at https://openstax.org/books/calculus-volume-2/pages/1-introduction