Chapter 25 Series
Section 25.1 Definitions and examples
Recall that our motivation for studying sequences was the sequence of approximation values one could obtain by approximating a specific function value using Taylor polynomials of increasing degree. Consider the example of approximating from Section 22.1 once more. Using Taylor polynomials based at we have
(This time we have included the “zero-degree” Taylor polynomial approximation value.) This creates a sequence where
If we allow the possibility of an “infinite-degree” Taylor polynomial computing a value like of such a “polynomial” would involve adding up an infinite number of summands, while each term from the sequence above represents a partial summation of only a finite number of summands.
Example 25.1.2.
- Consider the sequence with terms
- Consider the sequence
whose terms are the digits of The partial sums for are:
The preceding example demonstrates that sometimes partial sums can exhibit a specific pattern. But sometimes they do not.
Example 25.1.3.
Definition 25.1.4. Infinite series.
Example 25.1.5.
Remark 25.1.6.
Every real number is equal to the series formed by the digits in its decimal expansion:
where each is an integer between and (inclusive) and is the highest “place” that a non-zero digit appears. For example, for then because the first digit appears in the thousands ( ) place, but for then because the first digit appears in the thousandths ( ) place.
In a sense, this is what decimal expansion means as an expression of a real number.
Warning 25.1.7.
The usual associative and commutative properties of addition DO NOT apply to the terms in an infinite series.
Example 25.1.8. Grouping terms can produce an incorrect result.
Consider the “alternating” series
It is tempting to use the associative property of addition and group terms in this sum as follows:
However, this would not be the correct result based on the definition of Infinite series. Instead of performing this dubious manipulation of the terms of the sequence, we should consider the sequence of partial sums:
As you can see, the sequence oscillates between and and so cannot converge to any specific value. In fact, the infinite series diverges.
Example 25.1.9. Re-ordering terms can produce different results.
It is possible to demonstrate that the alternating harmonic series
converges to (See Subsection 26.4.4.) In the Sage cell below you can investigate the behaviour of the partial sums numerically. Try increasing the partial sum upper bound value to see how the partial sum values appear to approach
xxxxxxxxxx
var('k,n')
n = 10
s = sum((-1)^(k+1) / k, k, 1, n)
d = ln(2) - s
print("{}th partial sum is s_{} = {}".format(n,n,s.n()))
print("value of ln(2) is", ln(2).n())
print("difference between ln(2) and partial sum is")
print("ln(2) - s_{} = {}".format(n,d.n()))
However, if we rearrange the terms of the sequence we actually get a different result. It is possible to demonstrate that
Again, the Sage cell below is provided for you to investigate this convergence numerically.
xxxxxxxxxx
def do_sum(n):
s = 0
for k in range(1,n+1):
if k%3 == 0:
s += (-1 / (2*(k/3)))
else:
j = k - (k//3)
s += 1 / (2*j - 1)
return s
n = 10
s = do_sum(n)
l = (3/2)*ln(2)
d = l - s
print("{}th partial sum is s_{} = {}".format(n,n,s.n()))
print("value of (3/2)*ln(2) is", l.n())
print("difference between (3/2)*ln(2) and partial sum is")
print("(3/2)*ln(2) - s_{} = {}".format(n,d.n()))
In fact, it is a theorem of Riemann that the terms of this sequence can be rearranged to add up to any value you like! Suppose you would like the rearranged series to add up to a specific number Just add up positive terms until your partial sum is greater than then add on negative terms until your partial sum is less than then more positive terms until the partial sum is greater than again, and so on. Try it with equal to your favourite number!
While you shouldn’t rearrange/simplify an infinite sum, you certainly can rearrange/simplify the partial sums as you investigate the convergence of the infinite sum.
Example 25.1.10. A telescoping sum.
The following is an extremely important general example.
Pattern 25.1.11. Geometric series.
Justification of Statement 1.
Justification of Statement 2.
Convergence of an infinite series is defined by the convergence of its sequence of partial sums. We will break the assumption into several cases.
Case .
Recall that in this case we are taking the first term in the series to be But all other terms in the series are so that for all Thus is a constant sequence that converges to which agrees with the value of the conjectured formula when
Case .
Case .
Justification of Statement 3.
Again we will consider different cases.
Case .
Case .
Case .
In this case the exponential function represents exponential growth, and the sequence diverges to infinity along with that function. Therefore, the formula for the partial sums provided by Statement 1 also diverges.
Case .
As in the case in the justification for Statement 2, when is negative the terms of the sequence are bouncing between values on the graphs of the exponential function and its vertical reflection. But this time, if then both these exponential functions experience unbounded growth, one in a positive direction and the other in a negative direction, so diverges. Therefore, the formula for the partial sums provided by Statement 1 also diverges.
Example 25.1.12. Two important geometric series.
- The infinite series of the sequence
is geometric with which converges since is less than and we have - The infinite series of the sequence
is geometric with which converges since is less than and we have
Section 25.2 Properties
An infinite series can be thought of as an improper integral of a step function:
where is the step function that takes on value on the subdomain Effectively we are viewing the infinite series as a regular Riemann sum with but with an unbounded domain (hence an infinite number of rectangles). From this point of view, partial sum effectively becomes the same thing as partial area. Usually Riemann sums are only an approximation of a definite integral, but in this case it is an equality because the function being integrated is already a step function.
With this in mind, the properties of infinite series mirror the properties of improper integrals.
Fact 25.2.1. Earlier versus later start to an infinite series.
Justification.
Remark 25.2.2.
Compare the above fact with Fact 24.2.1.
Example 25.2.3.
We may extend some of the patterns of finite sums (Subsection 5.3.2) to infinite series.
Pattern 25.2.4. Linearity of infinite series.
- If
converges, then so does for constant and - If both
and converge, then so does and
Justification.
These follow from the definition of an infinite series as the limit of partial sums, the corresponding properties for finite sums (Pattern 5.3.7 and Pattern 5.3.10), and the Sequence limit laws.
Example 25.2.5. Splitting an infinite series.
You may have heard that if a decimal number exhibits some repeating pattern in its decimal expansion, then it must be a rational number. Turning a rational number into a decimal one is not difficult: just use long division. Here is an example of turning a decimal number with a repeating pattern back into a rational number, using geometric series along with Property 1 of Pattern 25.2.4.
Example 25.2.6. Expressing a decimal as a fraction.
Fact 25.2.7.
Justification.
Let be the sequence of partial sums. As converges, we have for some limit value Let be the sequence of “delayed” partial sums: for set
(and we’ll set ). Then also By the Sequence limit laws, the difference sequence converges to But the terms of the difference sequence for are
(and also ). So the difference sequence is identical to the sequence Since we have determined that then also
Warning 25.2.8.
Do not get Fact 25.2.7 backwards! The next (important!) example will demonstrate that knowing is not sufficient for to converge.
Example 25.2.9. Harmonic Series.
The infinite series (beginning at index ) has but does not converge. To see this, we’ll consider a particular subsequence of the sequence of partial sums. But first, some analysis of some “partial” partial sums. Because this sequence is decreasing, in any sum of consecutive terms we can replace all terms by the last term and end up with a smaller result:
In particular, a “partial” partial sum between two indices that are consecutive powers of exhibits the following pattern:
Now let’s use the inequality above to look at the subsequence of partial sums where the index is a power of
The pattern continues, so that
(We have used “or equal” here so that and can be included.) This particular subsequence of the sequence of partNow let’s use the ial sums diverges to infinity, hence it is not possible for the full sequence of partial sums to converge (see Pattern 22.3.13).
Example 25.2.10. Changing variables in a series.
We would expect the series to diverge because the terms are so similar to the harmonic series. In fact, by changing variables we see that this series is exactly the harmonic series. Let As increments through the values will increment through the values Then we have
and so the series must diverge, being equivalent to the divergent harmonic series.
The contrapositive of Fact 25.2.7 is often useful to avoid unnecessary work.
Corollary 25.2.11. Test for Divergence.
Example 25.2.12.
In the case that the terms of are non-negative, then the partial sums of are increasing (or, at least, non-decreasing), so their convergence is dependent on being bounded.
Fact 25.2.13.
Justification.
Example 25.2.14.
We have seen that the Harmonic Series diverges, not unlike the fact that the improper integral of diverges as Since the improper integral of converges, might we expect the infinite series to converge?
The terms of the sequence are all positive, so let’s try to bound the partial sums. Here we will take the opposite approach as in Example 25.2.9: we’ll compare “partial” partial sums to a larger value by replacing each term by the first. Since is a decreasing sequence, we have
Simiarly to Example 25.2.9, apply this to “partial” partial sums between indices that are consecutive two powers of
Now let’s use the inequality above to look at the subsequence of partial sums where the index is one less than a power of
The pattern continues, so that
But since the terms of are positive, the sequence of partical sums is increasing. And for all we have so that
As the sequence of partial sums is monotonic and bounded, it must converge.
We know that for an infinite series to converge, it is necessary (but not sufficient) for But even more, when the series does converge, the “amount left to add” must be getting small as well.
Fact 25.2.15.
Justification.
Let be the sequence of partial sums of the full infinite series beginning at index and let represent the sum value of that convergent series. Because applying Fact 22.3.31 tells us that Now, note that every term of is actually defined, because if converges beginning at index then it converges beginning at any index, and in fact we have
Section 25.3 Comparison tests
Here we repeat the introductory remarks we made for comparison tests for improper integrals (see the beginning of Section 24.3) in the context of series. Fact 25.2.7 says that we need for to converge, but Example 25.2.9 demonstrates that this is not sufficient; if too slowly, then the series will diverge. The comparison tests in this section allow us to determine convergence without actually computing the sum value, by comparing the series to one whose convergence is already known. But we will also add a new technique: considering the remarks made at the beginning of Section 25.2 concerning the analogy between infinite series and improper integrals, we can also compare convergence across this analogy.
Subsection 25.3.1 Integral comparison test
Fact 25.3.1. Integral Comparison Test.
Justification.
For simplicity, we will prove this for every other starting index/domain boundary then just represents a “shift” of the case.
Define the integral function
Note that is an increasing function, as we are accumulating more area as the integration domain endpoint increases. (And the derivative function is positive, as we have assumed that is a positive function.)
As usual, let be the sequence of partial sums for the infinite series Let and be the sequences with terms
(Take ) Then for each can be considered as a right Riemann sum and each can be considered as a left Riemann sum for the integral with steps and regular with in both cases.
Convergent integral.
Suppose the improper integral of as converges. By definition, this means that the limit of exists as But then the sequence also must converge (see Fact 23.5.10), and so is bounded. But since for all then also is bounded above. And since is simply a constant shift of that too must be bounded above (and also bounded below by because the terms are all positive.) We are now in the situation of Fact 25.2.13 and may conclude that converges.
Divergent integral.
Suppose the improper integral of as diverges. This means that the limit of as does not exist. In particular, as is an increasing function, we must have as which in turn implies that diverges to infinity. But since for all then also as well. And as the terms of are the same as the terms of with shifted indexing, we also have so that diverges.
Convergent series.
If converges, then it cannot be that the improper integral of diverges, since if it did the “Divergent integral” case would imply that the series should diverge as well. Hence the integral converges when the series does.
Divergent series.
If diverges, then it cannot be that the improper integral of converges, since if it did the “Convergent integral” case would imply that the series should converge as well. Hence the integral diverges when the series does.
Example 25.3.3.
This derivative is negative as long as which occurs for So we may say that is decreasing on domain and we have verified that satisfies the conditions of the Integral Comparison Test for Because of this, we can say that the convergence/divergence of the sum and integral below are equivalent:
Also note that the convergence of the sum above is equivalent to the convergence of the full sum that begins at index (Fact 25.2.1), so investigating the integral above is sufficient to determine the convergence/divergence of
on domain And we know that an improper integral of diverges (Fact 24.1.9), hence our improper integral of diverges as by the Comparison test for integrals.
From this we conclude that diverges.
We have seen that converges but diverges, just as with improper integrals. Using the Integral Comparison Test, we can transfer all of Fact 24.1.9 to the analgous facts about infinite series.
Fact 25.3.4. Convergence of -series.
Subsection 25.3.2 Comparing two series
We may compare two series by comparing their sequences of partial sums or by comparing their sequences of terms.
Pattern 25.3.5. Comparison test for series.
Suppose and are non-negative sequences, and let and represent the sequences of partial sums for the infinite series and respectively.
Justification for Statement 1.
Since and are non-negative then and are increasing sequences (or, at least, non-decreasing). If converges then must be bounded, and from we conclude that is bounded as well. The Monotone Convergence Theorem now implies that converges.
Justification for Statement 2.
As in the justification of Statement 1, and must be non-decreasing. But if diverges then cannot be bounded and must diverge to infinity. Then from we conclude that as well.
Pattern 25.3.6.
Justification.
Let and represent the sequences of partial sums for and respectively. Since and are non-negative, our assumption for all implies that for all as well. So the patterns of convergence/divergence of and follow Pattern 25.3.5.
Remark 25.3.7.
With Fact 25.2.1 in mind, we see that the “for all ” conditions in the statements of both Pattern 25.3.5 and Pattern 25.3.6 may be relaxed. As long as the necessary conditions hold for tails of the sequences involved, then the conclusions of these two facts will hold for the “tails” of the infinite series involved, which is sufficient.
Example 25.3.8.
- Since
converges by comparison with the geometric series - For
and converges because does (see Pattern 25.2.4). So by comparison (✶) must converge. - Since
the series
Subsection 25.3.3 Comparing rates
Just as with improper integrals, for a series to converge we need but that on its own is not enough — if doesn’t converge to zero fast enough, then it will diverge (for example, the harmonic series). So we can test convergence/divergence by comparing the rate at which the terms trend to against the terms of a series whose convergence/divergence is known.
Pattern 25.3.9. Limit comparison test for series.
Justification.
Suppose Recall that we assume is positive. Take to be some open range around with (For example, we could take and ) Then there is some tail that is completely contained in this range:
We may now use the above inequalities to analyze converge/divergence.
Case that converges.
Case that diverges.
Case that converges.
Then cannot diverge, because if it did we have already demonstrated that would diverge in that case.
Case that diverges.
Then cannot converge, because if it did we have already demonstrated that would converge in that case.
Example 25.3.10.
- Consider
We have already verified that diverges (Example 25.2.10), so must diverge as well. But let’s check that the Limit comparison test for series says the same: the series diverges. - Consider
Compare with the geometric series converges.
Remark 25.3.11.
Note that for both series in Example 25.3.10, direct comparison using Pattern 25.3.6 with wouldn’t work because the terms don’t compare the right way. So the Limit comparison test for series is a good choice instead.
Example 25.3.12. Choosing a comparator series.
The Limit comparison test for series states that when the trends of the two sequences of terms are progressing at the same rate (give or take a constant multiple), then the convergence/divergence of the associated series are equivalent. When the trends of the two sequences progress at different rates, then their convergence is not equivalent but we can still make conclusions based on knowledge of convergence/divergence of one of the sequences.
Pattern 25.3.13. Additional limit comparisons.
- If
and converges then also converges. - If
and diverges then also diverges.
Remark 25.3.14.
In light of Pattern 25.3.13, it’s best to use the denominator sequence to represent the one whose convergence/divergence of the associated series is known when attempting a limit comparison.
Section 25.4 More convergence tests
Subsection 25.4.1 Root test
If the terms of a series involve the index variable as an exponent, we can determine the convergence of the series by examing the trend of the base sequence.
Pattern 25.4.1. Root test.
Justification for Statement 1.
We will attempt to compare with a convergent geometric series We assume and note that we must also have since the terms of are non-negative. We can create an open range around with (For example, we could take and ) Then there is some tail that is completely contained in this range:
Since power functions are always increasing functions on non-negative domains, we may raise each “side” of the above inequality to the power and the inequalities will be maintained:
We know have our base for a geometric series, and converges because Since for all terms in the tail the series converges as well by comparison.
Justification for Statement 2.
Case of infinite .
If the terms of diverge to infinity, then the sequence of powers of those terms (which is just ) will also diverge to infinity, and so the series will diverge in this case.
Case of finite .
The argument in this case is identical to the one above, except this time we compare to a divergent geometric series. Since we can create an open range around with Then similarly to the previous argument we can determine some tail with for all terms in that tail, and so diverges by comparison with the divergent geometric series
Example 25.4.2.
- For series
with terms converges. - For series
with terms as (Example 23.6.22), so also One may also verify with a logarithmic limit that So we have and conclude that converges.
Checkpoint 25.4.3.
Verify that the case of Statement 3 of the Root test really is inconclusive by testing both the -series and the harmonic series You should find that the terms of both series satisfy but one series converges and one diverges.
Subsection 25.4.2 Ratio test
Again, we need for to converge, but that’s not sufficient: we need the terms to get small fast enough that the partial sums don’t become unbounded. Another way to measure whether this is happening is to compare each term to the next in a ratio.
Pattern 25.4.4. Ratio test.
Justification for Statement 1.
Again we will attempt to compare with a convergent geometric series. And again we can create an open range around with and there will be some tail entirely contained in that range. But we also assume that the terms of to be positive, so all the ratios of those terms are positive as well. So for we have
(Recall that the terms of are positive, so multiplying by does not affect the inequalities.) Now we proceed inductively, starting at
The pattern continues, and we can say that
for all Now, since the geometric series converges, and by linearity so does (Note that is just one specific term in the sequence and so we may treat it as a constant.) Then by comparison, the “shifted” series with terms converges. But since
we may rewrite this (convergent) series as
Justification for Statement 2.
Here we may make a simpler argument. There is some tail where the terms are all greater than But then for all so in fact the sequence of terms is increasing and cannot trend to as it needs to in order for the sum to converge. (Remember that we assume the terms are a positive sequence.)
Remark 25.4.5.
- The ratio test is also a good choice for series where the terms involve variable exponents but the root test isn’t practical, because often there will be significant cancellation in the ratio of consecutive terms.
- The justifiction for Statement 2 of Pattern 25.4.4 implies something interesting: if we have a sequence
where converges diverges
then it must be that Because if converged to a limit value less than then the series would converge, and if it converged to a limit value greater than then So in this divergent case the terms are trending to but not very fast, because we eventually always havewhich implies that we eventually always have and this approximation becomes better and better as we go further out in the sequence.
Example 25.4.6.
- For series
the root test will not play nicely with the numerator, so let’s apply the ratio test instead: as so we conclude that the series converges. - For series
again the root test will not play nicely with the factorial in the numerator, so let’s apply the ratio test: as so we conclude that the series diverges. (Can you verify that the sequence is eventually increasing? Hint: Consider each of the numerator and denominator as a product of factors, and compare the factors.) - For series
again the root test will not play nicely with the factorial, so let’s apply the ratio test: this final expression behaves exactly as the limit in Example 23.6.23, and so we can say As this limit value is greater than we conclude that the series diverges. (Again, can you verify that the sequence is eventually increasing?)
Checkpoint 25.4.7.
Verify that the case of Statement 3 of the Ratio test really is inconclusive by testing both the -series and the harmonic series You should find that the terms of both series satisfy but one series converges and one diverges.
Section 25.5 Absolute convergence
So far in this chapter, the convergence tests have all been for infinite series with positive or non-negative terms. If is a sequence with all non-positive terms, then it should be clear the the convergence of is equivalent to the convergence of But what if has some positive and some negative terms? Can the convergence/divergence of tell us anything about in that case?
Subsection 25.5.1 Absolute versus conditional convergence
The answer to the question above is “yes.”
Fact 25.5.1. Absolute convergence.
Justification.
The argument is effectively the same as for Fact 24.3.6, just with sums and terms instead of integrals and function values. Assume converges. Then from Pattern 25.2.4, so do both of
For all we have
So by comparison, must converge. But then adding this convergent series to another will yield a convergent series (Pattern 25.2.4), so
converges.
Definition 25.5.2. Absolute and conditional convergence.
- If
converges then we say that the infinite series is absolutely convergent. - If
converges but does not, then we say that the infinite series is conditionally convergent.
Remark 25.5.3.
Note that is convergent in both parts of Definition 25.5.2, by Fact 25.5.1, so it is not a misnomer to call absolutely convergent when it is known that is convergent.
Example 25.5.4.
- For the series
(beginning at index ), we have -series. So converges absolutely, hence converges. - For the series
(beginning at index ), we have for all we have and so converges absolutely by comparison with the convergent -series - For the series
(beginning at index ), we have does not converge absolutely. However, we have investigated the partial sums of numerically in Example 25.1.9 and it would appear that it converges to a value of In Example 25.5.12 we will verify that this series does converge conditionally.
We have seen in Example 25.1.9 that it is possible to rearrange the terms in a conditionally convergent series and get a different sum result. But if a series converges absolutely then this is not possible.
Fact 25.5.5. Rearrangements of an absolutely convergent series.
Suppose converges absolutely and is a permutation of the set of non-negative integers. Then the series converges to the same sum value as
Justification.
Let and represent the sequences of partial sums of and respectively, and let represent the value of so that We would like to verify that as well. Using Fact 22.3.31, we will instead verify that Following Corollary 22.3.32, consider an arbitrary half-open range Our goal is to verify that some tail of the absolute sequence is completely contained in this range.
As then also and there exists some tail completely contained in the half-open range But we not only assume that converges, we assume it converges absolutely. That is, converges. Let be the sequence of “remainders” for this convergent sequence:
Fact 25.2.15 tells us that so there exists some tail also completely contained in the half-open range (Note that ) is a sequence of non-negative terms because a convergent series of non-negative terms must have a non-negative sum value.)
Now let be the greater of and so that both the tails and are completely contained in In particular, the first terms of these tails are both contained in this range:
Remember that the series we would like to investigate is but the terms of this sequence are all mixed up. However, from the original series the specific partial sum of the original series
involves only a finite number of terms, and all of these terms must appear eventually in the mixed-up sequence Choose large enough that this happens. (For example, we could choose to be the largest index so that the “shuffled” index is between and inclusive.) The two partial sums and involve only a finite number of terms each, and so we can subtract them and manipulate them without worrying about convergence. But we have chosen so that in the partial sum
all the terms of appear, just in a mix-up order. So if we subtract all those common terms will cancel and we will only be left will those terms from that did not appear in Because involves all terms up to and including the terms remaining must all have indices that are larger than (as part of the original sequence of terms ):
for some collection of indices that are all greater than Using the extended Triangle Inequality, we can say that
In this form, because the indices are all larger than each of these absolute terms appears in the absolute remainder
We know the series defining converges, and since it is an infinite sum of non-negative terms, it must add up to a larger value than the finite sum in (††). So we can say
Now the partial sum already contains all of the terms from (and likely more), so if we go even further out into the partial sums that will still be true. In other words, all of the analysis above is actually true for every difference for so that for such it is always true that
We’re now ready to confirm that the tail is completely contained in the range Because of the absolute values, we know that the terms of this tail will all be greater than or equal to zero; we just need to confirm that they are all less than So consider:
Subsection 25.5.2 Alternating series
Notice that the terms in Series 1 and Series 3 in Example 25.5.4 alternate between positive and negative:
Definition 25.5.6. Alternating series.
An infinite series where the terms alternate between positive and negative values.
Example 25.5.7.
Pattern 25.5.8.
Note 25.5.9.
For every sequence the convergence/divergence of and are equivalent. And if is alternating beginning with a negative term, then is alternating beginning with a positive term. So in the remainder of this subsection, we will generally assume that alternating series begin with a positive term (though in examples they might not).
Fact 25.5.10. Alternating Series Test.
Justification.
(⇒)
(⇐)
Assume Let represent the sequence of partial sums as usual. Because of the alternating nature of the series, the partial sums also alternate, but not between positive and negative, but instead between growing and decaying since we will alternately be adding a positive term or a negative onto the previous partial sum. So we will apply Fact 22.3.20 and split into subsequences and with terms
The subsequence represents the even-indexed terms in where the last term from added on is positive, and the subsequence represents the odd-indexed terms in where the last term from added on is negative. Because of this even-odd index split, collectively and account for every term from and so if we can demonstrate that these two subsequences converge to the same limit, then Fact 22.3.20 says that must converge to that limit as well.
We’ll begin with
Each of the bracketed binomials above is positive because we have assumed that is positive and decreasing, so that for all And the final term is positive as well, so we can say that is a positive sequence. But is decreasing as well:
This time the bracketed binomial above is negative, because and so We have now established that is positive and decreasing, which means that it is bounded above by and below by The Monotone Convergence Theorem tells us that converges; let represent its limit value.
Now consider Let represent the subsequence of with (That is, is all the odd-indexed terms of ) We have
This says that is the difference of two convergent sequences: and (since ). The Sequence limit laws tell us that
We have now established that both partial sum subsequences and converge to the same limit, so Fact 22.3.20 says that must also converge to that limit.
Example 25.5.11.
- Consider the alternating series
with beginning at index like our sum. This is a positive sequence, but is it decreasing? Let Then So we can say that is decreasing for And from examining dominant terms it is clear that so the Alternating Series Test says that - Consider the alternating series
represent the sequence of absolute terms: beginning at index like our sum. This is a positive sequence, and you can verify via a derivative calculation as in the example above that it is a decreasing sequence. However, so the Alternating Series Test says that our series diverges. In fact, the limit value for tells us in what way it diverges: if is large enough for sufficiently closely and is that particular partial sum value, then all partial sum sequence terms will bounce back and forth between and either (where the plus-or-minus depends on whether is even or odd).
Example 25.5.12. Conditional convergence of the Alternating Harmonic Series.
Consider the alternating harmonic series
Then the sequence of absolute terms is positive, decreasing, and trends to So the Alternating Series Test says that the series converges. As we have seen previously that this series does not converge absolutely, we instead say that converges conditionally.
Subsection 25.5.3 Estimating alternating sums
Suppose is positive, decreasing, and Then the Alternating Series Test tells us that converges; let represent its sum. As in the justification of the Alternating Series Test, let and represent the sequences of even-indexed and odd-indexed partial sums:
To summarize, the terms of the partial sum sequence alternate between values of a sequence whose terms are greater than and decreasing down to and values of a sequence whose terms are less than and increasing up to So the sum value is squeezed between and so that is always between consecutive terms of
And in all cases, the distance between consecutive terms in the sequence of partial sums is the term of to be next added onto the sum.
Fact 25.5.13. Alternating sum estimates.
Suppose is a positive, decreasing sequence so that the associated alternating sum converges. Let
and let represent the sequence of partial sums.
- For even
the partial sum is an overestimate of - For odd
the partial sum is an underestimate of - In all cases, the sum value
lies between consecutive partial sums and so that to within
Recall that under the conditions in the fact above, the alternating sum converges if and only if So the fact says that if we would like to estimate the alternating sum to within a specific tolerance, we simply need to determine the index at which the terms of get within that tolerance of
Example 25.5.14.
First let’s verify that the sequence satisfies the conditions of Alternating Series Test. Clearly this sequence is positive. To investigate whether the sequence decreases to we will instead consider the corresponding continuous function We have
which is negative on domain so we can say that is a decreasing sequence for Furthermore, has form as so
and we conclude that as well. All of this confirms that converges, and we can use partial sums to estimate its value.
Per Fact 25.5.13, we need to determine the index when and then we can backtrack one index from that. You may calculate that the denominator of the terms of becomes greater than at From we can compute:
We can have Sage add this up for us.
xxxxxxxxxx
var('k')
s8 = sum((-1)^k * (k + 1) / 4^k, k, 0, 8)
print("s8 =", s8, "≈", s8.n(digits=6))
As this is an even-indexed term, we know this is an over-estimate. And if you increase the
digits
parameter in the Sage cell above, you’ll see that it is already rounded up from the exact value. So we can be confident that