Educerie

Educerie · AP · Calculus AB and BC

Unit 10 Infinite Sequences and Series · 10.7 Alternating Series Test for Convergence

BC only. This topic is on the AP Calculus BC exam and not on AB.

Big ideas: LIM (Limits). When terms alternate in sign, each term partly undoes the one before it. If the terms also shrink to 0, the partial sums home in on a number.

The question this unit answers: When does an endless sum settle on a number, and how do we tell, and how do we use it to approximate?

Where it is examined: Section I multiple choice: decide which alternating series converges, or which condition of the test fails. Section II free response: the three checks of the alternating series test written out for a power series endpoint, almost always in the question on radius and interval of convergence, and followed by an error bound (10.10).


AP Calculus AB and BC 10.7

Alternating Series Test for Convergence

When does an endless sum settle on a number, and how do we tell, and how do we use it to approximate?

What you will learn

  • Understand that an alternating series converges when its terms shrink steadily to 0.
  • Know that failing a condition means the test does not apply, not that the series diverges.
  • Understand how to prove the terms are decreasing.

You must be able to

  1. Show bn is decreasing with an inequality, derivative or ratio.
  2. Show the limit of bn is 0.
  3. Write convergence by the alternating series test.
  4. Use the nth term test when the limit is not 0.
  5. Check endpoints of a power series with the test.

1The test

Write the series as ∑(−1)nbn\sum (-1)^n b_n or ∑(−1)n+1bn\sum (-1)^{n+1} b_n, where bn>0b_n > 0 for all nn. The alternating series test says: if

  1. bn+1≤bnb_{n+1} \le b_n for all nn (the sizes are decreasing), at least from some point on, and
  2. lim⁡n→∞bn=0\lim_{n\to\infty} b_n = 0,

then the series converges.

The sign pattern is part of the setup, not a condition to prove. The two conditions are on bnb_n, the positive size of each term. Note that the test needs both conditions. A series with terms that go to 0 but not steadily, or that decrease but not to 0, is not covered.

2A picture: Figure 1

Figure 1 plots the partial sums of the alternating harmonic series 1−12+13−14+⋯1 - \tfrac12 + \tfrac13 - \tfrac14 + \cdots.

Dots showing the partial sums of the alternating harmonic series for n from 1 to 12. They jump up and down about the dashed line y equals 0.693 with each jump smaller than the last 1 4 8 12 0.5 0.7 0.9 Sₙ n ln 2 ≈ 0.693 odd n: above the sum even n: below the sum
Figure 1 · Partial sums of the alternating harmonic series zigzagging in towards the sum 0.693

The partial sums are S1=1S_1 = 1, S2=0.5S_2 = 0.5, S3≈0.833S_3 \approx 0.833, S4≈0.583S_4 \approx 0.583, S5≈0.783S_5 \approx 0.783, S6≈0.617S_6 \approx 0.617. The odd partial sums sit above the limit and fall. The even ones sit below and rise. Each step is smaller than the last, so the two groups close in on the same number, which is ln⁡2≈0.693\ln 2 \approx 0.693.

This picture is the reason for the error bound in 10.10: the true sum is always between two consecutive partial sums.

3Worked examples that converge

Example: ∑n=1∞(−1)n+1n\displaystyle \sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{\sqrt n}.

Here bn=1nb_n = \dfrac{1}{\sqrt n}, which is positive. It is decreasing, since n+1>n\sqrt{n+1} > \sqrt n gives bn+1<bnb_{n+1} < b_n. Also lim⁡1n=0\lim \tfrac{1}{\sqrt n} = 0. Both conditions hold, so the series converges by the alternating series test.

Example: ∑n=1∞(−1)nnn2+1\displaystyle \sum_{n=1}^{\infty} (-1)^n \frac{n}{n^2+1}.

Here bn=nn2+1b_n = \dfrac{n}{n^2+1}. To show it is decreasing, let f(x)=xx2+1f(x) = \dfrac{x}{x^2+1}. Then f′(x)=1−x2(x2+1)2f'(x) = \dfrac{1 - x^2}{(x^2+1)^2}, which is negative for x>1x > 1, so bnb_n is decreasing (the first values are 0.5, 0.4, 0.3, 0.235). Also lim⁡nn2+1=0\lim \dfrac{n}{n^2+1} = 0. The series converges.

A sequence is shown to be decreasing in one of three ways: write out bn+1≤bnb_{n+1} \le b_n and simplify, use f′(x)<0f'(x) < 0 as above, or in simple cases state that a denominator grows while the numerator stays fixed. The exam accepts a correct reason; it does not accept "it looks decreasing".

4A worked example that fails

Example: ∑n=1∞(−1)nnn+1\displaystyle \sum_{n=1}^{\infty} (-1)^n \frac{n}{n+1}.

Here bn=nn+1b_n = \dfrac{n}{n+1}, and lim⁡bn=1≠0\lim b_n = 1 \ne 0. Condition 2 fails. The alternating series test does not apply. In this case the series actually diverges, but the reason is the nnth term test (10.3): the terms an=(−1)nnn+1a_n = (-1)^n \dfrac{n}{n+1} do not approach 0.

So when the limit of bnb_n is not 0, the series diverges by the nnth term test, not by the alternating series test.

5The test cannot show divergence

The alternating series test is a test for convergence only. If a condition fails, you learn that the test does not apply, and you must use something else.

Example (invented): ∑n=1∞(−1)n2+(−1)nn\displaystyle \sum_{n=1}^{\infty} (-1)^n \frac{2 + (-1)^n}{n}.

Here bn=2+(−1)nnb_n = \dfrac{2 + (-1)^n}{n} is positive and tends to 0, but it is not decreasing: b1=1b_1 = 1, b2=32b_2 = \tfrac32, b3=13b_3 = \tfrac13, b4=34b_4 = \tfrac34. So the test does not apply. Expand the term: (−1)n(2+(−1)n)=2(−1)n+1(-1)^n\left(2 + (-1)^n\right) = 2(-1)^n + 1, so the series is 2∑(−1)nn+∑1n2\sum \dfrac{(-1)^n}{n} + \sum \dfrac1n. The first part converges, the second diverges, so the whole series diverges.

Failing a condition is not a verdict either way. This series diverges, but another series whose sizes take turns being 1n2\tfrac{1}{n^2} and 1n3\tfrac{1}{n^3} fails condition 1 and still converges. Say "the alternating series test does not apply" and choose a different tool.

6Checking condition 1 carefully

"Decreasing" means non-increasing: bn+1≤bnb_{n+1} \le b_n. It only has to hold for all large enough nn.

  • Ratio of consecutive terms. If bn+1bn≤1\dfrac{b_{n+1}}{b_n} \le 1 for all nn, then bnb_n is decreasing. This is neat for factorials and exponentials.
  • Derivative. Use f′(x)<0f'(x) < 0 for x≥Nx \ge N, where bn=f(n)b_n = f(n).
  • Direct inequality. If bn=1g(n)b_n = \dfrac{1}{g(n)} and gg is clearly increasing, then bnb_n is decreasing.

Example (invented): bn=n2nb_n = \dfrac{n}{2^n}. Then bn+1bn=n+12n\dfrac{b_{n+1}}{b_n} = \dfrac{n+1}{2n}. This is at most 1 when n+1≤2nn + 1 \le 2n, which holds for n≥1n \ge 1. So bnb_n is decreasing. Also lim⁡n2n=0\lim \dfrac{n}{2^n} = 0, so ∑(−1)nn2n\sum (-1)^n \dfrac{n}{2^n} converges.

7Where the test appears in a larger problem

In a radius and interval of convergence problem (10.13), the ratio test usually gives an open interval, and the two endpoints are checked separately. At one endpoint the series is often alternating.

Example: the power series ∑(x−2)nn\sum \dfrac{(x-2)^n}{n} at x=1x = 1 becomes ∑(−1)nn\sum \dfrac{(-1)^n}{n}. Here bn=1nb_n = \tfrac1n is decreasing with limit 0, so the series converges at x=1x = 1. At x=3x = 3 it becomes the harmonic series, which diverges. That gives the interval [1,3)[1, 3).

A full-credit endpoint check writes the series at the endpoint, names the test, and states both conditions. The same check is needed at the other endpoint, where the series may be one you already know, such as a pp-series.

8A full answer in exam style

Question (invented): determine whether ∑n=1∞(−1)nn+2\displaystyle\sum_{n=1}^{\infty}\frac{(-1)^{n}}{n+2} converges.

Answer: the series alternates, with bn=1n+2>0b_n = \dfrac{1}{n+2} > 0. Since n+3>n+2n + 3 > n + 2, bn+1=1n+3<1n+2=bnb_{n+1} = \dfrac{1}{n+3} < \dfrac{1}{n+2} = b_n, so bnb_n is decreasing. Also lim⁡n→∞1n+2=0\lim_{n\to\infty}\dfrac{1}{n+2} = 0. Both conditions hold, so the series converges by the alternating series test.

The answer has four parts: the sign pattern and bnb_n, the decreasing check with a reason, the limit, and the conclusion naming the test. If a question then asks whether the convergence is absolute, a fifth part is needed: the series of absolute values is ∑1n+2\sum\dfrac{1}{n+2}, which diverges by limit comparison with ∑1n\sum\dfrac1n, so the convergence is conditional (10.9).

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.