How do you find the stationary distribution of a Markov chain?
Conditions
- is the transition matrix of the Markov chain.
- is a row vector of probabilities.
Reasoning, step by step
- Set up the equation .
- Expand this matrix equation into a system of scalar linear equations.
- Recognize that these equations are linearly dependent and provide only independent constraints for states.
- Add the normalization constraint as the final independent equation.
- Solve the resulting system of linear equations for the components of .
Example
The speaker says, "And to find such a distribution, we typically just solve this system of linear equations, pi P is equal to pi." Later, for a two-state chain, he adds the normalization condition to solve for the unique stationary vector.
Common misconceptions
- Assuming that solving alone yields a unique solution; it always yields an underdetermined system without the normalization constraint.
- Forgetting that must be a row vector, not a column vector, when multiplying by .
Watch the explanation
Connected concepts
Explore next
Related questions
The equations derived from are linearly dependent because the rows of the transition matrix sum to 1. This implies that the sum of the equations is identically zero, leaving only independent constraints for states.
Conditions: is a stochastic matrix (rows sum to 1).; is a row vector of probabilities.
The stationary distribution is the row vector .
Conditions: The transition matrix is .; is a row vector satisfying and .
A stationary distribution (also called an invariant distribution) is a probability distribution row vector that remains unchanged when multiplied by the transition matrix of a Markov chain. This means that if the system starts in this distribution, it will remain in this distribution at all future time steps.
Conditions: is a row vector.; is the transition matrix of the Markov chain.; The elements of are non-negative and sum to 1.
We add the equation because is a valid probability distribution, meaning its elements must sum to 1. This provides the second independent equation needed to solve the underdetermined system created by the redundant balance equations.
Conditions: is a probability distribution over the states.; The state space has exactly two states, a and b.
By substituting into , we get . Combining the terms yields , and solving for gives .
Conditions: The balance equation gives , which rearranges to .; The normalization equation is .
Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.