the stationary (invariant) distribution
Suppose you found a way to spread probability over the states so that, after one step of the chain, the spread looks exactly the same as before. Nothing flows on net; the picture is frozen even though individual tokens keep moving. That self-reproducing distribution is the stationary distribution — the chain's equilibrium, the way it 'wants' to be distributed once it has run for a long time.
A row vector pi (with non-negative entries summing to 1) is stationary if pi P = pi: applying one step leaves it unchanged. Writing it out, pi(j) = sum over all i of pi(i) P(i, j) for every j — the probability flowing INTO each state j exactly equals the probability already there. To find pi you solve this linear system: the balance equations pi P = pi together with the normalisation sum of pi(i) = 1. It is an eigenvector problem — pi is the left eigenvector of P for eigenvalue 1 — that small linear algebra cracks open.
For an irreducible positive-recurrent chain the stationary distribution exists and is unique, and pi(i) equals one over the expected return time to i — states you return to quickly carry more equilibrium weight. Crucially, stationary is NOT the same as limiting: every limiting distribution is stationary, but a periodic chain has a perfectly good stationary pi it never converges to. The stationary distribution is the backbone of PageRank, of queueing analysis, and of every Markov chain Monte Carlo method that engineers a chain whose equilibrium is the distribution you wish to sample.
Weather P has rows (0.8, 0.2) and (0.4, 0.6). Solve pi P = pi with pi = (a, b): a = 0.8a + 0.4b and a + b = 1. The first gives 0.2a = 0.4b, so a = 2b; with a + b = 1 this yields pi = (2/3, 1/3). Check: (2/3, 1/3) P = (2/3, 1/3). So long-run, two-thirds of days are sunny.
Solve pi P = pi with the entries summing to 1; the answer is the chain's long-run equilibrium.
A stationary distribution may exist without being a limit. Existence and uniqueness need irreducibility plus positive recurrence; convergence TO it additionally needs aperiodicity. Do not assume 'stationary' means 'the chain converges to it'.