Markov Chains
Probability Vector, State Vector, Stochastic Matrix
A vector
A square matrix is called stochastic if its columns are probability vectors.
Given a stochastic matrix
for every nonnegative integers
In a Markov chain, the probability vectors are called state vectors.
Steady State Vector
If
It can be shown that every stochastic matrix has a steady-state vector.
To algebraically determine any steady-state vectors, we start with
Where
Then solve the system for
Given:
Find
Carry the matrix to RREF
Now setting
Since
Regular
An
Let
Example Problem
- In a zombie apocalypse, a person exists in exactly one of two states: human or zombie
- If a person is a human on any given day, then that person will become a zombie on the next day with probability
- If a person is a zombie on any given day, then that zombie has a
chance of being cured the next day - We are interested in computing the probability that a person is a human or zombie
days after the onset of the zombie apocalypse
From | To | |
---|---|---|
Human | Zombie | |
Human | ||
Zombie |
- For example, a zombie has a
chance of staying a zombie - Notice how each column adds up to 1
For
Since
And
This gives us a system of equations
Now let
Since a person cannot be both a human and a zombie, we have
Suppose on day
We can now compute
We can see that the sequence converges to
In fact,
Thus, if the system reaches state
We can also find the steady-state vector algebraically.