Markov chains
P(tomorrow | today)
The idea
A process without memory: the future depends only on the now, not on the past.The board
- Weather: sunny → tomorrow sunny with 0.8, rain with 0.2. Rain → rain 0.5.
- You write the probabilities in a transition matrix P.
- After n days: Pn — matrix multiplication.
- In the long run a stationary distribution π with πP = π settles in — an eigenvector!
The most common mistake
Thinking every random thing is Markov. If the past matters, it isn't.The trick
Text from early chatbots and your phone's autocorrect are Markov chains.Problems
A Markov process remembers…
- the whole past
- only the current state
- nothing
- the last two
Show the answer
only the current state — No memory.