Put and . The Markov property and first-step conditioning give . Consider a finite history ending at state and having positive conditional probability given . The chance of eventual absorption at zero after that history is : the future depends only on the present state, and if zero has already been reached, absorption keeps the chain there. If the next state is , this chance is . Bayes' rule therefore gives
This depends on the history only through , proving the conditional Markov property. The conditional transition matrix is
Its row sums are one by harmonicity of , and . State is never visited under the conditioning and is naturally removed; any row assigned there on an enlarged formal state space is immaterial, since conditioning starting at is undefined. State zero stays absorbing. For a random initial law , its conditional law is . This is the Doob h-transform with the absorption probability as harmonic function.
For the simple symmetric walk, solves the linear harmonic recurrence and its boundary values. Thus
In particular, the conditioned chain moves downward with probability one from .
Let be the first hit of in the original walk and let . Its absorption time has finite expectation: from any transient state a run of at most downward steps hits zero with probability at least , giving a geometric tail bound by blocks. First-step conditioning then gives
Equivalently, . The cubic polynomial
has exactly these second differences and boundary values. It is the unique solution, since the difference of any two solutions is a linear sequence vanishing at both endpoints. Conditional on , is the first time in zero, so division by proves
This is the duration of gambler's ruin conditioned on a chosen boundary.