Tutorials › Stochastic Processes › Normalizing a Finite Invariant Measure

Stationary Distributions · Tutorial 182 of 994

Normalizing a Finite Invariant Measure

See how finite invariant weights become a stationary probability law, and how to check the normalization and balance equations exactly.

Intermediate 10 min read

What You'll Learn

  • Define an invariant measure and its total mass for a discrete-time Markov chain.
  • Prove that dividing a nonzero finite invariant measure by its mass gives a stationary distribution.
  • Check normalized measures by computing their total mass and verifying the balance equations.
  • Work through exact examples with uniform, nonuniform and zero coordinates.
  • Recognize why the zero measure and an infinite-mass measure cannot be normalized this way.

From Invariant Weights to Probabilities

An invariant measure records weights that are unchanged by one transition of a Markov chain. Those weights need not initially sum to one, so they need not themselves be probabilities. When their total mass is positive and finite, dividing each weight by that total produces a probability distribution without changing the balance between incoming and outgoing mass. This is a basic conversion: the invariance calculation is already done, and normalization puts its weights on the probability scale.

Let \((X_n)_{n\ge0}\) be a discrete-time Markov chain on a probability space \((\Omega,\mathcal{F},\mathbb{P})\), with finite or countable state space \(S\). Its transition matrix is \(P=(p_{ij})_{i,j\in S}\), where \(p_{ij}\ge0\) and \(\sum_{j\in S}p_{ij}=1\) for every \(i\in S\). We use row vectors for measures and distributions. For a nonnegative row vector \(\nu=(\nu_i)_{i\in S}\), its total mass is \(Z=\sum_{i\in S}\nu_i\).

Definition: A nonnegative measure \(\nu\) on \(S\) is invariant for \(P\) if \(\nu P=\nu\). Coordinatewise, this means \(\sum_{i\in S}\nu_i p_{ij}=\nu_j\) for every \(j\in S\). A stationary distribution is a probability row vector \(\pi\), so \(\pi_i\ge0\), \(\sum_i\pi_i=1\), that satisfies \(\pi P=\pi\).

For countable \(S\), the sums in these definitions are sums of nonnegative terms. The invariance condition says that the total weight arriving at each state \(j\), computed from all possible preceding states, equals the weight assigned to \(j\). It does not require that the original weights sum to one. Normalization concerns that total separately.

Theorem (Normalization of a finite invariant measure): Suppose \(\nu\) is a nonnegative invariant measure on a finite or countable state space \(S\), and its total mass satisfies \(0<Z=\sum_{i\in S}\nu_i<\infty\). Then \(\pi_i=\nu_i/Z\) defines a stationary distribution. In particular, the conclusion allows some coordinates \(\nu_i\) to be zero.

Proof. Since every \(\nu_i\ge0\) and \(Z\) is positive and finite, \(\pi_i=\nu_i/Z\ge0\) for each \(i\), and \(\sum_i\pi_i=(1/Z)\sum_i\nu_i=Z/Z=1\). For every \(j\in S\), invariance of \(\nu\) gives \(\sum_i\nu_i p_{ij}=\nu_j\). Dividing this equality by \(Z\) yields \(\sum_i\pi_i p_{ij}=\nu_j/Z=\pi_j\). Thus \(\pi P=\pi\), and \(\pi\) is a stationary distribution. \(\square\)

The proof uses two separate facts: positive finite mass makes the division well-defined and gives a probability vector; invariance is preserved because every coordinate is divided by the same constant. No irreducibility, aperiodicity, or uniqueness assumption is needed for this normalization result.

Worked Normalizations

Worked Example: Equal Weights on a Three-State 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 \(0+1+0=1\), \(0+0+1=1\), and \(1+0+0=1\), so the rows are probability distributions. Take the nonzero measure \(\nu=(2,2,2)\). Its total mass is \(Z=2+2+2=6\). Multiplying as a row vector gives

$$ \nu P=(2\cdot0+2\cdot0+2\cdot1,\ 2\cdot1+2\cdot0+2\cdot0,\ 2\cdot0+2\cdot1+2\cdot0)=(2,2,2)=\nu. $$

Thus \(\nu\) is invariant. Dividing each coordinate by \(6\) gives \(\pi=(\tfrac13,\tfrac13,\tfrac13)\), whose entries sum to \(\tfrac13+\tfrac13+\tfrac13=1\). Direct substitution checks stationarity: \(\pi P=(\tfrac13,\tfrac13,\tfrac13)=\pi\). In this example the transition matrix moves mass around the cycle, while the equal weights remain unchanged.

Worked Example: Normalizing Nonuniform Weights

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

$$ P=\begin{bmatrix} \tfrac12&\tfrac12&0\\ \tfrac14&\tfrac12&\tfrac14\\ 0&\tfrac16&\tfrac56 \end{bmatrix}. $$

Check the row sums before using the matrix: row 1 sums to \(\tfrac12+\tfrac12+0=1\); row 2 to \(\tfrac14+\tfrac12+\tfrac14=1\); and row 3 to \(0+\tfrac16+\tfrac56=1\). Suppose the invariant weights are \(\nu=(1,2,3)\). Their mass is \(Z=1+2+3=6\). Verify invariance by computing each coordinate of \(\nu P\):

$$ \begin{aligned} (\nu P)_1&=1\cdot\tfrac12+2\cdot\tfrac14+3\cdot0 =\tfrac12+\tfrac12+0=1,\\ (\nu P)_2&=1\cdot\tfrac12+2\cdot\tfrac12+3\cdot\tfrac16 =\tfrac12+1+\tfrac12=2,\\ (\nu P)_3&=1\cdot0+2\cdot\tfrac14+3\cdot\tfrac56 =0+\tfrac12+\tfrac52=3. \end{aligned} $$

Hence \(\nu P=(1,2,3)=\nu\). The normalized vector is \(\pi=(\tfrac16,\tfrac26,\tfrac36)=(\tfrac16,\tfrac13,\tfrac12)\). Its entries sum to \(\tfrac16+\tfrac13+\tfrac12=\tfrac16+\tfrac26+\tfrac36=1\). Substituting directly,

$$ \begin{aligned} (\pi P)_1&=\tfrac16\cdot\tfrac12+\tfrac13\cdot\tfrac14+\tfrac12\cdot0 =\tfrac1{12}+\tfrac1{12}=\tfrac16,\\ (\pi P)_2&=\tfrac16\cdot\tfrac12+\tfrac13\cdot\tfrac12+\tfrac12\cdot\tfrac16 =\tfrac1{12}+\tfrac16+\tfrac1{12}=\tfrac13,\\ (\pi P)_3&=\tfrac16\cdot0+\tfrac13\cdot\tfrac14+\tfrac12\cdot\tfrac56 =\tfrac1{12}+\tfrac5{12}=\tfrac12. \end{aligned} $$

These three coordinates give \(\pi P=(\tfrac16,\tfrac13,\tfrac12)=\pi\), as required.

Worked Example: A Zero Coordinate Before Normalization

A nonzero invariant measure may assign zero weight to some states. On \(S=\{1,2,3\}\), consider

$$ P=\begin{bmatrix} 1&0&0\\ \tfrac12&0&\tfrac12\\ 0&0&1 \end{bmatrix}, \qquad \nu=(3,0,2). $$

The row sums are \(1+0+0=1\), \(\tfrac12+0+\tfrac12=1\), and \(0+0+1=1\). The total mass is \(Z=3+0+2=5\). For the first coordinate of \(\nu P\), the calculation is \(3\cdot1+0\cdot\tfrac12+2\cdot0=3\). For the second it is \(3\cdot0+0\cdot0+2\cdot0=0\). For the third it is \(3\cdot0+0\cdot\tfrac12+2\cdot1=2\). Therefore \(\nu P=(3,0,2)=\nu\).

Normalization gives \(\pi=(\tfrac35,0,\tfrac25)\), and its total is \(\tfrac35+0+\tfrac25=1\). Checking the product coordinate by coordinate gives \((\pi P)_1=\tfrac35\cdot1+0\cdot\tfrac12+\tfrac25\cdot0=\tfrac35\), \((\pi P)_2=0\), and \((\pi P)_3=\tfrac25\). Thus \(\pi P=\pi\). A zero coordinate remains zero under division by a positive total mass; the definition of a probability distribution permits zero probabilities.

What Normalization Does—and Does Not—Show

Proposition (Scaling and normalization): If \(\nu\) is a nonzero invariant measure with finite mass \(Z_\nu\), then for every \(c>0\), \(c\nu\) is invariant and its normalized distribution is the same as that of \(\nu\). Conversely, if \(\nu\) and \(\eta\) are nonzero invariant measures with finite masses and their normalized distributions are equal, then \(\eta\) is a positive constant multiple of \(\nu\).

Proof. For \(c>0\), nonnegativity is preserved and \((c\nu)P=c(\nu P)=c\nu\), so \(c\nu\) is invariant. Its total mass is \(cZ_\nu\), which is positive and finite, and its normalization at state \(i\) is \(c\nu_i/(cZ_\nu)=\nu_i/Z_\nu\). For the converse, write \(Z_\nu=\sum_i\nu_i\) and \(Z_\eta=\sum_i\eta_i\). Equality of the normalized distributions means \(\nu_i/Z_\nu=\eta_i/Z_\eta\) for every \(i\). Multiplying by \(Z_\eta\) gives \(\eta_i=(Z_\eta/Z_\nu)\nu_i\) for every \(i\). Since both masses are positive and finite, \(Z_\eta/Z_\nu>0\), proving the claim. \(\square\)

This proposition explains why invariant measures are often described as weights: multiplying all weights by the same positive constant changes their total but not the stationary distribution obtained from them. Normalization alone does not show that a stationary distribution is unique. It supplies a stationary distribution from the particular invariant measure given; deciding whether other stationary distributions exist is a separate question.

Common mistake. In the nonuniform example, dividing \((1,2,3)\) by its largest coordinate \(3\) gives \((\tfrac13,\tfrac23,1)\). These entries sum to \(\tfrac13+\tfrac23+1=2\), not \(1\), so this is not a probability distribution. The correct divisor is the total mass \(1+2+3=6\), which gives \((\tfrac16,\tfrac13,\tfrac12)\). Another avoidable error is multiplying the column of weights by \(P\): with the row-vector convention, invariance is \(\nu P=\nu\), and its \(j\)th coordinate is \(\sum_i\nu_i p_{ij}\).

The two conditions on total mass have different roles. If \(Z=0\), nonnegativity forces every \(\nu_i=0\), and division by \(Z\) is undefined. If \(Z=\infty\), there is no finite total by which to divide to obtain a probability vector. For example, on \(S=\{1,2,\ldots\}\), let \(p_{ij}=1\) when \(i=j\) and \(p_{ij}=0\) otherwise. Each row sums to \(1\), and \(\nu_i=1\) for every \(i\) is invariant, since \(\sum_i\nu_i p_{ij}=1=\nu_j\) for each \(j\). But \(\sum_i\nu_i=\infty\), so the finite-mass normalization theorem does not apply. This example does not contradict the theorem: its finite positive mass hypothesis is absent.

In applications, an invariant measure may be easier to find in a convenient scale than a probability vector. Once its weights satisfy the balance equations, the normalization step is mechanical: sum all coordinates, confirm that the result is positive and finite, divide every coordinate by that same sum, and check both the total and the invariance equation. Keeping these checks separate helps catch arithmetic errors and makes clear exactly what the result guarantees.

Check Your Understanding

For each question, use the row-vector convention and state which condition on the total mass is relevant.

  1. If \(\nu=(2,1,1)\) is an invariant measure with total mass \(4\), what is its normalized distribution, and what must be checked to verify it is stationary?
  2. Explain why a nonnegative invariant measure of total mass zero cannot be normalized.
  3. For the matrix in the nonuniform worked example, compute \((\nu P)_2\) from \(\nu=(1,2,3)\) and explain what that coordinate represents.
  4. If two nonzero finite invariant measures normalize to the same distribution, what relation must hold between the original measures?
  5. Why does the existence of one normalized invariant measure not, by itself, establish uniqueness of the stationary distribution?