|
|
Alternating Series

When you pluck the string on an instrument, it moves to the left and right of the center, and eventually becomes still again.  That is an example of an alternating harmonic series.

Mockup Schule

Explore our app and discover over 50 million learning materials for free.

Alternating Series

Illustration

Lerne mit deinen Freunden und bleibe auf dem richtigen Kurs mit deinen persönlichen Lernstatistiken

Jetzt kostenlos anmelden

Nie wieder prokastinieren mit unseren Lernerinnerungen.

Jetzt kostenlos anmelden
Illustration

When you pluck the string on an instrument, it moves to the left and right of the center, and eventually becomes still again. That is an example of an alternating harmonic series.

Alternating Series Formula

A series

n=1(-1)n+1an

is called alternating if an > 0are positive.

Is the series

n=1-1n+1n

an alternating series?

Answer: Yes this is an alternating series because you can write the series as

n=1-1n+1n = n=1-1n+11n

and let

an = 1n >0.

Remember that

n=11n

is called the Harmonic series, so people call

n=1-1n+1n

the Alternating Harmonic series because it is based on the Harmonic series.

The Alternating Series Sum

You might be tempted to sum an alternating series by grouping sums like so:

n=1-1n= -1 +1 - 1 + 1 - 1 + 1 - = -1 + 1 + -1 + 1 + -1 + 1 + = 0 + 0 + 0 + 0 + =0,

but let's look at the sequence of partial sums and see if that is true. The sequence of partial sums for this series is given by:

s1=-1s2=-1 + 1 = 0s3=0 +-1 = -1s4=-1 + 1 = 0

which as a sequence doesn't converge at all! Now you know the series doesn't converge, so the answer of 0 for the sum above isn't correct. This means that you can't group infinitely many terms using properties of addition like you would if it were a finite sum.

The Alternating Series Test

It would be nice to have a simple way to see if an alternating series will converge or not. That is where the Alternating Series Test comes in handy. This is also called Leibniz's Theorem.

Alternating Series Test (Leibniz's Theorem): If the alternating series

n=1-1n+1an

has the properties that:

1. each an > 0;

2. an an+1 for all n >N where N is some fixed natural number; and

3. limnan = 0,

then the series converges.

You can also look at absolute versus conditional convergence for alternating series, and for more information on that see Absolute and Conditional Convergence

Going back to the Alternating Harmonic Series, you already know that the first condition of the Alternating Series Test is satisfied because

an = 1n > 0.

Condition 2: Since

an = 1n and an+1 = 1n+1

you know that an >an+1 becausen < n+1, which implies that

1n >1n+1,

so the second condition is satisfied.

Condition 3: You also know that

limnan = limn1n = 0,

so the third condition is satisfied.

That means you can apply the Alternating Series Test to say that the Alternating Harmonic Series converges.

Remember that the Harmonic Series diverges, so sometimes changing something from a regular series to an alternating series can change it from diverging to converging.

It is very important to note that the Alternating Series Test can tell you if something converges, but it can't tell you if something diverges!

Alternating Series Examples

Let's look at some examples of alternating series, and see if they converge or not using the Alternating Series Test.

You know that the P-series

n=11n2

converges because p=2 .

What can you say about the Alternating P-series

n=1-1n+1n2?

Answer: Before applying the Alternating Series Test you need to be sure that all of the conditions are satisfied.

Condition 1: Here

an = 1n2 > 0

so the first condition is satisfied.

Condition 2: You know that

an = 1n2

and

an+1 = 1n+12 = 1n2+2n + 1 < 1n2 = an,

so the second condition is satisfied.

Condition 3: Looking at the limit,

limnan = limn1n2 = 0,

so the third condition is satisfied.

That means the Alternating Series Test tells you that the series

n=1-1n+1n2

converges.

Can you use the Alternating Series Test to tell if the series

n=1-1nn

converges?

Answer:

Let's check the conditions for the Alternating Series Test.

Condition 1: For this series

an = 1n > 0,

so the first condition is satisfied.

Condition 2: Here

an = 1n and an+1 = 1n+1.

You may not have a good intuition of how an and an+1 compare to each other, so let's try out a value for n and see what happens. If n = 10, then

a10 = 110 0.3162, and a11 = 111 0.3015,

which means that a10 >a11. This is the direction you would hope the inequality would go. In fact, since n < n + 1, you know that n < n + 1 which implies

1n > 1n+1,

so in general an > an+1. Now you know that the second condition holds.

Condition 3: Taking a look at the limit,

limnan = limn1n = 0,

so the third condition holds as well.

Now by the Alternating Series Test, you know that the series converges.

Similar to the example earlier, you can show that the partial sums for the series

n=1-1n+1

diverges, which means the series diverges. What happens if you try and use the Alternating Series Test?

Answer:

First, let's look at the sequence of partial sums for this series. You know that

s1=1s2=1 - 1 = 0s3=0 +1 = 1s4=1 - 1 = 0

so in fact the sequence of partial sums diverges, which by definition means the series diverges.

To apply the Alternating Series Test you need all three conditions satisfied. For this series, an = 1 for any n, which means the first condition is satisfied. But when you check the second condition you need that an > an+1, or in other words, that 1 > 1 which isn't true. It is even worse when you look at the limit in the third condition since

limnan = limn1 = 1,

which is definitely not zero. So even though you know by looking at the partial sums that this series diverges, you can't use the Alternating Series Test to say anything about it.

You might want to use the logical equivalence "if A then B" is the same as "if B is false then A is false" to say that if one or more of the three conditions isn't satisfied, then the series diverges. However, it is incorrect to say that if one of the three conditions of the Alternating Series Test doesn't hold then the series diverges. Instead what you can say is that if an alternating series diverges, then it fails to satisfy one or more of the three conditions of the Alternating Series Test.

If you come across an alternating series where the third condition is false then you will want to try using the nth Term Test for divergence instead. In fact, that is usually a good test to start with for alternating series since it is less work to apply than the Alternating Series Test. See Divergence Test for more details.

Look at the series

n=1-1n+1n2n-1.

This series diverges, which means that one or more of the three conditions of the Alternating Series Test fails. Which condition fails?

Answer:

Here

an = n2n - 1,

and you can see that the first condition holds.

Condition 2: To check condition 2, showing that an >an+1 is the same as showing that an - an+1 > 0. So

id="2905224" role="math" an - an+1 = n2n - 1 - n + 12(n+1) - 1= 12n - 12n +1= 14n2 - 1> 14n2> 0

and the second condition holds.

Condition 3: Looking at the limit,

limnn2n - 1 = 12,

which is definitely not zero. That means condition 3 of the Alternating Series Test fails.

The series in the example above is shown to be divergent using the nth Term Test for divergence. See Divergence Test for more details.

Alternating Series Estimation Theorem

Sometimes it is good enough to know approximately what an alternating series converges to, and how far off you are from the answer. For this, you can use the Alternating Series Bound theorem.

Theorem: Alternating Series Bound

If the alternating series

n=1-1n+1an

has the properties that:

1. each an > 0;

2. an an+1 for all n >N where N is some fixed natural number; and

3. limnan = 0,

then the truncation error for the nth partial sum is less than an+1 and has the same sign as the first unused term.

Another way of talking about the truncation error is to remember that

n=1-1n+1an

is actually the limit of the series, and

k=1n-1n+1an

is the partial sum for the series, which is an approximation of what the limit is. The error is the difference between the limit and the partial sum, or in other words

ERROR = n=1-1n+1an - k=1n-1k+1ak .

The Alternating Series Bound tells you that

ERROR = n=1-1n+1an - k=1n-1k+1ak an+1.

Even better, you can tell if it is an overestimate or an underestimate by seeing if -1n+1 is positive or negative. If it is positive then the partial sum is an overestimate, and if it is negative your partial sum is an underestimate.

Notice that these 3 conditions are exactly the same as for the Alternating Series Test! So if you can't apply the Alternating Series Test because one of the conditions isn't satisfied, you also can't apply the Alternating Series Bound theorem.

Let's take a look at the Alternating Harmonic series. You already know that the terms of the Alternating Series Bound theorem are satisfied from an earlier example. That means you are safe to apply the Alternating Series Bound theorem.

Suppose you add up the first 10 terms. How far off is the partial sum from the actual answer?

Answer: If you do the calculation,

s10 = 12672520 0.6456,

so using the Alternating Series Bound theorem the truncation error for s10 is less than

id="2934012" role="math" a11 = 111.

The fact that the term -111 is negative tells you that this is an underestimate rather than an overestimate.

Alternating Series - Key takeaways

  • A series

    n=1(-1)n+1an

    is called alternating if an > 0.

    are positive.

  • Alternating Series Test (Leibniz's Theorem): If the alternating series

    n=1-1n+1an

    has the properties that:

    1. each an > 0;

    2. an an+1 for all n >N where N is some fixed natural number; and

    3. limnan = 0,

    then the series converges.

  • Theorem: Alternating Series Bound

    If the alternating series

    n=1-1n+1an

    has the properties that:

    1. each an > 0;

    2. an an+1 for all n >N where N is some fixed natural number; and

    3. limnan = 0,

    then the truncation error for the nth partial sum is less than an+1 and has the same sign as the first unused term.

Frequently Asked Questions about Alternating Series

It is a series where it alternates between positive and negative terms.

It can be used to prove if an alternating series converges.

Well, you don't solve series, you solve equations.  Are you looking to find the sum of an alternating series?

First, you can only use it on alternating series.  Second, you need to know that the corresponding positive series has a sequence of decreasing terms which converge to 0. 

You can approximate the sum of an alternating series by looking at the sequence of partial sums.

Join over 22 million students in learning with our StudySmarter App

The first learning app that truly has everything you need to ace your exams in one place

  • Flashcards & Quizzes
  • AI Study Assistant
  • Study Planner
  • Mock-Exams
  • Smart Note-Taking
Join over 22 million students in learning with our StudySmarter App Join over 22 million students in learning with our StudySmarter App

Sign up to highlight and take notes. It’s 100% free.

Entdecke Lernmaterial in der StudySmarter-App

Google Popup

Join over 22 million students in learning with our StudySmarter App

Join over 22 million students in learning with our StudySmarter App

The first learning app that truly has everything you need to ace your exams in one place

  • Flashcards & Quizzes
  • AI Study Assistant
  • Study Planner
  • Mock-Exams
  • Smart Note-Taking
Join over 22 million students in learning with our StudySmarter App