when we find a stationary distribution in markov chain, we get a row vector which when…
- User
when we find a stationary distribution in markov chain, we get a row vector which when multiplied in the matrix doesn't change. this means that the matrix doesn't do linear transformation of it. how this is related to linear algebra, I mean what kind of vector which when multiplied by matrices doesn't effect and don't get linear transformation by the matrix
- Assistant
In linear algebra, a stationary distribution of a Markov chain is related to the notion of eigenvectors and eigenvalues. Specifically, if we have a Markov chain represented by a square matrix P, then a stationary distribution is a row vector π such that πP = π. We can also write this as π(P-I) = 0, where I is the identity matrix.
This equation is similar to the eigenvector equation Av = λv, where A is a matrix, v is an eigenvector, and λ is an eigenvalue. In the case of a stationary distribution, the corresponding eigenvector is the transpose of the row vector π (i.e., π^T), and the eigenvalue λ is equal to 1.
The relation to linear algebra comes through the properties of eigenvectors and eigenvalues. Eigenvectors are special vectors that only get scaled (i.e., they do not change direction) when a linear transformation, represented by a matrix A, is applied to them. The scaling factor is the corresponding eigenvalue λ. So, in the context of Markov chains, a stationary distribution is an eigenvector with eigenvalue 1, and it represents a probability distribution that remains unchanged after the linear transformation (i.e., transition probabilities in the Markov chain) is applied.