Markov chains describe motions of a particle on a set S.
They are foundational in the study of probability and stochastic systems, and they’ll let us test out our formalism.
A Markov chain, named after its creator, Andrei Markov, is composed of three ingredients:
A set of states, S, which is finite or countable;
An initial distribution{νi}i∈S of probabilities of starting in state i and summing to one;
And transition probabilities {pij}i,j∈S which describe the probability of moving from state i to state j.
It is clear that we must have ∑ipij=1.
We also have the more formal definition which follows.
Note that for the above definition to fit with our previous definitions of random variables, we need S⊆R.
However, if we allow for general extensions to spaces with associatee σ-algebras as co-domains of random variables, this isn’t an issue.
It follows almost immediately that
P(X1=j)=i∈S∑νipij.(2)
We can write this in matrix notation for a more compact form, and let’s us use all of our linear algebra tools.
P(X1=j)=[PTν]j,(3)
where pij=[P]ij,P∈R∣S∣×∣S∣ and ν∈R∣S∣.
While this particular notation applies especially when S is finite, it can be extended to linear operators which are infinite.
We simply stop talking about matrices.
Conditional Probabilities
We can view Markov chains from the perspective of conditional probabilities.
Recall that P(A∣B)=P(A∩B)/P(B), provided that P(B)>0.
Intuitively, this is the proportion of the event B which is also contained in the event A.
Thus, for a Markov chain with P(Xk=i)>0, we have
This rigorously shows that this is in fact a valid way to interpret or define Markov chains.
Notice that there’s no dependence on k!
We call this property time-homogeneity.
For the definition we gave above, all Markov chains are time-homogenous.
However, more general definitions of Markov chains allow for this property not to hold.
Notice also that we didn’t define Markov chains using conditional probabilities because this definition does not apply if
P(Xk=i)=0 , which is certainly a possibility.
We can similarly compute n-step transition probabilities:
Notice again that there’s no dependence on k (the indices are only cosmetic).
By convention, we set pij(0)=δij.
An Existence Theorem
If we want to be pedantic, we technically haven’t shown that Markov chains ever exist.
How do we know that such a sequence of random variables can be produced or defined?
We’ll prove it now, and constructively, too!