Invariant law and asymptotic behavior

Average 50%

Invariant law and asymptotic behavior

We seek to understand the asymptotic behavior of a homogeneous Markov chain. That is to say the limit of the transition probabilities Qnot(i, j) when n becomes very large (the invariant law).


We seek to answer the following question: "What is the probability that after n
not here markov chain be in a given state? ". Take the following transition matrix P:

invariant law

Suppose none of the machines are down on the first day. Then we have as initial vector (1, 0), to calculate the following distribution we multiply the initial vector by P, etc. Which gives the following results:

invariant law

This means that after 10 iteration, if we consider that we are starting from state 0, we have 99% to be in state 0 and 1% in state 1. This can also be interpreted as follows: on a starting population, considering the initial distribution by vector (1.0), then 99% of the population will be in state 0 and 1% in state 1.

We notice that the fourth and the tenth iteration have similar results (here identical to 4 significant digits). We then speak of a law of convergence, and this law does not depend on the distribution at the origin.


Let us take the example of the following matrix P = {0, 1; 1, 0}. We note that P² = Id which implies the following relation: ∀n∈Ν, P2n + 1= P.

Such a chain does not converge, we say that it is 2-periodic or of period 2.

A chain is said to be k-periodic iff: ∀ (n, k) ∈Ν², Pkn + 1= P. The states of a class all have the same period.
A state x is said to be aperiodic if Pnot(x, x)> 0. If P is irreducible and has at least one aperiodic state, then all the states are aperiodic.

Before calculating the invariant law of a Markov chain, it is necessary to verify that the latter is irreducible and aperiodic (also called ergodic).

A chain is therefore ergodic if any state can be reached from any other state and for a power Pk all elements are strictly positive. It is therefore possible to go from one state to another in at most k stages, independently of the starting and ending points. An ergodic chain has an invariant law (be careful, it is also possible to calculate the stationary distribution of the other chains, the interpretation is not the same).

Invariant law

One says that a probability measure π is invariant or stationary if for a transition matrix P we have πP = π. Note that since π is a measure then the sum of these terms is equal to 1.

Let (Xn) defining a homogeneous Markov chain with P an irreducible aperiodic transition matrix having an invariant measure π. Then :

  • P (Xn = x) → π (x) when n → ∞ for all x
  • pnot(x, y) → π (y) when n → ∞ for all x, y

The speed of convergence towards the stationary law is of the order of | ζ |not where ζ is the eigenvalue of P different from 1 and of greater modulus (which is strictly less than 1).

If the chain is ergodic (irreducible and aperiodic) then all states are reachable from any other state. Such a chain has an invariant law.

Exact calculation of the measurement

Let us take the definition µP = µ knowing that µ is stochastic (and yes I changed the name of the initial distribution!). This gives the following linear system:

invariant law

A measure µ on E is invariant (for P) if µ = µP, i.e. for all y ∈ E

We speak of an invariant law if in addition µ is a probability (µ (E) = 1). We also say invariant / stationary law / probability.

Given the relation µn + 1 = µnotP, we see immediately that, if µ is an invariant law and X0 ∼ µ, then Xnot ∼ µ for all n. We also notice that µ does not depend on the initial distribution vector.

Take for example a three-state Markov chain, whose transition matrix is as follows:

invariant law

We notice immediately that the matrix forms an irreducible and aperiodic chain, since all the states communicate and that pii > 0. We seek to solve the system µP = µ with for solution µ * = (p, q, r) such that p + q + r = 1 and 0 <p,q,r <1 ce qui donne les équations suivantes :

invariant law

We find as a solution the vector µ * = (2/53, 10/53, 41/53).

Exact calculation of the measurement (non-ergodic case)

Consider the following Markov chain

invariant law

We find that state 1 forms a transitional class, state 2 forms an absorbing class and states 3, 4 form a recurrent class. Let us make the analysis of the asymptotic behavior by not taking account of its nonergotic character (no guarantee of convergence).

Let's solve the following system:

invariant law

The system does not allow a single solution. Let α be between 0 and 1, then we find a solution by admitting that α is solution of π2:

invariant law

We notice in the class {3,4} that the probabilities are equal on a frequency of 2k, we deduce that the class is periodic over a period of 2 (which we could have calculated by power of the matrix). Class {2} is absorbing, there is no period. The class {1} is transient, which is why there is no longer a population after a time k.

In the case of a non-periodic chain, it is possible to deduce from the asymptotic behavior the classes of the states as well as the periodicities of the classes and of the chain.

To share