4.10.27 · D5Advanced Topics (Elite Level)
Question bank — Stochastic processes — Markov chains, steady-state, random walks
A quick vocabulary refresh so nothing below is a surprise:
- State = one of the possible "places" the system can be in (a lily pad, a weather type, a position on a line).
- Transition matrix = the table of jump probabilities; entry is the chance of going from state to state in one step.
- Distribution = a row vector listing, for the current moment, the probability of being in each state.
- Stationary distribution = the special distribution that satisfies : run one more step and nothing about the probabilities changes.
True or false — justify
The chain still jumps around forever once it reaches stationarity
True — stationarity freezes the distribution, not the wandering; individual trajectories keep hopping every step, the fractions of time on each state just stop changing.
Every transition matrix has as an eigenvalue
True — the all-ones column vector satisfies because each row sums to , so is always a right eigenvalue (and hence a left one too).
A stochastic matrix can have eigenvalue
False — no eigenvalue can exceed in magnitude for a row-stochastic matrix, since probabilities never amplify total mass; the spectral radius is exactly .
If holds, then is automatically a valid probability distribution
False — you also need and ; the equation alone is satisfied by scalar multiples and even sign-mixed left eigenvectors.
Every Markov chain converges to a unique stationary distribution
False — you need irreducibility (all states reachable) and aperiodicity; a periodic or reducible chain can fail to converge or have many stationary vectors.
A symmetric random walk on the integers drifts away from the origin on average
False — the signed average position is exactly for all ; what grows is the spread , so it strays far but with no directional bias.
For the fair gambler's ruin on , the probability of reaching from state is
True — first-step analysis gives , whose only solution with is the straight line .
Multiplying (column style) gives the next distribution
False — because we summed the law of total probability over the current state (the row index), the update is with a row vector; answers a different, wrong question.
Two different starting distributions on an irreducible aperiodic chain end up at the same long-run distribution
True — under Perron–Frobenius the stationary is unique and globally attracting, so the starting point is forgotten in the limit.
A chain with a self-loop at every state (each ) can still be periodic
False — any self-loop lets you "stay put" for one step, breaking every forced cycle, so a self-loop guarantees aperiodicity at that state.
Spot the error
"Steady-state means the frog stops on one lily pad forever."
Wrong — the frog keeps hopping; only the fraction of time spent on each pad settles. Stationarity is a statement about the distribution, never about a frozen frog.
" so is a right eigenvector of with eigenvalue ."
Wrong direction — makes a left eigenvector; the right eigenvector for eigenvalue is the all-ones column , a different object.
"Since steps in a random walk cancel on average, the walker basically stays at the origin."
Wrong — the mean is but the variance is , so a typical walker is about away; cancellation of the average is not the same as staying home.
"The chain is memoryless, so its next state is independent of its current state."
Wrong — memoryless means independent of the past path given the present, not independent of the present; the next state depends entirely on the current state through .
"To get multiply by ."
Wrong — you multiply by repeated times, i.e. the matrix power , not by the scalar-times-matrix ; repeated stepping is composition, not scaling.
"Rows of sum to , so columns must too."
Wrong — only rows are guaranteed to sum to (row-stochastic); columns summing to (doubly stochastic) is a special extra property, e.g. the uniform then being stationary.
"Because variance adds, the walker's position after steps grows linearly like ."
Wrong — variance grows like , but distance is the standard deviation ; confusing variance with spread inflates the growth rate.
Why questions
Why is memorylessness what makes a Markov chain computable at all
Because it collapses the entire unbounded history into a single current state, so the whole dynamics fit into one fixed matrix instead of a rule that grows with time.
Why must every row of the transition matrix sum to exactly
From any state you must land somewhere next step, and the probabilities of all destinations exhaust certainty: .
Why does the stationary equation read "inflow = sitting there" for each state
The balance says the total probability flowing into from all states equals the probability already at ; that equality is exactly what makes the distribution stop changing.
Why do we use eigenvalues to find the steady state
Because literally is the eigenvector equation for eigenvalue , so the tool that finds "vectors a matrix leaves unchanged" is precisely the tool that finds stationary distributions.
Why does the random-walk spread grow like rather than
The steps have mean so their sum has mean , but independent variances add to ; spread is the square root of variance, giving — the diffusion signature linked to the Central Limit Theorem.
Why does first-step analysis work for gambler's ruin
Conditioning on the first coin flip and using memorylessness restarts an identical chain at , turning the problem into the recurrence .
Why is the update and not
We applied the Law of Total Probability summing over the current state , which is the row index; summing a row vector against columns of is exactly the left product .
Why can a random walk on all integers have no stationary distribution
The state space is infinite and the walk is not positive-recurrent; there is no way to assign nonnegative numbers summing to that stay balanced, so probability "leaks to infinity."
Edge cases
If a chain is periodic with period , does a stationary distribution exist
Yes, can still solve , but oscillates between two patterns and never converges to — existence and convergence are separate guarantees.
What happens to gambler's ruin when the walk starts already at or at
Those are absorbing boundary cases: and by definition, since you have already lost or already won before any step.
For a symmetric walk, what is and at zero steps
Both are — with no steps taken the walker is deterministically at the origin, so there is no mean displacement and no spread yet.
If the chain is reducible into two isolated sub-chains, how many stationary distributions are there
Infinitely many — each sub-chain has its own stationary vector, and any weighted average of them is also stationary, destroying uniqueness.
What does the identity matrix describe as a Markov chain
A chain where every state is absorbing (you never leave), so every probability distribution is stationary and nothing ever converges to a single one.
Does a chain with a single closed communicating class but a transient state still have a unique
Yes — the stationary distribution lives entirely on the closed recurrent class and assigns probability to the transient states, and it is unique despite the chain not being fully irreducible.
In Google PageRank, why is a "damping"/teleport term added to the web transition matrix
To force irreducibility and aperiodicity on a web graph full of dangling and disconnected pages, guaranteeing a unique, convergent stationary distribution — the PageRank vector.
Connections
- Linear Algebra — Eigenvalues and Eigenvectors (why is an eigen-problem)
- Perron–Frobenius Theorem (uniqueness & convergence traps)
- Law of Total Probability (why , not )
- Central Limit Theorem (the spread)
- Diffusion and Brownian Motion (variance-adds intuition)
- Google PageRank (damping fixes the edge cases)