Probabilities for a Markov chain can be expressed in terms of the probability vector and the transition matrix
.
For example, for and a function
,
So essentially, multiplication to the left gives probabilities and multiplication to the right gives expectations.
Notation explanation. If the above is unclear, some notation may need explaining. For , we multiply
copies of the matrix
together.1 Interpreting
as a row vector,
is a row vector, and
is the
-th component of that row vector.
Similarly, we can think of the function as a column vector
. Then
is a column vector under matrix multiplication, and
denotes its
-th component.
Throughout these notes, and
.
1 We use for transpose, not
.