Overview¶
Consider two gamblers with finite resources who repeatedly play the same game against each other. Using the tools of conditional probability, we can calculate the probability that each of the gamblers will eventually lose all of his money to the opponent.
2.4.1 Statement of the Problem¶
Suppose that two gamblers and are playing a game against each other. Let be a given number (), and suppose that on each play of the game, the probability that gambler will win one dollar from gambler is and the probability that gambler will win one dollar from gambler is . Suppose also that the initial fortune of gambler is dollars and the initial fortune of gambler is dollars, where and are given positive integers. Thus, the total fortune of the two gamblers is dollars. Finally, suppose that the gamblers play the game repeatedly and independently until the fortune of one of them has been reduced to 0 dollars. Another way to think about this problem is that is a casino and is a gambler who is determined to quit as soon he wins dollars from the casino or when he goes broke, whichever comes first.
We shall now consider this game from the point of view of gambler . His initial fortune is dollars and on each play of the game his fortune will either increase by one dollar with a probability of or decrease by one dollar with a probability of . If , the game is favorable to him; if , the game is unfavorable to him; and if , the game is equally favorable to both gamblers. The game ends either when the fortune of gambler reaches dollars, in which case gambler will have no money left, or when the fortune of gambler reaches 0 dollars. The problem is to determine the probability that the fortune of gambler will reach dollars before it reaches 0 dollars. Because one of the gamblers will have no money left at the end of the game, this problem is called the Gambler’s Ruin problem.
Solution of the Problem¶
We shall continue to assume that the total fortune of the gamblers and is dollars, and we shall let denote the probability that the fortune of gambler will reach dollars before it reaches 0 dollars, given that his initial fortune is dollars. We assume that the game is the same each time it is played and the plays are independent of each other. It follows that, after each play, the Gambler’s Ruin problem essentially starts over with the only change being that the initial fortunes of the two gamblers have changed. In particular, for each , each time that we observe a sequence of plays that lead to gambler ’s fortune being dollars, the conditional probability, given such a sequence, that gambler wins is . If gambler ’s fortune ever reaches 0, then gambler is ruined, hence . Similarly, if his fortune ever reaches , then gambler has won, hence . We shall now determine the value of for .
Let denote the event that gambler wins one dollar on the first play of the game, let denote the event that gambler loses one dollar on the first play of the game, and let denote the event that the fortune of gambler ultimately reaches dollars before it reaches 0 dollars. Then
$$
$$ {#eq-2-4-1}
Since the initial fortune of gambler is dollars (), then . Furthermore, if gambler wins one dollar on the first play of the game, then his fortune becomes dollars and the conditional probability that his fortune will ultimately reach dollars is therefore . If loses one dollar on the first play of the game, then his fortune becomes dollars and the conditional probability that his fortune will ultimately reach dollars is therefore $a_{i−1}. Hence, by eq-2-4-1,
{#eq-2-4-2}
We shall let in eq-2-4-2. Then, since and , we obtain the following equations:
$$
$$ {#eq-2-4-3}
If the value of on the left side of the th equation is rewritten in the form and some elementary algebra is performed, then these equations can be rewritten as follows:
$$
$$ {#eq-2-4-4}
By equating the sum of the left sides of these equations with the sum of the right sides, we obtain the relation
{#eq-2-4-5}
Solution for a Fair Game: Suppose first that . Then , and it follows from eq-2-4-5 that , from which . In turn, it follows from the first equation in eq-2-4-4 that , it follows from the second equation in eq-2-4-4 that , and so on. In this way, we obtain the following complete solution when :
{#eq-2-4-6}
Example 2.4.1: The Probability of Winning in a Fair Game¶
Suppose that , in which case the game is equally favorable to both gamblers; and suppose that the initial fortune of gambler is 98 dollars and the initial fortune of gambler is just two dollars. In this example, and . Therefore, it follows from eq-2-4-6 that there is a probability of 0.98 that gambler will win two dollars from gambler before gambler wins 98 dollars from gambler .
Solution for an Unfair Game: Suppose now that . Then eq-2-4-5 can be rewritten in the form
{#eq-2-4-7}
Hence,
{#eq-2-4-8}
Each of the other values of for can now be determined in turn from the equations in eq-2-4-4. In this way, we obtain the following complete solution:
{#eq-2-4-9}
Example 2.4.2: The Probability of Winning in an Unfavorable Game¶
Suppose that , in which case the probability that gambler will win one dollar on any given play is smaller than the probability that he will lose one dollar. Suppose also that the initial fortune of gambler is 99 dollars and the initial fortune of gambler is just one dollar. We shall determine the probability that gambler will win one dollar from gambler before gambler wins 99 dollars from gambler .
In this example, the required probability is given by eq-2-4-9, in which , , and . Therefore,
Hence, although the probability that gambler will win one dollar on any given play is only 0.4, the probability that he will win one dollar before he loses 99 dollars is approximately .
Summary¶
We considered a gambler and an opponent who each start with finite amounts of money. The two then play a sequence of games against each other until one of them runs out of money. We were able to calculate the probability that each of them would be the first to run out as a function of the probability of winning the game and of how much money each has at the start.
Exercises¶
Exercise 2.4.1¶
Consider the unfavorable game in Div. This time, suppose that the initial fortune of gambler is dollars with . Suppose that the initial fortune of gambler is dollars. Show that the probability is greater than that gambler loses dollars before winning dollars.
Exercise 2.4.2¶
Consider the following three different possible conditions in the gambler’s ruin problem:
a. The initial fortune of gambler is two dollars, and the initial fortune of gambler is one dollar. b. The initial fortune of gambler is 20 dollars, and the initial fortune of gambler is 10 dollars. c. The initial fortune of gambler is 200 dollars, and the initial fortune of gambler is 100 dollars.
Suppose that . For which of these three conditions is there the greatest probability that gambler will win the initial fortune of gambler before he loses his own initial fortune?
Exercise 2.4.3¶
Consider again the three different conditions (a), (b), and (c) given in Div, but suppose now that . For which of these three conditions is there the greatest probability that gambler will win the initial fortune of gambler before he loses his own initial fortune?
Exercise 2.4.4¶
Consider again the three different conditions (a), (b), and (c) given in Div, but suppose now that . For which of these three conditions is there the greatest probability that gambler will win the initial fortune of gambler before he loses his own initial fortune?
Exercise 2.4.5¶
Suppose that on each play of a certain game, a person is equally likely to win one dollar or lose one dollar. Suppose also that the person’s goal is to win two dollars by playing this game. How large an initial fortune must the person have in order for the probability to be at least 0.99 that she will achieve her goal before she loses her initial fortune?
Exercie 2.4.6¶
Suppose that on each play of a certain game, a person will either win one dollar with probability or lose one dollar with probability . Suppose also that the person’s goal is to win two dollars by playing this game. How large an initial fortune must the person have in order for the probability to be at least 0.99 that he will achieve his goal before he loses his initial fortune?
Exercise 2.4.7¶
Suppose that on each play of a certain game, a person will either win one dollar with probability or lose one dollar with probability . Suppose also that the person’s goal is to win two dollars by playing this game. Show that no matter how large the person’s initial fortune might be, the probability that she will achieve her goal before she loses her initial fortune is less than .
Exercise 2.4.8¶
Suppose that the probability of a head on any toss of a certain coin is (), and suppose that the coin is tossed repeatedly. Let denote the total number of heads that have been obtained on the first tosses, and let denote the total number of tails on the first tosses. Suppose that the tosses are stopped as soon as a number is reached such that either or . Determine the probability that when the tosses are stopped.
Exercise 2.4.9¶
Suppose that a certain box contains five balls and another box contains 10 balls. One of these two boxes is selected at random, and one ball from the selected box is transferred to the other box. If this process of selecting a box at random and transferring one ball from that box to the other box is repeated indefinitely, what is the probability that box will become empty before box becomes empty?