In this section and the following three sections, we will study gambling strategies for one of the simplest gambling models. Yet in spite of the simplicity of the model, the mathematical analysis leads to some beautiful and sometimes surprising results that have importance and application well beyond gambling. Our exposition is based primarily on the classic book by Dubbins and Savage, Inequalities for Stochastic Processes (How to Gamble if You Must).

Here is the basic situation: The gambler starts with an initial sum of money. She bets on independent, probabilistically identical games, each with two outcomes--win or lose. If she wins a game, she receives the amount of the bet on that game; if she loses a game, she must pay the amount of the bet. Thus, the gambler plays at even stakes. This particular situation (IID games and even stakes) is known as red and black and is named after the casino game roulette. Other examples are the *pass* and *don't pass* bets in craps.

Let us try to formulate the gambling experiment mathematically. First, let $I_{n}$ denote the outcome of the $(n)$ game for $n\in $, where 1 denotes a win and 0 denotes a loss. These are independent indicator random variables with the same distribution:

$$(I_{j}=1)=p\text{,\hspace{1em}}(I_{j}=0)=q=1-p$$where $p\in \left[0 , 1\right]$ is the probability of winning an individual game. Thus, $I=\left(\begin{array}{c}I_{1}\\ I_{2}\\ \end{array}\right)$ is a sequence of Bernoulli trials.

If $p=0$, then the gambler always loses and if $p=1$ then the gambler always wins. These trivial cases are not interesting, so we will usually assume that $0< p< 1$. In real gambling houses, of course, $p< 1/2$ (that is, the games are unfair to the player), so we will be particularly interested in this case.

The gambler's fortune over time is the basic random process of interest: Let $X_{0}$ denote the gambler's initial fortune and $X_{i}$ the gambler's fortune after $i$ games. The gambler's strategy consists of the decisions of how much to bet on the various games and when to quit. Let $Y_{i}$ denote the amount of the $(i)$ bet, and let $N$ denote the number of games played by the gambler. If we want to, we can always assume that the games go on forever, but with the assumption that the gambler bets 0 on all games after $N$. With this understanding, the game outcome, fortune, and bet processes are defined for all times $i\in $.

Show that the fortune process is related to the wager process as follows:

$$X_{j}=X_{j-1}-2I_{j}Y_{j}\text{,\hspace{1em}}j\in \{1, 2, \}$$The gambler's strategy can be very complicated. For example, the random variable $Y_{n}$, the gambler's bet on game $n$, or the event $N=n-1$, her decision to stop after $n-1$ games, could be based on the entire past history of the game, up to time $n$:

$$H_{n}=\left(\begin{array}{c}X_{0}\\ Y_{1}\\ I_{1}\\ Y_{2}\\ I_{2}\\ \\ Y_{n-1}\\ I_{n-1}\end{array}\right)$$Moreover, they could have additional sources of randomness. For example a gambler playing roulette could partly base her bets on the roll of a lucky die that she keeps in her pocket. However, the gambler cannot see into the future (unfortunately from her point of view), so we can at least assume that $Y_{n}$ and $\{N=n-1\}$ are independent of $\left(\begin{array}{c}I_{n}\\ I_{n+1}\\ \end{array}\right)$

We will now show that, at least in terms of expected value, any gambling strategy is futile if the games are unfair.

Use the result of Exercise 1 and the assumption of no prescience to show that

$$(X_{i})=(X_{i-1})-2p(Y_{i})\text{,\hspace{1em}}i\in $$Suppose that the gambler has a positive probability of making a real bet on game $i$, so that $(Y_{i})> 0$. Use the result of Exercise 2 to show that

- $(X_{i})< (X_{i-1})$ if $p< 1/2$
- $(X_{i})> (X_{i-1})$ if $p> 1/2$
- $(X_{i})=(X_{i-1})$ if $p=1/2$

Exercise 3 shows that on any game in which the gambler makes a positive bet, her expected fortune strictly decreases if the games are unfair, remains the same if the games are fair, and strictly increases if the games are favorable.

As we noted earlier, a general strategy can depend on the past history and can be randomized. However, since the underlying Bernoulli games are independent, one might guess that these complicated strategies are no better than simple strategies in which the amount of the bet and the decision to stop are based only on the gambler's current fortune. These simple strategies do indeed play a fundamental role and are referred to as stationary, deterministic strategies. Such a strategy can be described by a betting function $S$ from the space of fortunes to the space of allowable bets, so that $S(x)$ is the amount that the gambler bets when her current fortune is $x$.

From now on, we will assume that the gambler's stopping rule is a very simple and standard one: she will bet on the games until she either loses her entire fortune and is ruined or reaches a fixed target fortune $a$:

$$N=\min\{(X_{n}=0)\lor (X_{n}=a)\mid (X_{n}=0)\lor (X_{n}=a)\}$$Thus, any strategy (betting function) $S$ must satisfy $S(x)\le \min\{x , a-x\}$ for $0\le x\le a$: the gambler cannot bet what she does not have, and will not bet more than is necessary to reach the target $a$.

If we want to, we can think of the difference between the target fortune and the initial fortune as the entire fortune of the house. With this interpretation, the player and the house play symmetric roles, but with complementary win probabilities: play continues until either the player is ruined or the house is ruined. Our main interest is in the final fortune $X_{N}$ of the gambler. Note that this random variable takes just two values; 0 and $a$.

Show that the mean and variance of the final fortune are given by

- $(X_{N})=a(X_{N}=a)$
- $\sigma(X_{N})^2=a^{2}(X_{N}=a)(1-(X_{N}=a))$

Presumably, the gambler would like to maximize the probability of reaching the target fortune. Is it better to bet small amounts or large amounts, or does it not matter? How does the optimal strategy, if there is one, depend on the initial fortune, the target fortune, and the game win probability?

We are also interested in
$(N)$,
the expected number of games played. Perhaps a secondary goal of the gambler is to maximize the expected number of games that she gets to play. Are the two goals compatible or incompatible? That is, can the gambler maximize both her probability of reaching the target *and* the expected number of games played, or does maximizing one quantity necessarily mean minimizing the other?

In the next two sections, we will analyze and compare two strategies that are in a sense opposites:

- Timid Play: On each game, until she stops, the gambler makes a small constant bet, say $1.
- Bold Play: On each game, until she stops, the gambler bets either her entire fortune or the amount needed to reach the target fortune, whichever is smaller.

In the final section of the chapter, we will return to the question of optimal strategies.