Starting with 0 dollars, you repeatedly flip a fair coin, earning $1 each time heads appears, and losing $1 each time tails appears. When your net cash reaches either A or -B, you stop gambling.

As a function of A and B, compute the expected number of flips until the game stops.

Now consider the unstopped version of this process, in which you gamble indefinitely regardless of your current profit or debt. Prove that the expected time till your net cash is +$1 is infinite. Likewise, the expected time till your net cash is -$1 is also infinite.

note that one of these two events must occur upon the first coin flip!

## Share this post

## Link to post

## Share on other sites