9.1 Markov Chains
Chapter Overview
In this chapter, you will learn to:
- Write transition matrices for Markov Chain problems.
- Find the long term trend for a Regular Markov Chain.
- Solve and interpret Absorbing Markov Chains.
Markov Chains
We will now study stochastic processes, experiments in which the outcomes of events depend on the previous outcomes. Such a process or experiment is called a Markov Chain or Markov process. The process was first studied by a Russian mathematician named Andrei A. Markov in the early 1900s.
A small town is served by two telephone companies, Mama Bell and Papa Bell. Due to their aggressive sales tactics, each month 40% of Mama Bell customers switch to Papa Bell, that is, the other 60% stay with Mama Bell. On the other hand, 30% of the Papa Bell customers switch to Mama Bell. The above information can be expressed in a matrix which lists the probabilities of going from one state into another state. This matrix is called a transition matrix.

The reader should observe that a transition matrix is always a square matrix because all possible states must have both rows and columns. All entries in a transition matrix are non-negative as they represent probabilities. Furthermore, since all possible outcomes are considered in the Markov process, the sum of the row entries is always 1.
There are certain Markov chains that tend to stabilize in the long run, and they are the subject of. It so happens that the transition matrix we have used in all the above examples is just such a Markov chain. The next example deals with the long term trend or steady-state situation for that matrix.
When this happens, we say that the system is in steady-state or state of equilibrium. In this situation, all row vectors are equal. If the original matrix is an by matrix, we get n vectors that are all the same. We call this vector a fixed probability vector or the equilibrium vector . In the above problem, the fixed probability vector is . Furthermore, if the equilibrium vector is multiplied by the original matrix , the result is the equilibrium vector . That is,
or,
Regular Markov Chains
At the end of, we took the transition matrix and started taking higher and higher powers of it. The matrix started to stabilize, and finally it reached its steady-state or state of equilibrium. When that happened, all the row vectors became the same, and we called one such row vector a fixed probability vector or an equilibrium vector . Furthermore, we discovered that .
Section Overview
In this section, we wish to answer the following four questions.
- Does every Markov chain reach a state of equilibrium?
- Does the product of an equilibrium vector and its transition matrix always equal the equilibrium vector? That is, does ?
- Can the equilibrium vector be found without raising the matrix to higher powers?
- Does the long term market share distribution for a Markov chain depend on the initial market share?
We summarize as follows:
Regular Markov Chains A Markov chain is said to be a Regular Markov chain if some power of it has only positive entries.
Let
be a transition matrix for a regular Markov chain.
- As we take higher powers of , , as n becomes large, approaches a state of equilibrium.
- If is any distribution vector, and an equilibrium vector, then .
- Each row of the equilibrium matrix is a unique equilibrium vector such that .
- The equilibrium distribution vector can be found by letting .
Absorbing Markov Chains
In this section, we will study a type of Markov chain in which when a certain state is reached, it is impossible to leave that state. Such states are called absorbing states, and a Markov Chain that has at least one such state is called an Absorbing Markov chain. Suppose you have the following transition matrix.

The state is an absorbing state, because the probability of moving from state to state is 1. Which is another way of saying that if you are in state , you will remain in state .
In fact, this is the way to identify an absorbing state. If the probability in row i and column i, , is 1, then state is an absorbing state.
We begin with an application of absorbing Markov chains to the gambler's ruin problem.
We summarize as follows:
Absorbing Markov Chains
- A Markov chain is an absorbing Markov chain if it has at least one absorbing state. A state is an absorbing state if once the system reaches state , it stays in that state; that is, .
- If a transition matrix for an absorbing Markov chain is raised to higher powers, it reaches an absorbing state called the solution matrix and stays there. The , entry of this matrix gives the probability of absorption in state while starting in state .
- Alternately, the solution matrix can be found in the following manner.
- Express the transition matrix in the canonical form as below.
where is an identity matrix, and 0 is a matrix of all zeros. - The fundamental matrix . The fundamental matrix helps us find the number of games played before absorption.
- is the solution matrix, whose , entry gives the probability of absorption in state while starting in state .
- Express the transition matrix in the canonical form as below.
- The sum of the entries of a row of the fundamental matrix gives us the expected number of steps before absorption for the non-absorbing state associated with that row.
Adapted from Applied Finite Mathematics by Rupinder Sekhon (De Anza College), originally published by OpenStax CNX (cnx.org, collection col10613), licensed under CC BY 3.0. Changes were made. License: CC-BY-3.0.