# 9.5 Alternating Series and Absolute Convergence

The series convergence tests we have used require that the underlying sequence $\{a_{n}\}$ be a positive sequence. (We can relax this with Theorem 9.2.5 and state that there must be an $N>0$ such that $a_{n}>0$ for all $n>N$; that is, $\{a_{n}\}$ is positive for all but a finite number of values of $n$.)

In this section we explore series whose summation includes negative terms. We start with a very specific form of series, where the terms of the summation alternate between being positive and negative.

###### Definition 9.5.1 Alternating Series

Let $\{b_{n}\}$ be a positive sequence. An alternating series is a series of either the form

 $\sum_{n=1}^{\infty}(-1)^{n}b_{n}\qquad\text{or}\qquad\sum_{n=1}^{\infty}(-1)^{% n+1}b_{n}.$

We want to think that an alternating sequence $\{a_{n}\}$ is related to a positive sequence $\{b_{n}\}$ by $a_{n}=(-1)^{n}b_{n}$.

Recall that the terms of Harmonic Series come from the Harmonic Sequence $\{b_{n}\}=\{\frac{1}{n}\}$. An important alternating series is the Alternating Harmonic Series:

 $\sum_{n=1}^{\infty}(-1)^{n+1}\frac{1}{n}=1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}% +\frac{1}{5}-\frac{1}{6}+\dotsb$

Geometric Series can also be alternating series when $r<0$. For instance, if $r=-1/2$, the geometric series is

 $\sum_{n=0}^{\infty}\left(\frac{-1}{2}\right)^{n}=1-\frac{1}{2}+\frac{1}{4}-% \frac{1}{8}+\frac{1}{16}-\frac{1}{32}+\dotsb$

Theorem 9.2.1 states that geometric series converge when $\left\lvert r\right\rvert<1$ and gives the sum: $\displaystyle\sum_{n=0}^{\infty}r^{n}=\frac{1}{1-r}$. When $r=-1/2$ as above, we find

 $\sum_{n=0}^{\infty}\left(\frac{-1}{2}\right)^{n}=\frac{1}{1-(-1/2)}=\frac{1}{3% /2}=\frac{2}{3}.$

A powerful convergence theorem exists for other alternating series that meet a few conditions.

###### Theorem 9.5.1 Alternating Series Test

Let $\{b_{n}\}$ be a positive, decreasing sequence where $\displaystyle\lim_{n\to\infty}b_{n}=0$. Then

 $\sum_{n=1}^{\infty}(-1)^{n}b_{n}\qquad\text{and}\qquad\sum_{n=1}^{\infty}(-1)^% {n+1}b_{n}$

converge.

The basic idea behind Theorem 9.5.1 is illustrated in Figure 9.5.1. A positive, decreasing sequence $\{b_{n}\}$ is shown along with the partial sums

 $S_{n}=\sum_{i=1}^{n}(-1)^{i+1}b_{i}=b_{1}-b_{2}+b_{3}-b_{4}+\dotsb+(-1)^{n+1}b% _{n}.$

Because $\{b_{n}\}$ is decreasing, the amount by which $S_{n}$ bounces up and down decreases. Moreover, the odd terms of $S_{n}$ form a decreasing, bounded sequence, while the even terms of $S_{n}$ form an increasing, bounded sequence. Since bounded, monotonic sequences converge (see Theorem 9.1.6) and the terms of $\{b_{n}\}$ approach 0, we will show below that the odd and even terms of $S_{n}$ converge to the same common limit $L$, the sum of the series.

margin: Figure 9.5.1: Illustrating convergence with the Alternating Series Test. Λ
• Proof

Because $\{b_{n}\}$ is a decreasing sequence, we have $b_{n}-b_{n+1}\geq 0$. We will consider the even and odd partial sums separately. First consider the even partial sums.

 $\displaystyle S_{2}$ $\displaystyle=b_{1}-b_{2}\geq 0$ $\displaystyle\text{since }b_{2}$ $\displaystyle\leq b_{1}$ $\displaystyle S_{4}$ $\displaystyle=b_{1}-b_{2}+b_{3}-b_{4}=S_{2}+b_{3}-b_{4}\geq S_{2}$ $\displaystyle\text{since }b_{3}-b_{4}$ $\displaystyle\geq 0$ $\displaystyle S_{6}$ $\displaystyle=S_{4}+b_{5}-b_{6}\geq S_{4}$ $\displaystyle\text{since }b_{5}-b_{6}$ $\displaystyle\geq 0$ $\displaystyle\vdots$ $\displaystyle S_{2n}$ $\displaystyle=S_{2n-2}+b_{2n-1}-b_{2n}\geq S_{2n-2}$ $\displaystyle\text{since }b_{2n-1}-b_{2n}$ $\displaystyle\geq 0$

We now have

 $0\leq S_{2}\leq S_{4}\leq S_{6}\leq\dotsb\leq S_{2n}\leq\dotsb$

so $\{S_{2n}\}$ is an increasing sequence. But we can also write

 $\displaystyle S_{2n}$ $\displaystyle=b_{1}-b_{2}+b_{3}-b_{4}+b_{5}-\dotsb-b_{2n-2}+b_{2n-1}-b_{2n}$ $\displaystyle=b_{1}-(b_{2}-b_{3})-(b_{4}-b_{5})-\dotsb-(b_{2n-2}-b_{2n-1})-b_{% 2n}$

Each term in parentheses is positive and $b_{2n}$ is positive so we have $S_{2n}\leq b_{1}$ for all $n$. We now have the sequence of even partial sums, $\{S_{2n}\}$, is increasing and bounded above so by Theorem 9.1.6 $\{S_{2n}\}$ converges. Since we know it converges, we will assume it’s limit is $L$ or

 $\lim_{n\to\infty}S_{2n}=L$

Next we determine the limit of the sequence of odd partial sums.

 $\displaystyle\lim_{n\to\infty}S_{2n+1}$ $\displaystyle=\lim_{n\to\infty}(S_{2n}+b_{2n+1})$ $\displaystyle=\lim_{n\to\infty}S_{2n}+\lim_{n\to\infty}b_{2n+1}$ $\displaystyle=L+0$ $\displaystyle=L$

Both the even and odd partial sums converge to $L$ so we have $\displaystyle\lim_{n\to\infty}S_{n}=L$, which means the series is convergent. ∎

###### Example 9.5.1 Applying the Alternating Series Test

Determine if the Alternating Series Test applies to each of the following series.

 $\text{1. }\sum_{n=1}^{\infty}(-1)^{n+1}\frac{1}{n}\qquad\text{2. }\sum_{n=2}^{% \infty}(-1)^{n}\frac{\ln n}{n}\qquad\text{3. }\sum_{n=1}^{\infty}(-1)^{n+1}% \frac{\left\lvert\sin n\right\rvert}{n^{2}}$

Solution

1. (a)

This is the Alternating Harmonic Series as seen previously. The underlying sequence is $\{b_{n}\}=\{1/n\}$, which is positive, decreasing, and approaches 0 as $n\to\infty$. Therefore we can apply the Alternating Series Test and conclude this series converges. While the test does not state what the series converges to, we will see later that $\displaystyle\sum_{n=1}^{\infty}(-1)^{n+1}\frac{1}{n}=\ln 2.$

2. (b)

The underlying sequence is $\{b_{n}\}=\{(\ln n)/n\}$. This is positive for $n\geq 2$ and $\displaystyle\lim_{n\to\infty}\frac{\ln n}{n}=\lim_{n\to\infty}\frac{1}{n}=0$ (use L’Hôpital’s Rule). However, the sequence is not decreasing for all $n$. It is straightforward to compute $b_{1}\approx 0.347$, $b_{2}\approx 0.366$, and $b_{3}\approx 0.347$: the sequence is increasing for at least the first 2 terms. We do not immediately conclude that we cannot apply the Alternating Series Test. Rather, consider the long-term behavior of $\{b_{n}\}$. Treating $b_{n}=b(n)$ as a continuous function of $n$ defined on $[2,\infty)$, we can take its derivative:

 $b\mkern 1.35mu ^{\prime}(n)=\frac{1-\ln n}{n^{2}}.$

The derivative is negative for all $n\geq 3$ (actually, for all $n>e$), meaning $b(n)=b_{n}$ is decreasing on $[3,\infty)$. We can apply the Alternating Series Test to the series when we start with $n=3$ and conclude that $\displaystyle\sum_{n=3}^{\infty}(-1)^{n}\frac{\ln n}{n}$ converges; adding the terms with $n=2$ does not change the convergence (i.e., we apply Theorem 9.2.5). The important lesson here is that as before, if a series fails to meet the criteria of the Alternating Series Test on only a finite number of terms, we can still apply the test.

3. (c)

The underlying sequence is $\{b_{n}\}=\{\left\lvert\sin n\right\rvert/n^{2}\}$. This sequence is positive and approaches $0$ as $n\to\infty$. However, it is not a decreasing sequence; the value of $\left\lvert\sin n\right\rvert$ oscillates between $0$ and $1$ as $n\to\infty$. We cannot remove a finite number of terms to make $\{b_{n}\}$ decreasing, therefore we cannot apply the Alternating Series Test. Keep in mind that this does not mean we conclude the series diverges; in fact, it does converge. We are just unable to conclude this based on Theorem 9.5.1.

One of the famous results of mathematics is that the Harmonic Series, $\displaystyle\sum_{n=1}^{\infty}\frac{1}{n}$ diverges, yet the Alternating Harmonic Series, $\displaystyle\sum_{n=1}^{\infty}(-1)^{n+1}\frac{1}{n}$, converges. The notion that alternating the signs of the terms in a series can make a series converge leads us to the following definitions.

###### Definition 9.5.2 Absolute and Conditional Convergence

(a) A series $\displaystyle\sum_{n=1}^{\infty}a_{n}$ converges absolutely if $\displaystyle\sum_{n=1}^{\infty}\left\lvert a_{n}\right\rvert$ converges. (b) A series $\displaystyle\sum_{n=1}^{\infty}a_{n}$ converges conditionally if $\displaystyle\sum_{n=1}^{\infty}a_{n}$ converges but $\displaystyle\sum_{n=1}^{\infty}\left\lvert a_{n}\right\rvert$ diverges.

margin: Note: In Definition 9.5.2, $\displaystyle\sum_{n=1}^{\infty}a_{n}$ is not necessarily an alternating series; it just may have some negative terms. Λ

Thus we say the Alternating Harmonic Series converges conditionally.

###### Example 9.5.2 Determining absolute and conditional convergence.

Determine if the following series converge absolutely, conditionally, or diverge.
(a) $\displaystyle\sum_{n=1}^{\infty}(-1)^{n}\frac{n+3}{n^{2}+2n+5}$ (b) $\displaystyle\sum_{n=3}^{\infty}(-1)^{n}\frac{3n-3}{5n-10}$

Solution

1. (a)

We can show the series

 $\sum_{n=1}^{\infty}\left\lvert(-1)^{n}\frac{n+3}{n^{2}+2n+5}\right\rvert=\sum_% {n=1}^{\infty}\frac{n+3}{n^{2}+2n+5}$

diverges using the Limit Comparison Test, comparing with $1/n$. The sequence $\{\dfrac{n+3}{n^{2}+2n+5}\}$ is monotonically decreasing, so that the series $\displaystyle\sum_{n=1}^{\infty}(-1)^{n}\frac{n+3}{n^{2}+2n+5}$ converges using the Alternating Series Test; we conclude it converges conditionally.

2. (b)

The series

 $\sum_{n=3}^{\infty}\left\lvert(-1)^{n}\frac{3n-3}{5n-10}\right\rvert=\sum_{n=3% }^{\infty}\frac{3n-3}{5n-10}$

diverges using the Test for Divergence, so it does not converge absolutely. The series $\displaystyle\sum_{n=3}^{\infty}(-1)^{n}\frac{3n-3}{5n-10}$ fails the conditions of the Alternating Series Test as $(3n-3)/(5n-10)$ does not approach $0$ as $n\to\infty$. We can state further that this series diverges; as $n\to\infty$, the series effectively adds and subtracts $3/5$ over and over. This causes the sequence of partial sums to oscillate and not converge. Therefore the series $\displaystyle\sum_{n=1}^{\infty}(-1)^{n}\frac{3n-3}{5n-10}$ diverges.

Knowing that a series converges absolutely allows us to make two important statements, given in the following theorem. The first is that absolute convergence is “stronger” than regular convergence. That is, just because $\displaystyle\sum_{n=1}^{\infty}a_{n}$ converges, we cannot conclude that $\displaystyle\sum_{n=1}^{\infty}\left\lvert a_{n}\right\rvert$ will converge, but knowing a series converges absolutely tells us that $\displaystyle\sum_{n=1}^{\infty}a_{n}$ will converge.

###### Theorem 9.5.2 Absolute Convergence Theorem

Let $\displaystyle\sum_{n=1}^{\infty}a_{n}$ be a series that converges absolutely.

1. (a)

$\displaystyle\sum_{n=1}^{\infty}a_{n}$ converges.

2. (b)

Let $\{b_{n}\}$ be any rearrangement of the sequence $\{a_{n}\}$. Then

 $\sum_{n=1}^{\infty}b_{n}=\sum_{n=1}^{\infty}a_{n}.$

One reason this is important is that our convergence tests all require that the underlying sequence of terms be positive. By taking the absolute value of the terms of a series where not all terms are positive, we are often able to apply an appropriate test and determine absolute convergence. This, in turn, determines that the series we are given also converges.

The second statement relates to rearrangements of series. When dealing with a finite set of numbers, the sum of the numbers does not depend on the order which they are added. (So $1+2+3=3+1+2$.) One may be surprised to find out that when dealing with an infinite set of numbers, the same statement does not always hold true: some infinite lists of numbers may be rearranged in different orders to achieve different sums. The theorem states that the terms of an absolutely convergent series can be rearranged in any way without affecting the sum.

The theorem states that rearranging the terms of an absolutely convergent series does not affect its sum. This implies that perhaps the sum of a conditionally convergent series can change based on the arrangement of terms. Indeed, it can. The Riemann Rearrangement Theorem (named after Bernhard Riemann) states that any conditionally convergent series can have its terms rearranged so that the sum is any desired value or infinity.

Before we consider an example, we state the following theorem that illustrates how the alternating structure of an alternating series is a powerful tool when approximating the sum of a convergent series.

###### Theorem 9.5.3 The Alternating Series Approximation Theorem

Let $\{b_{n}\}$ be a sequence that satisfies the hypotheses of the Alternating Series Test, and let $S_{n}$ and $L$ be the $n^{\text{th}}$ partial sum and sum, respectively, of either $\displaystyle\sum_{n=1}^{\infty}(-1)^{n}b_{n}$ or $\displaystyle\sum_{n=1}^{\infty}(-1)^{n+1}b_{n}$. Then

1. (a)

$\left\lvert S_{n}-L\right\rvert, and

2. (b)

$L$ is between $S_{n}$ and $S_{n+1}$.

Part 1 of Theorem 9.5.3 states that the $n^{\text{th}}$ partial sum of a convergent alternating series will be within $b_{n+1}$ of its total sum. Consider the alternating series we looked at before the statement of the theorem, $\displaystyle\sum_{n=1}^{\infty}\frac{(-1)^{n+1}}{n^{2}}$. Since $b_{14}=1/14^{2}\approx 0.0051$, we know that $S_{13}$ is within $0.0051$ of the total sum.

Moreover, Part 2 of the theorem states that since $S_{13}\approx 0.8252$ and $S_{14}\approx 0.8201$, we know the sum $L$ lies between $0.8201$ and $0.8252$. One use of this is the knowledge that $S_{14}$ is accurate to two places after the decimal.

Some alternating series converge slowly. In Example 9.5.1 we determined the series $\displaystyle\sum_{n=2}^{\infty}(-1)^{n+1}\frac{\ln n}{n}$ converged. With $n=1001$, we find $(\ln n)/n\approx 0.0069$, meaning that $S_{1000}\approx 0.1633$ is accurate to one, maybe two, places after the decimal. Since $S_{1001}\approx 0.1564$, we know the sum $L$ is $0.1564\leq L\leq 0.1633$.

###### Example 9.5.3 Approximating the sums of convergent alternating series

Approximate the sum of the following series, accurate to within $0.001$.

 $\text{1. }\sum_{n=1}^{\infty}(-1)^{n+1}\frac{1}{n^{3}}\qquad\text{2. }\sum_{n=% 1}^{\infty}(-1)^{n+1}\frac{\ln n}{n}.$

Solution

1. (a)

Using Theorem 9.5.3, we want to find $n$ where $1/n^{3}\leq 0.001$:

 $\displaystyle\frac{1}{n^{3}}$ $\displaystyle\leq 0.001=\frac{1}{1000}$ $\displaystyle n^{3}$ $\displaystyle\geq 1000$ $\displaystyle n$ $\displaystyle\geq\sqrt[3]{1000}$ $\displaystyle n$ $\displaystyle\geq 10.$

Let $L$ be the sum of this series. By Part 1 of the theorem, $\left\lvert S_{9}-L\right\rvert. We can compute $S_{9}=0.902116$, which our theorem states is within $0.001$ of the total sum. We can use Part 2 of the theorem to obtain an even more accurate result. As we know the $10^{\text{th}}$ term of the series is $-1/1000$, we can easily compute $S_{10}=0.901116$. Part 2 of the theorem states that $L$ is between $S_{9}$ and $S_{10}$, so $0.901116.

2. (b)

We want to find $n$ where $(\ln n)/n\leq 0.001$. We start by solving $(\ln n)/n=0.001$ for $n$. This cannot be solved algebraically, so we will use Newton’s Method to approximate a solution. Let $f(x)=\ln(x)/x-0.001$; we want to know where $f(x)=0$. We make a guess that $x$ must be “large,” so our initial guess will be $x_{1}=1000$. Recall how Newton’s Method works: given an approximate solution $x_{n}$, our next approximation $x_{n+1}$ is given by

 $x_{n+1}=x_{n}-\frac{f(x_{n})}{f\,^{\prime}(x_{n})}.$

We find $f\,^{\prime}(x)=\bigl{(}1-\ln(x)\bigr{)}/x^{2}$. This gives

 $\displaystyle x_{2}$ $\displaystyle=1000-\frac{\ln(1000)/1000-0.001}{\bigl{(}1-\ln(1000)\bigr{)}/100% 0^{2}}$ $\displaystyle=2000.$

Using a computer, we find that Newton’s Method seems to converge to a solution $x=9118.01$ after 8 iterations. Taking the next integer higher, we have $n=9119$, where $\ln(9119)/9119=0.000999903<0.001$. Again using a computer, we find $S_{9118}=-0.160369$. Part 1 of the theorem states that this is within $0.001$ of the actual sum $L$. Already knowing the 9,119${}^{\text{th}}$ term, we can compute $S_{9119}=-0.159369$, meaning

 $-0.160369

Notice how the first series converged quite quickly, where we needed only 10 terms to reach the desired accuracy, whereas the second series took over 9,000 terms.

We now consider the Alternating Harmonic Series once more. We have stated that

 $\sum_{n=1}^{\infty}(-1)^{n+1}\frac{1}{n}=1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}% +\frac{1}{5}-\frac{1}{6}+\frac{1}{7}\dotsb=\ln 2,$

(see Example 9.5.1).

Consider the rearrangement where every positive term is followed by two negative terms:

 $1-\frac{1}{2}-\frac{1}{4}+\frac{1}{3}-\frac{1}{6}-\frac{1}{8}+\frac{1}{5}-% \frac{1}{10}-\frac{1}{12}\dotsb$

(Convince yourself that these are exactly the same numbers as appear in the Alternating Harmonic Series, just in a different order.) Now group some terms and simplify:

 $\displaystyle\left(1-\frac{1}{2}\right)-\frac{1}{4}+\left(\frac{1}{3}-\frac{1}% {6}\right)-\frac{1}{8}+\left(\frac{1}{5}-\frac{1}{10}\right)-\frac{1}{12}+\dotsb$ $\displaystyle=$ $\displaystyle\frac{1}{2}-\frac{1}{4}+\frac{1}{6}-\frac{1}{8}+\frac{1}{10}-% \frac{1}{12}+\dotsb$ $\displaystyle=$ $\displaystyle\frac{1}{2}\left(1-\frac{1}{2}+\frac{1}{3}-\frac{1}{4}+\frac{1}{5% }-\frac{1}{6}+\dotsb\right)$ $\displaystyle=\frac{1}{2}\ln 2.$

By rearranging the terms of the series, we have arrived at a different sum. (One could try to argue that the Alternating Harmonic Series does not actually converge to $\ln 2$, because rearranging the terms of the series shouldn’t change the sum. However, the Alternating Series Test proves this series converges to $L$, for some number $L$, and if the rearrangement does not change the sum, then $L=L/2$, implying $L=0$. But the Alternating Series Approximation Theorem quickly shows that $L>0$. The only conclusion is that the rearrangement did change the sum.) This is an incredible result.

We mentioned earlier that the Integral Test did not work well with series containing factorial terms. The next section introduces the Ratio Test, which does handle such series well. We also introduce the Root Test, which is good for series where each term is raised to a power.

## Exercises 9.5

### Terms and Concepts

1. 1.

Why is $\displaystyle\sum_{n=1}^{\infty}\sin n$ not an alternating series?

2. 2.

A series $\displaystyle\sum_{n=1}^{\infty}(-1)^{n}a_{n}$ converges when $\{a_{n}\}$ is xxxxxx, xxxxxx and $\displaystyle\lim_{n\to\infty}a_{n}=$xxxxxx.

3. 3.

Give an example of a series where $\displaystyle\sum_{n=0}^{\infty}a_{n}$ converges but $\displaystyle\sum_{n=0}^{\infty}\left\lvert a_{n}\right\rvert$ does not.

4. 4.

The sum of a xxxxxx convergent series can be changed by rearranging the order of its terms.

### Problems

In Exercises 5–18., an alternating series $\displaystyle\sum_{n=i}^{\infty}a_{n}$ is given.

1. (a)

Determine if the series converges or diverges.

2. (b)

Determine if $\displaystyle\sum_{n=0}^{\infty}\left\lvert a_{n}\right\rvert$ converges or diverges.

3. (c)

If $\displaystyle\sum_{n=0}^{\infty}a_{n}$ converges, determine if the convergence is conditional or absolute.

1. 5.

$\displaystyle\sum_{n=1}^{\infty}\frac{(-1)^{n+1}}{n^{2}}$

2. 6.

$\displaystyle\sum_{n=0}^{\infty}(-e)^{-n}$

3. 7.

$\displaystyle\sum_{n=0}^{\infty}(-1)^{n}\frac{n+5}{3n-5}$

4. 8.

$\displaystyle\sum_{n=1}^{\infty}(-1)^{n}\frac{2^{n}}{n^{2}}$

5. 9.

$\displaystyle\sum_{n=0}^{\infty}(-1)^{n+1}\frac{3n+5}{n^{2}-3n+1}$

6. 10.

$\displaystyle\sum_{n=1}^{\infty}\frac{(-1)^{n}}{\ln n+1}$

7. 11.

$\displaystyle\sum_{n=2}^{\infty}(-1)^{n}\frac{n}{\ln n}$

8. 12.

$\displaystyle\sum_{n=1}^{\infty}\frac{(-1)^{n+1}}{1+3+5+\dots+(2n-1)}$

9. 13.

$\displaystyle\sum_{n=1}^{\infty}\cos\big{(}\pi n\big{)}$

10. 14.

$\displaystyle\sum_{n=2}^{\infty}\frac{\sin\big{(}(n+1/2)\pi\big{)}}{n\ln n}$

11. 15.

$\displaystyle\sum_{n=0}^{\infty}\left(-\frac{2}{3}\right)^{n}$

12. 16.

$\displaystyle\sum_{n=0}^{\infty}(-1)^{n}2^{-n^{2}}$

13. 17.

$\displaystyle\sum_{n=1}^{\infty}\frac{(-1)^{n}}{\sqrt{n}}$

14. 18.

$\displaystyle\sum_{n=2}^{\infty}\frac{(-1)^{n}}{n(\ln n)^{2}}$

Let $S_{n}$ be the $n^{\text{th}}$ partial sum of a series. In Exercises 19–22., a convergent alternating series is given and a value of $n$. Compute $S_{n}$ and $S_{n+1}$ and use these values to find bounds on the sum of the series.

1. 19.

$\displaystyle\sum_{n=1}^{\infty}\frac{(-1)^{n}}{\ln(n+1)}$,  $n=5$

2. 20.

$\displaystyle\sum_{n=1}^{\infty}\frac{(-1)^{n+1}}{n^{4}}$,  $n=4$

3. 21.

$\displaystyle\sum_{n=0}^{\infty}\frac{(-1)^{n}}{n!}$,  $n=6$

4. 22.

$\displaystyle\sum_{n=0}^{\infty}\left(-\frac{1}{2}\right)^{n}$,  $n=9$

In Exercises 23–26., a convergent alternating series is given along with its sum and a value of $\epsilon$. Use Theorem 9.5.3 to find $n$ such that the $n^{\text{th}}$ partial sum of the series is within $\epsilon$ of the sum of the series.

1. 23.

$\displaystyle\sum_{n=1}^{\infty}\frac{(-1)^{n+1}}{n^{4}}=\frac{7\pi^{4}}{720}$,  $\epsilon=0.001$

2. 24.

$\displaystyle\sum_{n=0}^{\infty}\frac{(-1)^{n}}{n!}=\frac{1}{e}$,  $\epsilon=0.0001$

3. 25.

$\displaystyle\sum_{n=0}^{\infty}\frac{(-1)^{n}}{2n+1}=\frac{\pi}{4}$,  $\epsilon=0.001$

4. 26.

$\displaystyle\sum_{n=0}^{\infty}\frac{(-1)^{n}}{(2n)!}=\cos 1$,  $\epsilon=10^{-8}$

1. 27.

The partial sums in problems 23. and 25. can be used to approximate $\pi$. Using the values of $n$ from these problems, compute the respective partial sums and then use them to approximate $\pi$. Which gives a better estimate of $\pi$?

2. 28.
The book shows a rearrangement of the Alternating Harmonic Series, $\left(1-\frac{1}{2}\right)-\frac{1}{4}+\left(\frac{1}{3}-\frac{1}{6}\right)-% \frac{1}{8}+\left(\frac{1}{5}-\frac{1}{10}\right)-\frac{1}{12}+\dots$ which gives the sum $\frac{1}{2}\ln 2$. Note that the terms in parentheses are positive, so if we simplified those terms we would have an alternating series. Without actually simplifying, show that the same scheme of rearranging terms so that each positive term is followed by two successive negative terms yields $\left(1-\frac{1}{2}\right)-\frac{1}{4}-\frac{1}{8}+\left(\frac{1}{3}-\frac{1}{% 6}\right)-\frac{1}{12}-\frac{1}{16}+\\ \left(\frac{1}{5}-\frac{1}{10}\right)-\frac{1}{20}-\frac{1}{24}+\dots{}$ and then show that this new rearrangement of the Alternating Harmonic Series has the sum $\frac{1}{4}\ln 2$. Hint: move each right parenthesis one term to the right and then simplify inside the parentheses.