The expected value of an indicator random variable is the probability of its event. For a simple symmetric random walk absorbed at , the gambler's ruin success probability from is . Hence
The boundary values are at the left exit and at chamber .
Let . Time is accumulated in each transient chamber before the next move; arrival at either terminal state ends the trial immediately. Thus . A block of identical rightward choices forces absorption, so the geometric tail bound from a uniform escape probability gives finite expected value of .
First-step analysis now gives
The quadratic has the correct boundary values and second difference , so it solves this system. The difference of two solutions would be linear in with zero values at both endpoints, hence zero. Therefore
This is the expected duration of symmetric gambler's ruin. It includes the first minute in the starting transient chamber and does not add a minute after absorption.
Write and . Since , the latter expected value is finite. Conditional on the first move to or , total time is one plus the remaining time, while the terminal success indicator random variable is unchanged. The Markov property and linearity of expectation give
At either absorbing boundary the remaining time is zero, so .
Let . The linear term has zero second difference and has second difference . Consequently
which is exactly the required recurrence, and . Uniqueness follows as before: the difference of two solutions has zero second difference and zero endpoint values. Hence
This is the success-weighted duration underlying the duration of gambler's ruin conditioned on a chosen boundary.
For , the success probability is , and the definition of conditional expectation on an event gives
Therefore
At the value is zero because the trial has already ended. At the left absorbing state , conditioning on success would be undefined because it has zero probability. The formula concerns the successful trajectories, so it need not equal the unconditional mean .

Articles by others on the same topic (0)

There are currently no matching articles.