Introduction to Probability · Problem 11.1.13

Markov Chains — Grinstead & Snell

Mathematics — Probability · markov-chains-introduction

Problem

Write a program to compute u(n)\mathbf{u}^{(n)} given u\mathbf{u} and P\mathbf{P}. Use this program to compute u(10)\mathbf{u}^{(10)} for the Land of Oz example, with u=(0,1,0)\mathbf{u} = (0, 1, 0), and with u=(1/3,1/3,1/3)\mathbf{u} = (1/3, 1/3, 1/3).
Intuitive explanation

This problem is about iterating a Markov chain forward in time. The key insight is that u(n)=uPn\mathbf{u}^{(n)} = \mathbf{u} \mathbf{P}^n—you're applying the transition matrix P\mathbf{P} repeatedly to see how a probability distribution evolves after nn steps. Starting from different initial states (like "definitely in state 2" or "equally likely in any state"), you'll watch the system converge toward its long-run behavior.

Intuitive explanation

This problem is about iterating a Markov chain forward in time. The key insight is that u(n)=uPn\mathbf{u}^{(n)} = \mathbf{u} \mathbf{P}^n—you're applying the transition matrix P\mathbf{P} repeatedly to see how a probability distribution evolves after nn steps. Starting from different initial states (like "definitely in state 2" or "equally likely in any state"), you'll watch the system converge toward its long-run behavior.

Related theory

Browse the problem library