Grinstead-Snell-Probability · Problem 11.2.23

Markov Chains

Mathematics · absorbing-markov-chains

Problem

A gambler plays a game in which on each play he wins one dollar with probability pp and loses one dollar with probability q=1−pq = 1 - p. The Gambler's Ruin problem is the problem of finding the probability wxw_x of winning an amount TT before losing everything, starting with state xx. Show that this problem may be considered to be an absorbing Markov chain with states 0,1,2,…,T0, 1, 2, \ldots, T with 0 and TT absorbing states. Suppose that a gambler has probability p=.48p = .48 of winning on each play. Suppose, in addition, that the gambler starts with 50 dollars and that T=100T = 100 dollars. Simulate this game 100 times and see how often the gambler is ruined. This estimates w50w_{50}.

Related theory

Browse the problem library