How to bound the error of a partial sum with integrals, geometric tails or the alternating estimate, how many terms that bound requires, and how to choose a convergence test quickly.
Knowing that a series converges is often only half the job. A calculator or a computer still has to stop after finitely many terms, and you want to know how far off the answer can be. The tests from the previous lessons come with error bounds, and those bounds tell you in advance how many terms are enough. The second half of the job is choosing the right test in the first place.
Key terms
Absolute error
Definition If a convergent series has sum S and you approximate it by the partial sum sn, the absolute error is
∣S−sn∣=∣Rn∣,
where the remainder is
Rn=k=n+1∑∞ak.
More generally, the absolute error of any approximation A to S is ∣S−A∣.
In plain words The absolute error is how far your estimate is from the true value, without caring about the direction.
Example For ∑n21=6π2≈1.644934 the partial sum s10≈1.549768 has absolute error about 0.095166.
Integral bounds
Definition Suppose f is continuous, positive and decreasing on [n,∞), ak=f(k) for k≥n, and ∑ak converges with sum S. Then
sn+∫n+1∞f(x)dx≤S≤sn+∫n∞f(x)dx.
Taking the midpoint of this interval as the estimate gives an absolute error of at most half its width, which is
21∫nn+1f(x)dx.
In plain words Two improper integrals fence in the sum. The middle of the fence is usually a much better estimate than the partial sum alone.
Example Take ∑n31 with n=5. The partial sum is
s5=1+81+271+641+1251≈1.185662,
and the two integrals are
∫6∞x−3dx=721,∫5∞x−3dx=501,
so
1.199551≤S≤1.205662.
The midpoint 1.202606 is guaranteed to be within half the width, 0.003056, of S. The true sum is about 1.202057, so the actual error is only about 0.00055.
Geometric tail bounds
Definition Suppose ak=0 for k≥n+1 and there is a number r with 0≤r<1 such that
akak+1≤rfor all k≥n+1.
Then ∣an+1+j∣≤∣an+1∣rj for every j≥0, so the series converges absolutely and
∣Rn∣≤j=0∑∞∣an+1∣rj=1−r∣an+1∣.
In plain words If from some point on each term is at most a fixed fraction r of the one before, the tail is smaller than a geometric series you can add exactly. This is the error bound that goes with the ratio test.
Example Take e=∑k=0∞k!1 and stop after the term k=6. For k≥7 the ratio is k+11≤81, so the tail after 6!1 satisfies
0<e−k=0∑6k!1≤1−1/81/7!=7⋅50408≈0.000227.
Indeed ∑k=06k!1≈2.718056 and e≈2.718282, a difference of about 0.000226. The bound is almost exactly the true error.
Alternating error estimates
Definition If ∑(−1)k−1bk has bk>0, bk+1≤bk for all k≥1, and bk→0, then
∣S−sn∣≤bn+1,
and S−sn has the sign of the first omitted term.
In plain words For a well behaved alternating series, the error is at most the size of the next term.
Example For ∑k2(−1)k−1 with n=10, the bound is b11=1211≈0.00826. In fact s10≈0.817962 and S=12π2≈0.822467, an error of about 0.00450. Since the first omitted term is positive, s10 lies below S.
Certified number of terms
Definition Given a tolerance ε>0, a number of terms n is certified if a proven bound Bn on the error, such as one of the three above, satisfies Bn≤ε. Then the error is guaranteed to be at most ε. The smallest certified n depends on the bound used, and it can be larger than the number of terms that actually achieve the tolerance.
In plain words Watching the partial sums stop changing on the screen proves nothing. A certificate is a bound you have proved that is already below the tolerance.
Example Suppose you want ∑n21 within 0.01. Using sn alone, the integral bound gives
Rn≤∫n∞x−2dx=n1,
so n=100 terms are certified. Using the midpoint of the integral bounds instead, the error is at most
21(n1−n+11)=2n(n+1)1,
which is at most 0.01 once n(n+1)≥50, so n=7 terms are certified. Indeed the estimate
s7+21(81+71)≈1.645726
is within 0.0008 of 6π2.
Selecting a convergence test
Definition Selecting a convergence test means reading the form of an and choosing a test whose hypotheses are easy to check for that form. No single test decides every series. The table lists the usual matches, roughly in the order to ask about them.
What you see in an
Test to try first
an→0
nth term test, the series diverges
arn
geometric series, converges exactly when ∣r∣<1
np1
p-series, converges exactly when p>1
bn−bn+1
telescoping
rational or algebraic in n
limit comparison with a p-series
factorials or cn
ratio test
(bn)n
root test
(−1)nbn with bn>0
absolute convergence first, then the alternating series test
f(n) with ∫f easy
integral test
In plain words Look at the shape of the terms before computing anything. First rule out divergence by the nth term test, then match the form to the test that handles it best.
Example For ∑3nn3 the exponential points to the ratio test, and
anan+1=3n+1(n+1)3⋅n33n=3n3(n+1)3→31<1,
so it converges. For ∑n2+n1 the terms are algebraic, and n2+n1≤n21 settles it by direct comparison. Trying the ratio test on the second series would waste time, since its limit is 1.
Check yourself
How many terms of ∑n4(−1)n−1 guarantee an error less than 10−4?
Show the answer
The sizes n41 are positive, decreasing and tend to 0, so the alternating estimate applies. We need (n+1)41<10−4, that is n+1>10. So n=10 terms suffice. With n=9 the bound is exactly 10−4, which is not strictly less.
Bound the error of ∑k=042kk!1 as an estimate of ∑k=0∞2kk!1=e.
Show the answer
For k≥5 the ratio of consecutive terms is 2(k+1)1≤121. The first omitted term is 25⋅5!1=38401, so the geometric tail bound gives
0<e−k=0∑42kk!1≤1−1/121/3840=35201≈0.00028.
Which test would you try first on ∑n!2n and what does it give?
Show the answer
The factorial points to the ratio test. The ratio is n+12→0<1, so the series converges absolutely.
May we count page visits to understand which courses and learning features are useful? Cloudflare collects visit and performance statistics, without your account details or answers. Your choice does not affect access. Details