In order to study the convergence of a series \(\sum _{k=k_0}^{\infty } a_k\), our first attempt to determine whether the series converges is to form the sequence of partial sums \(\{s_n\}_{n=k_0}\) since we know that the series \(\sum _{k=k_0}^{\infty } a_k\) converges if and only if \(\lim _{n \to \infty } s_n\) exists. In the case of geometric or telescoping series, we were able to find an explicit formula for \(s_n\), and analyze \(\lim _{n \to \infty } s_n\) by explicit computation. However, we cannot always find such an explicit formula, and when this is the case, we try to use properties of the terms in the sequence \(\{a_n\}\) to determine whether \(\lim _{n \to \infty } s_n\) exists. Our first result was the divergence test, which states
If \(\lim _{n \to \infty } a_n \neq 0\), then \(\sum _{k=k_0} a_k\) diverges.
However, there are still some divergent series that the divergence test does not pick out! We begin this section with such an example that shows how there is a connection between certain special types of series and improper integrals.
We have seen that we can graph a sequence as a collection of points in the plane. We consider the harmonic sequence where \(a_n = 1/n\), and write out the ordered list that represents it.
As it turns out, there is a nice way to visualize the sum \(\sum _{k=1}^\infty \frac {1}{k}\) too! One such way is to to make rectangles whose areas are equal to the terms in the sequence.
Note that the height of the \(k\)-th rectangle is precisely \(\frac {1}{k}\) and the width of all of the rectangles is \(1\), so the area of the \(k\)-th rectangle is \(\frac {1}{k}\).
Now, in order to conclude whether \(\sum _{k=1}^{\infty } a_k\) converges, we must analyze \(\lim _{n \to \infty } s_n\). Note that \(s_n\) has a nice visual interpretation as the sum of the areas of the first \(n\) rectangles, but since we don’t have an explicit formula for \(s_n\) we can try to establish that
- \(\{s_n\}\) is bounded and monotonic, and hence \(\lim _{n \to \infty } s_n\) exists.
- \(\{s_n\}\) is unbounded so \(\lim _{n \to \infty } s_n\) does not exist.
How can we establish this? The previous image might remind you of a Riemann Sum and for good reason. This technique lets us visually compare the sum of an infinite series to the value of an improper integral. For instance, if we add a plot of \(1/x\) to our picture above
Notice that the sum on the righthand side is simply \(s_n\). Since \(\int _1^{\infty } \frac {1}{x} dx\) is an improper integral, so we need to determine whether \(\lim _{n \to \infty } \left [ \int _1^n \frac {1}{x} dx \right ]\) exists. Notice
This means that \(\{s_n\}\) is not bounded and hence \(\lim _{n \to \infty } s_n = \infty \) and \(\sum _{k=1}^{\infty } \frac {1}{k}\) must diverge.
Now, let’s take a step back and see what we really needed in the previous example.
- We needed to find a function for which the area under the curve over any particular interval \([n,n+1]\) was less than the area of the rectangle whose height is \(a_k\) to establish a lower bound for each \(s_n\). Note that we can always do this if \(f(x)\) is eventually positive and decreasingincreasing since we may view each \(a_k\) as the area of the rectangle that coincides with \(f(x)\) at its lefthandrighthand endpoint.
- We needed the function to be “eventually continuous” so the improper integral \(\int _{a}^{\infty } f(x) dx\) can be computed as the limit of a single definite integral.
By “eventually” above, we really mean that \(f(x)\) should be continuous, positive, and decreasing on some interval \([a,\infty )\) for some \(a>0\); it doesn’t need to happen right away, but it should hold for all real large enough \(x\)-values. This leads us to an interesting observation.
Let \(f(x)\) be an eventually continuous, positive, and decreasing function with \(a_k = f(k)\). If \(\int _1^\infty f(x) dx\) diverges, so does \(\sum _{k=1}^\infty a_k\).
That’s a pretty good observation, but we can do even better.
Note that we have a slight annoyance if we consider \(\int _{0}^{\infty } \frac {1}{x^2} dx\) since \(\frac {1}{x^2}\) has a vertical asymptote at \(x=0\). This is easily avoided if we instead consider \(\frac {1}{x^2}\) on the interval \([1,\infty )\). This requires that we consider the rectangles on that interval too. We update our picture.
Notice that the sum of the areas of the rectangles now is the series \(\sum _{k=0}^{\infty } \frac {1}{k^2}\)\(\sum _{k=1}^{\infty } \frac {1}{k^2}\)\(\sum _{k=2}^{\infty } \frac {1}{k^2}\).
This is not an issue, because we know
The value of the lower index of summation does not affect whether an infinite series converges or diverges.
That is, if we can show \(\sum _{k=2}^{\infty } \frac {1}{k^2}\) converges, then \(\sum _{k=1}^{\infty } \frac {1}{k^2}\) must also converge. Now to determine whether \(\sum _{k=2}^{\infty } \frac {1}{k^2}\) converges, let \(s_n = \sum _{k=2}^n \frac {1}{k^2}\). We must determine if \(\lim _{n \to \infty } s_n\) exists. Since we expect \(\int _1^{\infty } f(x) dx\) to converge, we expect \(\sum _{k=2}^{\infty } \frac {1}{k^2}\) to converge. To show this, we should establish \(\{s_n\}\) is bounded and monotonic, and hence \(\lim _{n \to \infty } s_n\) exists\(\{s_n\}\) is unbounded so \(\lim _{n \to \infty } s_n\) does not exist .
Notice that since \(\frac {1}{k^2} > 0\) for all \(k\), and \(s_n = \sum _{k=1}^n\), the sequence \(\{s_n\}\) is increasingdecreasing.
To show that it is also bounded, note that for any \(n \geq 2\), we can observe from the picture that
and we thus have
Hence \(\{s_n\}\) is both bounded and monotonic, so \(\lim _{n \to \infty } s_n\) exists, and \(\sum _{k=2}^{\infty } \frac {1}{k^2}\) converges. Since \(\sum _{k=2}^{\infty } \frac {1}{k^2}\) converges, \(\sum _{k=1}^{\infty } \frac {1}{k^2}\) will also converge since the index where we start the summation does not affect whether the series converges.
Note that from the above, the value of the improper integral isis not the value of the series; indeed, by visualizing the series as the sum of the areas of the rectangles in the image, we see that the value of the series \(\sum _{k=2}^{\infty } \frac {1}{k^2}\) should be less thanequal togreater than the value of the improper integral \(\int _2^{\infty } \frac {1}{x^2}\).
Now, let’s take a step back and see what we really needed in the this example.
- We needed to find a function for which the area under the curve over any particular interval \([n,n+1]\) was greater than the area of the rectangle whose height is \(a_k\) to establish a lower bound for each \(s_n\). Note that we can always do this if \(f(x)\) is eventually positive and decreasingincreasing since we may view each \(a_k\) as the area of the rectangle that coincides with \(f(x)\) at its lefthandrighthand endpoint.
- We needed to establish that the sequence of partial sums is eventually increasing. This must happen if all of the \(a_k\) are positivenegative.
- We needed the function to be “eventually continuous” so the improper integral \(\int _{a}^{\infty } f(x) dx\) can be computed as the limit of a single definite integral.
By “eventually” above, we really mean that \(f(x)\) should be continuous, positive, and decreasing on some interval \([a,\infty )\); it doesn’t need to happen right away, but it should hold for all real large enough \(x\)-values. This leads us to an interesting observation.
Let \(f(x)\) be an eventually continuous, positive, and decreasing function with \(a_k = f(k)\). If \(\int _1^\infty f(x) dx\) converges, so does \(\sum _{k=1}^\infty a_k\).
1 The Integral Test
The observations from the previous examples give us a new convergence test called the integral test:
Notice that, after performing a substitution if necessary,
so \(\lim _{b \to \infty } \bigg [ -\frac {1}{8x^2+4}\bigg ]_1^b = \frac {1}{8}\) and hence the improper integral \(\int _1^{\infty } \frac {x}{(2x+1)^2} dx \) convergesdiverges. Thus, \(\sum _{k=1}^{\infty } \frac {k}{(2k^2+1)^2}\) convergesdiverges.
The next examples synthesizes some concepts we have seen thus far.
\(\{a_n\}_{n=1}\) is also bounded since \(0 \leq a_n \leq 1\) for all \(n\) (i.e. no terms are larger than \(1\) or smaller than \(0\)).
For \(s_n\), note that
Since \( \frac {1}{n^2+4} >0\), we have that \(s_{n+1} > s_n\) for all \(n\), so \(\{s_n\}_{n=1}\) is increasing (and hence monotonic). To determine if \(\{s_n\}_{n=1}\) bounded, we can determine whether \(\lim _{n \to \infty } s_n\) exists. Indeed, since \(\{s_n\}_{n=1}\) is increasing, we have that \(s_n < \lim _{n \to \infty } s_n\), so if the limit exists, it serves as an upper bound for all of the terms in the sequence.
We can write out the limit in this case and find
Thus, all we have to do is determine if the infinite series above converges.
To do this, we can apply the integral test. Let \(f(x)= \frac {1}{x^2+4}\). Notice that \(f(x)\) is positive, continuous, and decreasing on \([1,\infty )\), and
Since the improper integral converges, the series \(\sum _{k=1}^{\infty } \frac {1}{k^2+4}\) converges. Hence, \(\lim _{n \to \infty }s_n\) exists so \(\{s_n\}_{n=1}\) is bounded.
2 p-Series
A very important type of series for future sections is \(\sum _{k=1}^\infty \frac {1}{k^p}\), where \(p>0\). We call a series that can be brought into this form a \(p\)-series. We want to determine for which values of \(p\) these series converge and diverge.
Notice that in our model examples, both series were \(p\)-series.
- The harmonic series \(\sum _{k=1}^{\infty } \frac {1}{k}\) is a \(p\)-series with \(p = \answer {1}\). It convergesdiverges.
- The series \(\sum _{k=1}^{\infty } \frac {1}{k^2}\) is a \(p\)-series with \(p = \answer {2}\). It convergesdiverges.
Note that if \(p >1\), the exponent \(1-p\) is negative so \( \lim _{b\to \infty } \left [\frac {b^{1-p}}{1-p}\right ] = \answer {0}\). If \(p <1\), the exponent \(1-p\) is psoitive so \( \lim _{b\to \infty } \left [\frac {b^{1-p}}{1-p}\right ] = \answer {\infty }\). Thus, \( \int _1^\infty \frac {1}{x^p} dx\) only converges when \(p>1\) and thus \(\sum _{k=1}^\infty \frac {1}{k^p}\) converges if and only if \(p>1\).
This result is important enough to list as a theorem.