\(\newcommand{\P}{\mathbb{P}}\) \(\newcommand{\E}{\mathbb{E}}\) \(\newcommand{\R}{\mathbb{R}}\) \(\newcommand{\N}{\mathbb{N}}\) \(\newcommand{\Z}{\mathbb{Z}}\) \(\newcommand{\bs}{\boldsymbol}\) \( \newcommand{\cl}{\text{cl}} \)
  1. Virtual Laboratories
  2. 15. Markov Chains
  3. 1
  4. 2
  5. 3
  6. 4
  7. 5
  8. 6
  9. 7
  10. 8
  11. 9
  12. 10
  13. 11
  14. 12
  15. Answers

2. Transience and Recurrence

The study of Markov chains, particularly the limiting behavior, depends critically on the random times between visits to a given state. The nature of this random times leads to a fundamental dichotomy of the states.

Basic Theory

As usual, our starting point is a (time homogeneous) Markov chain \( \bs{X} = (X_0, X_1, X_2, \ldots) \) with state space \( S \) and transition probability matrix \( P \).

Hitting Times and Probabilities

Let \( A \) be a nonempty subset of \( S \). Recall that the hitting time to \( A \) is the random variable that gives the first positive time that the chain is in \( A \):

\[ T_A = \min\{n \in \N_+: X_n \in A\} \]

Since the chain may never enter \( A \), the random variable \( T_A \) takes values in \( \N_+ \cup \{\infty\} \). When \( A = \{y\} \), we will simplify the notation to \( T_y \). This random variable gives the first positive time that the chain is in state \( y \). Now for \( x \in S \) and \( n \in \N_+ \), let

\[ H_n(x, A) = \P(T_A = n \mid X_0 = x), \quad H(x, A) = \P(T_A \lt \infty \mid X_0 = x) \]

Note that \( H(x, A) = \sum_{n=1}^\infty H_n(x, A) \) for \( x \in S \) and \( A \subseteq S \).

Again, when \( A = \{y\} \), we will simplify the notation to \( H_n(x, y) \) and \( H(x, y) \), respectively. In particular, \( H(x, x) \) is the probability, starting at \( x \), that the chain eventually returns to \( x \). If \( x \ne y \), \( H(x, y) \) is the probability, starting at \( x \), that the chain eventually reaches \( y \). Just knowing when \( H(x, y) \) is 0, positive, and 1 will turn out to be of considerable importance in the overall structure and limiting behavior of the chain. As a function on \( S^2 \), we will refer to \( H \) as the hitting matrix of \( \bs{X} \).

\( H(x, y) \gt 0 \) if and only if \( P^n(x, y) \gt 0 \) for some \( n \in \N_+ \).

Proof:

Note that \( \{X_n = y\} \subseteq \{T_y \lt \infty\} \) for all \( n \in \N_+ \), and \( \{T_y \lt \infty\} = \{X_k = y \text{ for some } k \in \N_+\} \). From the increasing property of probability and Boole's inequality it follows that for each \( n \in \N_+ \),

\[ P^n(x, y) \le H(x, y) \le \sum_{k=1}^\infty P^k(x, y) \]

The following exercise gives a basic relationship between the sequence of hitting probabilities and the sequence of transition probabilities.

Suppose that \( (x, y) \in S^2 \). Then

\[ P^n(x, y) = \sum_{k=1}^\infty H_k(x, y) P^{n-k}(y, y), \quad n \in \N_+ \]
Proof:

This result follows from conditioning on \( T_y \). Starting in state \( x \), the chain is in state \( y \) at time \( n \) if and only if the chain hits \( y \) for the first time at some previous time \( k \), and then returns to \( y \) in the remaining \( n - k \) steps.

Suppose that \( x \in S \) and \( A \subseteq S \). Then

  1. \( H_{n+1}(x, A) = \sum_{z \notin A} P(x, z) H_n(z, A) \) for \( n \in \N_+ \)
  2. \( H(x, A) = P(x, A) + \sum_{z \notin A} P(x, z) H(z, A) \)
Proof:

These results follow form conditioning on \( X_1 \). Starting in state \( x \), the chain first enters \( A \) at time \( n + 1 \) if and only if the chain goes to some state \( z \notin A \) at time 1, and then from state \( z \), first enters \( A \) in \( n \) steps. Similarly, starting in state \( x \), the chain eventually enters \( A \) if and only if it either enters \( A \) at the first step, or moves to some other state \( z \notin A \) at the first step, and then eventually enters \( A \) from \( z \).

A state \( x \) is said to be recurrent if \( H(x, x) = 1 \) and is said to be transient if \( H(x, x) \lt 1 \). Thus, starting in a recurrent state, the chain will, with probability 1, eventually return to the state. As we will see, the chain will return to the state infinitely often with probability 1, and the times of the visits will form the arrival times of a renewal process. This will turn out to be the critical observation in the study of the limiting behavior of the chain. By contrast, if the chain starts in a transient state, then there is a positive probability that the chain will never return to the state.

Counting Variables and Potential

Again, suppose that \( A \) is a nonempty set of states. A natural complement to the hitting time to \( A \) is the counting variable that gives the number of visits to \( A \) (at positive times). Thus, let

\[ N_A = \sum_{n=1}^\infty \bs{1}(X_n \in A) \]

We will mostly be interested in the special case \( A = \{x\} \) for \( x \in S \), and in this case, we will simplify the notation to \( N_x \). Note that \( N_A \) takes value in \( \N \cup \{\infty\} \).

Let \( G(x, A) = \E(N_A \mid X_0 = x) \) for \( x \in S \) and \( A \subseteq S \). Then

\[ G(x, A) = \sum_{n=1}^\infty P^n(x, A) \]
Proof:

\( G(x, A) = \E \left(\sum_{n=1}^\infty \bs{1}(X_n \in A) \mid X_0 = x\right) = \sum_{n=1}^\infty \P(X_n \in A \mid X_0 = x) = \sum_{n=1}^\infty P^n(x, A) \). The interchange of sum and expected value is justified since the terms are nonnegative.

Consistent with our notation in the Introduction, \( G \) is a transition measure on \( S \) (although, of course, not a transition probability measure). Thus

\[ G(x, A) = \sum_{y \in A} G(x, y) \]

The matrix \( G \) is known as the potential matrix. (Some authors count the state at time 0 and thus the index \( n \) in the definition of the counting variable and in Exercise 5 starts at 0 rather than 1.)

The distribution of \( N_A \) has a simple representation in terms of the hitting probabilities. Note that because of the Markov property and time homogeneous property, whenever the chain reaches state \( y \), the future behavior is independent of the past and is stochastically the same as the chain starting in state \( y \) at time 0. This is the critical observation in the proof of the following exercise.

If \( x, \; y \in S \) then

\[ \P(N_y = n \mid X_0 = x) = \begin{cases} 1 - H(x, y), & n = 0 \\ H(x, y) [H(y, y)]^{n-1}[1 - H(y, y)], & n \in \N_+ \end{cases} \]
Visits to state y

The essence of the proof is illustrated in the graphic above. The thick lines are intended as reminders that these are not one step transitions, but rather represent all paths between the given vertices. Note that in the special case that \( x = y \) we have

\[ \P(N_y = n \mid X_0 = y) = [H(y, y)]^n [1 - H(y, y)], \quad n \in \N \]

In all cases, the counting variable \( N_y \) has essentially a geometric type distribution, but the distribution may well be defective, with some of the probability mass at \( \infty \). The behavior is quite different depending on whether \( y \) is transient or recurrent.

If \( x, \; y \in S \) and \( y \) is transient then

  1. \( \P(N_y \lt \infty \mid X_0 = x) = 1 \)
  2. \( G(x, y) = H(x, y) / [1 - H(y, y)] \)
  3. \( H(x, y) = G(x, y) / [1 + G(y, y)] \)

if \( x, \; y \in S \) and \( y \) is recurrent then

  1. \( \P(N_y = 0 \mid X_0 = x) = 1 - H(x, y) \) and \( \P(N_y = \infty \mid X_0 = x) = H(x, y) \)
  2. \( G(x, y) = 0 \) if \( H(x, y) = 0 \) and \( G(x, y) = \infty \) if \( H(x, y) \gt 0 \)
  3. \( \P(N_y = \infty \mid X_0 = y) = 1 \) and \( G(y, y) = \infty \)

Note that there is an invertible relationship between the hitting probability matrix \( H \) and the potential matrix \( G \); if we know one we can compute the other. In particular, we can characterize the transience or recurrence of a state in terms of \( G \):

Relations

The hitting probabilities lead to an important relation on the state space \( S \). For \( (x, y) \in S^2 \), we say that \( x \) leads to \( y \) and we write \( x \to y \) if either \( x = y \) or \( H(x, y) \gt 0 \). It follows immediately from Theorem 2 that \( x \to y \) if and only if \( P^n(x, y) \gt 0 \) for some \( n \in \N \). In terms of the graph of the chain, \( x \to y \) if and only if there is a directed path from \( x \) to \( y \). Note that the leads to relation is reflexive by definition: \( x \to x \) for every \( x \in S \).

The leads to relation is transitive: if \( x \to y \) and \( y \to z \) then \( x \to z \).

Proof:

There exist \( j, \; k \in N \) such that \( P^j(x, y) \gt 0 \) and \( P^k(y, z) \gt 0 \). But then \( P^{j+k}(x, z) \ge P^j(x, y) P^k(y, z) \gt 0 \).

A nonempty set of states \( A \) is closed if \( x \in A \) and \( x \to y \) implies \( y \in A \). A closed set \( A \) is irreducible if \( A \) has no proper closed subset.

Suppose that \( A \subseteq S \) is closed. Then

  1. \( P_A \), the restriction of \( P \) to \( A \times A\), is a transition probability matrix on \( A \).
  2. \( \bs{X} \) restricted to \( A \) is a Markov chain with transition probability matrix \( P_A \).
  3. \( (P^n)_A = (P_A)^n \) for \( n \in \N \).

Of course, the entire state space \( S \) is closed by definition. If it is also irreducible, we say the Markov chain \( \bs{X} \) is irreducible.

Suppose that \( A \) is a nonempty subset of \( S \). Then \( \cl(A) = \{y \in S: x \to y \text{ for some } x \in A\} \) is the smallest closed set containing \( A \), and is called the closure of \( A \). That is,

  1. \( \cl(A) \) is closed.
  2. \( A \subseteq \cl(A) \).
  3. If \( B \) is closed and \( A \subseteq B \) then \( \cl(A) \subseteq B \)

Recall that for a fixed positive integer \( k \), \( P^k \) is also a transition probability matrix, and in fact governs the \( k \)-step Markov chain \( (X_0, X_k, X_{2\,k}, \ldots) \). It follows that we could consider the leads to relation for this chain, and all of the results above would still hold (relative, of course to the \( k \)-step chain). Occasionally we will need to consider this relation, which we will denote by \( \underset{k} \to \), particularly in our study of periodicity.

Suppose that \( j, \; k \in \N_+ \). If \( x \; \underset{k}\to \; y \) and \( j \mid k \) then \( x \; \underset{j}\to \; y \).

By combining the leads to relation \( \to \) with its inverse, the comes from relation \( \leftarrow \), we can obtain another very useful relation. For \( (x, y) \in S^2 \), we say that \( x \) to and from \( y \) and we write \( x \leftrightarrow y \) if \( x \to y \) and \( y \to x \). By definition, this relation is symmetric: if \( x \leftrightarrow y \) then \( y \leftrightarrow x \). From our work above, it is also reflexive and transitive. Thus, the to and from relation is an equivalence relation. Like all equivalence relations, it partitions the space into mutually disjoint equivalence classes. We will denote the equivalence class of a state \( x \) by

\[ [x] = \{y \in S: x \leftrightarrow y\} \]

Thus, for any two states \( x, \; y \in S\), either \( [x] = [y] \) or \( [x] \cap [y] = \emptyset \), and moreover, \( \bigcup_{x \in S} [x] = S \).

Equivalence classes

Draw state graphs to illustrate the following facts:

  1. A closed set is not necessarily an equivalence class.
  2. An equivalence class is not necessarily closed.

On the other hand, if \( A \) is a closed, irreducible set of states, then \( A \) is an equivalence class.

Proof:

Fix \( x \in A \). Since \( A \) is closed it follows that \( [x] \subseteq A \). Since \( A \) is irreducible, \( \cl(y) = A \) for each \( y \in A \). It follows that \( x \leftrightarrow y \) for each \( y \in A \). Hence \( A \subseteq [x] \).

The to and from equivalence relation is very important because many interesting state properties turn out in fact to be class properties, shared by all states in a given equivalence class. In particular, the recurrence and transience properties are class properties.

Transient and Recurrent Classes

The following exercise gives the fundamental result of this section: a recurrent state can only lead to other recurrent states.

If \( x \) is a recurrent state and \( x \to y \) then \( y \) is recurrent and \( H(x, y) = H(y, x) = 1 \).

Proof:

The result trivially holds if \( x = y \), so we assume \( x \ne y \). Let \( \alpha(x, y) \) denote the probability, starting at \( x \), that the chain reaches \( y \) without an intermediate return to \( x \). It must be the case that \( \alpha(x, y) \gt 0 \) since \( x \to y \). In terms of the graph of \( \bs{X} \), if there is a path from \( x \) to \( y \), then there is a path from \( x \) to \( y \) without cycles. Starting at \( x \), the chain could fail to return to \( x \) by first reaching \( y \) without an intermediate return to \( x \), and then from \( y \) never reaching \( x \). From the Markov and time homogeneous properties, it follows that \( 1 - H(x, x) \ge \alpha(x, y)[1 - H(y, x)] \ge 0 \). But \( H(x, x) = 1 \) so it follows that \( H(y, x) = 1 \). There exist positive integers \( j, \; k \) such that \( \P^j(x, y) \gt 0 \) and \( \P^k(y, x) \gt 0 \). Hence for every \( n \in \N \),

\[ P^{j + k + n}(y, y) \ge P^k(y, x) P^n(x, x) P^j(x, y) \]

Recall that \( G(x, x) = \infty \) since \( x \) is recurrent. Thus, summing over \( n \) in the displayed equation gives \( G(y, y) = \infty \). Hence \( y \) is recurrent. Finally, reversing the roles of \( x \) and \( y \), if follows that \( H(x, y) = 1 \)

From the last theorem, note that if \( x \) is recurrent, then all states in \( [x] \) are also recurrent. Thus, for each equivalence class, either all states are transient or all states are recurrent. We can therefore refer to transient or recurrent classes as well as states.

If \( A \) is a recurrent equivalence class then \( A \) is closed and irreducible.

If \( A \) is finite and closed \( A \) has a recurrent state.

Proof:

Fix \( x \in A \). Since \( A \) is closed, it follows that \( \P(N_A = \infty \mid X_0 = x) = 1 \). Since \( A \) is finite, it follows that \( \P(N_y = \infty \mid X_0 = x) \gt 0 \) for some \( y \in A \). But then \( y \) is recurrent.

If \( A \) is finite, closed, and irreducible then \( A \) is a recurrent equivalence class.

Proof:

Note that \( A \) is an equivalence class by Theorem 15, and \( A \) has a recurrent state by Theorem 18. It follows that all states in \( A \) are recurrent.

Thus, the Markov chain \( \bs{X} \) will have a collection (possibly empty) of recurrent equivalence classes \( \{A_j: j \in J\} \) where \( J \) is a countable index set. Each \( A_j \) is closed and irreducible. Let \( B \) denote the set of all transient states. The set \( B \) may be empty or may consist of a number of equivalence classes, but the class structure of \( B \) is not important to us. If the chain starts in \( A_j \) for some \( j \in J \) then the chain remains in \( A_j \) forever, visiting each state infinitely often with probability 1. If the chain starts in \( B \), then the chain may stay in \( B \) forever (but only if \( B \) is infinite) or may enter one of the recurrent classes \( A_j \), never to escape. However, in either case, the chain will visit a given transient state only finitely many time with probability 1. This basic structure is known as the canonical decomposition of the chain, and is shown in graphical form below. The edges from \( B \) are in gray to indicate that these transitions may not exist.

The structure of a Markov chain

Staying Probabilities and a Classification Test

Suppose that \( A \) is a proper subset of \( S \). Then

  1. \( (P_A^n \bs{1}_A)(x) = \P_A^n(x, A) = \P(X_1 \in A, X_2 \in A, \ldots, X_n \in A \mid X_0 = x) \) for \( x \in A \)
  2. \( g_A(x) = \lim_{n \to \infty} (P_A^n \bs{1}_A)(x) = \P(X_1 \in A, X_2 \in A \ldots \mid X_0 = x) \) for \( x \in A \)
Proof:

Recall that \( P_A^n \) means \( (P_A)^n \) where \( P_A \) is the restriction of \( P \) to \( A \times A \). Thus part (a) is a consequence of the Markov property, and is the probability that the chain stays in \( A \) at least through time \( n \), starting in \( x \in A \). Part (b) follows from (a) and the continuity theorem for decreasing events. This is the probability that the chain stays in \( A \) forever, starting in \( x \in A \).

The staying probability function \( g_A \) is an interesting complement to the hitting matrix studied above. The following exercise characterizes this function and provides a method that can be used to compute it, at least in some cases.

For \( A \subset S \), \( g_A \) is the largest function on \( A \) that takes values in \( [0, 1] \) and satisfies \( g = P_A g \). Moreover, either \( g_A = \bs{0}_A \) or \( \sup\{g_A(x): x \in A\} = 1 \).

Proof:

Note that \( P_A^{n+1} \bs{1}_A = P_A P_A^n \bs{1}_A\) for \( n \in \N \). Taking the limit as \( n \to \infty \) and using the bounded convergence theorem gives \( g_A = P_A g_A \). Suppose now that \( g \) is a function on \( A \) that takes values in \( [0, 1] \) and satisfies \( g = P_A g \). Then \( g \le \bs{1}_A \) and hence \( g \le P_A^n \bs{1}_A \) for all \( n \in \N \). Letting \( n \to \infty \) it follows that \( g \le g_A \). Next, let \( c = \sup\{g_A(x): x \in A\} \). Then \( g_A \le c \, \bs{1}_A \) and hence \( g_A \le c \, P_A^n \bs{1}_A \) for each \( n \in \N \). Letting \( n \to \infty \) gives \( g_A \le c \, g_A \). It follows that either \( c = 0 \) or \( c = 1 \)

Note that the characterization in the last exercise includes a zero-one law of sorts: either the probability that the chain stays in \( A \) forever is 0 for every initial state \( x \), or we can find states for which the probability is arbitrarily close to 1. The next two exercises explore the relationship between the staying function and recurrence.

Suppose that \( \bs{X} \) is an irreducible, recurrent chain with state space \( S \). Then \( g_A = \bs{0}_A \) for every proper subset \( A \) of \( S \).

Proof:

Fix \( y \notin A \) and note that \( 0 \le g_A(x) \le 1 - H(x, y) \) for every \( x \in A \). But \( H(x, y) = 1 \) since the chain is irreducible and recurrent. Hence \( g_A(x) = 0 \) for \( x \in A \).

Suppose that \( \bs{X} \) is an irreducible Markov chain with state space \( S \) and transition probability matrix \( P \). If there exists a state \( x \) such that \( g_A = \bs{0}_A \) where \( A = S \setminus \{x\} \), then \( \bs{X} \) is recurrent.

Proof:

With \( A \) as defined above, note that \(1 - H(x, x) = \sum_{y \in A} P(x, y) g_A(y) \). Hence \( H(x, x) = 1 \), so \( x \) is recurent. Since the \( \bs{X} \) is irreducible, it follows that \( \bs{X} \) is recurrent.

More generally, suppose that \( \bs{X} \) is a Markov chain with state space \( S \) and transition probability matrix \( P \). The last two theorems can be used to test whether a closed, irreducible equivalence class \( C \) is recurrent or transient. We fix a state \( x \in C \) and set \( A = C \setminus \{x\} \). We then try to solve the equation \( g = P_A g \) on \( A \). If the only solution taking values in \( [0, 1] \) is \( \bs{0}_A \), then the class \( C \) is recurrent by Theorem 23. If there are nontrivial solutions, then \( C \) is transient by Theorem 22. Often we try to choose \( x \) to make the computations easy.

Computing Hitting Probabilities and Potentials

We now know quite a bit about Markov chains, and we can often classify the states and compute quantities of interest. However, we do not yet know how to compute:

These problems are related, because of the general inverse relationship between the hitting matrix and the potential matrix noted in our discussion above. As usual, suppose that \( \bs{X} \) is a Markov chain with state space \( S \), and let \( B \) denote the set of transient states. The next exercise shows how to compute \( G_B \), the potential matrix restricted to the transient states. Recall that the values of this matrix are finite.

\( G_B \) satisfies the equation \( G_B = P_B + P_B G_B \) and is the smallest nonnegative solution. If \( B \) is finite then \( G_B = (I_B - P_B)^{-1} P_B \).

Proof:

First note the \( (P^n)_B = (P_B)^n \) since a path between two transient states can only pass through other transient states. Thus \( G_B = \sum_{n=1}^\infty P_B^n \). From the monotone convergence theorem it follows that \( P_B G_B = G_B - P_B \). Suppose now that \( U \) is a nonnegative matrix on \( B \) satisfying \( U = P_B + P_B U \). Then \( U = \sum_{k=1}^n P_B^k + P_B^{n+1} U \) for each \( n \in \N_+\). Hence \( U \ge \sum_{k=1}^n P_B^k \) for every \( n \in \N_+ \) and therefore \( U \ge G_B \). It follows that \( (I_B - P_B)(I_B + G_B) = I_B \). If \( B \) is finite, the matrix \( I_B - P_B \) is invertible.

Now that we can compute \( G_B \), we can also compute \( H_B \) using the result in Theorem 8. All that remains is for us to compute the hitting probability \( H(x, y) \) when \( x \) is transient and \( y \) is recurrent. The first thing to notice is that the hitting probability is a class property.

Suppose that \( x \) is transient and that \( A \) is a recurrent class. Then \( H(x, y) = \P(T_A \lt \infty \mid X_0 = x) \) for \( y \in A \). That is, the hitting probability to \( y \) is constant for \( y \in A \), and is just the hitting probability to the class \( A \).

As before, let \( B \) denote the set of transient states and suppose that \( A \) is a recurrent equivalence class. Let \( h_A \) denote the function on \( B \) that gives the hitting probability to class \( A \), and let \( p_A \) denote the function on \( B \) that gives the probability of entering \( A \) on the first step:

\[ h_A(x) = \P(T_A \lt \infty \mid X_0 = x), \; p_A(x) = P(x, A), \quad x \in B \]

\( h_A = p_A + G_B p_A \).

Proof:

First note that \( \P(T_A = n \mid X_0 = x) = (P_B^{n-1} p_A)(x) \) for \( n \in \N_+ \). The result then follows by summing over \( n \).

The result in the last exercise is adequate if we have already computed \( G_B \) (using the result in Theorem 24, for example). However, we might just want to compute \( h_A \) directly.

\( h_A \) satisfies the equation \( h_A = p_A + P_B h_A \) and is the smallest nonnegative solution. If \( B \) is finite, \( h_A = (I_B - P_B)^{-1} p_A \).

Proof:

First, conditioning on \( X_1 \) gives \( h_A = p_A + P_B \, h_A \). Next suppose that \( h \) is nonnegative and satisfies \( h = p_A + P_B h \). Then \( h = p_A + \sum_{k=1}^{n-1} P_B^k \, p_A + P_B^n \) for each \( n \in \N_+ \). Hence \( h \ge p_A + \sum_{k=1}^{n-1} P_B^k \, p_A \). Letting \( n \to \infty \) gives \( h \ge h_A \). The representation when \( B \) is finite follows from Theorem 24.

Examples and Applications

Finite Chains

Consider a Markov chain with state space \( S = \{a, b, c, d\} \) and transition matrix \( P \) given below:

\[ P = \left[ \begin{matrix} \frac{1}{2} & \frac{2}{3} & 0 & 0 \\ 1 & 0 & 0 & 0 \\ 0 & 0 & 1 & 0 \\ \frac{1}{4} & \frac{1}{4} & \frac{1}{4} & \frac{1}{4} \end{matrix} \right] \]
  1. Draw the state diagram.
  2. Find the equivalent classes and classify each as transient or recurrent.
  3. Compute the potential matrix \( G \).
  4. Compute the hitting matrix \( H \).

Consider a Markov chain with state space \( S = \{1, 2, 3, 4, 5, 6\} \) and transition matrix \( P \) given below:

\[ P = \left[ \begin{matrix} 0 & 0 & \frac{1}{2} & 0 & \frac{1}{2} & 0 \\ 0 & 0 & 0 & 0 & 0 & 1 \\ \frac{1}{4} & 0 & \frac{1}{2} & 0 & \frac{1}{4} & 0 \\ 0 & 0 & 0 & 1 & 0 & 0 \\ 0 & 0 & \frac{1}{3} & 0 & \frac{2}{3} & 0 \\ 0 & \frac{1}{4} & \frac{1}{4} & \frac{1}{4} & 0 & \frac{1}{4} \end{matrix} \right] \]
  1. Sketch the state graph.
  2. Find the equivalence classes and classify each as recurrent or transient.
  3. Compute the potential matrix \( G \).
  4. Compute the hitting matrix \( H \).

Consider a Markov chain with state space \( S = \{1, 2, 3, 4, 5, 6\} \) and transition matrix \( P \) given below:

\[ P = \left[ \begin{matrix} \frac{1}{2} & \frac{1}{2} & 0 & 0 & 0 & 0 \\ \frac{1}{4} & \frac{3}{4} & 0 & 0 & 0 & 0 \\ \frac{1}{4} & 0 & \frac{1}{2} & \frac{1}{4} & 0 & 0 \\ \frac{1}{4} & 0 & \frac{1}{4} & \frac{1}{4} & 0 & \frac{1}{4} \\ 0 & 0 & 0 & 0 & 0 \frac{1}{2} & \frac{1}{2} \\ 0 & 0 & 0 & 0 & 0 \frac{1}{2} & \frac{1}{2} \end{matrix} \right] \]
  1. Sketch the state graph.
  2. Find the equivalence classes and classify each as recurrent or transient.
  3. Compute the potential matrix \( G \).
  4. Compute the hitting matrix \( H \).

Special Models

Read again the definitions of the Ehrenfest chains and the Bernoulli-Laplace chains. Note that since these chains are irreducible and have finite state spaces, they are recurrent.

Read the discussion on recurrence in the section on the reliability chains.

Read the discussion on random walks on \( \Z^k \) in the section on the random walks on graphs.

Read the discussion on extinction and explosion in the section on the branching chain.

Read the discussion on recurrence and transience in the section on queuing chains.

Read the discussion on recurrence and transience in the section on birth-death chains.