Conditional gambler's ruin problem with arbitrary winning and losing probabilities with applications
Pawe{\l} Lorek, Piotr Markowski

TL;DR
This paper derives formulas for the expected duration of a conditional gambler's ruin game with variable winning and losing probabilities, revealing symmetry properties and constructing optimal strong stationary dual chains for certain random walks.
Contribution
It introduces formulas for conditional game duration with arbitrary probabilities and constructs an optimal strong stationary dual chain for symmetric random walks on circles.
Findings
Expectation of game duration is symmetric when the ratio q(n)/p(n) is constant.
Formulas are applied to non-symmetric random walks on circles/polygons.
Constructed an optimal strong stationary dual chain with a faster absorption time.
Abstract
In this paper we provide formulas for the expectation of a conditional game duration in a finite state-space one-dimensional gambler's ruin problem with arbitrary winning and losing probabilities (i.e., they depend on the current fortune). The formulas are stated in terms of the parameters of the system. Beyer and Waterman [Mathematics Magazine, 50(1), 1977] showed that for the classical gambler's ruin problem the distribution of a conditional absorption time is symmetric in and . Our formulas imply that for non-constant winning/losing probabilities the expectation of a conditional game duration is symmetric in these probabilities (i.e., it is the same if we exchange with ) as long as a ratio is constant. Most of the formulas are applied to a non-symmetric random walk on a circle/polygon. Moreover, for a symmetric random walk on a circle we…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsProbability and Statistical Research · Statistics Education and Methodologies · Sports Analytics and Performance
Conditional gambler’s ruin problem with arbitrary winning and losing probabilities
with applications
Paweł Lorek
Piotr Markowski
Mathematical Institute, University of Wrocław, pl. Grunwaldzki 2/4, 50-384, Wrocław, Poland
Abstract
In this paper we provide formulas for the expectation of a conditional game duration in a finite state-space one-dimensional gambler’s ruin problem with arbitrary winning and losing probabilities (i.e., they depend on the current fortune). The formulas are stated in terms of the parameters of the system. Beyer and Waterman [Mathematics Magazine, 50(1), 1977] showed that for the classical gambler’s ruin problem the distribution of a conditional absorption time is symmetric in and . Our formulas imply that for non-constant winning/losing probabilities the expectation of a conditional game duration is symmetric in these probabilities (i.e., it is the same if we exchange with ) as long as a ratio is constant.
Most of the formulas are applied to a non-symmetric random walk on a circle/polygon. Moreover, for a symmetric random walk on a circle we construct an optimal strong stationary dual chain – which turns out to be an absorbing, non-symmetric, birth and death chain. We apply our results and provide a formula for its expected absorption time, which is a fastest strong stationary time for the aforementioned symmetric random walk on a circle. This way we improve upon a result of Diaconis and Fill [The Annals of Probability, 18(4), 1990], where strong stationary time – however not the fastest – was constructed. Expectations of the fastest strong stationary time and the one constructed by Diaconis and Fill differ by 3/4, independently of a circle’s size.
keywords:
Gambler’s ruin problem , conditional absorption time , random walk on a polygon , random walk on a circle , birth and death chain , strong stationary dual chain , Möbius monotonicity
1 Introduction
The classical gambler’s ruin problem is following. Having initially dollars, , in one step we either win one dollar (i.e., we move to ) with probability , or we lose one dollar (i.e., we move to ) with probability . The game ends when the player reaches (wins the game) or 0 (goes broke). The typical questions one can ask are:
What is the probability of winning (i.e., reaching before [math])?
- 2.
What is the (expected) game duration?
- 3.
What is the (expected) conditional game duration (i.e., game duration given we win or given we lose)?
- 4.
Is the (expected) conditional game duration symmetric in and ?
Similarly, one can consider random walk on : being at state we either move clockwise with a probability (i.e., from to ) or we move counterclockwise with a probability (i.e., we move from to ). We will refer to this as to the classical random walk on a polygon (cf. [15]). Assuming we start at , the typical questions one can ask are:
What is the probability that all vertices have been visited before the particle returns to ?
- 2.
What is the probability that the last vertex visited is ?
- 3.
What is the expected number of moves needed to visit all the vertices?
- 4.
What is the expected additional number of moves needed to return to after visiting all the vertices?
All above questions were answered in the classical settings. Several generalizations were studied. The probability of winning in a gambler’s ruin problem with general winning and losing probabilities (i.e., being probability of moving from to and being the probability of moving from to , with , ) goes back to Parzen [14], revisited in [5]. Siegmund duality based proof is given in [9] (where more general, multidimensional, game is considered). In [8] the questions related to the conditional game duration are answered for the classical gambler’s ruin problem with ties allowed, i.e., (with probability we can stay at a given state). In [7] author considers specific generalization, namely (thus the probability of staying is ) and answers the question about the winning probability and the expected game duration (and also considers the corresponding diffusion process). In this paper we present formulas for the expected (conditional) absorption time in terms of parameters of the system (i.e., winning/losing probabilities ). Similar problem was considered in [4], the recursion for the expected conditional game duration is given therein (equations (3.4) and (3.5)), however it is not solved in its general form – later on author considers only constant winning/losing probabilities. In [6] (similar results with different proofs are presented in [13]) the generating function of absorption time (including a conditional one) is given in terms of eigenvalues of a transition matrix and eigenvalues of a truncated transition matrix. The questions for the classical random walk on a polygon were answered in [15]. Some generalizations (rather then allowing arbitrary winning/losing probabilities, symmetric random walks on tetrahedra, octahedra, and hexahedra, are considered) are studied in [16].
In 1977 in [2] it was shown that for a classical gambler’s ruin problem with , the distribution of a conditional game duration is symmetric in and , i.e., it is the same as in a game with and . In 2009 in [8] it was extended to a case (i.e., the classical case with ties allowed). In this paper we show that that the expected conditional game duration is symmetric also for non-constant winning/losing probabilities as long as is constant (thus, including for example the spatially non-homogeneous case).
In Section 2 we introduce gambler’s ruin problem with arbitrary winning and losing probabilities together with main results. In Section 2.1 the main result is applied to constant , in Section 2.2 it is applied to non-homogeneous case, whereas the classical case is recalled in Section 2.3. The main example is given in Section 2.4. The results are applied to a random walk on polygon in Section 4. Last Section 5 contains proofs of main results.
2 Gambler’s ruin problem
Fix an integer . Let
[TABLE]
where and for . Consider a Markov chain on with transition probabilities
[TABLE]
We will refer to starting at as to the (gambler’s ruin) game . Note that the chain will eventually end up in either in (the winning state) or in [math] (the losing state). To simplify some notation, let for .
Define . We will study the following smaller games with as the winning state and as the losing state (), i.e., . Let us define:
[TABLE]
In other words: is the probability that a gambler starting with dollars wins in the smaller game; is the distribution of a game duration (time till gambler either wins or goes broke); is the distribution of conditioned on (winning) and similarly is the distribution of conditioned on (losing).
Notation. For given rates by we understand new rates . For some random variable (one of ) for a game with rates , by we understand the random variable defined for a game with rates (and similarly, e.g., is an expectation of defined for such a game). We say that () is symmetric in and if ().
By we mean . In this section we use the convention: empty sum equals [math], empty product equals ; however in Section 4 we use some nonstandard notation, see details on page 3.
In next theorem we provide formulas for expected game duration, for completeness (and since we will need them later) we also include known results for .
Theorem 2.1**.**
Consider the gambler’s ruin problem on described above. We have
[TABLE]
where (with convention ).
The proof of Theorem 2.1 is postponed to Section 5.1.1. We will also need a formula for in case when is the only absorbing state.
Theorem 2.2**.**
Fix and consider a birth and death chain on with rates with and for and for (i.e., is the only absorbing state). Then, the expectation of absorption time, starting from is given by
[TABLE]
Now we go back to situation with two absrobing states, i.e., also . Next theorem (our main contribution) gives the formulas for and . First, let us introduce some necessary notation. With some abuse of notation let us extend
[TABLE]
for (but still ). Note that in such a case we may have thus this has no interpretation in terms of probability anymore.
For given integers such that define
[TABLE]
For given and define
[TABLE]
where is an empty set for and for . Finally, let
[TABLE]
Now we are ready to state our main theorem.
Theorem 2.3**.**
Consider the gambler’s ruin problem on described above. We have
[TABLE]
Moreover, we have
[TABLE]
where is defined for a gambler’s ruin problem with rates and for .
The proof of Theorem 2.3 is postponed to Section 5.1.2.
2.1 Constant
In this section we will apply Theorems 2.1 and 2.3 to a gambler’s ruin problem with constant . The winning probabilities are known (they are the same as in the classical formulation of the problem), we will focus on a game duration. We have
Corollary 2.4**.**
Consider the gambler’s ruin problem on with constant . We have
[TABLE]
Proof.
We have . Simple recalculations of (2.1) yield the result. ∎
For constant we have that (given in (2.3)) for all depends on only through , thus
[TABLE]
where . Moreover, we have , where is the number of subsets of of size containing no consecutive integers 111http://oeis.org/A011973.
The proof of the next corollary requires the following lemma.
Lemma 2.5**.**
Let and . We have
[TABLE]
The proof of Lemma 2.5 is given in Section 5.1.2.
Remark 2.6**.**
Note that the assertion of Lemma 2.5 can be stated in the following form (simply substituting ): for and we have
[TABLE]
These sums for were known ( is the -th Fibonacci number):
[TABLE]
We will give formulas for for several cases ( can be calculated via (2.5)).
Corollary 2.7**.**
Consider the gambler’s ruin problem on with constant . We have:
[TABLE]
Additionally, if is constant (so is then, since is constant) we have
[TABLE]
Proof.
We will only show case , general (the proof for is very similar). Let us calculate first. From (2.8) and form of for we have
[TABLE]
From Theorem 2.3 (eq. (2.6)) and the fact that (since ) we have
[TABLE]
what finishes the proof. ∎
In 1977 Beyer and Waterman [2] showed that for a classical case i.e., for constant birth and death rates such that , the distribution of is symmetric in and (i.e., it has the same distribution for birth rate and death rate ). In 2009 Lengyel [8] showed that this holds also for the classical case with ties allowed, i.e., . In the following theorem we show that is symmetric in and (i.e., it is the same for case with birth deaths and death rates ) as long as is constant.
Theorem 2.8**.**
Consider the gambler’s ruin problem on with constant . We have
[TABLE]
*(i.e., is symmetric in and ). *
Proof.
By (2.5) it is enough to show that .
Let be defined for rates and , whereas be defined for rates and , thus . Since we have .
[TABLE]
what is equal to (2.10). ∎
It is natural to state the following conjecture.
Conjecture 2.9**.**
Consider the gambler’s ruin problem on with constant . Then, the distribution of is symmetric in and .
2.2 The spatially non-homogeneous case
In this Section we consider gambler’s ruin problem with birth rates and death rates , where is a non-negative constant. This is often called the spatially non-homogeneous gambler’s ruin problem. We will thus still consider case with constant , but with specific rates. As far as we are aware, all results in this section, except the one for , are new.
Corollary 2.10**.**
Consider the spatially non-homogeneous gambler’s ruin problem. We have
[TABLE]
Proof.
Applying Corollary 2.4 we have:
Case
[TABLE]
- 2.
Case
[TABLE]
We have
[TABLE]
and
[TABLE]
Thus,
[TABLE]
what was to be shown.
∎
Remark 2.11**.**
Note that for we have i.e., we obtained Proposition 2.1 from [7].
Concerning the conditional game duration (because of (2.7) it is enough to provide formula only for ) we have
Corollary 2.12**.**
Consider the spatially non-homogeneous gambler’s ruin problem. We have
[TABLE]
Proof.
Applying Corollary 2.7 we have:
[TABLE]
- 2.
[TABLE]
Applying (2.5), i.e., , completes the proof. ∎
2.3 The classical case.
For constant winning/losing probabilities we recover known results (all given in Sarkar [15]). We state them here for completeness and will indicate how they can be derived from our more general results.
Corollary 2.13**.**
Consider the gambler’s ruin problem on with constant winning/losing probabilities . We have
[TABLE]
Results for follows from Corollary 2.4 (case ); from Corollary 2.7 eq. (2.11) followed by (2.5); follows from results on and Theorem 2.3 (eq. (2.7)).
2.4 Example
Fix an integer N and some . Consider a gambler’s ruin problem with rates
[TABLE]
with fixed such that . We want to calculate .
2.4.1
We have
[TABLE]
Note that in general (for ) is non-constant, thus we will apply Theorem 2.3. Eq. (2.6) takes form
[TABLE]
We need winning probabilities and , which can be calculated from Theorem 2.1:
[TABLE]
We also need and . We have , thus
[TABLE]
(in the latter the second product was 1, since ).
Finally,
[TABLE]
Special cases:
. Then (2.16) reduces to
[TABLE]
Note that in this case is constant, thus (2.17) could be derived in an easier way using Corollary 2.7:
[TABLE]
what is equivalent to (2.17) in both cases. Note also that this is not a spatially non-homogeneous case as long as .
- 2.
. Then (2.16) (and thus (2.17)) reduces to
[TABLE]
Note that this is a spatially non-homogeneous case, thus (2.18) could be derived from Corollary 2.12 (we skip the calculations).
- 3.
and , then (2.18) reduces to
[TABLE]
This situation corresponds to a gambler’s ruin problem with constant birth and death rates. In particular, for we have what agrees with Example 1 in [8].
2.4.2 General and
We thus have . This is constant case, which is however not spatially non-homogeneous. We skip the lengthy calculations, but we can obtain from Corollary 2.7 ( is the -th harmonic number):
[TABLE]
which for (i.e., for ) simplifies to
[TABLE]
2.4.3 General and
[TABLE]
where is a digamma function. It is known that , where is a known Euler–Mascheroni constant. Let us assume that and is an integer. Then .
3 Random walk on a polygon
Fix an integer . Let
[TABLE]
where for . Consider the following random walk on . Being in state we move to the state with probability , we move to the state with probability , and we do nothing with the remaining probability. Throughout the paper, in the context of a random walk on a polygon, all additions and substractions are performed modulo . We will refer to this walk as to a random walk on a polygon. The notation intentionally resembles that of gambler’s ruin problem. Throughout the section we consider fixed and (and omit subscripts in random variables below). We are interested in:
[TABLE]
In other words: is the event that the process starting at will return for the first time to after all other vertices are visited; is the event that the process starting at will reach for the first time state after visiting all other vertices; is the number of steps of the process starting at to reach for the first time state after visiting all other vertices; is the number of steps of the process starting at needed to visit all vertices; is the number of additional steps for the process starting at needed to reach after visiting all the vertices.
For , where is a cyclic order, i.e., or or , let denote a gambler’s ruin game with being a starting state, being a losing state and being a winning state. Note that independently of , winning and losing probabilities are fixed.
Notation.
In contrast to a usual notation neither nor for . Since we are considering operations in , we define
[TABLE]
In all other cases we use usual sums and products. Using this notation, we are ready to state our results.
Theorem 3.1**.**
Consider the random walk on a polygon described above. We have
[TABLE]
The proof of Theorem 3.1 is postponed to Section 5.2.1.
Constant .
In this case the starting point does not matter, we consider . Note that and depend on and only through , thus they must reduce to known results for constant birth and death rates (see (3.1) and (3.3) in [15]). Indeed, substituting to (3.1) and (3.2) yields
Corollary 3.2**.**
Consider the random walk on polygon with constant , then we have
[TABLE]
We skip the formulas for and in this case, noting that they can be derived from Corollaries 2.4 and 2.7.
Constant
First, let us recall formulas for , for the case .
Corollary 3.3**.**
[15]** Consider the random walk on a polygon with constant . We have
[TABLE]
In the case note that , , , where superscript denotes the case . Thus Theorem 3.1 implies , i.e., we have
Corollary 3.4**.**
Consider the random walk on a polygon with constant . We have
[TABLE]
4 Fastest Strong Stationary Time for a symmetric random walk on a circle
Consider an ergodic Markov chain on a finite state space with a stationary distribution , initial distribution and a transition matrix . We are interested in measuring nonstationarity of via separation “distance”
[TABLE]
Note that it is not symmetric, that is why it is not an actual distance, however it is an upper bound on a total variation distance .
A random variable is a strong stationary time (SST) for if it is a randomized stopping time for such that
[TABLE]
The notion of separation distance fits perfectly into a notion of SST, in [1] it is shown that for an SST we have
[TABLE]
We say that is a fastest strong stationary time (FSST) if
In this section we consider a symmetric random walk on a polygon with constant rates on points (i.e., ). Moreover, we will refer to the random walk as to a symmetric random walk on a circle (to be consistent with [3], we will compare our result to a result from this article) on i.e., . We will show a construction of a fastest strong stationary time for this symmetric random walk on a circle, moreover we have
Lemma 4.1**.**
For the fastest strong stationary time for a symmetric random walk on a circle with we have
[TABLE]
Remark 4.2**.**
A construction of a strong stationary time for a symmetric random walk on a circle with is presented in [3]. For their construction yields an SST such that
[TABLE]
(see the bottom of the page 1484 in [3]), whereas Lemma 4.1 states that a fastest strong stationary time fulfills ()
[TABLE]
what means that a construction from [3] does not yield a fastest strong stationary time (authors mention this fact in their Example 3.1). Note that and differ by (independently of ).
Strong stationary duality
For a general description of a strong stationary duality see [3] (total ordering and set-valued chains) and [11], [10] (general partial ordering). Here we will describe this duality for chains on the same state space. Let both and be chains on , chain is ergodic with a stationary distribution , whereas is an absorbing chain with a unique absorbing state . We say that a stochastic matrix of size is a link if for all . We say that is a strong stationary dual of with the link if
[TABLE]
Diaconis and Fill [3] proved that the absorption time of is an SST for . If the corresponding is an FSST for , then the chain is called a sharp SSD.
Fix some partial ordering on , such that is the minimum and is the maximum. Let be the corresponding ordering matrix (always invertible, the inverse is called the Möbius matrix). Assume that (i.e., chain starts in ), then (4.1) implies that also . Let be a transition matrix of a time reversed chain, i.e., . We have
Theorem 4.3** (Theorem 2 in [11], Remark 2.2 in [12], simplified version).**
Let be an ergodic Markov chain on a finite state space starting at (i.e., ), with a stationary distribution , partially ordered by (with ordering matrix ), with being the minimum and being the maximum. Assume that is a non-negative matrix. Then there exists a sharp SSD on with and transitions
[TABLE]
with a unique absorbing state , where .
Remark 4.4**.**
The condition that is a non-negative matrix was called ↓-Möbius monotonicity in [11].
Proof of Lemma 4.1.
First, we will construct a sharp SSD for this symmetric random walk on a circle using Theorem 4.3. It will be more convienient to work with states numerated as (instead of ). Our walk moves either right or left, or it does not move, i.e., it has the transition matrix:
[TABLE]
It will be even more convienient to work with another enumeration of states. Consider a set of states and let us define a bijection between this set and the set in the following way:
[TABLE]
The bijection for is following
[TABLE]
it is depicted in Fig. 1 (left). The transition matrix of the chain can be rewritten as:
[TABLE]
Continuing our example we have (using enumeration of states )
[TABLE]
We will now compute an SSD chain using total ordering . Mapping the total ordering into the ordering on original states , we have
[TABLE]
Note that is also a total ordering, we have
[TABLE]
We will thus work with total ordering – which is equivalent (with easier notation) to working with .
The ordering matrix for total ordering is , the Möbius matrix (i.e., the inverse of ) is then following:
[TABLE]
We have
[TABLE]
Using above derivations and the fact that the chain is reversible (, for we have:
[TABLE]
whereas for we have
[TABLE]
We also have:
[TABLE]
Using above derivations we can easily calculate all the cases:
[TABLE]
Continuing our example we have (again, using enumeration )
[TABLE]
Combining (4.4) with (4.3) and noting that , Theorem 4.3 and yields the following transitions of a sharp SSD chain (written using the original enumeration of states)
[TABLE]
thus
[TABLE]
We leave it to the reader to check that the condition for or is equivalent to , whereas for or for the condition is never met. Thus, the transition matrix of can rewritten in the following way, using ordering :
[TABLE]
First, let us consider case and .
Note that the assumption implies that is a transition matrix. Continuing the example , we have (using the enumeration
[TABLE]
Note that the resulting chain (recall, it starts at ) will never reach states . Denote the resulting chain on by . This is a birth and death chain with a unique absorbing state , let us write down the relevant transitions only
[TABLE]
For the transitions are depicted in Fig. 1 (right).
Since there is no confusion (in the chain ), we will identify a state simply with . Let denote the absorption time (in ) of (starting at 1). Using Theorem 2.2 we have:
[TABLE]
Let us write a formula for explicitly:
[TABLE]
We need to compute . For we have
[TABLE]
and for we have
[TABLE]
Plugging above formulas for in (4.5) (and using a formula ) we obtain for :
[TABLE]
- 2.
Now consider case .
We can directly compute a separation distance for starting at 1 (i.e., ). We have
[TABLE]
Spectral decomposition yields
[TABLE]
and thus
[TABLE]
On the other hand we know that there always exists a fastest strong stationary time (see Proposition 1.10 (b) in [3]), i.e., . For we have that has distribution , whereas for we have , thus has distribution . It implies that
[TABLE]
∎
Remark 4.5**.**
For a case and we can have a duality-based proof, similar to the one we had for . From equation (4.6) we have , using Theorem 2.2 we directly have
[TABLE]
Let us have a closer look at this case. Note that both, a random walk on a circle and a resulting strong stationary dual, are the chains on two points. The ordering matrix is given by \mathbf{C}=\left(\begin{array}[]{ll}1&1\\ 0&1\end{array}\right) and we directly have
[TABLE]
From (4.2) we obtain (with )
[TABLE]
The transitions of and are depicted in Figure 2.
Of course, time to absorption in has distribution, thus .
Remark 4.6**.**
Note that the assumptions on in Lemma 4.1 (i.e., for and casee for ) are equivalent to non-negativity of the resulting matrix . In other words the assumption implies that is ↑-Möbius monotne (it is if and only if condition).
5 Proofs
5.1 Gambler’s ruin problem, absorbing birth and death chain
5.1.1 Proof of Theorems 2.1 and 2.2
Proof of Theorem 2.1.
Consider the birth and death chain with and () as recurrent absorbing states (). First step analysis yields (for )
[TABLE]
thus
[TABLE]
Since , we have:
[TABLE]
Recall that (where ), iterating the above equations yields:
[TABLE]
what can be checked by induction. Plugging (5.3) into (5.2) we have:
[TABLE]
Since , we have:
[TABLE]
thus
[TABLE]
what was to be shown.
∎
Proof of Theorem 2.2.
Similarly as to proof of the Theorem 2.1 we consider birth and death chain on (), however now only is absorbing (i.e., , but ). For we can rewrite Eq. (5.1):
[TABLE]
we have
[TABLE]
However, for we have
[TABLE]
i.e.,
[TABLE]
Recall that (where ), iterating the above equations yields:
[TABLE]
what can be checked by induction. Plugging (5.5) (for ) into (5.4) we have:
[TABLE]
Since , we have:
[TABLE]
Iterating the above equations yields:
[TABLE]
what was to be shown.
∎
5.1.2 Proof of Lemma 2.5 and Theorem 2.3
Proof of Lemma 2.5.
Denote by lhs of (2.9) and by its rhs. We will show that generating functions of and are equal. Let us start with , the generating function of at :
[TABLE]
Applying we have
[TABLE]
On the other hand, the generating function of is following:
[TABLE]
thus , what finishes the proof.
∎
The following lemma will be needed in the proof of Theorem 2.3.
Lemma 5.1**.**
Consider the gambler’s ruin problem with general rates . Define
[TABLE]
Then, for all we have
[TABLE]
where
[TABLE]
* was defined in (2.4).*
Proof.
Recall that was defined in (2.2) as
[TABLE]
For given , and define
[TABLE]
and let
[TABLE]
Let
[TABLE]
can be rewritten as
[TABLE]
Thus and can be rewritten as
[TABLE]
We will show this by induction.
For we have
[TABLE]
- 2.
For assuming we shall prove that . We have
[TABLE]
what finishes the proof.
∎
Proof of Theorem 2.3.
First step analysis yields (for ):
[TABLE]
We have and for simplicity we also set . We have
[TABLE]
For we have
[TABLE]
thus
[TABLE]
For we have
[TABLE]
and
[TABLE]
where were defined in Lemma 5.1 and in we used the fact that
[TABLE]
Equations (5.6) and (5.7) can be written in a matrix form:
[TABLE]
Note that and
[TABLE]
thus using (5.8) recursively we obtain
[TABLE]
where is given in Lemma 5.1, what implies
[TABLE]
and thus proves (2.6). Equation (2.5) follows from the fact that (Markov property, and are independent).
∎
5.2 Random walk on a polygon
5.2.1 Proof of Theorem 3.1
Proof of eq. (3.1) .
Let denote the event that at the first time we leave state (recall, ties are allowed) we move clockwise. Similarly, let denotes the event that at the first time we leave state we move counterclockwise. We have
[TABLE]
and
[TABLE]
For we have: we start at and we have to reach before reaching . This is the probability of winning in the game . We thus have
[TABLE]
- 2.
Similarly for we have: we start at , and we have to reach before reaching which corresponds to losing in the game . We thus have
[TABLE]
Finally
[TABLE]
∎
Proof of eq. (3.2).
Let us define and consider separately two cases when at we are at or . The first one corresponds to winning, whereas the second one corresponds to losing in the game . The winning probability is
[TABLE]
In the first case (when we get to the before ) vertex will be the last one if we reach earlier - this can be interpreted as losing in the game , what happens with probability:
[TABLE]
In the second case (when we get to the before ) vertex will be the last one if we reach earlier - this can be interpreted as winning in the game , what happens with probability:
[TABLE]
Finally:
[TABLE]
∎
Proof of eqs. (3.3), (3.4) and (3.5) .
Let us start with the expectation of – number of steps to visit all vertices starting at when is the last visited vertex. As earlier, let . We have two cases:
If (and was the last visited vertex) then the expected game time consists of: expected time to win in , expected time to lose in and expected duration of the game . That is:
[TABLE]
- 2.
If (and was last visited vertex) then the expected game time consists of: expected time to lose in , expected time to win in and expected duration of the game . That is:
[TABLE]
Now, conditioning on , we obtain:
[TABLE]
[TABLE]
Equations (3.4) and (3.5) are simply obtained by conditioning on the states.
∎
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1AD [87] David Aldous and Persi Diaconis. Strong Uniform Times and Finite Random Walks. Advances in Applied Mathematics , 97:69–97, 1987.
- 2BW [77] W. A. Beyer and M. S. Waterman. Symmetries for Conditioned Ruin Problems. Mathematics Magazine , 50(1):42–45, 1977.
- 3DF [90] Persi Diaconis and James Allen Fill. Strong stationary times via a new form of duality. The Annals of Probability , 18(4):1483–1522, 1990.
- 4ES [00] Mohamed A. El-Shehawey. Absorption probabilities for a random walk between two partially absorbing boundaries: I. Journal of Physics A: Mathematical and General , 33(49):9005–9013, 2000.
- 5ES [09] Mohamed A. El-Shehawey. On the gambler’s ruin problem for a finite Markov chain. Statistics & Probability Letters , 79(14):1590–1595, jul 2009.
- 6GMZ [12] Yu Gong, Yong Hua Mao, and Chi Zhang. Hitting Time Distributions for Denumerable Birth and Death Processes. Journal of Theoretical Probability , 25(4):950–980, 2012.
- 7Lef [08] Mario Lefebvre. The gambler’s ruin problem for a Markov chain related to the Bessel process. Statistics & Probability Letters , 78(15):2314–2320, 2008.
- 8Len [09] Tamás Lengyel. The conditional gambler’s ruin problem with ties allowed. Applied Mathematics Letters , 22(3):351–355, 2009.
