Gambler's Ruin and Hitting Times
You start with units and bet one unit at a time. Each bet wins with probability and loses with probability . You stop when you reach units or lose everything. Two questions follow: how likely is each ending, and how long does the game last?
This is gambler's ruin, a random walk between two absorbing barriers, and it is the most reused setup in interview probability. The same equations answer a particle on a line, a best-of series between two players, a price that must hit a stop or a target first, and a trader with limited capital and a small edge.
The first-step equation
Let be the probability of reaching from . Condition on the first bet:
The rest of this lesson is for subscribers
Unlock every lesson in Advanced Topics in Probability and Statistics, and every other premium course.
Subscribe to continueTest your knowledge
Keep reading Advanced Topics in Probability and Statistics
47 lessons in this course, and every other premium course, on one subscription.
- Every lesson in every course, with the worked examples and interactive simulators
- Graded questions on every lesson, with explanations for the wrong answers as well as the right one
- The trainers, timed assessments and brainteaser library that go with them