Maths WorkshopMaths problems with full solutions
Exercise 779Calculus › Single-variable calculus › Series › Convergence testsL1Added 2 Nov 2026

Alternating series and the error bound

#alternating series test#remainder#error estimate

Statement

  1. State the alternating series test and the bound on the remainder.
  2. Show that ∑n≥1(−1)n+1n2\displaystyle\sum_{n\ge1}\frac{(-1)^{n+1}}{n^2} converges.
  3. How many terms are needed to get the sum with an error below 10−210^{-2}?
Hint

If an≥0a_n\ge0 decreases to 00, then ∑(−1)n+1an\sum(-1)^{n+1}a_n converges and its remainder satisfies ∣RN∣≤aN+1|R_N|\le a_{N+1}.

Show solutionHide solution

Solution

1. Statement. If (an)(a_n) is non-negative, decreasing and tends to 00, then S=∑n≥1(−1)n+1anS=\sum_{n\ge1}(-1)^{n+1}a_n converges, and SS lies between any two consecutive partial sums. Hence ∣S−SN∣≤aN+1|S-S_N|\le a_{N+1}.

2. an=1n2a_n=\frac1{n^2} is positive, decreasing, and tends to 00.

3. ∣RN∣≤1(N+1)2<10−2|R_N|\le\frac1{(N+1)^2}<10^{-2} as soon as N+1>10N+1>10, i.e. N≥10N\ge10.

Numerics. S9=0.82796S_9=0.82796 and S10=0.81796S_{10}=0.81796. The true sum π212=0.82247\frac{\pi^2}{12}=0.82247 lies between them, within 10−210^{-2} of S10S_{10}.

Remark. Taking the *average* of two consecutive partial sums, S9+S102=0.82296\frac{S_9+S_{10}}2=0.82296, gives an error of only 5⋅10−45\cdot10^{-4}: a cheap acceleration trick for alternating series.