MathLabs

Analysis

Numerical series and convergence tests

Infinite sums of numbers and the criteria that decide whether they add up to a finite value.

IntuitionIntuition: adding infinitely many terms

Walk halfway to a wall, then halfway again, then halfway again, forever: the distances you cover are 1/21/2, 1/41/4, 1/8,…1/8,\dots, and even though you take infinitely many steps, the total distance never exceeds the width of the room — it approaches exactly 11 (in units of the room's width). A numerical series is precisely this idea made rigorous: an infinite sum ∑n=1∞an\sum_{n=1}^{\infty} a_n of numbers, and the central question is whether such a sum settles down to a finite value or grows without bound.

Bar chart of the first terms of the harmonic series stacked as a step function, compared against the curve 1/x.
Picture each term of the harmonic series 1, 1/2, 1/3,…, 1/n1,\ 1/2,\ 1/3,\dots,\ 1/n as the height of a bar of width 11: the bars shown here for nn up to 12 accumulate to the partial sum SnS_n, and comparing their total area to the area under the curve y=1/xy=1/x is exactly the geometric idea behind the integral test.

UndergraduateDefinition: series and partial sums

Definition: Numerical series and convergence

Given a sequence of real numbers ana_n, the nn-th partial sum is SN=∑n=1NanS_N = \sum_{n=1}^{N} a_n, the sum of the first nn terms. The infinite series ∑n=1∞an\sum_{n=1}^{\infty} a_n is said to converge if the sequence of partial sums SNS_N has a finite limit as N→∞N\to\infty; otherwise the series diverges.

SN=∑n=1NanS_N = \sum_{n=1}^{N} a_n

Here ana_n denotes the general term of the series (a function of the index nn), and SNS_N is a genuine, finite sum for every fixed nn — it only becomes infinite in the limit. This is the key conceptual jump: an infinite series is not itself a sum in the ordinary sense but the limit of a sequence of ordinary, finite sums.

∑n=1∞an=lim⁡N→∞SN\sum_{n=1}^{\infty} a_n = \lim_{N\to\infty} S_N

A necessary (but not sufficient) condition for convergence follows immediately: if ∑n=1∞an\sum_{n=1}^{\infty} a_n converges then an→0a_n \to 0, since consecutive partial sums SNS_N must get arbitrarily close together. The word 'necessary' matters — as the pitfall below shows, an→0a_n \to 0 alone never guarantees convergence.

UndergraduateStandard convergence tests

Checking the definition of convergence directly, via the limit of SNS_N, is often impossible in closed form. Instead, mathematicians have developed a toolbox of tests that decide convergence from the shape of ana_n alone, summarized below.

Comparing the standard convergence tests
TestConditionExample
Geometric seriesConverges iff ∣r∣<1|r|<1∑n=0∞arn\sum_{n=0}^{\infty} ar^n
p-seriesConverges iff p>1p>1∑n=1∞1np\sum_{n=1}^{\infty} \dfrac{1}{n^p}
Ratio testConverges if L<1L<1, diverges if L>1L>1L=lim⁡n→∞∣an+1an∣L=\lim_{n\to\infty}\left|\dfrac{a_{n+1}}{a_n}\right|
Root testConverges if L<1L<1, diverges if L>1L>1L=lim sup⁡n→∞∣an∣nL=\limsup_{n\to\infty}\sqrt[n]{|a_n|}
Leibniz (alternating)Converges if an≥an+1≥0, an→0a_n \ge a_{n+1} \ge 0,\ a_n\to0∑n=1∞(−1)n−1an\sum_{n=1}^{\infty}(-1)^{n-1}a_n

The ratio test compares consecutive terms directly: compute L=lim⁡n→∞∣an+1an∣L=\lim_{n\to\infty}\left|\dfrac{a_{n+1}}{a_n}\right|; if L<1L<1 the series converges absolutely, if L>1L>1 it diverges, and if LL equals 11 the test is inconclusive. It is most effective when ana_n involves factorials or nn-th powers, since those simplify nicely in a ratio.

The root test uses L=lim sup⁡n→∞∣an∣nL=\limsup_{n\to\infty}\sqrt[n]{|a_n|} instead, with the same decision rule (L<1L<1 converges, L>1L>1 diverges); it is most effective when ana_n itself is an nn-th power. The Leibniz test handles alternating series ∑n=1∞(−1)n−1an\sum_{n=1}^{\infty}(-1)^{n-1}a_n directly: if the positive terms ana_n decrease monotonically to 00, the series converges even when it is not absolutely convergent, as for the alternating harmonic series.

UndergraduateKey theorems: the geometric series and the integral test

For real numbers aa and rr with aa nonzero, the geometric series ∑n=0∞arn\sum_{n=0}^{\infty} ar^n converges if and only if ∣r∣<1|r|<1, and in that case ∑n=0∞arn=a1−r\sum_{n=0}^{\infty} ar^n = \dfrac{a}{1-r}.

Why is it true?

The geometric series is the one series whose partial sums can be written in closed form, so it is both the simplest possible convergence criterion and the yardstick against which many other tests (ratio, root, comparison) are calibrated: they all work by comparing a general series to a geometric one.

Proof

Step 1 (write the partial sum in closed form). Multiply SNS_N by rr: SN=∑n=0N−1arnS_N=\sum_{n=0}^{N-1}ar^n and rSN=∑n=0N−1arn+1=∑n=1NarnrS_N=\sum_{n=0}^{N-1}ar^{n+1}=\sum_{n=1}^{N}ar^n. Subtracting, almost every term cancels: SN−rSN=a−arNS_N-rS_N=a-ar^N, so (1−r)SN=a(1−rN)(1-r)S_N=a(1-r^N).

Step 2 (solve for the partial sum). If r≠1r\neq1 this gives SN=a1−rN1−rS_N=a\dfrac{1-r^N}{1-r}, an exact, finite formula for every nn — no limit has been taken yet.

Step 3 (take the limit). If ∣r∣<1|r|<1, then rN→0r^N\to0 as N→∞N\to\infty (a power with base of absolute value less than 11 shrinks to zero), so SN→a1−01−r=a1−rS_N\to a\dfrac{1-0}{1-r}=\dfrac{a}{1-r}, which is exactly ∑n=0∞arn=a1−r\sum_{n=0}^{\infty} ar^n = \dfrac{a}{1-r}.

Step 4 (the converse: divergence). If ∣r∣≥1|r|\ge1 and r≠1r\neq1, then rNr^N does not tend to any finite limit (it oscillates or grows without bound), so SNS_N has no limit and the series diverges; if r=1r=1 then SNS_N equals NaNa, which diverges to infinity since aa is nonzero. This covers every case, proving the 'if and only if'.

Theorem: Integral test

Let f(x)f(x) be a positive, decreasing, continuous function on [1,∞)[1,\infty) with ana_n equal to f(n)f(n) for every integer nn. Then the series ∑n=1∞an\sum_{n=1}^{\infty} a_n converges if and only if the improper integral ∫1∞f(x) dx\int_1^{\infty} f(x)\,dx converges.

Why is it true?

Many series, such as the pp-series, have no closed-form partial sum, so a direct limit computation is out of reach; but if the terms come from a smooth decreasing function, the discrete sum and the continuous integral track each other closely, and integrals are usually far easier to evaluate or bound.

Proof

Step 1 (bound each term by a strip of the integral). Since f(x)f(x) is decreasing, for every integer n≥1n\ge1 and x∈[n,n+1]x\in[n,n+1] we have f(n+1)≤f(x)≤f(n)f(n+1)\le f(x)\le f(n). Integrating over that unit interval gives f(n+1)≤∫nn+1f(x) dx≤f(n)f(n+1)\le\int_n^{n+1}f(x)\,dx\le f(n).

Step 2 (sum the bounds). Summing the right-hand inequality for n=1,…,Nn=1,\dots,N gives ∫1N+1f(x) dx≤∑n=1Nan=SN\int_1^{N+1}f(x)\,dx\le\sum_{n=1}^{N}a_n=S_N; summing the left-hand inequality for n=1,…,N−1n=1,\dots,N-1 gives SN−a1≤∫1Nf(x) dxS_N-a_1\le\int_1^{N}f(x)\,dx. So the partial sum SNS_N is sandwiched between two integrals over intervals that both grow like [1,N][1,N].

Step 3 (convergence transfers one way). If ∫1∞f(x) dx\int_1^{\infty} f(x)\,dx converges, then ∫1Nf(x) dx\int_1^{N}f(x)\,dx is bounded above as N→∞N\to\infty, so by Step 2 the increasing sequence SNS_N is bounded above, and a bounded increasing sequence of real numbers always converges (a form of the monotone convergence property of R\mathbb{R}); hence ∑n=1∞an\sum_{n=1}^{\infty} a_n converges.

Step 4 (divergence transfers the other way). Conversely, if ∫1∞f(x) dx\int_1^{\infty} f(x)\,dx diverges (grows without bound), then ∫1N+1f(x) dx→∞\int_1^{N+1}f(x)\,dx\to\infty as N→∞N\to\infty, and by the first inequality in Step 2, SNS_N is bounded below by a quantity tending to infinity, so SNS_N also diverges to infinity. Combining Steps 3 and 4 gives the full 'if and only if'.

UndergraduateReal-World Applications and Worked Examples

Series with a closed-form sum are the backbone of financial mathematics: the present value of a perpetuity or a loan's amortization schedule is a geometric series. In computer science, the running time of divide-and-conquer algorithms and the analysis of recursive data structures often reduce to bounding a series. In physics, damped oscillations and the decay of successive echoes in a resonant cavity form geometric series, and Taylor and Fourier coefficients in signal processing are judged by exactly the tests introduced above (ratio test for radius of convergence, comparison to a p-series for decay rate). In biology, discrete population models with constant per-generation growth or decline are literally geometric series.

Example: Present value of a perpetuity

An investment pays 100100 at the end of every year, forever, and the annual discount rate is 10%10\%, so a payment received nn years from now is worth 100(1.1)−n100(1.1)^{-n} today (all amounts in the same currency unit). Compute the total present value of all future payments.

Solution

Step 1: write the total present value as a series. Summing the discounted payments for n=1,2,3,…n=1,2,3,\dots gives V=∑n=1∞100(1.1)−nV=\sum_{n=1}^{\infty}100(1.1)^{-n}.

Step 2: recognize the geometric series. This is ∑n=0∞arn\sum_{n=0}^{\infty} ar^n with a=100/1.1a=100/1.1 and r=1/1.1r=1/1.1 (reindexing to start at n=0n=0), and ∣r∣=1/1.1<1|r|=1/1.1<1, so the theorem applies.

Step 3: apply the closed-form sum. Using ∑n=0∞arn=a1−r\sum_{n=0}^{\infty} ar^n = \dfrac{a}{1-r} gives V=100/1.11−1/1.1=100/1.10.1/1.1=1000.1=1000V=\dfrac{100/1.1}{1-1/1.1}=\dfrac{100/1.1}{0.1/1.1}=\dfrac{100}{0.1}=1000.

Step 4: interpret. The perpetuity is worth exactly 10001000 today, even though it pays out forever — a direct real-world instance of an infinite series summing to a finite value.

Example: Ratio test on a factorial series

Determine whether the series ∑n=1∞2nn!\sum_{n=1}^{\infty}\dfrac{2^n}{n!} converges, using the ratio test.

Solution

Step 1: write an=2nn!a_n=\dfrac{2^n}{n!} and an+1=2n+1(n+1)!a_{n+1}=\dfrac{2^{n+1}}{(n+1)!}.

Step 2: form the ratio. an+1an=2n+1(n+1)!⋅n!2n=2n+1\dfrac{a_{n+1}}{a_n}=\dfrac{2^{n+1}}{(n+1)!}\cdot\dfrac{n!}{2^n}=\dfrac{2}{n+1}, using (n+1)!=(n+1)⋅n!(n+1)!=(n+1)\cdot n!.

Step 3: take the limit L=lim⁡n→∞∣an+1an∣L=\lim_{n\to\infty}\left|\dfrac{a_{n+1}}{a_n}\right|: here L=lim⁡n→∞2n+1=0L=\lim_{n\to\infty}\dfrac{2}{n+1}=0.

Step 4: conclude. Since L=0<1L=0<1, the ratio test guarantees the series converges (in fact absolutely) — the factorial in the denominator eventually overwhelms any fixed exponential in the numerator.

For ∣r∣<1|r|<1, what does the geometric series ∑n=0∞arn\sum_{n=0}^{\infty} ar^n converge to?

For the pp-series ∑n=1∞1np\sum_{n=1}^{\infty} \dfrac{1}{n^p}, for which values of pp does it converge?

A series has terms satisfying an→0a_n \to 0. What can be concluded about whether the series converges?

A bank account pays a fixed nominal interest, and an analyst models the present value of an indefinitely long stream of equal future cash flows. Which mathematical object are they implicitly summing?