Classification of States: (A) Absorbing State
Classification of States: (A) Absorbing State
Peter W.Jones and Peter Smith- Stochastic Processes An Introduction, Second Edition, CRC Press
Let us return to the general 𝑚 −state chain with states 𝑋1 , 𝑋2 , … . , 𝑋𝑚 and the
transition matrix
𝑃 = 𝑝𝑖𝑗 , 1 ≤ 𝑖, 𝑗 ≤ 𝑚 .
For a homogeneous chain, recollect that 𝑝𝑖𝑗 is the probability that a transition
occurs from state 𝑋𝑖 to state 𝑋𝑗 at any step or change of state in the chain. We
intend to investigate and classify some of the more common types of states which
can occur in Markov chains.
Let
𝒅 𝒊 = 𝒈𝒄𝒅 𝒏|𝒑𝒊𝒊 𝒏 > 𝟎
That is, the greatest common divisor (gcd) of the set of integer 𝒏 for which
𝒑𝒊𝒊 (𝒏) >0. Then the state 𝑿𝒊 is said to be periodic if 𝒅 𝒊 > 𝟏 and aperiodic if
𝒅 𝒊 = 𝟏.
Sol.: The transition diagram shown below (Fig.2) suggests that all states are period
3. For example , if the chain starts at 𝑋1, then returns to 𝑋1 are only possible at
steps 3,6,9,……either through 𝑋2 𝑜𝑟 𝑋3.
The analysis of chains with periodic states can be complicated. However, one can
check for a suspected periodicity as follows. By direct computation
1 0 0 0
0 1ൗ2 0 1ൗ2
𝑃3 = S =
0 0 1 0
0 1ൗ2 0 1ൗ2
In this example,
𝑆 2 = 𝑃6 = 𝑆𝑆 = 𝑆,
so that
𝑆 𝑟 = 𝑃3𝑟 = 𝑆, 𝑟 = 1,2,3, …
which always has nonzero elements on its diagonal. On the other hand
0 1ൗ2 0 1ൗ2 0 0 1 0
1 0 0 0
𝑆 𝑟+1 = 𝑆 𝑟 𝑆 = 0 0 1 0 , 𝑆 𝑟+2 = 𝑆 𝑟 𝑆 2 =
1 0 0 0 0 1ൗ2 0 1ൗ2
0 0 1 0 1 0 0 0
And both these matrices have zero diagonal elements for 𝑟 = 1,2,3, … .Hence for 𝑖 =
1,2,3,4,
𝑝𝑖𝑖 (𝑛) = 0 for n ≠ 3,6,9, … . ,
𝑝𝑖𝑖 (𝑛) ≠ 0 for n = 3,6,9, … . ,
Which means that all states are period 3.
(c) Persistent state
Let 𝒇𝒋 (𝒏) be the probability that the first return or visit to 𝑿𝒋 occurs at the 𝒏 −th
step. This probability is not same as 𝑝𝑖𝑗 (𝑛) which is the probability that a return
occurs at the 𝑛 −th step, and includes possible returns at steps 1,2,3,…. , 𝑛 − 1
also. It follows that
𝑝𝑗𝑗 1 = 𝑝𝑗𝑗 = 𝑓𝑗 (1) ,
𝑝𝑗𝑗 (2) = 𝑓𝑗 (2) +𝑓𝑗 (1) 𝑝𝑗𝑗 (1)
𝒑𝒋𝒋 (𝟑) =𝒇𝒋 (𝟑) + 𝒇𝒋 (𝟏) 𝒑𝒋𝒋 (𝟐) + 𝒇𝒋 (𝟐) 𝒑𝒋𝒋 (𝟏) (𝟏)
and, in general
𝑝𝑗𝑗 (𝑛) = 𝑓𝑗 (𝑛) + σ𝑛−1
𝑟=1 𝑓𝑗
(𝑟)
𝑝𝑗𝑗 (𝑛−𝑟) , 𝑛 ≥ 2
The term in (1) imply that the probability of a return at the third step is the
probability of a first return at the third step ,or the probability of first return at the
first step and a return two steps later, or the probability of first return at the
second step and a return one step later.
The foregoing eqs. become iterative formulas for the sequence of first returns
𝑓𝑗 (𝑛) :
𝑓𝑗 (1) = 𝑝𝑗𝑗 (1) = 𝑝𝑗𝑗 ,
𝑛−1
𝑓𝑗 = 𝑓𝑗 (𝑛)
𝑛=1
If 𝑓𝑗 = 1, then a return to 𝑋𝑗 is certain , and 𝑋𝑗 is called a persistent state.
𝑋1𝑋2 𝑋3𝑋3 … … 𝑋3 𝑋1
The probability 𝑓1 that the system returns at least once to 𝑋1 is
∞ ∞
= 𝑝 + 1 − 𝑝 1 − 𝑞 𝑞𝑠 , 𝑠=𝑛−3
𝑠=0
1
=𝑝+ 1−𝑝 1−𝑞 =1
1−𝑞
Hence 𝑓1 = 1, and consequently the state 𝑋1 is persistent.
Persistent states can have a further distinction. The mean recurrence time 𝜇𝑗 pf a persistent
(𝑛)
state 𝑋𝑗 , for which σ∞
𝑛=1 𝑓𝑗 =1, is given by
∞
𝜇𝑗 = 𝑛𝑓𝑗 (𝑛) .
𝑛=1
In the above example, the state 𝑋1 is persistent and its mean recurrence time is given by
∞ ∞
3 − 2𝑞
𝜇1 = 𝑛𝑓1 (𝑛) = 𝑝 + (1 − 𝑝)(1 − 𝑞) 𝑛𝑞 𝑛−3 = 𝑝 + 1 − 𝑝 1 − 𝑞
1−𝑞 2
𝑛=1 𝑛=3
3 − 2𝑝 − 2𝑞 + 𝑝𝑞
=
1−𝑞
Which is finite. For some chains, however, the mean recurrence time can be infinite.; in other
words , the mean number of steps to a first return is unbounded.
# A three-state Markov chain has the transition matrix
1ൗ 1ൗ 0
2 2
𝑃𝑛 = 0 0 1
1ൗ 𝑛ൗ
𝑛+1 0 𝑛+1
𝑛
where 𝑃 is the transition matrix at step 𝑛. Show that 𝑋1 is a persistent null state.
For a persistent state the probability of a first return at some step in the future is
certain. For some states
∞
𝑓𝑗 = 𝑓𝑗 (𝑛) < 1
𝑛=1
Which means that the probability of a first return is not certain. Such states are
described as transient.
CLASSIFICATION OF CHAINS
So far we considered some defining properties of individual states. We, next,
define properties of chains which are common properties of states in the chain.
A Markov chain may contain some states which are transient, some which are
persistent, absorbing states, and so on. The persistent states can be part of
closed subchains. A set of states 𝑪 in a Markov chain is said to be closed if any
state within 𝑪 , and no state outside 𝑪 can be reached from any state inside 𝑪.
Algebraically a necessary and sufficient condition for this to be the case is that
𝒑𝒊𝒋 = 𝟎 ∀ 𝑿𝒊 ∈ 𝑪 𝒂𝒏𝒅 ∀ 𝑿𝒋 ∉ 𝑪.
An absorbing state is closed with just one state. Note also that a closed subset
is itself an irreducible subchain of the full Markov chain.
# Discuss the status of each state in the 6-state Markov chain with transition matrix
0.5 0.5 0 0 0 0
0.25 0.75 0 0 0 0
𝑃 = 0.25 0.25 0.25 0.25 0 0
0.25 0 0.25 0.25 0 0.25
0 0 0 0 0.50 0.50
0 0 0 0 0.50 0.50
Fig.6
(c) Ergodic chains
As we have seen all the states in an irreducible chain belong to the same class. If all
states are ergodic , that is , persistent , nonnull , and aperiodic , then the chain is
described as an ergodic chain.
Sol. This chain has been considered earlier where it was shown to be irreducible and
irregular, which means that all states must be persistent, nonull, and aperiodic.
Hence all states are ergodic.
# Consider the three –state Markov chain with transition matrix
𝟏ൗ 𝟒ൗ
𝟓 𝟓 𝟎
𝐏= 𝟎 𝟎 𝟏 .
𝟏 𝟎 𝟎
Show that all states are ergodic. Find the eigenvalues of 𝐏 and 𝐐 = 𝐥𝐢𝐦 𝐏 𝐧 .
𝐧→∞
Determine the mean recurrence times 𝛍𝟏 , 𝛍𝟐 , 𝛍𝟑 for each state, and conform that
the rows of 𝐐 all have elements 𝟏Τ𝛍𝟏 , 𝟏Τ𝛍𝟐 , 𝟏Τ𝛍𝟑 .
Sol.: It is easy to check that 𝑷𝟒 is a positive matrix, which implies that the chain is
ergodic. The eigen values of 𝑷 are given by
𝟏 𝟒
−𝝀 𝟎 𝟏 𝟐 𝟒
𝒅𝒆𝒕 𝑷 − 𝝀𝑰𝟑 = 𝟓 𝟓 𝟑
= −𝝀 + 𝝀 +
𝟎 −𝝀 𝟏 𝟓 𝟓
𝟏 𝟎 −𝝀
𝟏
= 𝟏 − 𝝀 𝟓𝝀𝟐 + 𝟒𝝀 + 𝟒 = 𝟎.
𝟓
Hence the eigenvalues can be denoted by
𝟐 𝟒 𝟐 𝟒
𝝀𝟏 = 𝟏, 𝝀𝟐 = − + 𝒊 , 𝝀𝟑 = − − 𝒊
𝟓 𝟓 𝟓 𝟓
The corresponding eigenvalues are
2 4 2 4
1 − + 𝑖 − − 𝑖
5 5 5 5
𝑟1 = 1 , 𝑟2 = 1 , 𝑟3 = 1
1 − −𝑖 − +𝑖
2 2
1 1
The first returns 𝑓𝑖 (𝑛) for each of the states can be easily calculated from the
transition diagram, Fig.7. Thus
(1) 1 (2) (3) 4 4
𝑓1 = , 𝑓1 = 0, 𝑓1 = . 1.1 = ,
5 5 5
4 1 𝑛−3
𝑓2 (1) = 𝑓3 (1) = 0, 𝑓2 (2) = 𝑓3 (2) = 0, 𝑓2 (𝑛) = 𝑓3 (𝑛) = 5 5 ,n≥ 3
Hence
∞
1 4 13
𝜇1 = 𝑛𝑓1 (𝑛) = +3 =
5 5 5 Fig.7
𝑛=1
∞ ∞ 𝑛−3
(𝑛) 4 1 13
𝜇2 = 𝜇3 = 𝑛𝑓2 = 𝑛 =
5 5 4
𝑛=1 𝑛=3
The vector reciprocals
1 1 1 5 4 4
=
𝜇1 𝜇2 𝜇3 13 13 13
Agrees with the vector 𝑝Ԧ above calculated by the eigenvalue method.
END