Alessandro Palliccia

Stochastic Dynamical Models

Limit theorems and fast recurrence

1,324 words,

How do the nn-step transition probabilities pij(n)p^{(n)}_{ij} of a recurrent Markov chain behave as n→∞,{n \to \infty,} 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.

Limit theorems

Let (Xn)n≥0(X_n)_{n \ge 0} be a Markov chain on the probability space (Ω,F,P)(\Omega, \mathcal{F}, \mathbb{P}) with set of states II and transition matrix P=(pij)i,j∈I.{P = (p_{ij})_{i, j \in I}.} As in the previous posts, Pi\mathbb{P}_i and Ei\mathbb{E}_i are the probability and the expectation given X0=i,{X_0 = i,} pij(n)=Pi{Xn=j},{p^{(n)}_{ij} = \mathbb{P}_i\{X_n = j\},} and TjT_j is the first entrance time in jj of Definition 3.2, with fij(n)=Pi{Tj=n}.{f^{(n)}_{ij} = \mathbb{P}_i\{T_j = n\}.} An invariant density is a probability density (πj)j∈I(\pi_j)_{j \in I} such that π=πP,{\pi = \pi 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 ii be a recurrent aperiodic state. Then, with the convention (+∞)−1=0,{(+\infty)^{-1} = 0,}

lim⁡n→∞pii(n)=(Ei[Ti])−1.\lim_{n \to \infty} p^{(n)}_{ii} = (\mathbb{E}_i[T_i])^{-1}.
00.51020406080ni = 0: Ei[Ti] = 2.500, its inverse 0.400, and pii at n = 80 is 0.401

Figure 1. An instance: the chain of Example 5.2 of the previous post with pm=p{p_m = p} and qm=q{q_m = q} for every m.{m.} The dots are pii(n)p^{(n)}_{ii} for nn from 0 to 80,{80,} and the dashed level is (Ei[Ti])−1.{(\mathbb{E}_i[T_i])^{-1}.} The sliders set pp and qq with p<q,{p < q,} and the state i.{i.}

Definition 5.5 (Fast and slow recurrent states). A recurrent state ii is called fast recurrent, or positive recurrent, if Ei[Ti]<+∞,{\mathbb{E}_i[T_i] < +\infty,} and slow recurrent, or null recurrent, if Ei[Ti]=+∞.{\mathbb{E}_i[T_i] = +\infty.}

0.000.150.30110203040meanni = 3: Ei[Ti] = 11.574

Figure 2. The same instance as in Figure 1: the probabilities fii(n)=Pi{Ti=n}{f^{(n)}_{ii} = \mathbb{P}_i\{T_i = n\}} for nn from 1 to 40,{40,} and their mean Ei[Ti],{\mathbb{E}_i[T_i],} the vertical line. The sliders set pp and qq with p<q,{p < q,} and the state i.{i.}

If ii and jj 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),p^{(a+n+b)}_{jj} \ge p^{(a)}_{ji} p^{(n)}_{ii} p^{(b)}_{ij},

where a,b≥1{a, b \ge 1} are chosen in such a way that pji(a)>0{p^{(a)}_{ji} > 0} and pij(b)>0,{p^{(b)}_{ij} > 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),{p^{(a+n+b)}_{jj},} and, if ii is fast recurrent, the limit in nn and Theorem 5.4 for ii and jj give lim⁡npjj(n)≥pji(a)pij(b)(Ei[Ti])−1>0.{\lim_{n} p^{(n)}_{jj} \ge p^{(a)}_{ji} p^{(b)}_{ij} (\mathbb{E}_i[T_i])^{-1} > 0.} Hence jj is fast recurrent by Theorem 5.4, and exchanging ii and jj gives the converse.

jipji(a)pii(n)pij(b)0aa + na + n + b

Figure 3. One of the paths that make up the right-hand side of the inequality, drawn schematically: from jj to ii in aa steps, from ii to ii in nn steps, and from ii to jj in bb steps.

One can also check that a finite-state Markov chain has no slow recurrent states. Let C\mathcal{C} be a class with a slow recurrent state i.{i.} By the argument above, all states in C\mathcal{C} are slow recurrent, so that the sequence (pjj(n))n≥1(p^{(n)}_{jj})_{n \ge 1} converges to 0 as nn goes to +∞+\infty for all j∈C.{j \in \mathcal{C}.} In detail, the states of C\mathcal{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 lim⁡npjj(n)=(Ej[Tj])−1=0.{\lim_{n} p^{(n)}_{jj} = (\mathbb{E}_j[T_j])^{-1} = 0.}

Moreover, since it is not possible to exit from C\mathcal{C} without leaving it forever, and in this case ii would not be recurrent, we have

∑j∈Cpkj(n)=1\sum_{j \in \mathcal{C}} p^{(n)}_{kj} = 1

for every state k∈C{k \in \mathcal{C}} and all n.{n.} Indeed, if ii leads to a state l∉C,{l \notin \mathcal{C},} then ll does not lead to i,{i,} or ll would belong to C;{\mathcal{C};} so, with positive probability, the chain started at ii reaches ll before returning to ii and never returns afterwards. Hence ii leads only to states of C,{\mathcal{C},} and so does every state of C\mathcal{C} because ii leads to it; the row kk of PnP^n therefore has its whole mass in C.{\mathcal{C}.} Taking the limit as nn goes to +∞+\infty we get a contradiction.

To see this, fix k∈C{k \in \mathcal{C}} and j∈C:{j \in \mathcal{C}{:}} by the renewal equation of Theorem 3.3, pkj(n)p^{(n)}_{kj} is the sum over 1≤ν≤n{1 \le \nu \le n} of the terms fkj(ν)pjj(n−ν),{f^{(\nu)}_{kj} p^{(n-\nu)}_{jj},} each of which tends to 0 and is at most fkj(ν).{f^{(\nu)}_{kj}.} Since ∑νfkj(ν)≤1,{\sum_{\nu} f^{(\nu)}_{kj} \le 1,} the dominated convergence theorem gives pkj(n)→0,{p^{(n)}_{kj} \to 0,} so the finite sum over jj tends to 0 and not to 1.

Theorem 5.6. Let (Xn)n≥0(X_n)_{n \ge 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(\pi_i)_{i \in I} such that, for all states ii and j,{j,} we have

lim⁡n→∞pij(n)=lim⁡n→∞pjj(n)=πj.\lim_{n \to \infty} p^{(n)}_{ij} = \lim_{n \to \infty} p^{(n)}_{jj} = \pi_j.

In the case where the conditions (1) and (2) hold, (πi)i∈I(\pi_i)_{i \in I} is the unique invariant density for the Markov chain (Xn)n≥0.{(X_n)_{n \ge 0}.}

Proof (complete). First, (1) implies (2). By Theorem 3.3, the renewal equation, we have

pij(n)=∑k=1nfij(k)pjj(n−k),p^{(n)}_{ij} = \sum_{k=1}^{n} f^{(k)}_{ij} p^{(n-k)}_{jj},

therefore, by Theorem 5.4 and dominated convergence, calling πj\pi_j the limit of the sequence (pjj(n))n≥0,{(p^{(n)}_{jj})_{n \ge 0},} one finds

lim⁡n→∞pij(n)=∑k=1∞fij(k)πj=πj.\lim_{n \to \infty} p^{(n)}_{ij} = \sum_{k=1}^{\infty} f^{(k)}_{ij} \pi_j = \pi_j.

Indeed, the states are recurrent and aperiodic, so the limit πj=(Ej[Tj])−1{\pi_j = (\mathbb{E}_j[T_j])^{-1}} exists by Theorem 5.4, and each term fij(k)pjj(n−k){f^{(k)}_{ij} p^{(n-k)}_{jj}} tends to fij(k)πj{f^{(k)}_{ij} \pi_j} and is at most fij(k),{f^{(k)}_{ij},} whose sum over kk is at most 1. The second equality holds because ∑k≥1fij(k)=Pi{Tj<+∞}=1{\sum_{k \ge 1} f^{(k)}_{ij} = \mathbb{P}_i\{T_j < +\infty\} = 1} in an irreducible chain whose states are recurrent.

0.000.100.20110203040ki = 3, n = 12: the terms sum to p30(12) = 0.3451

Figure 4. The renewal equation on the instance of Figure 1 with p=0.3,{p = 0.3,} q=0.5{q = 0.5} and j=0.{j = 0.} For the nn and ii set by the sliders, the bars are the terms fi0(k)p00(n−k){f^{(k)}_{i0} p^{(n-k)}_{00}} for 1≤k≤n,{1 \le k \le n,} whose sum is pi0(n),{p^{(n)}_{i0},} the outlines are the fi0(k),{f^{(k)}_{i0},} and the dashed line separates k≤n{k \le n} from k>n.{k > n.}

Moreover, for all finite subsets FF of I,{I,} we have the inequality

∑j∈Fπj=lim⁡n→∞∑j∈Fpij(n)≤lim⁡n→∞∑j∈Ipij(n)=1,\sum_{j \in F} \pi_j = \lim_{n \to \infty} \sum_{j \in F} p^{(n)}_{ij} \le \lim_{n \to \infty} \sum_{j \in I} p^{(n)}_{ij} = 1,

so that ∑j∈Iπj≤1.{\sum_{j \in I} \pi_j \le 1.} We now prove that (πj)j∈I(\pi_j)_{j \in I} is an invariant density for the Markov chain (Xn)n≥0.{(X_n)_{n \ge 0}.} Let FF be a finite subset of I.{I.} Taking the limit as n→+∞{n \to +\infty} in

∑k∈Fpik(n)pkj≤pij(n+1)\sum_{k \in F} p^{(n)}_{ik} p_{kj} \le p^{(n+1)}_{ij}

for all i,j∈I,{i, j \in I,} we find the inequalities ∑k∈Fπkpkj≤πj{\sum_{k \in F} \pi_k p_{kj} \le \pi_j} and so, by the arbitrariness of F,{F,}

∑k∈Iπkpkj≤πj.(11)\sum_{k \in I} \pi_k p_{kj} \le \pi_j. \tag{11}
00.5105101520mi = 4, n = 5: at m = 20 the two sums are 1.0000 and 1.0000

Figure 5. Sums over F={0,1,…,m}{F = \{0, 1, \dots, m\}} against m,{m,} on the instance of Figure 1 with p=0.3{p = 0.3} and q=0.5.{q = 0.5.} The line sums the invariant density πj\pi_j of Example 5.2 of the previous post over j∈F,{j \in F,} and the dots sum the pij(n)p^{(n)}_{ij} over j∈F,{j \in F,} for the nn and ii set by the sliders; the dashed level is 1.

Summing on jj we also find

∑k∈Iπk=∑j∈I∑k∈Iπkpkj=∑j∈Iπj\sum_{k \in I} \pi_k = \sum_{j \in I} \sum_{k \in I} \pi_k p_{kj} = \sum_{j \in I} \pi_j

and the inequalities (11) must be equalities. In detail, the first equality exchanges two sums of nonnegative terms and uses ∑jpkj=1,{\sum_{j} p_{kj} = 1,} and all these sums are at most 1. Hence the sum over jj of the differences between the two sides of (11),{(11),} which are nonnegative, is 0,{0,} and every difference is 0.

Iterating the equalities (11) we find the identity πj=∑k∈Iπkpkj(n){\pi_j = \sum_{k \in I} \pi_k p^{(n)}_{kj}} for all n≥1.{n \ge 1.} Taking the limit as nn goes to infinity, we have

πj=πj∑k∈Iπk\pi_j = \pi_j \sum_{k \in I} \pi_k

for every state j,{j,} so that, since πj>0{\pi_j > 0} because jj is fast recurrent, ∑k∈Iπk=1.{\sum_{k \in I} \pi_k = 1.} Therefore (πj)j∈I(\pi_j)_{j \in I} is a probability density which is invariant for (Xn)n≥0.{(X_n)_{n \ge 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{p^{(n)}_{jj} \to 0} for every j,{j,} against ∑jπj=1;{\sum_j \pi_j = 1;} so all states are recurrent, and aperiodic by hypothesis. Since the πj\pi_j sum to 1,{1,} some πj=(Ej[Tj])−1{\pi_j = (\mathbb{E}_j[T_j])^{-1}} is positive by Theorem 5.4, so jj 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 μ\mu is another invariant density, then, for every state j,{j,} we have μj=∑k∈Iμkpkj.{\mu_j = \sum_{k \in I} \mu_k p_{kj}.} Iterating nn times we find the identity μj=∑k∈Iμkpkj(n).{\mu_j = \sum_{k \in I} \mu_k p^{(n)}_{kj}.} Taking the limit as nn goes to infinity,

μj=∑k∈Iμkπj=πjfor all j∈I.■\mu_j = \sum_{k \in I} \mu_k \pi_j = \pi_j \quad \text{for all } j \in I. \tag*{$\blacksquare$}

Details. In the first part of the proof, ∑k≥1fij(k)=Pi{Tj<+∞}=1{\sum_{k \ge 1} f^{(k)}_{ij} = \mathbb{P}_i\{T_j < +\infty\} = 1} for all states ii and j.{j.} For i=j{i = j} this is the recurrence of j.{j.} For i≠j,{i \neq j,} irreducibility gives m≥1{m \ge 1} with pji(m)>0.{p^{(m)}_{ji} > 0.} By the Markov property at time m,{m,} the probability under Pj\mathbb{P}_j that Xm=i{X_m = i} and that the chain never visits jj after time mm is pji(m) Pi{Tj=+∞}.{p^{(m)}_{ji} \, \mathbb{P}_i\{T_j = +\infty\}.} This event is contained in the event that jj is not visited after time m,{m,} and the probability of the latter under Pj\mathbb{P}_j is 0.

To see the last claim, split the event according to the last time l≤m{l \le m} at which the chain started at jj is in j.{j.} By the Markov property at time l,{l,} the probability that Xl=j{X_l = j} and that jj is never visited after time ll is pjj(l) Pj{Tj=+∞},{p^{(l)}_{jj} \, \mathbb{P}_j\{T_j = +\infty\},} which is 0 because jj is recurrent. Hence pji(m) Pi{Tj=+∞}=0,{p^{(m)}_{ji} \, \mathbb{P}_i\{T_j = +\infty\} = 0,} that is, Pi{Tj<+∞}=1.{\mathbb{P}_i\{T_j < +\infty\} = 1.}

For a finite set F,{F,} the limit of the finite sum over FF is the sum of the limits, and ∑j∈Fpij(n)≤1{\sum_{j \in F} p^{(n)}_{ij} \le 1} because the rows of PnP^n sum to 1. The sum of a series of nonnegative terms is the supremum of its sums over the finite sets F,{F,} which gives ∑j∈Iπj≤1{\sum_{j \in I} \pi_j \le 1} and passes from the inequalities over FF to (11). The inequality before (11) holds because pij(n+1)=∑k∈Ipik(n)pkj{p^{(n+1)}_{ij} = \sum_{k \in I} p^{(n)}_{ik} p_{kj}} by the Chapman–Kolmogorov equations and the terms with k∉F{k \notin F} are nonnegative, and in the limit pik(n)→πk{p^{(n)}_{ik} \to \pi_k} by the first part.

The identity πj=∑kπkpkj(n){\pi_j = \sum_{k} \pi_k p^{(n)}_{kj}} follows by induction on n:{n{:}} writing pkj(n+1)=∑lpkl(n)plj{p^{(n+1)}_{kj} = \sum_{l} p^{(n)}_{kl} p_{lj}} and exchanging the sums over kk and l,{l,} whose terms are nonnegative, the identity for nn and the equalities (11) give the identity for n+1.{n + 1.} In its limit, pkj(n)→πj{p^{(n)}_{kj} \to \pi_j} for every kk by the first part, and πkpkj(n)≤πk{\pi_k p^{(n)}_{kj} \le \pi_k} with ∑kπk≤1,{\sum_k \pi_k \le 1,} so the dominated convergence theorem applies. The same induction gives the identity for μ.{\mu.} The dominated convergence theorem applies to its limit because μkpkj(n)≤μk{\mu_k p^{(n)}_{kj} \le \mu_k} and ∑kμk=1,{\sum_k \mu_k = 1,} and the last equality of the proof also uses ∑kμk=1.{\sum_k \mu_k = 1.} ■\blacksquare

00.51051015jrow i = 6 of P3; the marks are πj

Figure 6. Theorem 5.6 on the instance of Figure 1 with p=0.3{p = 0.3} and q=0.5.{q = 0.5.} The bars are the entries pij(n)p^{(n)}_{ij} of the row ii of PnP^n for jj from 0 to 15,{15,} the bar of j=i{j = i} darker, and the marks are the invariant density πj\pi_j of Example 5.2 of the previous post. The sliders set nn and i.{i.}