Tutorials › Stochastic Processes › Exceptional Parameter Cases in Two-State Chains

Chapman-Kolmogorov Equations and n-Step Transitions · Tutorial 123 of 994

Exceptional Parameter Cases in Two-State Chains

Learn how the exceptional values of the sum of the two switching probabilities determine the exact \(n\)-step transitions in a two-state chain.

Intermediate 9 min read

What You'll Learn

  • Identify which parameter pairs produce \(a+b=0\), \(a+b=1\), and \(a+b=2\).
  • Compute the exact \(n\)-step transition probabilities in each exceptional case.
  • Distinguish the time-zero transition matrix from the positive-step behavior.
  • Verify the cases using Chapman–Kolmogorov recursions and matrix powers.
  • Recognize why the general formula must be interpreted separately when its denominator vanishes.

Why These Parameter Values Need Separate Attention

For a two-state chain, the transition matrix can be written using the switching probabilities \(a\) and \(b\). A compact formula for its powers involves the sum \(a+b\) in a denominator and the quantity \(1-a-b\) raised to the \(n\)th power. Three values of that sum have especially simple behavior: zero, one, and two. The first makes the chain stay where it is, the second makes the two rows of the matrix identical, and the third forces the chain to alternate deterministically.

Let \((X_n)_{n\ge0}\) be a discrete-time Markov chain on the state space \(S=\{0,1\}\), defined on a probability space \((\Omega,\mathcal{F},\mathbb{P})\). At each step, the chain switches from state \(0\) to state \(1\) with probability \(a\), and from state \(1\) to state \(0\) with probability \(b\), where \(0\le a,b\le1\). Thus its row-stochastic transition matrix is

$$ P= \begin{bmatrix} 1-a & a\\ b & 1-b \end{bmatrix}. $$

Each row sums to one: \((1-a)+a=1\) and \(b+(1-b)=1\). Write \(P^{(n)}=P^n\), with \(P^{(0)}=I\), and let \(p_{ij}^{(n)}=\mathbb{P}(X_n=j\mid X_0=i)\) when the conditioning event has positive probability. The Markov transition probabilities define these entries for either starting state. Set \(s=a+b\). Because \(a,b\) are probabilities, \(0\le s\le2\).

Definition: The exceptional parameter cases are \(s=0\), \(s=1\), and \(s=2\). They correspond, respectively, to no switching, identical rows of \(P\), and certain switching at every step.

A Recursion That Reveals the Cases

The Chapman–Kolmogorov equations give a short recurrence for the probability of being in the other state after \(n\) steps. Define \(u_n=p_{01}^{(n)}\) and \(v_n=p_{10}^{(n)}\). Since each row of \(P^{(n)}\) sums to one, \(p_{00}^{(n)}=1-u_n\) and \(p_{11}^{(n)}=1-v_n\). Conditioning on the state at time \(n\) gives

$$ u_{n+1}=(1-u_n)a+u_n(1-b)=a+(1-s)u_n, \qquad u_0=0, $$

and, in the same way,

$$ v_{n+1}=v_n(1-a)+(1-v_n)b=b+(1-s)v_n, \qquad v_0=0. $$

These recurrences apply for every \(a,b\in[0,1]\), including the exceptional values. They are useful here because they avoid dividing by \(s\), which would not be allowed when \(s=0\).

Theorem: For the two-state chain above, the following exact transition probabilities hold. If \(s=0\), then \(P^{(n)}=I\) for every \(n\ge0\). If \(s=1\), then \(P^{(0)}=I\) and \(P^{(n)}=P\) for every \(n\ge1\), where both rows of \(P\) are \((b,a)\). If \(s=2\), then \(P^{(n)}=I\) for even \(n\) and \(P^{(n)}=P\) for odd \(n\), with \(P=\begin{bmatrix}0&1\\1&0\end{bmatrix}\).

Proof. If \(s=0\), the restrictions \(a,b\ge0\) and \(a+b=0\) force \(a=b=0\). The matrix is therefore \(I\), whose every nonnegative integer power is \(I\). Equivalently, the recurrences give \(u_{n+1}=u_n\) and \(v_{n+1}=v_n\), with both initial values zero. If \(s=1\), then \(b=1-a\), so the first row of \(P\) is \((b,a)\), and the second row \((b,1-b)\) is also \((b,a)\). Multiplying either row \((b,a)\) by \(P\) gives \((b^2+ab,ab+a^2)=(b,a)\), because \(a+b=1\). Thus \(P^2=P\); repeated multiplication gives \(P^{(n)}=P\) for every \(n\ge1\), while \(P^{(0)}=I\) by definition. The recurrences show the same result: for \(n\ge0\), \(u_{n+1}=a\) and \(v_{n+1}=b\). Finally, if \(s=2\), the bounds \(a,b\le1\) force \(a=b=1\), so \(P=\begin{bmatrix}0&1\\1&0\end{bmatrix}\) and \(P^2=I\). Pairing factors in the product \(P^n\) gives \(I\) for even \(n\) and \(P\) for odd \(n\). In the recurrences, \(u_{n+1}=1-u_n\) and \(v_{n+1}=1-v_n\), starting from zero, so both probabilities alternate between zero and one. These matrix powers give all four entries stated in the theorem. \(\square\)

The case \(s=1\) is not a claim that the chain is in the same state after every positive number of steps. Rather, each row of \(P^{(n)}\), for \(n\ge1\), is the same probability distribution \((b,a)\). The starting state no longer affects the distribution after one step. In the case \(s=2\), by contrast, the state at every time is determined by the starting state and the parity of the number of steps.

Worked Examples

Worked Example: No Switching When \(a+b=0\)

Take \(a=0\) and \(b=0\). The transition matrix is

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

The first row sums to \(1+0=1\), and the second row sums to \(0+1=1\). Here \(s=0+0=0\), so the theorem gives \(P^{(n)}=I\) for every \(n\ge0\). For example, at \(n=4\), \(P^{(4)}=I\); hence \(p_{00}^{(4)}=1\), \(p_{01}^{(4)}=0\), \(p_{10}^{(4)}=0\), and \(p_{11}^{(4)}=1\).

Check: Multiplication gives \(P^2=\begin{bmatrix}1\cdot1+0\cdot0&1\cdot0+0\cdot1\\0\cdot1+1\cdot0&0\cdot0+1\cdot1\end{bmatrix}=I\). Therefore \(P^4=(P^2)^2=I\), as claimed. If the initial distribution is \(\mu=(\tfrac25,\tfrac35)\), then \(\mu P^4=(\tfrac25,\tfrac35)\), so the distribution also remains unchanged.

Worked Example: Identical Rows When \(a+b=1\)

Take \(a=\tfrac25\) and \(b=\tfrac35\), so \(s=\tfrac25+\tfrac35=1\). The matrix is

$$ P= \begin{bmatrix} \tfrac35&\tfrac25\\ \tfrac35&\tfrac25 \end{bmatrix}. $$

Each row sums to \(\tfrac35+\tfrac25=1\). For every \(n\ge1\), the theorem gives \(P^{(n)}=P\). To check this by multiplication, the first row of \(P^2\) is \((\tfrac35\cdot\tfrac35+\tfrac25\cdot\tfrac35,\ \tfrac35\cdot\tfrac25+\tfrac25\cdot\tfrac25)=(\tfrac9{25}+\tfrac6{25},\tfrac6{25}+\tfrac4{25})=(\tfrac35,\tfrac25)\). The second row is the same, since it starts with the same row of \(P\). Thus \(P^2=P\), and \(P^n=P\) for every \(n\ge1\).

Check with an initial distribution: For \(\mu=(\tfrac14,\tfrac34)\), multiplication gives \(\mu P=(\tfrac14\cdot\tfrac35+\tfrac34\cdot\tfrac35,\ \tfrac14\cdot\tfrac25+\tfrac34\cdot\tfrac25)=(\tfrac35,\tfrac25)\). The entries sum to \(\tfrac35+\tfrac25=1\), and \(\mu P^n=(\tfrac35,\tfrac25)\) for every \(n\ge1\), since \(\mu P^n=(\mu P)P^{n-1}\) and \((\tfrac35,\tfrac25)P=(\tfrac35,\tfrac25)\). At \(n=0\), however, \(\mu P^{(0)}=\mu\), not \((\tfrac35,\tfrac25)\).

Worked Example: Deterministic Alternation When \(a+b=2\)

Take \(a=1\) and \(b=1\), so \(s=1+1=2\). Then

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

Each row sums to \(0+1=1\) or \(1+0=1\). The chain must switch states at every step. In particular, \(P^{(5)}=P\), so the exact five-step probabilities are \(p_{00}^{(5)}=0\), \(p_{01}^{(5)}=1\), \(p_{10}^{(5)}=1\), and \(p_{11}^{(5)}=0\). At four steps, \(P^{(4)}=I\), so the exact probabilities instead are \(p_{00}^{(4)}=1\), \(p_{01}^{(4)}=0\), \(p_{10}^{(4)}=0\), and \(p_{11}^{(4)}=1\).

Check: Direct multiplication gives \(P^2=\begin{bmatrix}0\cdot0+1\cdot1&0\cdot1+1\cdot0\\1\cdot0+0\cdot1&1\cdot1+0\cdot0\end{bmatrix}=I\). Hence \(P^4=I\) and \(P^5=P^4P=P\), confirming both sets of probabilities.

How the Exceptional Cases Fit the General Formula

For \(s>0\), the two-state \(n\)-step formula has the factor \(1-s\). In the notation used here, for \(n\ge1\) it is

$$ P^{(n)}= \begin{bmatrix} \dfrac{b}{s}+\dfrac{a}{s}(1-s)^n& \dfrac{a}{s}\bigl(1-(1-s)^n\bigr)\\[6pt] \dfrac{b}{s}\bigl(1-(1-s)^n\bigr)& \dfrac{a}{s}+\dfrac{b}{s}(1-s)^n \end{bmatrix}. $$

When \(s=1\), the denominator is \(1\) and \((1-s)^n=0\) for \(n\ge1\); the formula reduces to rows \((b,a)\). When \(s=2\), \(a=b=1\), and \((1-s)^n=(-1)^n\); for even \(n\) the matrix is \(I\), while for odd \(n\) it is \(P\). When \(s=0\), this expression is not defined because it divides by \(s\). That case must instead be evaluated from the original transition matrix or the recurrences. Also, the formula displayed here is for \(n\ge1\); at \(n=0\), use \(P^{(0)}=I\).

Common mistake. Substituting \(s=0\) directly into the general formula and treating \(b/s\) as a valid probability is an invalid calculation: \(b/s=0/0\) in this case. The correction is to use \(a=b=0\), which gives \(P=I\) and therefore \(P^{(n)}=I\) for all \(n\ge0\). A second related error is to say that \(P^{(n)}=P\) for every \(n\) when \(s=1\). This misses \(n=0\): \(P^{(0)}=I\), and the identical-row result begins at \(n=1\).

These cases are useful checks when computing powers of a two-state matrix. The identity case tests whether zero switching has been handled without division by zero. The identical-row case tests whether the initial state’s influence disappears after one step. The alternating case tests whether parity has been preserved. In each case, checking \(n=0\), one positive step, and the relevant matrix product helps prevent a formula from being applied outside its stated conditions.

Check Your Understanding

For each question, state the parameter assumptions and distinguish \(n=0\) from positive \(n\) where needed.

  1. If \(a,b\in[0,1]\) and \(a+b=0\), what are \(a,b\), and what is \(P^{(n)}\) for \(n\ge0\)?
  2. For \(a=\tfrac14\) and \(b=\tfrac34\), write \(P\) and compute \(P^{(3)}\). Verify that each row sums to one.
  3. If \(a+b=1\), explain why the two rows of \(P\) are identical and why \(P^{(n)}=P\) for every \(n\ge1\).
  4. If \(a+b=2\), find \(p_{01}^{(6)}\) and \(p_{01}^{(7)}\), and verify the answers using \(P^2=I\).
  5. Why can the general formula with denominator \(a+b\) not be substituted directly at \(a+b=0\)? What calculation should be used instead?