§15 Alternating Series and Integral Tests
Sometimes we can decide whether a series converges by comparing its partial sums with familiar integrals.
Why this matters
The tests of §14 give no information about the most important comparison series of all, , since their ratios tend to . This section supplies two new tools: comparison with an integral, which settles the -series, and the Alternating Series Theorem, which shows that a series can converge without converging absolutely.
We show . Draw and, over each interval , a rectangle of height . These rectangles lie above the curve, so for
Since , we conclude .
The series diverges very slowly. In fact is approximately , so for the sum is about , and for it is only about . Another proof of divergence was given in Exercise 14.14.
We show converges. Now put the rectangle of height over , so for it lies under the curve . Then
for all . The partial sums form an increasing sequence bounded above by , so converges and its sum is at most . (Its sum is actually .)
We did not simply write , even though it is true, because that integral is infinite. We were after a finite upper bound for the partial sums.
The harmonic series diverges, but its terms shrink only slightly slower than those of . Does converge?
It converges. Comparing with the area under gives a finite bound on the partial sums (the exponent just needs to be above ), though the sum grows very slowly and a large number of terms is needed before it settles.
Try it: rectangles against the curve
Section titled “Try it: rectangles against the curve”Set with rectangles above to see Example 1, and with rectangles below to see Example 2. Then move past and watch which bound stays finite.
The techniques just illustrated prove the following theorem.
converges if and only if .
Used in Exercise 15.5
My notes(saved)
Proof
Supply your own picture. If , then
Consequently .
Suppose . Then for all . Since diverges, diverges by the Comparison Test.
∎Intuition
For a decreasing , the area lies between and . Adding these up, the partial sums and the integrals can never drift apart by more than the first term. So the series and the integral are both finite or both infinite.
An integral test is advisable when:
- the tests in §14 do not seem to apply;
- the terms of the series are nonnegative;
- there is a nice decreasing function on with for all ( is decreasing if implies );
- the integral of is easy to calculate or estimate.
If , the series diverges just as in Example 1. If , the series converges just as in Example 2. The interested reader may formulate and prove the general result (Exercise 15.8).
Common pitfallthe decreasing hypothesis matters
Let . Then for every integer , so converges, but since has the same positive area over every interval . Without a decreasing , the values at the integers need not reflect the area under the curve at all.
Alternating series
Section titled “Alternating series”The next result shows that series like converge even though they do not converge absolutely (see Example 9 of §14).
If and , then the alternating series converges. Moreover, the partial sums satisfy for all .
Used in §14
My notes(saved)
The series is called alternating because the signs of its terms alternate between and .
Proof
We show converges. The subsequence is increasing, because . Similarly is decreasing, since . We claim
First, for all , because . If , then (1) holds because . If , then (1) holds because .
By (1), is an increasing subsequence bounded above by every odd partial sum, and is a decreasing subsequence bounded below by every even partial sum. By Theorem 10.2 these converge, say to and . Now
so , and it follows that .
For the last claim, note , so both and are bounded by . Whether is even or odd, .
∎Intuition
Each new term overshoots the limit in the opposite direction, by less than the previous overshoot. So the limit is trapped between any two consecutive partial sums, and the error is at most the first omitted term. For example, to compute to within , it is enough to stop at a term .
Common pitfallterms tending to 0 is not enough without “decreasing”
Alternating signs and do not suffice. Consider
whose terms alternate in sign and tend to but do not decrease. Grouped in pairs, the partial sums are , and these tend to because diverges while converges.
Common pitfallorder matters for conditionally convergent series
A series that converges but not absolutely is called conditionally convergent, and for such series the order of the terms matters. Take the terms of and write them as one positive term followed by two negative ones:
Each group in parentheses is half of its first term, and the result is exactly half of the original series, so it converges to instead of . The same terms in a different order give a different sum. Absolutely convergent series do not have this problem: every rearrangement has the same sum.
Try it: reorder the terms
Section titled “Try it: reorder the terms”Choose an order and watch where the partial sums go. For the conditionally convergent series you can even steer the sum to any target you like (Riemann’s rearrangement theorem). For the absolutely convergent series nothing you do changes the sum.
The terms of alternate in sign, and the absolute values add up to infinity. Does this series converge?
It converges. The positive and negative terms cancel enough: the partial sums zigzag and the zigzags shrink to zero. It does not converge absolutely, which is what “conditionally” means.
Try it: the zigzag
Section titled “Try it: the zigzag”The partial sums of zigzag: even sums climb, odd sums fall, and every even sum sits below every odd sum, exactly as in (1). They squeeze down to .
Reading alongside Abbott
Abbott proves the Alternating Series Test in Section 2.7, along with the theorem that rearranging an absolutely convergent series does not change its sum. In fact Abbott opens the whole chapter on sequences and series (Section 2.1) with the puzzle of rearrangements, as motivation for taking convergence seriously. Abbott does not use integral tests at this stage, since integrals come much later in that book. It settles the -series with the Cauchy condensation test instead (see the note at the end of §14).
Check your understanding
Section titled “Check your understanding”Take the quiz (3 questions)
Which series converges?
By Theorem 15.1, converges exactly when , however slightly.
How does behave?
The terms decrease to , so it converges by the Alternating Series Theorem 15.3. The absolute values form the harmonic series, which diverges.
For , when does the bound in Theorem 15.3 guarantee ?
The bound is , which is at most when .
Exercises
Section titled “Exercises”Determine which of the following series converge. Justify your answers.
Solution
(a) converges by the Alternating Series Theorem. (b) diverges: , so the terms do not tend to .
Used in Exercise 15.2
My attempt(saved)
Repeat Exercise 15.1 for the following.
Solution
(a) diverges: for , , so the terms do not tend to . (b) converges absolutely: for every (it is when ), so compare with a geometric series.
My attempt(saved)
Show converges if and only if .
Hint
Integral test with ; substitute .
Solution
Let on . For , it is positive and decreasing, because is positive and increasing. Substitute : As this tends to when or , and tends to the finite limit when . By the integral test (Remark 15.2, Exercise 15.8) the series converges exactly when . For , for , so the series diverges by comparison with .
My attempt(saved)
Determine which of the following series converge. Justify your answers.
Solution
(a) diverges ( for large , so the terms dominate ). (b) diverges (terms for ). (c) diverges (integral is ). (d) converges (, so terms ).
My attempt(saved)
Why didn’t we use the Comparison Test to prove Theorem 15.1 for ?
Solution
To compare we need a known convergent series to compare against, and at that point we had only geometric series, which decay too fast to dominate .
My attempt(saved)
- Give an example of a divergent series for which converges.
- Observe that if is a convergent series of nonnegative terms, then also converges. See Exercise 14.7.
- Give an example of a convergent series for which diverges.
Solution
(a) . (c) .
My attempt(saved)
- Prove that if is a decreasing sequence of real numbers and converges, then .
- Use (a) to give another proof that diverges.
Hint
For (a), consider for suitable . Each term is at least , so this is at least . Note the must be nonnegative, since otherwise the terms would not tend to .
Solution
- Since converges, ; a decreasing sequence tending to has all terms . Let and use the Cauchy criterion to choose with for all . Because is decreasing, for , so . For we have , hence , i.e. . So .
- The sequence is decreasing but . By (a), cannot converge.
My attempt(saved)
Formulate and prove a general integral test as advised in 15.2.
Hint
If is decreasing on and , then .
Solution
Integral test. Let be a decreasing function on and let . Then converges if and only if ; otherwise both the series and the integral limit are .
Proof. A decreasing function is integrable on each . For we have , so . Summing over , with and , Both and are increasing. If is bounded, so is (as ), so converges. If is bounded, then is bounded, so converges. Hence one converges exactly when the other does, and otherwise both tend to .
Used in Remark 15.2, Exercise 15.3