Alternating series theorem fails if terms are not monotonically decreasing in magnitude

From Calculus

Statement

Basic statement

Consider a series of the form:

Suppose the following three conditions hold for the series:

  1. Alternating signs: All the s are nonzero and the sign of is opposite the sign of .
  2. Not necessarily monotonically decreasing in magnitude: It is not necessarily true that for all
  3. Terms approach zero: .

Then, any of the following is possible for the series:

Proof

Example of a divergent series

Here is an example of an alternating series whose terms approach zero but which diverges:

To see that the series diverges, group the terms as:

The grouped term is , and we know that diverges.