Professional Documents
Culture Documents
IE3354 - w6 - DTMC - Classification - of - States - and - Long Run - Analysis
IE3354 - w6 - DTMC - Classification - of - States - and - Long Run - Analysis
Stochastic OR
Week 6 – DTMC: Classification of States and Long-Run Analysis
Classification of States
Long Run Behavior of DTMCs
1/18
Classification of States
⚫ It is important to understand the nature of
states in a Markov Chain in order to
characterize the long run behavior.
⚫ If exists, lim 𝑃 𝑋𝑛 = 𝑗 =?
𝑛→∞
2/18
Classification of States
⚫ Different structures affecting the long-run behaviour are possible.
⚫ Some examples:
0 1 2 3 0 1 2 3
0 0.4 0.5 0 0.1 0 0.4 0.5 0 0.1
P= 1 0.7 0.3 0 0 P= 1 0.7 0.3 0 0
2 0 0 0.5 0.5 2 0 0 0.5 0.5
3 0 0.15 0. 50 0.35 3 0 0 0.65 0.35
0 1 2 3 0 1 2 3
0 0.4 0.6 0 0 0 0.4 0.5 0 0.1
3/18
Classification of States
⚫ We will first define the state classification
terminology
⚫ accessible states, states in communication,
equivalence classes, recurrent and transient
states, period of a state, ergodic chains
then, characterize long-run behavior of DTMCs.
4/18
Accessible States
⚫ 𝑖 → 𝑗: State 𝑗 is accessible from state 𝑖 iff
𝑛
⚫ 𝑝𝑖𝑗 > 0 for some 𝑛 ≥ 0
0 1 0 1
Ex1 Ex2
0 1 0 0 0 1
P= P=
1 0 1 1 1 0
0 1 2 3
0 1 0 0.4 0.6 0 0
Ex3 Ex4
0 0.5 0.5 1 0.7 0.3 0 0
P= P=
1 0 1 2 0 0 0.5 0.5
3 0 0 0.65 0.35
5/18
Communication
⚫ 𝑖 ↔ 𝑗: If 𝑖 is accessible from 𝑗 and 𝑗 is
accessible 𝑖, then states 𝑖 and 𝑗 are said to
communicate.
⚫ (symmetry) 𝑖 ↔ 𝑗 ⇒ 𝑗 ↔ 𝑖
⚫ (transitivity) 𝑖 ↔ 𝑗 and 𝑗 ↔ 𝑘 ⇒ 𝑖 ↔ 𝑘
6/18
Equivalence Classes
⚫ The states in an equivalence class are those that communicate with each
other.
0 1 0 1
Ex1 Ex2
0 1 0 0 0 1
P= P=
1 0 1 1 1 0
0 1 2 3
0 1 0 0.4 0.6 0 0
Ex3 Ex4
0 0.5 0.5 1 0.7 0.3 0 0
P= P=
1 0 1 2 0 0 0.5 0.5
3 0 0 0.65 0.35
3 0 0.15 0. 50 0.35 2 3
Ex6: C1={0, 1, 2, 3}
8/18
Recurrent States
⚫ A state is recurrent if, upon leaving this state, it is certain that the
process returns to this state at some point in time.
0 1 2 3
3 0 0.15 0. 50 0.35 2 3
9/18
Recurrent States
𝑛
⚫ 𝑓𝑖𝑖 : the probability that starting from 𝑖, the first return to 𝑖 occurs at
the 𝑛𝑡ℎ transition (distribution of recurrence time).
0 1
⚫ 𝑓𝑖𝑖 = 0 and 𝑓𝑖𝑖 = 𝑝𝑖𝑖
10/18
Recurrent States
⚫ 𝑓𝑖𝑖 : the probability that the process eventually returns to state 𝑖.
∞
𝑛
𝑓𝑖𝑖 = 𝑓𝑖𝑖
𝑛=0
11/18
Transient States
⚫ State 𝑖 is transient if, upon leaving this state, the process
may never return to this state again.
𝑓𝑖𝑖 < 1
12/18
Transient States
⚫ Example
0 1 2 3
0 0.4 0.5 0 0.1 0 1
Ex5
1 0.7 0.3 0 0
P=
2 0 0 0.5 0.5
3 0 0 0.65 0.35 2 3
13/18
Properties
⚫ Recurrence and transience are class properties.
0 0 0.5 0 0.5 0
Ex7
1 1 0 0 0 0
P= 2 0 0 0 0.8 0.2
2 3
3 0 0 0.65 0.35 0
4 0 0 0 0.4 0.6
1 2 3 4
C1={0,1}, transient, period is 2 (d(0) = d(1) = 2) because 𝑝00 = 0, 𝑝00 = 0.5, 𝑝00 = 0, 𝑝00 = 0.5 2 , …
16/18
Ergodicity
⚫ If 𝑑 𝑖 = 1, state 𝑖 is called aperiodic.
17/18
An Ergodic DTMC
0 1 2 3
3 0 0.15 0. 50 0.35 2 3
Ex6: C1={0, 1, 2, 3}
18/18