|
:: Gambler's Ruin Problem ::
Suppose two players P and Q are playing a gambling game until one of
them has everything and the other is ruined. What is the probability that
P will win everything? To answer this question, we can use any game where
the probabilities of winning and losing are known.
For each play, P wagers £1 and receives £2 with probability
and nothing with probability ,
i.e. gains or loses £1. In the real world, if Q were to be the casino,
P would find that .
Suppose the total amount of money between P and Q is £a and at some
stage P has £x and Q has £(a-x). Let the probability of P
winning everything be a function of x, f(x).
A game is played, if P won, he would have £(x+1), if he lost,
he would have £(x-1) instead. Now if his fortune is £(x+1),
his chances of winning everything is f(x+1), and f(x-1) if his fortune
is £(x-1). Since the probability of winning a game is
and losing the game ,
with a starting capital of x, where ,
we have the basic equation:
![[Graphics:Images/gamblersruin_gr_7.gif]](Images/gamblersruin_gr_7.gif)
and in the limits of
and ,
![[Graphics:Images/gamblersruin_gr_10.gif]](Images/gamblersruin_gr_10.gif)
![[Graphics:Images/gamblersruin_gr_11.gif]](Images/gamblersruin_gr_11.gif)
To solve the basic equation, we can try the solution
![[Graphics:Images/gamblersruin_gr_12.gif]](Images/gamblersruin_gr_12.gif)
for some .
This satisfies the basic equation, as shown below
![[Graphics:Images/gamblersruin_gr_14.gif]](Images/gamblersruin_gr_14.gif)
Simplifying gives
![[Graphics:Images/gamblersruin_gr_15.gif]](Images/gamblersruin_gr_15.gif)
which has the solution
![[Graphics:Images/gamblersruin_gr_16.gif]](Images/gamblersruin_gr_16.gif)
Thus
![[Graphics:Images/gamblersruin_gr_17.gif]](Images/gamblersruin_gr_17.gif)
Although both satisfy the basic equation, neither satisfies the criteria
f(0) = 0 and f(a) = 1.Since 1 and
satisfy the basic equation, so does this:
![[Graphics:Images/gamblersruin_gr_19.gif]](Images/gamblersruin_gr_19.gif)
where A and B are constants. For f(0) = 0 and f(a) = 1,
![[Graphics:Images/gamblersruin_gr_20.gif]](Images/gamblersruin_gr_20.gif)
![[Graphics:Images/gamblersruin_gr_21.gif]](Images/gamblersruin_gr_21.gif)
Therefore for ,
![[Graphics:Images/gamblersruin_gr_23.gif]](Images/gamblersruin_gr_23.gif)
This is the solution to the Gambler's Ruin problem, where the
chances of winning everything is given by f(x), for given probability
of winning a game ,
initial stake of
and total stake of .
Extension to Fair Games
The solution above is valid only in situations where ,
for a fair game such as tossing a fair coin where ,
f(x) is reduced to
![[Graphics:Images/gamblersruin_gr_29.gif]](Images/gamblersruin_gr_29.gif)
Mean Number of Rounds before Winning/Losing Everything
The mean or expected number of rounds before P wins or loses everything
is given by (for )
![[Graphics:Images/gamblersruin_gr_31.gif]](Images/gamblersruin_gr_31.gif)
For ,
this is simply
Written by Henry Tang.
Back for more 
|