Numerical series: convergence, tests and alternating series
Partial sums, geometric, harmonic and telescoping series, the necessary condition, comparison, ratio, root and integral tests, Leibniz and absolute convergence.
Adding infinitely many numbers sounds meaningless, and yet sometimes the result is a finite, precise number:
. Numerical series study when this happens. They are the basis of Taylor and Fourier series, and therefore of a large part of signal theory.
Definition
Given a sequence
, the series
is the limit of the partial sums
. If the limit is finite the series converges, if it is infinite it diverges, if it does not exist it oscillates.
Reference series
- Geometric
: converges if and only if
, to
when starting from
(proof in the in-depth article). - Generalised harmonic
: converges if and only if
. The harmonic series
diverges, though very slowly: it takes more than
terms to exceed 100. - Telescoping:
. The partial sums equal
, so the series converges to 1.
A necessary condition
If
converges, then
. It is only necessary: the harmonic series has terms tending to 0 and still diverges. In practice it is used the other way round: if
does not tend to 0, the series does not converge. For example
diverges straight away.
Tests for series with positive terms
| Test | Statement | When to use it |
|---|---|---|
| Comparison | simple bounds | |
| Limit comparison | if | ratios of polynomials, roots |
| Ratio | factorials, powers | |
| Root | terms like | |
| Integral | logarithms, borderline cases |
If the ratio or root test gives
it is inconclusive: this happens with every series of the form
, and there you need comparison.
Examples.
:
, converges.
: ratio
, converges (to
).
: root
, converges.
:
, diverges.
(from
): by the integral test,
, diverges.
Alternating series and absolute convergence
Leibniz test: if
is positive, decreasing and tends to 0, the series
converges, and the error made by stopping after
terms is less than the first omitted term. So
converges (to
), even though the series of absolute values, the harmonic series, diverges.
A series is absolutely convergent if
converges, and then
converges too. The difference matters: absolutely convergent series can be rearranged without changing the sum, while merely convergent ones cannot.
Towards series of functions
Series become really useful when the terms depend on
. Taking the Taylor expansion to infinity gives, for instance,
for every
. The Fourier series writes a periodic signal as a sum of sinusoids: the square wave of amplitude 1 is
. The coefficients
decrease slowly, which is why a square wave contains harmonics up to very high frequencies and needs a lot of bandwidth to be transmitted without distortion.
