Throughout, (Xn)n≥0 is a Markov chain on the state space I with transition matrix P=(pij), defined on a probability space with probability P.
Definition 3.1. A state i is called recurrent if
P(n=1⋃∞{Xn=i}{X0=i})=1,
otherwise it is called transient.
According to Definition 3.1, i is recurrent if, starting from the state i at time 0, the Markov chain returns to the state i almost surely in a finite time. In particular, if pii=1, then i is recurrent; such a state is called absorbing, or a trap.
Definition 3.2 (First entrance time). Let j be a state. The first entrance time in j, or first visit time in j, is the random variable with values in N∪{+∞}
Lemma 3.4. Let (an)n≥0 be a sequence of nonnegative real numbers such that the power series
A(s)=n=0∑∞ansn
has radius of convergence r≥1. Then, with both sides possibly equal to +∞,
s→1−limA(s)=n=0∑∞an.
Theorem 3.5. For every state i the following are equivalent. (a) The state i is recurrent. (b) The series ∑n≥0pii(n) is divergent.
If i is transient, then
n=0∑∞pii(n)=1−fii∗1=Pi{Ti=∞}1.
Proof (complete). Consider the generating functions of the sequences (pii(n))n≥0 and (fii(n))n≥0,
Pii(s)=n=0∑∞pii(n)sn,Fii(s)=n=0∑∞fii(n)sn.
In both cases the radius of convergence is r≥1, because the sequences (pii(n))n≥0 and (fii(n))n≥0 are bounded. By the renewal equation (6) of Theorem 3.3 with j=i, for all n≥1 we have
Corollary 3.6. Let J be a class of states and j∈J. If j is recurrent (respectively, transient), then all elements of J are recurrent (respectively, transient).
Proof (complete). Let k∈J∖{j}. Since k and j communicate, there exist l,m≥1 such that
so that the series ∑n≥0pkk(n) and ∑n≥0pjj(n) are both convergent or both divergent. The conclusion follows from Theorem 3.5. ■
For every state j, the sum of the series ∑n≥0pij(n) is the average sojourn time in j, the average number of visits to j, starting from i. The random variable ∑n≥01{Xn=j} represents the random time spent in j, because it counts how many times the event {Xn=j} occurs, and its expectation is
In particular, by (7), the random variable ∑n≥01{Xn=j} has finite expectation under Pi. It follows that it is almost surely finite, and so only a finite number of the events {Xn=j} occur. ■
In the case where the number of states is finite, the Markov chain cannot visit only transient states, each one a finite number of times. Corollary 3.8 is a consequence.
Corollary 3.8. A Markov chain with a finite set of states I has at least one recurrent state.
Proof (complete). Suppose, by contradiction, that all states are transient. For all i,j the series (8) is convergent; in particular
n→∞limpij(n)=0.
The matrix P(n) is stochastic, and so, for all n≥1, we also have
j∈I∑pij(n)=1.
Taking the limit as n goes to infinity and exchanging limit and sum on j, we find the contradiction 0=1.■