Absorbing Markov Chains

Gambler's ruin example. Transient states (blue) lead to absorbing states (red). Compute expected absorption times via fundamental matrix N=(I−Q)⁻¹.

Fundamental Matrix N = (I−Q)⁻¹

Expected Steps to Absorption