Skip to content
Family Table Math
Auto

Alternating Series Error Bound

When a series converges, you usually can’t add up infinitely many terms, so you stop after a few and use the partial sum as an estimate. The natural question is: how good is that estimate? For alternating series there is a beautifully simple answer: the error is no bigger than the first term you left out. This is how calculators and AP questions justify statements like “this estimate is within 0.0010.001 of the true value.”

Suppose an alternating series

S=∑n=1∞(−1)n+1an=a1−a2+a3−a4+⋯S = \sum_{n=1}^{\infty} (-1)^{n+1} a_n = a_1 - a_2 + a_3 - a_4 + \cdots

meets the conditions of the alternating series test: the ana_n are positive, decreasing, and lim⁡n→∞an=0\displaystyle\lim_{n \to \infty} a_n = 0. Let SnS_n be the nnth partial sum (the sum of the first nn terms).

The error (or remainder) is the difference between the true sum and your estimate, S−SnS - S_n. The alternating series error bound says

∣S−Sn∣≤an+1|S - S_n| \le a_{n+1}

In words: the size of the error is at most the absolute value of the first omitted term.

Each new term overshoots in the opposite direction, but by less than the term before. So the partial sums bounce back and forth around SS, closing in, and SS is always trapped between two consecutive partial sums SnS_n and Sn+1S_{n+1}. The distance from SnS_n to Sn+1S_{n+1} is exactly an+1a_{n+1}, so SS can’t be farther than that from SnS_n.

Number line from 0.78 to 0.86. The partial sums S4, about 0.799, and S5, about 0.839, are 0.04 apart, the size of the first omitted term. The sum S, about 0.822, lies between them, so the actual error of S4 is about 0.024, less than 0.04. first omitted term a5 = 1/25 = 0.04 actual error ≈ 0.024 S4 ≈ 0.799 S5 ≈ 0.839 S ≈ 0.822 0.78 0.79 0.80 0.81 0.82 0.83 0.84 0.85 0.86
The sum SS of ∑(−1)n+1/n2\sum (-1)^{n+1}/n^2 is trapped between S4S_4 and S5S_5, so the error of S4S_4 is less than the gap a5=0.04a_5 = 0.04.

Because SS lies between SnS_n and Sn+1S_{n+1}, the first omitted term also tells you which side of SS your estimate is on:

First omitted term isThen SnS_n isBecause
positivean underestimate (Sn<SS_n \lt S)adding it would move the sum up toward SS
negativean overestimate (Sn>SS_n \gt S)adding it would move the sum down toward SS

To guarantee an error less than some tolerance EE, find the first nn with an+1<Ea_{n+1} \lt E. Then SnS_n (the first nn terms) is close enough. Be careful about whether the series starts at n=0n = 0 or n=1n = 1 when you count terms.

Many Taylor polynomials, such as those for sin⁡x\sin x, cos⁡x\cos x and e−xe^{-x}, give alternating series when you plug in a number. Then the error of the Taylor polynomial is at most the first omitted nonzero term. (For series that aren’t alternating, use the Lagrange error bound instead.)

On the AP exam, say why the bound applies: “The series is alternating, the terms decrease in absolute value, and they approach 00, so by the alternating series error bound, the error is at most the absolute value of the first omitted term, which is …”

Example 1: Bounding the error of a partial sum

Section titled “Example 1: Bounding the error of a partial sum”

Estimate S=∑n=1∞(−1)n+1n2S = \displaystyle\sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{n^2} using the first four terms. Bound the error, and say whether the estimate is too big or too small.

Solution. The terms an=1n2a_n = \dfrac{1}{n^2} are positive, decreasing, and approach 00, so the alternating series error bound applies.

S4=1−14+19−116=115144≈0.799S_4 = 1 - \frac{1}{4} + \frac{1}{9} - \frac{1}{16} = \frac{115}{144} \approx 0.799

The first omitted term is +125+\dfrac{1}{25}, so

∣S−S4∣≤125=0.04|S - S_4| \le \frac{1}{25} = 0.04

The first omitted term is positive, so S4S_4 is an underestimate. (Check: the exact sum is π212≈0.822\dfrac{\pi^2}{12} \approx 0.822. The actual error is about 0.0240.024, which is less than 0.040.04, and S4S_4 is indeed too small.)

How many terms of ∑n=1∞(−1)n+1n3\displaystyle\sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{n^3} are needed to guarantee the partial sum is within 0.00050.0005 of the true sum?

Solution. The terms 1n3\dfrac{1}{n^3} are positive, decreasing, and approach 00. If you add nn terms, the error is at most an+1=1(n+1)3a_{n+1} = \dfrac{1}{(n+1)^3}. You need

1(n+1)3<0.0005⇒(n+1)3>2000\frac{1}{(n+1)^3} \lt 0.0005 \quad\Rightarrow\quad (n+1)^3 \gt 2000

Since 123=172812^3 = 1728 and 133=219713^3 = 2197, you need n+1≥13n + 1 \ge 13, so n≥12n \ge 12. Twelve terms are enough.

Use 1−x22!+x44!1 - \dfrac{x^2}{2!} + \dfrac{x^4}{4!} to approximate cos⁡0.5\cos 0.5 (radians). Show the error is less than 0.00010.0001, and say whether the approximation is too big or too small.

Solution. The Maclaurin series for cosine at x=0.5x = 0.5 is

cos⁡0.5=1−0.522!+0.544!−0.566!+⋯\cos 0.5 = 1 - \frac{0.5^2}{2!} + \frac{0.5^4}{4!} - \frac{0.5^6}{6!} + \cdots

This is alternating, and its terms decrease in absolute value toward 00. The approximation is

1−0.125+0.0026042=0.8776042≈0.8781 - 0.125 + 0.0026042 = 0.8776042 \approx 0.878

The first omitted term is −0.566!=−0.015625720-\dfrac{0.5^6}{6!} = -\dfrac{0.015625}{720}, so

∣error∣≤0.015625720≈0.0000217<0.0001|\text{error}| \le \frac{0.015625}{720} \approx 0.0000217 \lt 0.0001

The first omitted term is negative, so the approximation is an overestimate. (Check: cos⁡0.5≈0.8775826\cos 0.5 \approx 0.8775826, slightly less.)

A function gg is defined by the power series

g(x)=∑n=0∞(−1)nxn(n+2)2=14−x9+x216−x325+⋯g(x) = \sum_{n=0}^{\infty} \frac{(-1)^n x^n}{(n + 2)^2} = \frac{1}{4} - \frac{x}{9} + \frac{x^2}{16} - \frac{x^3}{25} + \cdots

Estimate g(0.4)g(0.4) with the sum of the first three terms. Then explain why your estimate is within 0.0030.003 of the true value of g(0.4)g(0.4).

Solution. At x=0.4x = 0.4:

g(0.4)≈14−0.49+0.1616=0.25−0.04444+0.01≈0.2156g(0.4) \approx \frac{1}{4} - \frac{0.4}{9} + \frac{0.16}{16} = 0.25 - 0.04444 + 0.01 \approx 0.2156

The series at x=0.4x = 0.4 is alternating, and its terms 0.4n(n+2)2\dfrac{0.4^n}{(n + 2)^2} decrease (the numerator shrinks because 0.4<10.4 \lt 1, and the denominator grows) and approach 00. So the error is at most the first omitted term, the n=3n = 3 term:

∣0.43(3+2)2∣=0.06425=0.00256<0.003\left|\frac{0.4^3}{(3 + 2)^2}\right| = \frac{0.064}{25} = 0.00256 \lt 0.003

So the estimate 0.21560.2156 is within 0.0030.003 of g(0.4)g(0.4).

Using the last term you kept instead of the first one you left out. The bound is the next term, an+1a_{n+1}. If you add terms through 116\dfrac{1}{16}, the bound is 125\dfrac{1}{25}, not 116\dfrac{1}{16}.

Applying the bound when the conditions fail. The error bound needs an alternating series whose terms decrease in absolute value toward 00. For a series with all positive terms (like e0.3e^{0.3}‘s Maclaurin series), it does not apply; use the Lagrange error bound.

Skipping zero terms incorrectly in Taylor polynomials. For cos⁡x\cos x, after the x4x^4 term the next nonzero term is the x6x^6 term. The “first omitted term” means the first omitted nonzero term.

Miscounting terms. If a series starts at n=0n = 0, the first four terms are n=0,1,2,3n = 0, 1, 2, 3, and the first omitted term is the n=4n = 4 term. Write the terms out if you’re unsure.

Saying the error equals the bound. The bound is a guarantee: the error is at most an+1a_{n+1}. In Example 1, the bound is 0.040.04 but the actual error is about 0.0240.024.

Getting the over/under rule backwards. Ask: “Would adding the next term push my estimate up or down?” If up, the estimate is currently too small (an underestimate).

1. (Warm-up) Find S5S_5 for ∑n=1∞(−1)n+1n\displaystyle\sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{n} and give an upper bound for the error.

SolutionS5=1−12+13−14+15=4760≈0.783S_5 = 1 - \frac{1}{2} + \frac{1}{3} - \frac{1}{4} + \frac{1}{5} = \frac{47}{60} \approx 0.783

The terms 1n\dfrac{1}{n} are positive, decreasing, and approach 00, so ∣S−S5∣≤a6=16≈0.167|S - S_5| \le a_6 = \dfrac{1}{6} \approx 0.167. (The true sum is ln⁡2≈0.693\ln 2 \approx 0.693.)

2. (Warm-up) Is S3S_3 an overestimate or an underestimate of ∑n=1∞(−1)n+1n\displaystyle\sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{\sqrt{n}}? Give the error bound.

Solution

S3=1−12+13≈0.870S_3 = 1 - \dfrac{1}{\sqrt{2}} + \dfrac{1}{\sqrt{3}} \approx 0.870. The terms 1n\dfrac{1}{\sqrt{n}} decrease toward 00, so the bound applies. The first omitted term is −14=−12-\dfrac{1}{\sqrt{4}} = -\dfrac{1}{2}, which is negative, so S3S_3 is an overestimate, with error at most 12\dfrac{1}{2}.

3. (Warm-up) Use the terms through n=4n = 4 of ∑n=0∞(−1)nn!\displaystyle\sum_{n=0}^{\infty} \frac{(-1)^n}{n!} to estimate the sum. Bound the error.

Solution1−1+12−16+124=924=0.3751 - 1 + \frac{1}{2} - \frac{1}{6} + \frac{1}{24} = \frac{9}{24} = 0.375

The terms 1n!\dfrac{1}{n!} are decreasing (from n=1n = 1 on) and approach 00. The first omitted term is the n=5n = 5 term, −1120-\dfrac{1}{120}, so the error is at most 1120≈0.008\dfrac{1}{120} \approx 0.008, and the estimate is an overestimate. (The sum is e−1≈0.368e^{-1} \approx 0.368.)

4. (Core) The series 1−13+15−17+⋯=∑n=1∞(−1)n+12n−11 - \dfrac{1}{3} + \dfrac{1}{5} - \dfrac{1}{7} + \cdots = \displaystyle\sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{2n - 1} converges to π4\dfrac{\pi}{4}. How many terms guarantee an error less than 0.010.01?

Solution

After nn terms, the error is at most an+1=12(n+1)−1=12n+1a_{n+1} = \dfrac{1}{2(n + 1) - 1} = \dfrac{1}{2n + 1}.

12n+1<0.01⇒2n+1>100⇒n>49.5\frac{1}{2n + 1} \lt 0.01 \quad\Rightarrow\quad 2n + 1 \gt 100 \quad\Rightarrow\quad n \gt 49.5

So 5050 terms are needed. (This series converges very slowly!)

5. (Core) Approximate sin⁡0.2\sin 0.2 (radians) using x−x33!x - \dfrac{x^3}{3!}. Give an error bound and say whether the approximation is too big or too small.

Solution0.2−0.236=0.2−0.0013333=0.1986667≈0.1990.2 - \frac{0.2^3}{6} = 0.2 - 0.0013333 = 0.1986667 \approx 0.199

The series for sin⁡0.2\sin 0.2 is alternating with terms decreasing to 00. The first omitted term is +0.255!=0.00032120≈0.0000027+\dfrac{0.2^5}{5!} = \dfrac{0.00032}{120} \approx 0.0000027. So the error is at most about 0.00000270.0000027, and since that term is positive, the approximation is an underestimate. (Check: sin⁡0.2≈0.1986693\sin 0.2 \approx 0.1986693.)

6. (Core) Use the Maclaurin series e−x=1−x+x22!−x33!+⋯e^{-x} = 1 - x + \dfrac{x^2}{2!} - \dfrac{x^3}{3!} + \cdots with three terms to estimate e−0.3e^{-0.3}. Show that the error is less than 0.0050.005.

Solutione−0.3≈1−0.3+0.092=0.745e^{-0.3} \approx 1 - 0.3 + \frac{0.09}{2} = 0.745

At x=0.3x = 0.3 the series is alternating, and the terms 0.3nn!\dfrac{0.3^n}{n!} decrease toward 00. The first omitted term is −0.333!=−0.0045-\dfrac{0.3^3}{3!} = -0.0045, so

∣error∣≤0.0045<0.005|\text{error}| \le 0.0045 \lt 0.005

(Check: e−0.3≈0.7408e^{-0.3} \approx 0.7408; the actual error is about 0.00420.0042.)

7. (Core) A function has Maclaurin series f(x)=∑n=1∞(−1)n+1xnn⋅2nf(x) = \displaystyle\sum_{n=1}^{\infty} \frac{(-1)^{n+1} x^n}{n \cdot 2^n}.

  • (a) Use the first three terms to approximate f(1)f(1).
  • (b) Show that this approximation differs from f(1)f(1) by less than 0.020.02.
  • (c) Is the approximation too big or too small?
Solution

(a) At x=1x = 1, the terms are (−1)n+1n⋅2n\dfrac{(-1)^{n+1}}{n \cdot 2^n}:

f(1)≈12−18+124=512≈0.417f(1) \approx \frac{1}{2} - \frac{1}{8} + \frac{1}{24} = \frac{5}{12} \approx 0.417

(b) The series is alternating, and n⋅2nn \cdot 2^n increases, so the terms decrease toward 00. The first omitted term is −14⋅16=−164-\dfrac{1}{4 \cdot 16} = -\dfrac{1}{64}, so the error is at most 164≈0.0156<0.02\dfrac{1}{64} \approx 0.0156 \lt 0.02.

(c) The first omitted term is negative, so 512\dfrac{5}{12} is too big (an overestimate). (In fact f(x)=ln⁡(1+x2)f(x) = \ln\left(1 + \tfrac{x}{2}\right), and f(1)=ln⁡1.5≈0.405f(1) = \ln 1.5 \approx 0.405.)

8. (Challenge) What is the smallest degree of a Maclaurin polynomial for cos⁡x\cos x that is guaranteed by the alternating series error bound to approximate cos⁡1\cos 1 within 0.00010.0001? Give the approximation.

Solutioncos⁡1=1−12!+14!−16!+18!−⋯\cos 1 = 1 - \frac{1}{2!} + \frac{1}{4!} - \frac{1}{6!} + \frac{1}{8!} - \cdots

The terms 1(2k)!\dfrac{1}{(2k)!} decrease to 00. Look for the first one below 0.00010.0001: 16!=1720≈0.00139\dfrac{1}{6!} = \dfrac{1}{720} \approx 0.00139 is too big, but 18!=140320≈0.0000248\dfrac{1}{8!} = \dfrac{1}{40320} \approx 0.0000248 works. So stop just before the x8x^8 term: use the polynomial through x6x^6, which has degree 6.

cos⁡1≈1−12+124−1720≈0.540278\cos 1 \approx 1 - \frac{1}{2} + \frac{1}{24} - \frac{1}{720} \approx 0.540278

(Check: cos⁡1≈0.540302\cos 1 \approx 0.540302.)

9. (Challenge) Consider S=∑n=1∞(−1)n+1n3nS = \displaystyle\sum_{n=1}^{\infty} \frac{(-1)^{n+1} n}{3^n}.

  • (a) Show that the terms an=n3na_n = \dfrac{n}{3^n} are decreasing.
  • (b) Find S4S_4 and use the error bound to give an interval that must contain SS.
Solution

(a) Compare consecutive terms:

an+1an=n+13n+1⋅3nn=n+13n≤23<1for n≥1\frac{a_{n+1}}{a_n} = \frac{n + 1}{3^{n+1}} \cdot \frac{3^n}{n} = \frac{n + 1}{3n} \le \frac{2}{3} \lt 1 \quad \text{for } n \ge 1

so each term is smaller than the one before. Also an→0a_n \to 0, so the series converges by the alternating series test.

(b)

S4=13−29+327−481=1481≈0.1728S_4 = \frac{1}{3} - \frac{2}{9} + \frac{3}{27} - \frac{4}{81} = \frac{14}{81} \approx 0.1728

The first omitted term is +5243≈0.0206+\dfrac{5}{243} \approx 0.0206. SS lies between S4S_4 and S5=S4+5243=47243S_5 = S_4 + \dfrac{5}{243} = \dfrac{47}{243}:

0.1728<S<0.19340.1728 \lt S \lt 0.1934

(The exact sum is 316=0.1875\dfrac{3}{16} = 0.1875, which is inside.)

Try these independently after the practice questions. Show your setup and explain your reasoning. Use exact answers where possible, and check that your answers fit the question. Homework solutions are not provided on the published site.

Before you use the error bound, say why it applies: the series alternates, the terms decrease in absolute value, and they approach 00. All trig values are in radians.

H1. (Foundations) Consider S=∑n=1∞(−1)n+1n(n+1)S = \displaystyle\sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{n(n+1)}.

  • (a) Explain why the alternating series error bound applies to this series.
  • (b) Find S4S_4 as an exact fraction and give an upper bound for ∣S−S4∣|S - S_4|.
  • (c) Is S4S_4 an overestimate or an underestimate of SS? Explain.

H2. (Foundations) For each series, find the given partial sum, give the error bound, and say whether the partial sum is an overestimate or an underestimate.

  • (a) ∑n=0∞(−1)n2n\displaystyle\sum_{n=0}^{\infty} \frac{(-1)^n}{2^n}, using the first three terms.
  • (b) ∑n=1∞(−1)n3n+1\displaystyle\sum_{n=1}^{\infty} \frac{(-1)^n}{3n + 1}, using S4S_4. (Watch the sign of the first term.)

H3. (Core) How many terms of ∑n=1∞(−1)n+1n4\displaystyle\sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{n^4} guarantee an error less than 0.0010.001? Find that partial sum, rounded to five decimal places.

H4. (Core) (AP style) Let S=∑n=1∞(−1)n+1n⋅3nS = \displaystyle\sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{n \cdot 3^n}. Which of the following is the smallest number of terms nn for which the alternating series error bound guarantees ∣S−Sn∣<0.001|S - S_n| \lt 0.001?

  • A) 33
  • B) 44
  • C) 55
  • D) 66

H5. (Core) Use the Taylor polynomial x−x33!x - \dfrac{x^3}{3!} for sin⁡x\sin x to approximate sin⁡0.5\sin 0.5.

  • (a) Give the approximation to seven decimal places.
  • (b) Show that the error is less than 0.00030.0003.
  • (c) Is the approximation too big or too small? Explain.

H6. (Core) In a hypothetical model, a 500500 g sample of a medical isotope made at a Canadian research reactor decays so that the mass left after 11 day is 500e−0.2500e^{-0.2} grams. Use e−x=1−x+x22!−x33!+⋯e^{-x} = 1 - x + \dfrac{x^2}{2!} - \dfrac{x^3}{3!} + \cdots.

  • (a) Use the first four terms of the series to estimate e−0.2e^{-0.2}, then estimate the mass left after 11 day, in grams.
  • (b) Use the alternating series error bound to say how far, in grams, your mass estimate could be from the model’s value.
  • (c) Is your mass estimate too high or too low?

H7. (Challenge) Two students made errors with the error bound.

  • (a) Priya estimates ∑n=1∞(−1)n+1(2n−1)2=1−19+125−149+⋯\displaystyle\sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{(2n - 1)^2} = 1 - \frac{1}{9} + \frac{1}{25} - \frac{1}{49} + \cdots with S3=1−19+125S_3 = 1 - \dfrac{1}{9} + \dfrac{1}{25} and writes “the error is at most 125=0.04\dfrac{1}{25} = 0.04.” What did she do wrong? Give the correct bound.
  • (b) Marcus approximates e0.5e^{0.5} with 1+0.5+0.522!=1.6251 + 0.5 + \dfrac{0.5^2}{2!} = 1.625 and writes “by the alternating series error bound, the error is at most 0.533!≈0.0208\dfrac{0.5^3}{3!} \approx 0.0208.” Explain why this reasoning is not valid. Then use a calculator value of e0.5e^{0.5} to show that his claimed bound is actually false.

H8. (Challenge) Let S=∑n=1∞(−1)n+1n⋅4nS = \displaystyle\sum_{n=1}^{\infty} \frac{(-1)^{n+1}}{n \cdot 4^n}. It can be shown that S=ln⁡1.25S = \ln 1.25.

  • (a) Find the smallest nn for which the alternating series error bound guarantees ∣S−Sn∣<10−4|S - S_n| \lt 10^{-4}.
  • (b) Find SnS_n for that nn as an exact fraction, and use a calculator value of ln⁡1.25\ln 1.25 to find the actual error. Check that it is smaller than the bound.
  • (c) The bound only guarantees accuracy. Could one fewer term happen to be within 10−410^{-4} anyway? Compute the actual error of the partial sum with one fewer term to decide.

H9. (Challenge) Suppose a1>a2>a3>⋯>0a_1 \gt a_2 \gt a_3 \gt \cdots \gt 0 with an→0a_n \to 0, and S=a1−a2+a3−a4+⋯S = a_1 - a_2 + a_3 - a_4 + \cdots.

  • (a) Explain why ∣S−Sn∣=an+1−an+2+an+3−an+4+⋯|S - S_n| = a_{n+1} - a_{n+2} + a_{n+3} - a_{n+4} + \cdots.
  • (b) By grouping the terms in pairs in two different ways, show that an+1−an+2<∣S−Sn∣<an+1a_{n+1} - a_{n+2} \lt |S - S_n| \lt a_{n+1}. This explains why the true error is always strictly smaller than the bound.
  • (c) Apply part (b) to the series in H1: give an interval that must contain ∣S−S4∣|S - S_4|.

H10. (Challenge) For small xx, people often use sin⁡x≈x\sin x \approx x.

  • (a) For 0<x≤10 \lt x \le 1, explain why the Maclaurin series for sin⁡x\sin x satisfies the conditions of the alternating series error bound, and decide whether xx is an overestimate or an underestimate of sin⁡x\sin x.
  • (b) Find all xx with 0<x≤10 \lt x \le 1 for which the error bound guarantees ∣sin⁡x−x∣<0.001|\sin x - x| \lt 0.001. Give the cut-off value to four decimal places.
  • (c) Check your answer at x=0.18x = 0.18: compute the actual error and compare it with the bound.