From Convergence to a Worst-Case Time
For a finite Markov chain that converges to stationarity, the convergence rate can depend on where the chain starts. A state whose transition probabilities initially point away from equilibrium may take longer to become representative than another state. The worst-case mixing time records the slowest of these starting-state behaviors, giving a single accuracy guarantee that applies regardless of the initial state.
Let \((X_n)_{n\ge0}\) be a discrete-time Markov chain on a finite state space \(S\), on a probability space \((\Omega,\mathcal{F},\mathbb{P})\), with row-stochastic transition matrix \(P=(p_{ij})\). Thus each entry is nonnegative and each row sums to \(1\). Assume throughout that the chain is irreducible and aperiodic, and let \(\pi\) be its stationary distribution, so \(\pi P=\pi\). For a finite irreducible chain, \(\pi\) is unique; for an aperiodic one, the distribution from each starting state converges to \(\pi\) in total variation. These are standard finite-chain results from the earlier material on convergence.
Here \(P^n(i,\cdot)\) is the \(i\)th row of \(P^n\), and time is an integer. The threshold is non-strict: a distance equal to \(\varepsilon\) meets the criterion. At time \(0\), the chain started at \(i\) has distribution concentrated at \(i\), so \(d_i(0)=\|\delta_i-\pi\|_{\mathrm{TV}}\). The maximum in \(d(n)\) is attained because \(S\) is finite.
Why the Worst-Case Distance Is the Right Quantity
The maximum over states gives a guarantee for any initial distribution, not just a point mass. If the initial distribution is a row vector \(\mu\), then its time-\(n\) distribution is \(\mu P^n\). Since \(\pi P^n=\pi\), convexity of total variation gives
In fact, \(d(n)\) is exactly the largest distance over all possible initial distributions: point-mass initial distributions are among those choices, and the inequality above bounds every other choice by \(d(n)\). Thus the maximum does not mean that the chain begins in a specially chosen average state. It means that we ask how slowly it could converge if its initial state is chosen adversarially.
Proof. Fix \(i\in S\). The distribution at time \(n+1\) from \(i\) is \(\sum_{j\in S}p_{ij}P^n(j,\cdot)\), and stationarity gives \(\pi=\sum_{j\in S}\pi(j)P^n(j,\cdot)\), or, more directly, \(\pi P^n=\pi\). Use the Markov property to write \(P^{n+1}(i,\cdot)=\sum_j p_{ij}P^n(j,\cdot)\). Since \(\pi=\sum_j p_{ij}\pi\) is not generally true for a fixed \(i\), instead apply the one-step transition kernel to the pair \(P^n(i,\cdot)\) and \(\pi\): \(P^{n+1}(i,\cdot)=P^n(i,\cdot)P\) and \(\pi=\pi P\). A stochastic matrix contracts total variation, so \(\|P^n(i,\cdot)P-\pi P\|_{\mathrm{TV}}\le\|P^n(i,\cdot)-\pi\|_{\mathrm{TV}}\). To verify this contraction, for distributions \(\alpha,\beta\), the triangle inequality gives \(\tfrac12\sum_j|\sum_k(\alpha(k)-\beta(k))p_{kj}|\le\tfrac12\sum_k|\alpha(k)-\beta(k)|\sum_jp_{kj}=\|\alpha-\beta\|_{\mathrm{TV}}\). Therefore \(d_i(n+1)\le d_i(n)\le d(n)\). Taking the maximum over \(i\) proves \(d(n+1)\le d(n)\), and repeated application proves the consequence. \(\square\)
The finite-chain convergence result also ensures that \(t_{\mathrm{mix}}(\varepsilon)\) exists for every \(\varepsilon>0\): each \(d_i(n)\) tends to \(0\), and because there are finitely many states, their maximum tends to \(0\) as well. A quantitative reason for this finiteness comes from the positive-power criterion for finite irreducible aperiodic chains, established in the earlier material on finite-state convergence.
For the contraction claim when \(c<1\), subtract the common component for any two initial distributions \(\alpha,\beta\): \(\alpha P^r-\beta P^r=(1-c)(\alpha R-\beta R)\), where \(R\) is the stochastic matrix with rows \(R_i\). The stochastic-matrix contraction just proved bounds the resulting distance by \((1-c)\|\alpha-\beta\|_{\mathrm{TV}}\). Apply this repeatedly to distributions at times \(0,r,2r,\ldots\). The monotonicity proposition handles times between these multiples. This argument explains why a positive transition power makes the worst-case mixing time finite, without requiring a separate convergence-rate calculation for each starting state.
Worked Calculations
Worked Example: A Three-State Chain with Uniform Stationarity
Consider \(S=\{1,2,3\}\) and
Each row sums to \(\tfrac12+\tfrac14+\tfrac14=1\), \(\tfrac14+\tfrac12+\tfrac14=1\), and \(\tfrac14+\tfrac14+\tfrac12=1\). The matrix is symmetric and its columns also sum to \(1\), so \(\pi=(\tfrac13,\tfrac13,\tfrac13)\) satisfies \(\pi P=\pi\). Every entry is positive, so the chain is irreducible and aperiodic.
Write \(J\) for the \(3\)-by-\(3\) matrix of ones and \(I\) for the identity matrix. The displayed matrix is \(P=\tfrac14J+\tfrac14I\). Since \(J/3\) is the matrix that sends every distribution to \(\pi\), and \(P\) multiplies deviations from \(\pi\) by \(\tfrac14\),
For any \(i\), the absolute differences in \(\delta_i-\pi\) are \(\tfrac23,\tfrac13,\tfrac13\), whose sum is \(\tfrac43\). Thus \(d_i(n)=d(n)=\tfrac12\cdot\tfrac43\cdot4^{-n}=\tfrac23\,4^{-n}\). At time \(0\), this is \(\tfrac23\); at time \(1\), it is \(\tfrac23\cdot\tfrac14=\tfrac16\). Therefore \(t_{\mathrm{mix}}(\tfrac16)=1\): time \(1\) meets the non-strict threshold exactly, while time \(0\) does not.
Check: From state \(1\), the time-one row is \((\tfrac12,\tfrac14,\tfrac14)\). Its distance from \(\pi\) is \(\tfrac12(|\tfrac12-\tfrac13|+|\tfrac14-\tfrac13|+|\tfrac14-\tfrac13|)=\tfrac12(\tfrac16+\tfrac1{12}+\tfrac1{12})=\tfrac16\), as the formula gives.
Worked Example: The Starting State Changes the Mixing Time
Consider \(S=\{1,2\}\) with
The first row sums to \(\tfrac34+\tfrac14=1\), and the second to \(\tfrac12+\tfrac12=1\). Solving \(\pi P=\pi\) with \(\pi_1+\pi_2=1\) gives \(\tfrac14\pi_1=\tfrac12\pi_2\), hence \(\pi_1=2\pi_2\) and \(\pi=(\tfrac23,\tfrac13)\). All transitions between the two states have positive probability, and both states have positive self-transition probability, so the chain is irreducible and aperiodic.
Let \(x_n\) be the probability of being in state \(1\) at time \(n\). From either starting distribution, \(x_{n+1}=\tfrac34x_n+\tfrac12(1-x_n)=\tfrac12+\tfrac14x_n\). Subtracting the stationary value \(\tfrac23\) yields \(x_{n+1}-\tfrac23=\tfrac14(x_n-\tfrac23)\). On a two-state space, total variation distance from \((\tfrac23,\tfrac13)\) is \(|x_n-\tfrac23|\). Starting from state \(1\), the initial deviation is \(\tfrac13\); starting from state \(2\), it is \(-\tfrac23\). Therefore
For \(\varepsilon=\tfrac18\), at time \(1\) the state-specific distances are \(d_1(1)=\tfrac13\cdot\tfrac14=\tfrac1{12}\) and \(d_2(1)=\tfrac23\cdot\tfrac14=\tfrac16\). The first is at most \(\tfrac18\), but the second is greater. At time \(2\), \(d(2)=\tfrac23\cdot\tfrac1{16}=\tfrac1{24}\le\tfrac18\). Hence the worst-case mixing time is \(2\), even though starting from state \(1\) alone reaches the threshold at time \(1\).
Check: The recurrence gives \(x_1=\tfrac12+\tfrac14(1)=\tfrac34\) from state \(1\), so the distance is \(|\tfrac34-\tfrac23|=\tfrac1{12}\). From state \(2\), it gives \(x_1=\tfrac12\), so the distance is \(|\tfrac12-\tfrac23|=\tfrac16\), matching the two formulas.
Worked Example: A Mixed Initial Distribution Is Not Worst-Case
Use the same two-state chain, but start from \(\mu=(\tfrac12,\tfrac12)\). Then \(x_0=\tfrac12\), so its initial deviation from stationarity is \(\tfrac12-\tfrac23=-\tfrac16\). The recurrence above gives distance \(\tfrac16\,4^{-n}\). At time \(0\), the distance is \(\tfrac16\); at time \(1\), it is \(\tfrac16\cdot\tfrac14=\tfrac1{24}\). For threshold \(\varepsilon=\tfrac1{12}\), this initial distribution meets the threshold at time \(1\). The worst-case distance at time \(1\), however, is \(\tfrac16>\tfrac1{12}\), so the worst-case mixing time is \(2\), as \(\tfrac16\cdot\tfrac1{16}=\tfrac1{24}\le\tfrac1{12}\) at time \(2\).
Check: The probability of state \(1\) at time \(1\) from \(\mu\) is \(x_1=\tfrac12+\tfrac14\cdot\tfrac12=\tfrac58\). Its distance from \(\tfrac23\) is \(|\tfrac58-\tfrac23|=|\tfrac{15}{24}-\tfrac{16}{24}|=\tfrac1{24}\), agreeing with the recurrence calculation.
Common Mistakes and a Periodic Counterexample
Common mistake: average the starting-state distances instead of taking their maximum. In the two-state example, at time \(1\) the two distances are \(\tfrac1{12}\) and \(\tfrac16\). Their average is \(\tfrac12(\tfrac1{12}+\tfrac16)=\tfrac18\). Treating that average as the worst-case distance would incorrectly say the chain has mixed to accuracy \(\tfrac18\) by time \(1\). But the definition uses the maximum, which is \(\tfrac16>\tfrac18\), and the correct mixing time is \(2\). Averages can describe a chosen randomization over initial states; they do not provide a guarantee for every starting state.
Aperiodicity matters to the existence of a finite mixing time. For the chain on \(\{1,2\}\) with \(P=\begin{bmatrix}0&1\\1&0\end{bmatrix}\), every row sums to \(1\), the chain is irreducible, and \(\pi=(\tfrac12,\tfrac12)\) is stationary. But from state \(1\), the distribution alternates between \((1,0)\) at even times and \((0,1)\) at odd times. Its total variation distance from \(\pi\) is \(\tfrac12\) at every time, so \(d(n)=\tfrac12\) for all \(n\). For any \(\varepsilon<\tfrac12\), no finite mixing time exists. This is why the definition alone does not guarantee that the minimum is attained: convergence assumptions are needed.
In using the definition, keep three choices explicit: the stationary distribution being used, whether the initial state is fixed or maximized over, and the accuracy threshold with its non-strict comparison. For a finite irreducible aperiodic chain, the worst-case definition supplies a common time bound for every initial state; it does not claim that every state takes equally long to reach that bound.
Check Your Understanding
Use the definition and verify numerical claims by substituting into the relevant formulas.
- For a finite chain, explain why \(d(n)\le\varepsilon\) implies \(\|\mu P^n-\pi\|_{\mathrm{TV}}\le\varepsilon\) for every initial distribution \(\mu\).
- In the three-state example, compute \(d(2)\) and determine whether the chain meets the threshold \(\varepsilon=\tfrac1{20}\) at time \(2\).
- In the two-state example, find \(d_1(2)\), \(d_2(2)\), and \(d(2)\), and identify which starting state attains the maximum.
- Why is the average of the two starting-state distances not a substitute for the worst-case distance?
- For the alternating two-state chain, what is \(d(n)\) at even and odd times, and why does this rule out \(t_{\mathrm{mix}}(\tfrac14)\)?