# Alternating series

## 1. Introduction

So far we have looked mainly at series consisting of positive terms, and we have derived and used the comparison tests and ratio test for these. But many series have positive and negative terms, and we also need to look at these. This page discusses a particular case of these, alternating series. Some aspects of alternating series are easy and you will see why. Other aspects are rather frightening! To put this into context you will need to also read the pages on absolute convergence that come later.

## 2. Alternating series

Definition.

An alternating series is one of the form =1 (-1) +1 where ( ) is a sequence of positive terms.

For example, the series =1 (-1) +1 1 is an alternating series. The next theorem shows that this series converges.

Alternating Series Test.

Let =1 (-1) +1 be an alternating series, where the sequence ( ) is a decreasing sequence of positive terms converging to 0. Then =1 (-1) +1 converges.

Proof.

Let be arbitrary. We consider the partial sums 2 = 1-2+3-+2-1 -2 and 2+1 =1-2+3-+2-1 -2 +2+1 .

Subproof.

By bracketing one way,

2 =(1-2)+(3-4)++(2-1-2) 0

(since ( ) is a decreasing sequence) so that 2 is a sum of positive termsand hence the sequence (2) is monotonic increasing. Also,

2 =1-(2-3)-(4-5)-- (2-2-2-1)-2

so 2 1 for all . Thus (2) is bounded and by the Monotone Convergence Theorem converges to some limit 1 .

Subproof.

Now consider 2+1 . On the one hand we have

2+1 =1-(2-3)-(4-5)-- (2-2-2-1)-(2-2+1) 2-1

so (2+1) is monotonic decreasing, and on the other we have

2+1 =(1-2)+(3-4)++ +(2-1-2)+2+1

which is a sum of positive terms hence positive. Thus (2+1) is decreasing and bounded below by 0, and hence by the Monotone Convergence Theorem converges to some 2 .

Subproof.

Finally we show 1= 2 . Note that 2+1-2=2+1 0 as , as (2+1) is a subsequence of the null sequence ( ) . But by continuity of - we also have 2+1-2 2- 1 so 2- 1=0 by uniqueness of limits, so 1= 2 . Even numbered terms and odd numbered terms of converge to the same limit 1= 2 . This means by the Theorem on Covering by Subsequences that 1= 2 as , as required.

Example.

The series =1 (-1) +1 1 and =1 (-1) +1 1 converge by the alternating series test, even though the corresponding terms of positive terms, =1 1 and =1 1 , do not converge. (One is the harmonic series; the other can be proved divergent by comparison with the harmonic series.)

We saw the series =1 (-1) +1 1 a long time ago at the very beginning of the course, where it caused some consternation because its value seemed to be greater than a half, but on rearranging its terms it got a value less than a quarter.

Definition.

A series =1 which is convergent but for which the series =1 diverges is said to be conditionally convergent.

So for example, =1 (-1) +1 1 is conditionally convergent. The thing we observed about rearrangments of terms for this series is, unfortunately, in fact true more generally for all conditionally convergent series. Conditionally convergent series are particularly badly behaved, should be avoided if possible, and always need great care. The results we have proved about this one are correct though: according to the definitions we have given, the sum of the series =1 (-1) +1 1 does exist and is greater than a half. But a rearrangement of the series can make the sum less than a half, or in fact, any number you like. To avoid such bad cases you need to look at absolutely convergent series, which are the subject of the next web page.

## 3. Conclusion

You have seen the definition of alternating series, the alternating series test, and some examples. You have also seen how many such series behave very badly with respect to rearrangement of their terms.