Math 214 · Linear Algebra

Web Surfers on a Markov Chain

Each dot is a web surfer sitting on a page. At every step, the surfers at node j spread out along the links, with a fraction Pij of them going to node i. Dots keep the color of the node they started at, so you can see the surfers mix.

Examples

Transition matrix P

Row i, column j is the chance a surfer at node j moves to node i. Each column adds up to 1.

Starting distribution x₀

t = 0

Surfers
Moves
Speed

Where the surfers are

Surfers at each node now, their share, the exact distribution P to the t times x0, and the steady state
NodeSurfersShareExact Pᵗx₀