The partial sums overshoot and undershoot 4π in turn, closing in from both sides. The gap between two neighboring partial sums is exactly the error bound.
4π=1−31+51−71+⋯
SN−4π≤2N+11
Examples & Exercises
Prove the alternating-series error bound SN−4π≤2N+11.
∣L−SN∣≤∣SN+1−SN∣=2N+11
N=12: error ≤1/25=0.04 — squeezed from both sides.Show proof
For an alternating series ∑k=0∞(−1)kak with ak↓0, the partial sums oscillate inward: even ones increase, odd ones decrease, and the limit L always lies between two consecutive partial sums.
Hence ∣L−SN∣≤∣SN+1−SN∣=aN+1. For the Leibniz series aN+1=2N+11, so SN−4π≤2N+11.
(Convergence of the series itself follows from the alternating series test, since ak=2k+11↓0.)
How many terms are needed for three correct decimal places? Use the error bound.
2N+11<0.0005⟺N≥1000
Even at N=60 only two decimals — very slow convergence.Show proof
Three correct decimals (rounding) requires error <0.0005.
The error bound gives 2N+11<0.0005, i.e. 2N+1>2000. Since 19991≈0.00050025>0.0005 at N=999, we need N≥1000.
So a thousand terms are needed — the notorious slowness of the Leibniz series.
Derive arctanx=∑k=0∞2k+1(−1)kx2k+1 for ∣x∣<1, giving the Leibniz series at x=1. (The final step uses Abel's theorem, taken as known.)
arctanx=∫0x1+t2dt=k=0∑∞2k+1(−1)kx2k+1
Where the series comes from: the power series of arctan at x=1.Show proof
For ∣t∣<1, 1+t21=∑k=0∞(−t2)k (geometric series).
On [0,x] with ∣x∣<1 the convergence is uniform, so termwise integration is legitimate: arctanx=∫0x∑k=0∞(−1)kt2kdt=∑k=0∞2k+1(−1)kx2k+1.
Substituting x=1 involves a conditionally convergent series, so Abel's theorem is needed — taken as known, it gives arctan1=4π as the Leibniz series.