Markov Chains

Markov chains:

2SAT:

¬…       Rewrite: f (0) - f (1) = 1 and f (k) - f (k + 1) = 2 + f (k - 1) - f (k)

¬…       So f (k) - f (k - 1) = 2k + 1

¬…       deduce f (0) = 1 + 3 + ... + (2n - 1) = n2

¬…       so, find with probability 1/2 in 2n2 time.

¬…       With high probability, find in O(n2log n.

More general formulation: Markov chain

Pr[Xt + 1 = j | X0 = i0, X1 = i1,..., Xt = i] = Pr[Xt + 1 = j | Xt = i] = pij.

Graph of MC:

Stationary distribution:

Things to rule out:

Irreducibility

Persistence/Transience:

Periodicity:

Ergodic:

Fundamental Theorem of Markov chains: Any irreducible, finite, aperiodic Markov chain satisfies:

Justify all except uniqueness here.

Finite irreducible aperiodic implies ergodic

Intuitions for quantities:

Random walks on undirected graphs:

Definitions:

Examples:

general graphs: adjacent vertices:

General graph cover time:

Tighter analysis:

Applications

Testing graph connectivity in logspace.

universal traversal sequences.