
# 8.2: Infinite Series

Given the sequence $$\{a_n\} = \{1/2^n\} = 1/2,\ 1/4,\ 1/8,\ \ldots$$, consider the following sums:

$\begin{array}{ccccc} a_1 &=& 1/2 &=& 1/2\\ a_1+a_2 &=& 1/2+1/4 &=& 3/4\\ a_1+a_2+a_3 &=& 1/2+1/4+1/8 &=& 7/8\\ a_1+a_2+a_3+a_4 &=& 1/2+1/4+1/8+1/16 & =& 15/16 \end{array}$

In general, we can show that

$a_1+a_2+a_3+\cdots +a_n = \frac{2^n-1}{2^n} = 1-\frac{1}{2^n}.$

Let $$S_n$$ be the sum of the first $$n$$ terms of the sequence $$\{1/2^n\}$$. From the above, we see that $$S_1=1/2$$, $$S_2 = 3/4$$, etc. Our formula at the end shows that $$S_n = 1-1/2^n$$.

Now consider the following limit:

$\lim\limits_{n\to\infty}S_n = \lim\limits_{n\to\infty}\big(1-1/2^n\big) = 1.$

This limit can be interpreted as saying something amazing: the sum of all the terms of the sequence $$\{1/2^n\}$$ is 1.}

This example illustrates some interesting concepts that we explore in this section. We begin this exploration with some definitions.

Definition 31 Infinite Series, $$n^\text{th}$$ Partial Sums, Convergence, Divergence

Let $$\{a_n\}$$ be a sequence.

1. The sum $$\sum\limits_{n=1}^\infty a_n$$ is an infinite series (or, simply series).
2. Let $$S_n = \sum\limits_{i=1}^n a_i$$; the sequence $$\{S_n\}$$ is the sequence of $$n^\text{th}$$ partial sums of $$\{a_n\}$$.
3. If the sequence $$\{S_n\}$$ converges to $$L$$, we say the series $$\sum\limits_{n=1}^\infty a_n$$ converges to $$L$$, and we write $$\sum\limits_{n=1}^\infty a_n = L$$.
4. If the sequence $$\{S_n\}$$ diverges, the series $$\sum\limits_{n=1}^\infty a_n$$ diverges.

Using our new terminology, we can state that the series $$\sum\limits_{n=1}^\infty 1/2^n$$ converges, and $$\sum\limits_{n=1}^\infty 1/2^n = 1.$$

We will explore a variety of series in this section. We start with two series that diverge, showing how we might discern divergence.

Example $$\PageIndex{1}$$: Showing series diverge

1. Let $$\{a_n\} = \{n^2\}$$. Show $$\sum\limits_{n=1}^\infty a_n$$ diverges.
2. Let $$\{b_n\} = \{(-1)^{n+1}\}$$. Show $$\sum\limits_{n=1}^\infty b_n$$ diverges.

SOLUTION

1. Consider $$S_n$$, the $$n^\text{th}$$ partial sum.
\begin{align*} S_n &= a_1+a_2+a_3+\cdots+a_n \\ &= 1^2+2^2+3^2\cdots + n^2.\end{align*}
By Theorem 37, this is
$= \frac{n(n+1)(2n+1)}{6}.$
Since $$\lim\limits_{n\to\infty}S_n = \infty$$, we conclude that the series $$\sum\limits_{n=1}^\infty n^2$$ diverges. It is instructive to write $$\sum\limits_{n=1}^\infty n^2=\infty$$ for this tells us how the series diverges: it grows without bound.

A scatter plot of the sequences $$\{a_n\}$$ and $$\{S_n\}$$ is given in Figure 8.7(a). The terms of $$\{a_n\}$$ are growing, so the terms of the partial sums $$\{S_n\}$$ are growing even faster, illustrating that the series diverges.

2. The sequence $$\{b_n\}$$ starts with 1, $$-1$$, 1, $$-1$$, $$\ldots$$. Consider some of the partial sums $$S_n$$ of $$\{b_n\}$$:
\begin{align*}S_1 &= 1\\S_2 &= 0\\S_3 &= 1\\S_4 &= 0\end{align*}
This pattern repeats; we find that $$S_n = \left\{\begin{array}{cc} 1 & n \text{ is odd}\\ 0 & n \text{ is even} \end{array}\right.$$

As $$\{S_n\}$$ oscillates, repeating 1, 0, 1, 0, $$\ldots$$, we conclude that $$\lim\limits_{n\to\infty}S_n$$ does not exist, hence $$\sum\limits_{n=1}^\infty (-1)^{n+1}$$ diverges.

A scatter plot of the sequence $$\{b_n\}$$ and the partial sums $$\{S_n\}$$ is given in Figure 8.7(b). When $$n$$ is odd, $$b_n = S_n$$ so the marks for $$b_n$$ are drawn oversized to show they coincide.

Figure 8.7:
Scatter plots relating to Example 8.2.1.

While it is important to recognize when a series diverges, we are generally more interested in the series that converge. In this section we will demonstrate a few general techniques for determining convergence; later sections will delve deeper into this topic.

#### Geometric Series

One important type of series is a geometric series.

Definition 32 geometric series

A geometric series is a series of the form

$\sum\limits_{n=0}^\infty r^n = 1+r+r^2+r^3+\cdots+r^n+\cdots$

Note that the index starts at $$n=0$$, not $$n=1$$.

We started this section with a geometric series, although we dropped the first term of $$1$$. One reason geometric series are important is that they have nice convergence properties.

theorem 60 convergence of geometric series

Consider the geometric series $$\sum\limits_{n=0}^\infty r^n$$.

1. The $$n^\text{th}$$ partial sum is: $$S_n = \frac{1-r\,^{n+1}}{1-r}$$.
2. The series converges if, and only if, $$|r| < 1$$. When $$|r|<1$$,
$\sum\limits_{n=0}^\infty r^n = \frac{1}{1-r}.$

According to Theorem 60, the series

$\sum\limits_{n=0}^\infty \frac{1}{2^n} =\sum\limits_{n=0}^\infty \left(\frac 12\right)^2= 1+\frac12+\frac14+\cdots$

converges as $$r=1/2$$, and $$\sum\limits_{n=0}^\infty \frac{1}{2^n} = \frac{1}{1-1/2} = 2.$$ This concurs with our introductory example; while there we got a sum of 1, we skipped the first term of 1.

Example $$\PageIndex{2}$$: Exploring geometric series

Check the convergence of the following series. If the series converges, find its sum.

$$1. \sum\limits_{n=2}^\infty \left(\frac34\right)^n \qquad 2. \sum\limits_{n=0}^\infty \left(\frac{-1}{2}\right)^n \qquad 3. \sum\limits_{n=0}^\infty 3^n$$

SOLUTION

Figure 8.8:
Scatter plots relating to the series in Example 8.2.2

1. Since $$r=3/4<1$$, this series converges. By Theorem 60, we have that
$\sum\limits_{n=0}^\infty \left(\frac34\right)^n = \frac{1}{1-3/4} = 4.$
However, note the subscript of the summation in the given series: we are to start with $$n=2$$. Therefore we subtract off the first two terms, giving:
$\sum\limits_{n=2}^\infty \left(\frac34\right)^n = 4 - 1 - \frac34 = \frac94.$
This is illustrated in Figure 8.8.

2. Since $$|r| = 1/2 < 1$$, this series converges, and by Theorem 60,
$\sum\limits_{n=0}^\infty \left(\frac{-1}{2}\right)^n = \frac{1}{1-(-1/2)} = \frac23.$

The partial sums of this series are plotted in Figure 8.9(a). Note how the partial sums are not purely increasing as some of the terms of the sequence $$\{(-1/2)^n\}$$ are negative.

3. Since $$r>1$$, the series diverges. (This makes "common sense''; we expect the sum
$1+3+9+27 + 81+243+\cdots$
to diverge.) This is illustrated in Figure 8.9(b).

Figure 8.9:
Scatter plots relating to the series in Example 8.2.2.

#### p-Series

Another important type of series is the p-series.

Definition 33: $$p$$-Series, General $$P$$-Series

1. A $$p$$--series is a series of the form $\sum\limits_{n=1}^\infty \frac{1}{n^p}, \qquad \text{where $$p>0$$.}$
2. A general $$p$$--series} is a series of the form
$\sum\limits_{n=1}^\infty \frac{1}{(an+b)^p}, \qquad \text{where $$p>0$$ and $$a$$, $$b$$ are real numbers.}$

Like geometric series, one of the nice things about p--series is that they have easy to determine convergence properties.

theorem 61: convergence of general $$P$$--Series

A general $$p$$--series $$\sum\limits_{n=1}^\infty \frac{1}{(an+b)^p}$$ will converge if, and only if, $$p>1$$.

Note: Theorem 61 assumes that $$an+b\neq 0$$ for all $$n$$. If $$an+b=0$$ for some $$n$$, then of course the series does not converge regardless of $$p$$ as not all of the terms of the sequence are defined.

Example $$\PageIndex{3}$$: Determining convergence of series

Determine the convergence of the following series.

1. $$\sum\limits_{n=1}^\infty \frac{1}{n}$$
2. $$\sum\limits_{n=1}^\infty \frac{1}{n^2}$$
3. $$\sum\limits_{n=1}^\infty \frac{1}{\sqrt{n}}$$
4. $$\sum\limits_{n=1}^\infty \frac{(-1)^n}{n}$$
5. $$\sum\limits_{n=11}^\infty \frac{1}{(\frac12n-5)^3}$$
6. $$\sum\limits_{n=1}^\infty \frac{1}{2^n}$$

SOLUTION

1. This is a $$p$$--series with $$p=1$$. By Theorem 61, this series diverges.
This series is a famous series, called the Harmonic Series, so named because of its relationship to harmonics in the study of music and sound.
2. This is a $$p$$--series with $$p=2$$. By Theorem 61, it converges. Note that the theorem does not give a formula by which we can determine what the series converges to; we just know it converges. A famous, unexpected result is that this series converges to $${\pi^2}/{6}$$.
3. This is a $$p$$--series with $$p=1/2$$; the theorem states that it diverges.
4. This is not a $$p$$--series; the definition does not allow for alternating signs. Therefore we cannot apply Theorem 61. (Another famous result states that this series, the Alternating Harmonic Series, converges to $$\ln 2$$.)
5. This is a general $$p$$--series with $$p=3$$, therefore it converges.
6. This is not a $$p$$--series, but a geometric series with $$r=1/2$$. It converges.

Later sections will provide tests by which we can determine whether or not a given series converges. This, in general, is much easier than determining what a given series converges to. There are many cases, though, where the sum can be determined.

Example $$\PageIndex{4}$$: Telescoping series

Evaluate the sum $$\sum\limits_{n=1}^\infty \left(\frac1n-\frac1{n+1}\right)$$.

SOLUTION
It will help to write down some of the first few partial sums of this series.
\begin{align*} S_1 &= \frac11-\frac12 & & = 1-\frac12\\ S_2 &= \left(\frac11-\frac12\right) + \left(\frac12-\frac13\right) & & = 1-\frac13\\ S_3 &= \left(\frac11-\frac12\right) + \left(\frac12-\frac13\right)+\left(\frac13-\frac14\right) & &= 1-\frac14\\ S_4 &= \left(\frac11-\frac12\right) + \left(\frac12-\frac13\right)+\left(\frac13-\frac14\right) +\left(\frac14-\frac15\right)& &= 1-\frac15 \end{align*}
Note how most of the terms in each partial sum are canceled out! In general, we see that $$S_n = 1-\frac{1}{n+1}$$. The sequence $$\{S_n\}$$ converges, as $$\lim\limits_{n\to\infty}S_n = \lim\limits_{n\to\infty}\left(1-\frac1{n+1}\right) = 1$$, and so we conclude that $$\sum\limits_{n=1}^\infty \left(\frac1n-\frac1{n+1}\right) = 1$$. Partial sums of the series are plotted in Figure 8.10.

Figure 8.10:
Scatter plots relating to the series of Example 8.2.4.

The series in Example 8.2.4 is an example of a telescoping series. Informally, a telescoping series is one in which the partial sums reduce to just a finite number of terms. The partial sum $$S_n$$ did not contain $$n$$ terms, but rather just two: 1 and $$1/(n+1)$$.

When possible, seek a way to write an explicit formula for the $$n^\text{th}$$ partial sum $$S_n$$. This makes evaluating the limit $$\lim\limits_{n\to\infty} S_n$$ much more approachable. We do so in the next example.

Note on notation: Most of the series we encounter will start with $$n=1$$. For ease of notation, we will often write $$\sum\limits a_n$$ instead of writing $$\sum\limits_{n=1}^\infty a_n$$.

Example $$\PageIndex{5}$$: Evaluating series

Evaluate each of the following infinite series.

1. $$\sum\limits_{n=1}^\infty \frac{2}{n^2+2n} \qquad 2. \sum\limits_{n=1}^\infty \ln\left(\frac{n+1}{n}\right)$$

SOLUTION

1. We can decompose the fraction $$2/(n^2+2n)$$ as $\frac2{n^2+2n} = \frac1n-\frac1{n+2}.$ (See Section 6.5, Partial Fraction Decomposition, to recall how this is done, if necessary.)
Expressing the terms of $$\{S_n\}$$ is now more instructive:
\begin{align*}S_1 &= 1-\frac13 &&= 1-\frac13\\S_2 &= \left(1-\frac13\right) + \left(\frac12-\frac14\right) &&= 1+\frac12-\frac13-\frac14\\S_3 &= \left(1-\frac13\right) + \left(\frac12-\frac14\right)+\left(\frac13-\frac15\right) &&= 1+\frac12-\frac14-\frac15\\S_4 &= \left(1-\frac13\right) + \left(\frac12-\frac14\right)+\left(\frac13-\frac15\right)+\left(\frac14-\frac16\right) &&= 1+\frac12-\frac15-\frac16\\S_5 &= \left(1-\frac13\right) + \left(\frac12-\frac14\right)+\left(\frac13-\frac15\right)+\left(\frac14-\frac16\right)+\left(\frac15-\frac17\right) &&= 1+\frac12-\frac16-\frac17\\\end{align*}

We again have a telescoping series. In each partial sum, most of the terms cancel and we obtain the formula $$S_n = 1+\frac12-\frac1{n+1}-\frac1{n+2}.$$ Taking limits allows us to determine the convergence of the series:$\lim\limits_{n\to\infty}S_n = \lim\limits_{n\to\infty} \left(1+\frac12-\frac1{n+1}-\frac1{n+2}\right) = \frac32,\quad \text{so } \sum\limits_{n=1}^\infty \frac1{n^2+2n} = \frac32.$

This is illustrated in Figure 8.11(a).

2. We begin by writing the first few partial sums of the series:
\begin{align*}S_1 &= \ln\left(2\right) \\S_2 &= \ln\left(2\right)+\ln\left(\frac32\right) \\S_3 &= \ln\left(2\right)+\ln\left(\frac32\right)+\ln\left(\frac43\right) \\S_4 &= \ln\left(2\right)+\ln\left(\frac32\right)+\ln\left(\frac43\right)+\ln\left(\frac54\right) \end{align*}

At first, this does not seem helpful, but recall the logarithmic identity: $$\ln x+\ln y = \ln (xy).$$ Applying this to $$S_4$$ gives:$S_4 = \ln\left(2\right)+\ln\left(\frac32\right)+\ln\left(\frac43\right)+\ln\left(\frac54\right) = \ln\left(\frac21\cdot\frac32\cdot\frac43\cdot\frac54\right) = \ln\left(5\right).$

We can conclude that $$\{S_n\} = \big\{\ln (n+1)\big\}$$. This sequence does not converge, as $$\lim\limits_{n\to\infty}S_n=\infty$$. Therefore $$\sum\limits_{n=1}^\infty \ln\left(\frac{n+1}{n}\right)=\infty$$; the series diverges. Note in Figure 8.11(b) how the sequence of partial sums grows slowly; after 100 terms, it is not yet over 5. Graphically we may be fooled into thinking the series converges, but our analysis above shows that it does not.

Figure 8.11:
Scatter plots relating to the series in Example 8.2.5

We are learning about a new mathematical object, the series. As done before, we apply "old'' mathematics to this new topic.

THEOREM 62 PROPERTIES OF INFINITE SERIES

Let $$\quad \sum\limits_{n=1}^\infty a_n = L,\quad \sum\limits_{n=1}^\infty b_n = K$$, and let $$c$$ be a constant.

1. Constant Multiple Rule: $$\sum\limits_{n=1}^\infty c\cdot a_n = c\cdot\sum\limits_{n=1}^\infty a_n = c\cdot L.$$
2. Sum/Difference Rule: $$\sum\limits_{n=1}^\infty \big(a_n\pm b_n\big) = \sum\limits_{n=1}^\infty a_n \pm \sum\limits_{n=1}^\infty b_n = L \pm K.$$

Before using this theorem, we provide a few "famous'' series.

KEY IDEA 31 IMPORTANT SERIES

1. $$\sum\limits_{n=0}^\infty \frac1{n!} = e$$. (Note that the index starts with $$n=0$$.)
2. $$\sum\limits_{n=1}^\infty \frac1{n^2} = \frac{\pi^2}{6}$$.
3. $$\sum\limits_{n=1}^\infty \frac{(-1)^{n+1}}{n^2} = \frac{\pi^2}{12}$$.
4. $$\sum\limits_{n=0}^\infty \frac{(-1)^{n}}{2n+1} = \frac{\pi}{4}$$.
5. $$\sum\limits_{n=1}^\infty \frac{1}{n} \quad \text{diverges}$$. (This is called the Harmonic Series.)
6. $$\sum\limits_{n=1}^\infty \frac{(-1)^{n+1}}{n} = \ln 2$$. (This is called the Alternating Harmonic Series.)

Example $$\PageIndex{6}$$: Evaluating series

Evaluate the given series.

$$1. \sum\limits_{n=1}^\infty \frac{(-1)^{n+1}\big(n^2-n\big)}{n^3}\qquad 2. \sum\limits_{n=1}^\infty \frac{1000}{n!}\qquad 3. \frac1{16}+\frac1{25}+\frac1{36}+\frac1{49}+\cdots$$

SOLUTION

1. We start by using algebra to break the series apart:
\begin{align*}\sum\limits_{n=1}^\infty \frac{(-1)^{n+1}\big(n^2-n\big)}{n^3} &= \sum\limits_{n=1}^\infty\left(\frac{(-1)^{n+1}n^2}{n^3}-\frac{(-1)^{n+1}n}{n^3}\right) \\&= \sum\limits_{n=1}^\infty\frac{(-1)^{n+1}}{n}-\sum\limits_{n=1}^\infty\frac{(-1)^{n+1}}{n^2} \\&= \ln(2) - \frac{\pi^2}{12} \approx -0.1293.\end{align*}
This is illustrated in Figure 8.12(a).

2. This looks very similar to the series that involves $$e$$ in Key Idea 31. Note, however, that the series given in this example starts with $$n=1$$ and not $$n=0$$. The first term of the series in the Key Idea is $$1/0! = 1$$, so we will subtract this from our result below:
\begin{align*}\sum\limits_{n=1}^\infty \frac{1000}{n!} &= 1000\cdot\sum\limits_{n=1}^\infty \frac{1}{n!} \\ &= 1000\cdot (e-1) \approx 1718.28. \end{align*}

This is illustrated in Figure 8.12(b). The graph shows how this particular series converges very rapidly.

3. The denominators in each term are perfect squares; we are adding $$\sum\limits_{n=4}^\infty \frac{1}{n^2}$$ (note we start with $$n=4$$, not $$n=1$$). This series will converge. Using the formula from Key Idea 31, we have the following:
\begin{align*}\sum\limits_{n=1}^\infty \frac1{n^2} &= \sum\limits_{n=1}^3 \frac1{n^2} +\sum\limits_{n=4}^\infty \frac1{n^2} \\ \sum\limits_{n=1}^\infty \frac1{n^2} - \sum\limits_{n=1}^3 \frac1{n^2} &=\sum\limits_{n=4}^\infty \frac1{n^2} \\ \frac{\pi^2}{6} - \left(\frac11+\frac14+\frac19\right) &= \sum\limits_{n=4}^\infty \frac1{n^2} \\ \frac{\pi^2}{6} - \frac{49}{36} &= \sum\limits_{n=4}^\infty \frac1{n^2} \\ 0.2838&\approx \sum\limits_{n=4}^\infty \frac1{n^2} \end{align*}

Figure 8.12:
Scatter plots relating to the series in Example 8.2.6

It may take a while before one is comfortable with this statement, whose truth lies at the heart of the study of infinite series: it is possible that the sum of an infinite list of nonzero numbers is finite. We have seen this repeatedly in this section, yet it still may "take some getting used to.''

As one contemplates the behavior of series, a few facts become clear.

1. In order to add an infinite list of nonzero numbers and get a finite result, "most'' of those numbers must be "very near'' 0.
2. If a series diverges, it means that the sum of an infinite list of numbers is not finite (it may approach $$\pm \infty$$ or it may oscillate), and:
1. The series will still diverge if the first term is removed.
2. The series will still diverge if the first 10 terms are removed.
3. The series will still diverge if the first $$1,000,000$$ terms are removed.
4. The series will still diverge if any finite number of terms from anywhere in the series are removed.

These concepts are very important and lie at the heart of the next two theorems.

theorem 63 $$n^\text{th}$$--Term Test for Convergence/Divergence

Consider the series $$\sum\limits_{n=1}^\infty a_n$$.

1. If $$\sum\limits_{n=1}^\infty a_n$$ converges, then $$\lim\limits_{n\to\infty}a_n =0$$.
2. If $$\lim\limits_{n\to\infty}a_n \neq 0$$, then $$\sum\limits_{n=1}^\infty a_n$$ diverges.

Note that the two statements in Theorem 63 are really the same. In order to converge, the limit of the terms of the sequence must approach 0; if they do not, the series will not converge.

Looking back, we can apply this theorem to the series in Example 8.2.1. In that example, the $$n^\text{th}$$ terms of both sequences do not converge to 0, therefore we can quickly conclude that each series diverges.

Important! This theorem does not state that if $$\lim\limits_{n\to\infty} a_n = 0$$ then $$\sum\limits_{n=1}^\infty a_n$$ converges. The standard example of this is the Harmonic Series, as given in Key Idea 31. The Harmonic Sequence, $$\{1/n\}$$, converges to 0; the Harmonic Series, $$\sum\limits_{n=1}^\infty 1/n$$, diverges.

theorem 64 infinite nature of series

The convergence or divergence remains unchanged by the addition or subtraction of any finite number of terms. That is:

1. A divergent series will remain divergent with the addition or subtraction of any finite number of terms.
2. A convergent series will remain convergent with the addition or subtraction of any finite number of terms. (Of course, the sum will likely change.)

Consider once more the Harmonic Series $$\sum\limits_{n=1}^\infty \frac1n$$ which diverges; that is, the sequence of partial sums $$\{S_n\}$$ grows (very, very slowly) without bound. One might think that by removing the "large'' terms of the sequence that perhaps the series will converge. This is simply not the case. For instance, the sum of the first 10 million terms of the Harmonic Series is about 16.7. Removing the first 10 million terms from the Harmonic Series changes the $$n^\text{th}$$ partial sums, effectively subtracting 16.7 from the sum. However, a sequence that is growing without bound will still grow without bound when 16.7 is subtracted from it.

The equations below illustrate this. The first line shows the infinite sum of the Harmonic Series split into the sum of the first 10 million terms plus the sum of "everything else.'' The next equation shows us subtracting these first 10 million terms from both sides. The final equation employs a bit of "psuedo--math'': subtracting 16.7 from "infinity'' still leaves one with "infinity.''
\begin{align*}\sum\limits_{n=1}^\infty \frac1n &= \sum\limits_{n=1}^{10,000,000}\frac1n \quad + \sum\limits_{n=10,000,001}^\infty \frac1n \\ \sum\limits_{n=1}^\infty \frac1n - \sum\limits_{n=1}^{10,000,000}\frac1n &= \sum\limits_{n=10,000,001}^\infty \frac1n \\ \infty - 16.7 &= \infty.\end{align*}

This section introduced us to series and defined a few special types of series whose convergence properties are well known: we know when a $$p$$-series or a geometric series converges or diverges. Most series that we encounter are not one of these types, but we are still interested in knowing whether or not they converge. The next three sections introduce tests that help us determine whether or not a given series converges.

### Contributors

• Gregory Hartman (Virginia Military Institute). Contributions were made by Troy Siemers and Dimplekumar Chalishajar of VMI and Brian Heinold of Mount Saint Mary's University. This content is copyrighted by a Creative Commons Attribution - Noncommercial (BY-NC) License. http://www.apexcalculus.com/