Solve balance equations to find the long-term equilibrium probabilities of Markov chains
A stationary distribution π is a probability distribution that satisfies:
where and
Each component satisfies:
This means the "flow into" state j equals the probability of being in state j.