How do the n-step transition probabilities pij(n) of a recurrent Markov chain behave as n→∞, and what do their limits have to do with the invariant densities of the previous post? The answer involves the mean time that the chain started at a state takes to return to it.
Let (Xn)n≥0 be a Markov chain on the probability space (Ω,F,P) with set of states I and transition matrix P=(pij)i,j∈I. As in the previous posts, Pi and Ei are the probability and the expectation given X0=i,pij(n)=Pi{Xn=j}, and Tj is the first entrance time in j of Definition 3.2, with fij(n)=Pi{Tj=n}. An invariant density is a probability density (πj)j∈I such that π=πP, as in Definition 5.1 and Proposition 5.2 of the previous post. Theorem 5.4 is stated without proof; its most common proofs are based either on analytical methods or on the law of large numbers.
Theorem 5.4. Let i be a recurrent aperiodic state. Then, with the convention (+∞)−1=0,
n→∞limpii(n)=(Ei[Ti])−1.
Figure 1. An instance: the chain of Example 5.2 of the previous post with pm=p and qm=q for every m. The dots are pii(n) for n from 0 to 80, and the dashed level is (Ei[Ti])−1. The sliders set p and q with p<q, and the state i.
Definition 5.5 (Fast and slow recurrent states). A recurrent state i is called fast recurrent, or positive recurrent, if Ei[Ti]<+∞, and slow recurrent, or null recurrent, if Ei[Ti]=+∞.
Figure 2. The same instance as in Figure 1: the probabilities fii(n)=Pi{Ti=n} for n from 1 to 40, and their mean Ei[Ti], the vertical line. The sliders set p and q with p<q, and the state i.
If i and j are communicating recurrent and aperiodic states, then they are both fast recurrent or both slow recurrent. It suffices to note that we have inequalities like
pjj(a+n+b)≥pji(a)pii(n)pij(b),
where a,b≥1 are chosen in such a way that pji(a)>0 and pij(b)>0, and to apply Theorem 5.4. Indeed, by the Chapman–Kolmogorov equations the right-hand side is one of the nonnegative terms whose sum is pjj(a+n+b), and, if i is fast recurrent, the limit in n and Theorem 5.4 for i and j give limnpjj(n)≥pji(a)pij(b)(Ei[Ti])−1>0. Hence j is fast recurrent by Theorem 5.4, and exchanging i and j gives the converse.
Figure 3. One of the paths that make up the right-hand side of the inequality, drawn schematically: from j to i in a steps, from i to i in n steps, and from i to j in b steps.
One can also check that a finite-state Markov chain has no slow recurrent states. Let C be a class with a slow recurrent state i. By the argument above, all states in C are slow recurrent, so that the sequence (pjj(n))n≥1 converges to 0 as n goes to +∞ for all j∈C. In detail, the states of C are recurrent by Corollary 3.6, and the argument above rests on Theorem 5.4, so the reasoning here covers a class of aperiodic states, for which limnpjj(n)=(Ej[Tj])−1=0.
Moreover, since it is not possible to exit from C without leaving it forever, and in this case i would not be recurrent, we have
j∈C∑pkj(n)=1
for every state k∈C and all n. Indeed, if i leads to a state l∈/C, then l does not lead to i, or l would belong to C; so, with positive probability, the chain started at i reaches l before returning to i and never returns afterwards. Hence i leads only to states of C, and so does every state of C because i leads to it; the row k of Pn therefore has its whole mass in C. Taking the limit as n goes to +∞ we get a contradiction.
To see this, fix k∈C and j∈C: by the renewal equation of Theorem 3.3, pkj(n) is the sum over 1≤ν≤n of the terms fkj(ν)pjj(n−ν), each of which tends to 0 and is at most fkj(ν). Since ∑νfkj(ν)≤1, the dominated convergence theorem gives pkj(n)→0, so the finite sum over j tends to 0 and not to 1.
Theorem 5.6. Let (Xn)n≥0 be an irreducible aperiodic Markov chain. The following are equivalent. (1) All states are fast recurrent.
(2) There exists an invariant density (πi)i∈I such that, for all states i and j, we have
n→∞limpij(n)=n→∞limpjj(n)=πj.
In the case where the conditions (1) and (2) hold, (πi)i∈I is the unique invariant density for the Markov chain (Xn)n≥0.
Proof (complete). First, (1) implies (2). By Theorem 3.3, the renewal equation, we have
pij(n)=k=1∑nfij(k)pjj(n−k),
therefore, by Theorem 5.4 and dominated convergence, calling πj the limit of the sequence (pjj(n))n≥0, one finds
n→∞limpij(n)=k=1∑∞fij(k)πj=πj.
Indeed, the states are recurrent and aperiodic, so the limit πj=(Ej[Tj])−1 exists by Theorem 5.4, and each term fij(k)pjj(n−k) tends to fij(k)πj and is at most fij(k), whose sum over k is at most 1. The second equality holds because ∑k≥1fij(k)=Pi{Tj<+∞}=1 in an irreducible chain whose states are recurrent.
Figure 4. The renewal equation on the instance of Figure 1 with p=0.3,q=0.5 and j=0. For the n and i set by the sliders, the bars are the terms fi0(k)p00(n−k) for 1≤k≤n, whose sum is pi0(n), the outlines are the fi0(k), and the dashed line separates k≤n from k>n.
Moreover, for all finite subsets F of I, we have the inequality
so that ∑j∈Iπj≤1. We now prove that (πj)j∈I is an invariant density for the Markov chain (Xn)n≥0. Let F be a finite subset of I. Taking the limit as n→+∞ in
k∈F∑pik(n)pkj≤pij(n+1)
for all i,j∈I, we find the inequalities ∑k∈Fπkpkj≤πj and so, by the arbitrariness of F,
k∈I∑πkpkj≤πj.(11)
Figure 5. Sums over F={0,1,…,m} against m, on the instance of Figure 1 with p=0.3 and q=0.5. The line sums the invariant density πj of Example 5.2 of the previous post over j∈F, and the dots sum the pij(n) over j∈F, for the n and i set by the sliders; the dashed level is 1.
Summing on j we also find
k∈I∑πk=j∈I∑k∈I∑πkpkj=j∈I∑πj
and the inequalities (11) must be equalities. In detail, the first equality exchanges two sums of nonnegative terms and uses ∑jpkj=1, and all these sums are at most 1. Hence the sum over j of the differences between the two sides of (11), which are nonnegative, is 0, and every difference is 0.
Iterating the equalities (11) we find the identity πj=∑k∈Iπkpkj(n) for all n≥1. Taking the limit as n goes to infinity, we have
πj=πjk∈I∑πk
for every state j, so that, since πj>0 because j is fast recurrent, ∑k∈Iπk=1. Therefore (πj)j∈I is a probability density which is invariant for (Xn)n≥0.
Next, (2) implies (1). This follows from Theorem 5.4. Indeed, if a state were transient, all states would be, by Corollary 3.6, and Theorem 3.5 would give pjj(n)→0 for every j, against ∑jπj=1; so all states are recurrent, and aperiodic by hypothesis. Since the πj sum to 1, some πj=(Ej[Tj])−1 is positive by Theorem 5.4, so j is fast recurrent, and then so is every state, by the argument after Definition 5.5.
We finally show that, if (1) and (2) hold, then the invariant density is unique. Note that, if μ is another invariant density, then, for every state j, we have μj=∑k∈Iμkpkj. Iterating n times we find the identity μj=∑k∈Iμkpkj(n). Taking the limit as n goes to infinity,
μj=k∈I∑μkπj=πjfor all j∈I.■
Details. In the first part of the proof, ∑k≥1fij(k)=Pi{Tj<+∞}=1 for all states i and j. For i=j this is the recurrence of j. For i=j, irreducibility gives m≥1 with pji(m)>0. By the Markov property at time m, the probability under Pj that Xm=i and that the chain never visits j after time m is pji(m)Pi{Tj=+∞}. This event is contained in the event that j is not visited after time m, and the probability of the latter under Pj is 0.
To see the last claim, split the event according to the last time l≤m at which the chain started at j is in j. By the Markov property at time l, the probability that Xl=j and that j is never visited after time l is pjj(l)Pj{Tj=+∞}, which is 0 because j is recurrent. Hence pji(m)Pi{Tj=+∞}=0, that is, Pi{Tj<+∞}=1.
For a finite set F, the limit of the finite sum over F is the sum of the limits, and ∑j∈Fpij(n)≤1 because the rows of Pn sum to 1. The sum of a series of nonnegative terms is the supremum of its sums over the finite sets F, which gives ∑j∈Iπj≤1 and passes from the inequalities over F to (11). The inequality before (11) holds because pij(n+1)=∑k∈Ipik(n)pkj by the Chapman–Kolmogorov equations and the terms with k∈/F are nonnegative, and in the limit pik(n)→πk by the first part.
The identity πj=∑kπkpkj(n) follows by induction on n: writing pkj(n+1)=∑lpkl(n)plj and exchanging the sums over k and l, whose terms are nonnegative, the identity for n and the equalities (11) give the identity for n+1. In its limit, pkj(n)→πj for every k by the first part, and πkpkj(n)≤πk with ∑kπk≤1, so the dominated convergence theorem applies. The same induction gives the identity for μ. The dominated convergence theorem applies to its limit because μkpkj(n)≤μk and ∑kμk=1, and the last equality of the proof also uses ∑kμk=1.■
Figure 6.Theorem 5.6 on the instance of Figure 1 with p=0.3 and q=0.5. The bars are the entries pij(n) of the row i of Pn for j from 0 to 15, the bar of j=i darker, and the marks are the invariant density πj of Example 5.2 of the previous post. The sliders set n and i.