Harman Patil (Editor)

Alternating series test

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit

In mathematical analysis, the alternating series test is the method used to prove that an alternating series with terms that decrease in absolute value is a convergent series. The test was used by Gottfried Leibniz and is sometimes known as Leibniz's test, Leibniz's rule, or the Leibniz criterion.

Contents

Formulation

A series of the form

n = 0 ( 1 ) n a n = a 0 a 1 + a 2 a 3 +

where either all an are positive or all an are negative, is called an alternating series.

The alternating series test then says: if | a n | decreases monotonically and lim n a n = 0 then the alternating series converges.

Moreover, let L denote the sum of the series, then the partial sum

S k = n = 1 k ( 1 ) n 1 a n

approximates L with error bounded by the next omitted term:

| S k L | | S k S k + 1 | = a k + 1 .

Proof

Suppose we are given a series of the form n = 1 ( 1 ) n 1 a n , where lim n a n = 0 and a n a n + 1 for all natural numbers n. (The case n = 1 ( 1 ) n a n follows by taking the negative.)

Proof of convergence

We will prove that both the partial sums S 2 m + 1 = n = 1 2 m + 1 ( 1 ) n 1 a n with odd number of terms, and S 2 m = n = 1 2 m ( 1 ) n 1 a n with even number of terms, converge to the same number L. Thus the usual partial sum S k = n = 1 k ( 1 ) n 1 a n also converges to L.

The odd partial sums decrease monotonically:

S 2 ( m + 1 ) + 1 = S 2 m + 1 a 2 m + 2 + a 2 m + 3 S 2 m + 1

while the even partial sums increase monotonically:

S 2 ( m + 1 ) = S 2 m + a 2 m + 1 a 2 m + 2 S 2 m

both because an decrease monotonically with n.

Moreover, since an are positive, S 2 m + 1 S 2 m = a 2 m + 1 0 . Thus we can collect these facts to form the following suggestive inequality:

a 1 a 2 = S 2 S 2 m < S 2 m + 1 S 1 = a 1 .

Now, note that a1a2 is a lower bound of the monotonically decreasing sequence S2m+1, the monotone convergence theorem then implies that this sequence converges as m approaches infinity. Similarly, the sequence of even partial sum converges too.

Finally, they must converge to the same number because

lim m ( S 2 m + 1 S 2 m ) = lim m a 2 m + 1 = 0.

Call the limit L, then the monotone convergence theorem also tells us an extra information that

S 2 m L S 2 m + 1

for any m. This means the partial sums of an alternating series also "alternates" above and below the final limit. More precisely, when there are odd (even) number of terms, i.e. the last term is a plus (minus) term, then the partial sum is above (below) the final limit.

This understanding leads immediately to an error bound of partial sums, shown below.

Proof of partial sum error bound

We would like to show | S k L | a k + 1 by splitting into two cases.

When k = 2m+1, i.e. odd, then

| S 2 m + 1 L | = S 2 m + 1 L S 2 m + 1 S 2 m + 2 = a ( 2 m + 1 ) + 1

When k = 2m, i.e. even, then

| S 2 m L | = L S 2 m S 2 m + 1 S 2 m = a 2 m + 1

as desired.

Both cases rely essentially on the last inequality derived in the previous proof.

For an alternative proof using Cauchy's convergence test, see Alternating series.

For a generalization, see Dirichlet's test.

References

Alternating series test Wikipedia