Series in which terms alternate between positive and negative


In the infinite series notes you saw the series expansions of the sine and cosine functions. Here they are again along with the summation notation. Remember that there's nothing especially complicated about Σ notation; it's just a way of capturing what's going on in the series without having to write all or several of its terms.

These are called alternating series because of the alternation in the sign of each term. To describe such an alternation in summation notation we employ the properties of powers of negative numbers:

  • (-1)1 = -1
  • (-1)2 =  1
  • (-1)3 = -1, and so on.

It's also possible to produce an alternation of sign using the trigonometric functions sin(x) and cos(x), like this:

  • cos(nπ) = 1 for even n and -1 for odd n
  • sin(nπ/2) = 1 for odd n and -1 for even n

An example

The alternating harmonic series

Here is an example of an alternating series, the so-called alternating harmonic series. This is just the harmonic series with alternating signs of the terms. The terms alternate on either side of zero as they decrease to zero (blue graph).

The accumulating sum (red graph) converges to a limit of approximately 0.69, but oscillates about that line. It's non-trivial to determine the actual sum of this series, but it does converge.

The alternating series test

The alternating series test, proved below the next box, is very simple.

It says that if, as n→∞, the terms of an alternating series decrease to zero, then the series converges.

Remember, that is NOT necessarily true for non-alternating series. For a non-alternating series, it is not enough that the size of the term diminishes; that series still may not converge.

We can think of many non-alternating, divergent series with decreasing terms, like the harmonic series:

In a way, the alternating series test (AST) makes life a lot easier. It's enough that the absolute value of the terms decrease to zero for an alternating series to converge – pretty simple.

The alternating series test

If the terms of an alternating series,

are decreasing, and if the limit of the size of the terms, as n → ∞ is zero:

then the series converges.

Proof


First, take a look at the alternating series on a number line. We'll let the terms of the series be a1, a2, a3, ... and so on, and the partial sums will be s1 = a1, s2 = a1 + a2, s3 = a1 + a2 + a3, ... and so on.

Let's look first at the even sums. The first one (first green arrow in the diagram) is

The second and third are

... and the pattern emerges. In the notation below, 2n is always an even number, 2n-2 is the next smaller even number and 2n-1 is the next smaller odd number:

Now it's clear that these sums continue to grow, so that

By regrouping terms with some parenthesis, we can also write s2n as

Now because our terms are decreasing, every difference in parenthesis is positive. The sequence of terms {sn} is positive, increasing and bounded from above by the sum of the series, s (see diagram). It therefore has a limit,

Now because s2n+1 = s2n + a2n+1, we can find the limit of the odd partial sums:

What we've shown is that the limits of the even and odd partial sums is the same. This is called "squeezing." If the limits from above and below are s, the sum of the series, then the series must converge to s.

The alternating series test makes determining the convergence of alternating series much easier than that of a non-alternating series. If the series alternates in sign, and if its terms decrease toward zero, the series converges.

Refining the idea of convergence

The difference in convergence between the alternating harmonic series,

which converges, and the harmonic series

which doesn't, hints at a subtle differentiation in how series converge. In fact, the alternating harmonic series is called "conditionally convergent," the condition being that its terms alternate sign.

On the other hand, a series like the convergent p-series,

and its alternating series counterpart,

both converge, and the alternating version is said to be "absolutely convergent." Here are the rules for absolute and conditional convergence:

Absolute vs. conditional convergence

Test for absolute convergence

Test for conditional convergence

Divergence – the series diverges by any one of the tests for convergence, or the divergence test.

You can help


This site is a one-person operation. If you can manage it, I'd appreciate anything you could give to help defray the cost of keeping up the domain name, server service, search service, software licenses and my time.

Creative Commons License   optimized for firefox
xaktly.com by Dr. Jeff Cruzan is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License. © 2016, Jeff Cruzan. All text and images on this website not specifically attributed to another source were created by me and I reserve all rights as to their use. Any opinions expressed on this website are entirely mine, and do not necessarily reflect the views of any of my employers. Please feel free to send any questions or comments to jeff.cruzan@verizon.net.