Series pop up all over the place when we try to work with unbounded random variables.
For example, suppose that X∈{1,2,3,4,...,∞} with PMF(x)=p(x) for some function p. Then each of the following are defined by a series:
Survival Function:Pr(X>x)=∑n=x+1∞p(n).
Expected Value:E[X]=∑n=1∞np(n).
Variance:Var[X=E[X2]−E[X]2 where E[X2]=∑n=1∞n2p(n).
In each case we need to evaluate a series.
In Section 5.1 we saw that not all series converge, even if the entries of the corresponding sequence converges to zero. We set up a contrast between two cases:
Sequence Name
Formula
Series
Series Value
Convergence
Geometric
rn
∑n=0∞rn
1−r1
if −1<r<1
Harmonic
n−1
∑n=1∞n−1
∞
diverges
Before we learn how to evaluate the value of series, we should learn how to determine whether they converge. This chapter will introduce three convergence tests. They all work by comparing a series of interest to a series (or integral) whose behavior we already understand.
Our first test is the test we used to show that the Harmonic series diverges.
To use this test, check that the sequence {a(1),a(2),a(3),...} can be expressed as sample values of a smooth, nonnegative, decreasing function (e.g. x−1), then:
Compute the integral ∫x=1∞f(x)dx.
Determine convergence:
If the integral converges, then the series converges.
If the integral diverges, then the series diverges.
This test also works if a(n)=f(n) for all n≥k for some k, or if a(n) converges to f(n) as n diverges.
Just apply the integral test:
∫x=1∞x−γdx=⎩⎨⎧1−γ1x1−γ∣x=1∞log(x)∣x=1∞−(γ−1)1x−(γ−1)∣x=1∞ if 0<γ<1 if γ=1 if γ>1
When γ≤1, the integral diverges since limx→∞x1−γ diverges if γ<1, and limx→∞log(x) diverges.
In contrast, fi γ>1, then x−(γ−1) is x to a negative power, so −(γ−1)1x−(γ−1)∣x=1∞=γ−11(1−0)=γ−11. In this case the integral converges, so the series converges as well.
So, we can add all power laws to the list of series that we can sort by convergence. Any power law that decays faster than harmonic produces a convergent series.
Often, we can prove convergence (or divergence) of a series, by comparing to a series we know converges (or diverges).
For example, knowing that the series ∑n=1∞n−2 converges establishes that ∑n=1∞n−3 converges since the sequence n−3 converges to zero faster than the sequence n−2. This is an example of a comparison test:
These rules are common sense. If a sequence converges faster than a convergent series, then it defines a convergent series. If it converges slower than a diverging series, then it also defines a diverging series.
We can compare rates directly, or via a limit. Each produces a different variant of the same general test.
In a direct comparison we look to bound the sequence of interest, {a(n)}n=1∞ directly with a reference sequence {b(n)}n=1∞. For example, the series ∑n=1∞(n3+2n2)−1 must converge since (n3+2n2)−1≤n−3 and the series ∑n=1∞n−3 converges by the integral comparison test.
Alternately, the sequence 1/n!≤(n×(n−1))−2 for all n>2. The series ∑n=2∞(n×(n−1))−2 will converge since (n×(n−1))−2=O(n−2), and we already know that the series ∑n=2∞n−2 converges. The latter argument based on order of convergence is an example of a limit comparison test:
The limit comparison test is often easier to use than the direct comparison test since it does not require an inequality, only matching orders of convergence.
Since the limit is finite, the sequence of interest converges as slowly as a harmonic sequence, so it diverges.
This is an example of a heavy-tailed discrete distribution. It is well-defined since its PMF is nonnegative and can be normalized, and has a finite expectation, but its standard deviation is infinite.
So far we’ve mostly focused on tests that compare to power laws. We can also compare to geometric series.
To compare to a geometric series, it is enough to show that a(n+1) converges to some fixed multiple of a(n).
If a(n+1)=ra(n) then a(n+2)=r2a(n) and a(n+k)=rka(n). So, if a(n+1) approaches a fixed multiple of a(n), as n diverges, then the sequence behaves like a geometric/exponential sequence for large n. If it behaves like a geometric sequence, then it will obey the same convergence rules; converge if ∣r∣<1, diverge if ∣r∣>1.
To see whether a(n+1) approaches a fixed multiple of a(n), evaluate the limiting ratio:
If the limit exists, then the sequence {∣a(n)∣}n=1∞ behaves like a geometric sequence with base r for large n.
The ratio test is most useful for sequences that involve products of factorials and exponentials. In the next chapter we will study series of the kind: