Tutorials › Stochastic Processes › Return-Time Sets and the Period of a State

Classification of States · Tutorial 140 of 994

Return-Time Sets and the Period of a State

Learn how to read return lengths from a transition graph and use them to define a state’s period.

Intermediate 10 min read

What You'll Learn

  • Define return-time sets using positive-probability returns to the starting state.
  • Translate between positive-probability returns and directed closed walks.
  • Distinguish first-return lengths from all return lengths.
  • Determine when a state has no return time and its period is undefined.
  • Identify a state’s period from the greatest common divisor of its return lengths.

Return Lengths and Period

A transition graph records which moves a Markov chain can make, but it also records timing information: a directed path that starts and ends at the same state is a possible return, and its length is the number of steps taken. The collection of possible return lengths, rather than any one selected path, determines the period of the state.

Throughout, let \((X_n)_{n\ge0}\) be a discrete-time Markov chain on a finite or countable state space \(S\), defined on a probability space \((\Omega,\mathcal{F},\mathbb{P})\). Its transition matrix is \(P=(p_{ij})\), with \(p_{ij}=\mathbb{P}(X_{n+1}=j\mid X_n=i)\). The transition graph has a directed edge from \(i\) to \(j\) exactly when \(p_{ij}>0\). A path of length \(n\) is a sequence \(i=x_0,x_1,\ldots,x_n=j\) whose consecutive pairs are edges. A path may repeat states or edges.

Definition: For a state \(i\), its positive-probability return-time set is \(R_i=\{n\ge1:p_{ii}^{(n)}>0\}\), where \(p_{ii}^{(n)}=\mathbb{P}_i(X_n=i)\) and \(\mathbb{P}_i\) denotes the chain started at \(i\). If \(R_i\) is nonempty, the period of \(i\) is \(d(i)=\gcd R_i\), the greatest positive integer dividing every member of \(R_i\). If \(R_i\) is empty, there is no period defined by this definition: the chain has no positive-probability return to \(i\).

The restriction \(n\ge1\) matters. At time zero the chain is already at \(i\), so including \(n=0\) would add a length that says nothing about a return. Also, a return time means any positive number of steps at which the chain can be back at \(i\); it does not require that the chain avoid \(i\) at intermediate times.

Proposition (Returns are directed closed walks): For every state \(i\) and positive integer \(n\), \(p_{ii}^{(n)}>0\) if and only if the transition graph has a directed path of length \(n\) from \(i\) back to \(i\). Consequently, the return-time set and period depend only on which transitions have positive probability, not on their particular positive values.

Proof. For any fixed \(n\), the \(n\)-step transition probability is the sum over intermediate states of the products of the transition probabilities along each length-\(n\) path from \(i\) to \(i\). Each product is nonnegative. If such a path exists, every edge on it has positive probability, so its product is positive and contributes a positive term to \(p_{ii}^{(n)}\). Conversely, if \(p_{ii}^{(n)}>0\), the sum of these nonnegative terms is positive, so at least one term is positive. This is true for a finite or countable sum: a sum of nonnegative terms with every term zero is zero. A positive term comes from a path whose every transition has positive probability, which is a directed path in the transition graph. Thus the return lengths are exactly the lengths of directed closed walks from \(i\). If two transition matrices have the same positive-probability edges, they have the same such walks, hence the same \(R_i\) and \(d(i)\) whenever \(R_i\) is nonempty. \(\square\)

Reading Return Lengths Carefully

The proposition makes a graph the right object for identifying candidate return lengths. Starting at \(i\), follow directed edges and count every edge traversed. The path must finish at \(i\), but it may visit \(i\) before its final step. A path that returns to some other state is not by itself a return to \(i\), and an edge traversed in the wrong direction is not available.

It is useful to distinguish all return lengths from first-return lengths. Define \(T_i^+=\inf\{n\ge1:X_n=i\}\), with \(\inf\varnothing=\infty\). A first-return length is an \(n\ge1\) for which \(\mathbb{P}_i(T_i^+=n)>0\). The paths corresponding to these lengths have no intermediate visit to \(i\). Every return path can be split at its intermediate visits to \(i\) into first-return paths; conversely, first-return paths can be concatenated to form a return path.

Proposition (Splitting a return path): A positive integer belongs to \(R_i\) exactly when it is a sum of one or more positive first-return lengths at \(i\).

Proof. Suppose there is a positive-probability return path of length \(n\) from \(i\) to \(i\). List, in increasing order, the times at which this path visits \(i\), including time zero and time \(n\). Consecutive times in this list differ by a positive first-return length: the path does not visit \(i\) between them. The sum of these differences is \(n\). In the other direction, take any finite list of positive first-return paths at \(i\). Concatenating them gives a directed path from \(i\) back to \(i\) whose length is the sum of their lengths. Every edge on the concatenated path has positive probability, so the path has positive probability and its length is in \(R_i\). \(\square\)

This distinction can change how a graph is read. The shortest return may be a first return, but other return lengths can be sums of first-return lengths. To find the period, the definition uses the entire set \(R_i\), including returns that revisit \(i\) along the way. In practice, finding some return lengths can identify a candidate common divisor, but a few paths alone do not establish the complete return-time set.

Worked Example: A Three-State Directed Cycle

Consider \(S=\{1,2,3\}\) and the transition matrix

$$ P=\begin{bmatrix} 0&1&0\\ 0&0&1\\ 1&0&0 \end{bmatrix}. $$

Each row sums to one: the row sums are \(0+1+0=1\), \(0+0+1=1\), and \(1+0+0=1\). The graph has exactly the edges \(1\to2\), \(2\to3\), and \(3\to1\).

Starting at state \(1\), the path returns to \(1\) after three steps: \(1\to2\to3\to1\). The chain is deterministic, so it is at \(1\) at time \(n\) exactly when \(n\) is divisible by three. Thus \(R_1=\{3,6,9,\ldots\}\): the multiples of three are return lengths, and no other positive length is. Every member is divisible by three, and three itself is in the set, so \(d(1)=3\). The same cycle description gives the same return lengths from states \(2\) and \(3\).

Check: \(P^3\) is the identity matrix, so \(p_{11}^{(3)}=1>0\); also \(p_{11}^{(1)}=0\) and \(p_{11}^{(2)}=0\). These values agree with the path lengths just identified.

Worked Example: Two Possible First Returns

Let \(S=\{1,2,3\}\) and take

$$ P=\begin{bmatrix} 0&1&0\\ \tfrac12&0&\tfrac12\\ 1&0&0 \end{bmatrix}. $$

The row sums are \(0+1+0=1\), \(\tfrac12+0+\tfrac12=1\), and \(1+0+0=1\), as required. From state \(1\), the first-return paths are \(1\to2\to1\), of length two, and \(1\to2\to3\to1\), of length three. Their probabilities are \(1\cdot\tfrac12=\tfrac12\) and \(1\cdot\tfrac12\cdot1=\tfrac12\), respectively, so both lengths have positive probability.

Every return from \(1\) must first move to \(2\). From \(2\), the path either returns directly to \(1\), making a length-two first return, or moves to \(3\), which must then move to \(1\), making a length-three first return. After each return to \(1\), the same choices begin again. Therefore the complete return-time set is \(R_1=\{2a+3b:a,b\text{ are nonnegative integers and }a+b\ge1\}\). In particular, it contains both \(2\) and \(3\). Any common divisor of all return lengths must divide both \(2\) and \(3\), and the only positive integer that does so is \(1\). Hence \(d(1)=1\).

Check: The two paths give \(p_{11}^{(2)}=\tfrac12>0\) and \(p_{11}^{(3)}=\tfrac12>0\). The displayed description excludes length one and includes lengths formed by concatenating the two possible first-return paths, in agreement with the graph.

Worked Example: A Self-Loop Supplies a Return of Length One

Let \(S=\{1,2\}\) and use

$$ P=\begin{bmatrix} \tfrac12&\tfrac12\\ 1&0 \end{bmatrix}. $$

The first row sums to \(\tfrac12+\tfrac12=1\), and the second sums to \(1+0=1\). At state \(1\), there is a self-loop with probability \(\tfrac12\). Taking that edge \(n\) times gives a return path of length \(n\) and probability \((\tfrac12)^n>0\), for every positive integer \(n\). Since return lengths are positive integers, this proves \(R_1=\{1,2,3,\ldots\}\). In particular, \(1\in R_1\), so the only positive integer dividing every return length is \(1\), and \(d(1)=1\).

Check: For \(n=1\), \(p_{11}^{(1)}=p_{11}=\tfrac12>0\). The path consisting of one self-loop therefore supplies the length-one return used to determine the period.

When There Is No Return, and a Common Mistake

The definition also has an important boundary case. For example, on \(S=\{1,2\}\), let \(P=\begin{bmatrix}0&1\\0&1\end{bmatrix}\). The row sums are \(0+1=1\) and \(0+1=1\). From state \(1\), the chain moves to \(2\) and stays there, so there is no directed path of positive length from \(1\) back to \(1\). Thus \(R_1\) is empty, and its greatest common divisor is not defined under the definition given here. Do not silently treat an absent return path as a return of length zero.

Common mistake: treating the transition graph as undirected. In the three-state directed cycle above, one might incorrectly claim there is a two-step return \(1\to2\to1\), by assuming that the edge \(1\to2\) can be followed backward. But the matrix entry \(p_{21}\) is \(0\), so \(2\to1\) is not an edge. The actual two-step path is \(1\to2\to3\), which ends at \(3\), not \(1\). The correction is to follow only directed edges: the first return from \(1\) has length three, and the return lengths are \(3,6,9,\ldots\).

The period is a feature of possible return timing, not of the probabilities’ exact magnitudes. Once an edge has positive probability, changing its value to another positive number does not remove the paths using it. Setting that transition probability to zero does remove those paths and may change the return-time set. For any graph-based calculation, first identify the positive-probability directed edges, then list or characterize the closed-walk lengths at the state in question. Use the whole return-time set in the definition; do not confuse it with just the length of one cycle or just the first-return lengths.

Check Your Understanding

For each question, distinguish directed paths from undirected connections and use only positive-probability returns.

  1. A state has positive-probability return lengths \(4,8,12,\ldots\). What is its period?
  2. In a graph, there is a directed path from \(i\) to \(j\) and a directed path from \(j\) to \(i\), each of length two. What return length at \(i\) does their concatenation establish?
  3. Can a path of length \(n\) that visits \(i\) before its final step still establish that \(n\in R_i\)? Explain.
  4. A state has a self-loop of positive probability. What return length is immediately available, and what does it imply for the period?
  5. If there is no positive-probability directed path of positive length from \(i\) back to \(i\), what is \(R_i\), and is its period defined here?