shaun ault

ap calculus bc review: alternating series

an alternating series is one in which the signs of the terms switch between positive and negative. these kinds of series show up fairly regularly in applications. so it’s important to know how to work with them.

in this review article, we’ll examine the properties of alternating series. we’ll also work through a number of examples similar to those you might find on the ap calculus bc exam.

sign, sign, everywhere a sign

what makes a series alternating is the pattern of its signs. positive terms alternate with negative terms forever. the first term may be either positive or negative.

so, if b1, b2, b3, b3, etc., are positive, then both of the following are alternating series.

alternating series

for example, the following series is alternating.

series of powers of -1

here’s another example. notice again how the factor of (-1)n switches the sign.

alternating sum of reciprocals of even numbers

here is one that is not easy to tell is alternating. in fact, it’s not obvious until you work out the value of each term. remember your unit circle!

series involving cosines

alternating series test

there is actually a very simple test for convergence that applies to many of the series that you’ll encounter in practice.

suppose that σan is an alternating series, and let bn = |an|. then the series converges if both of the following conditions hold.

  1. the sequence of (positive) terms bn eventually decreases. that means that perhaps ignoring a few stray terms at the beginning, we have bn > bn+1 > bn+2 > bn+3 > …
  2. the limit of the sequence (bn) is equal to zero. that is,

    limit of b_n is zero

basically, if a series alternates, then as long as the terms get closer to zero, there must be a finite sum. think of a bouncing ball. each up bounce is a positive term, and each downward return is a negative term. if the next bounce is always smaller than the previous one, then eventually the ball will come to rest.

bouncing ball
bouncing ball (by michaelmaggs, edit by richard bartz, via wikimedia commons)

error bound

directly related to the convergence test, there is an easy error estimate for these kinds of series.

if σan is a convergent alternating series, then the nth partial sum, sn, approximates the sum of the series to within an error bound of |an+1|.

note that the error bound does not apply to divergent series.

example — the alternating harmonic series

the alternating harmonic series is the alternating sum of the reciprocals of all the natural numbers. that is,

alternating harmonic series

does this series converge? let’s use the alternating series test to find out.

here, bn = |an| = 1/n, which decreases to 0 as n → ∞. thus, the alternating harmonic sequence converges. (on the other hand, the plain old harmonic series, which consists of all positive fractions, actually diverges!)

how close is 1 – 1/2 + 1/3 – 1/4 + 1/5 to the value of the sum?

just look for the next term, which would be -1/6. the error is only |-1/6| = 1/6 ≈ 0.16667.

now, it can be determined through more advanced methods that the alternating harmonic sum is exactly ln(2), which is roughly 0.69315. let’s verify our error bound estimate.

1 – 1/2 + 1/3 – 1/4 + 1/5 = 0.78333.

0.78333 – 0.69315 = 0.09018, which is well within the error bound estimate of 0.16667. it worked!

examples from the ap calculus bc exam

now that we’ve seen the theory, let’s apply what we know to a few example problems.

determining convergence

determine which of the following series converge(s).

three example alternating series

solution

each of the three series is alternating.

i. the absolute value of the general term is bn = 1/n2. now, because 1/n2 decreases to 0 as n → ∞, we know that the series converges by the alternating series test.

ii. this time, the absolute value of the general term is general term for example ii.

but still, the sequence of terms, b1, b2, b3, b3, etc., does decrease and limit onto 0. again, the test tells us that this series converges.

iii. here, the general term is a bit trickier.

limit of term is 1

the limit is not equal to zero. in fact, that’s enough to conclude that the series must diverge. remember that if the terms of any series do not limit on zero, then that series diverges.

you can check out ap calculus bc review: series convergence for more about series convergence and divergence.

approximating π

in the seventeenth century, gottfried leibniz proved a remarkable series expansion for π.

series expansion for pi

how many terms would be required to ensure that the partial sum of the series is within 1/100 of the actual value of π?

solution

let’s write out a few terms to see what kind of series this really is.

4/1 - 4/3 + 4/5 - ....

it seems like an alternating series, but how can we be sure? we can tell because of the (-1)n factor.

so this is a job for the alternating error bound estimate. in this example, we do not yet know how many terms should be in the partial sum, so we let that unknown number be n. then we can solve for n using the goal: error < 0.01.

alternate_series_error_estimate_pi

therefore, since n must be a natural number, we need at least n = 199 terms to get the desired accuracy!

that may seem like a lot of work just to say that π ≈ 3.14, and i agree! adding and subtracting almost two hundred fractions is not a very efficient approach for estimating π to within 0.01 accuracy. (fortunately, there are better ways to find the digits of π in practice.)

however, this particular example does highlight the theoretic importance of alternating series and their properties.

summary

  • an alternating series is a series in which the signs of the terms alternate between positive and negative forever.
  • the alternating series test states that such a series will converge if the sequence of the absolute values of its terms decreases to zero in the limit.
  • the error for the nth partial sum is bounded by |an+1|.

author

  • shaun ault

    shaun earned his ph. d. in mathematics from the ohio state university in 2008 (go bucks!!). he received his ba in mathematics with a minor in computer science from oberlin college in 2002. in addition, shaun earned a b. mus. from the oberlin conservatory in the same year, with a major in music composition. shaun still loves music — almost as much as math! — and he (thinks he) can play piano, guitar, and bass. shaun has taught and tutored students in mathematics for about a decade, and hopes his experience can help you to succeed!

more from magoosh