Why Uniqueness Matters
For a finite gambler’s ruin game, the expected time to reach either absorbing boundary satisfies a recurrence at every interior fortune. But writing down a recurrence is not, by itself, enough to identify the expected duration: we must also impose the correct boundary values and know that no second function satisfies the same system. Uniqueness supplies the missing link. Once a candidate has the right endpoint values and satisfies every interior equation, it must be the expected duration.
Consider a gambler whose fortune is \(i\in\{0,1,\ldots,N\}\). At each round, the fortune increases by one with probability \(p\) and decreases by one with probability \(q=1-p\), until it reaches \(0\) or \(N\). Assume \(N\ge1\) and \(0<p<1\), so both step probabilities are strictly positive. On a probability space \((\Omega,\mathcal{F},\mathbb{P})\), let \((X_n)_{n\ge0}\) be this chain, with state space \(S=\{0,1,\ldots,N\}\) and discrete time \(n\ge0\). Its filtration is \(\mathcal{F}_n=\sigma(X_0,\ldots,X_n)\). The endpoints are absorbing, and the duration is \(T=\inf\{n\ge0:X_n\in\{0,N\}\}\).
The endpoint values express that the game ends immediately when the initial fortune is already \(0\) or \(N\). For an interior state, the equation counts the round just played, then weights the remaining expected duration according to the next state. This is the first-step equation established in the earlier material on expected game duration. The result below explains why satisfying these equations and endpoints is decisive.
Finiteness and Uniqueness
Proof. If \(N=1\), the chain starts at an absorbing endpoint, so \(T=0\) from either state and the boundary values uniquely specify the solution. Now suppose \(N\ge2\). Set \(r=\min(p,q)>0\). From any interior state \(i\), a run of \(i\) consecutive downward steps reaches \(0\) within at most \(N\) steps, and its probability is \(q^i\). Since \(i\le N\) and \(q\ge r\), this probability is at least \(r^N\). Thus, from every interior state, the probability of absorption within the next \(N\) steps is at least \(\varepsilon=r^N>0\). By the Markov property, on the event \(T>mN\), conditional on \(\mathcal{F}_{mN}\), the probability of surviving another \(N\) steps is at most \(1-\varepsilon\). Therefore \(\mathbb{P}_i(T>(m+1)N)\le(1-\varepsilon)\mathbb{P}_i(T>mN)\), and induction gives \(\mathbb{P}_i(T>mN)\le(1-\varepsilon)^m\). For \(mN\le n<(m+1)N\), \(\mathbb{P}_i(T>n)\le(1-\varepsilon)^m\). Hence \(\mathbb{E}_i[T]=\sum_{n\ge0}\mathbb{P}_i(T>n)\le N\sum_{m\ge0}(1-\varepsilon)^m=N/\varepsilon<\infty\). Conditioning on the first step now gives the stated recurrence for \(k_i\), with \(k_0=k_N=0\).
It remains to prove uniqueness. Suppose \(u_0=u_N=0\) and \(u_i=p u_{i+1}+q u_{i-1}\) for every interior state \(i\). Let \(M=\max_{0\le i\le N}u_i\). If \(M>0\), it is attained at an interior state \(i\), since both endpoints equal zero. The recurrence writes \(M\) as a weighted average of \(u_{i-1}\) and \(u_{i+1}\), each at most \(M\), with strictly positive weights \(q\) and \(p\). For that average to equal \(M\), both neighbors must equal \(M\). Repeating this argument at each interior state reached to the right forces \(u_N=M\), contradicting \(u_N=0\). Thus \(M\le0\). If any value of \(u\) were negative, the minimum \(m<0\) would be attained in the interior. Its weighted-average equation, with both neighbors at least \(m\) and both weights strictly positive, forces both neighbors to equal \(m\). Repeating to the right forces \(u_N=m\), again a contradiction. Thus every value is zero. The difference of any two solutions satisfies this homogeneous system, so the solution is unique. For \(N=1\), uniqueness follows from the endpoints alone. \(\square\)
Proof. The theorem shows that the expected-duration vector \(k\) exists, is finite, and satisfies the boundary-value problem. By assumption, \(c\) satisfies the same equations and endpoints. The difference \(u_i=c_i-k_i\) therefore has zero endpoints and satisfies \(u_i=p u_{i+1}+q u_{i-1}\) at every interior state. The uniqueness proof shows \(u_i=0\) for all \(i\), so \(c_i=k_i\) at every state. \(\square\)
Using the Verification Principle
The principle has two separate requirements: a proposed vector must satisfy the interior recurrence, and it must satisfy both endpoint conditions. Checking only one of these does not establish that the vector is the expected duration. In the examples, the transition matrices make the step probabilities and absorbing boundaries explicit; each row is checked before the recurrence is used.
Worked Example: A Biased Game with Three Fortunes
Let \(N=3\), with upward-step probability \(p=\tfrac13\) and downward-step probability \(q=\tfrac23\). Find the expected duration from fortunes \(1\) and \(2\). The transition matrix, in state order \(0,1,2,3\), is
The row sums are \(1\), \(\tfrac23+\tfrac13=1\), \(\tfrac23+\tfrac13=1\), and \(1\), respectively. The endpoint values are \(k_0=k_3=0\). The interior equations are \(k_1=1+\tfrac13k_2\) and \(k_2=1+\tfrac23k_1\). Substituting the second equation into the first gives \(k_1=1+\tfrac13(1+\tfrac23k_1)=\tfrac43+\tfrac29k_1\). Thus \(\tfrac79k_1=\tfrac43\), so \(k_1=\tfrac43\cdot\tfrac97=\tfrac{12}7\). Then \(k_2=1+\tfrac23\cdot\tfrac{12}7=1+\tfrac87=\tfrac{15}7\).
Check: The first recurrence gives \(1+\tfrac13\cdot\tfrac{15}7=1+\tfrac57=\tfrac{12}7\). The second gives \(1+\tfrac23\cdot\tfrac{12}7=1+\tfrac87=\tfrac{15}7\). Both endpoints are zero, so the verified vector is the unique expected-duration vector.
Worked Example: A Candidate for a Fair Game
For \(N=3\) and \(p=q=\tfrac12\), consider the candidate values \(c_0=0\), \(c_1=2\), \(c_2=2\), and \(c_3=0\). The transition matrix is
The row sums are \(1\), \(\tfrac12+\tfrac12=1\), \(\tfrac12+\tfrac12=1\), and \(1\). The candidate has the required endpoint values. At state \(1\), the recurrence’s right-hand side is \(1+\tfrac12c_2+\tfrac12c_0=1+\tfrac12\cdot2+\tfrac12\cdot0=2=c_1\). At state \(2\), it is \(1+\tfrac12c_3+\tfrac12c_1=1+\tfrac12\cdot0+\tfrac12\cdot2=2=c_2\). The verification principle therefore identifies these values as the expected durations from states \(1\) and \(2\), without needing to solve for another possible solution.
Check: Both interior equations hold, and the candidate equals zero at states \(0\) and \(3\). These checks cover every equation and endpoint in this boundary-value problem.
Worked Example: Verifying a Biased Four-Unit Game
Let \(N=4\), \(p=\tfrac23\), and \(q=\tfrac13\). Consider \(c_0=0\), \(c_1=\tfrac{17}5\), \(c_2=\tfrac{18}5\), \(c_3=\tfrac{11}5\), and \(c_4=0\). In state order \(0,1,2,3,4\), the transition matrix is
The row sums are \(1\), \(\tfrac13+\tfrac23=1\), \(\tfrac13+\tfrac23=1\), \(\tfrac13+\tfrac23=1\), and \(1\). The endpoints satisfy \(c_0=c_4=0\). At state \(1\), the right-hand side is \(1+\tfrac23\cdot\tfrac{18}5+\tfrac13\cdot0=1+\tfrac{12}5=\tfrac{17}5=c_1\). At state \(2\), it is \(1+\tfrac23\cdot\tfrac{11}5+\tfrac13\cdot\tfrac{17}5=1+\tfrac{22}{15}+\tfrac{17}{15}=1+\tfrac{39}{15}=\tfrac{18}5=c_2\). At state \(3\), it is \(1+\tfrac23\cdot0+\tfrac13\cdot\tfrac{18}5=1+\tfrac65=\tfrac{11}5=c_3\). Each equation and both endpoints check, so uniqueness shows that this candidate gives the expected duration from every starting fortune.
Common Pitfalls and Why the Endpoints Matter
A frequent error is to check an interior equation but overlook an endpoint. The recurrence only constrains interior states; without the boundary values, it is not the expected-duration problem. For example, adding the same constant to every entry of a solution preserves each interior equation because \(p+q=1\), but the resulting vector generally fails the endpoint conditions. The endpoints are not an optional check: they specify where the game stops and anchor the recurrence.
Arithmetic accuracy matters just as much. In the three-fortune example, the first recurrence uses \(k_2=\tfrac{15}7\). A mistaken multiplication might claim \(1+\tfrac13\cdot\tfrac{15}7=\tfrac{22}7\). But \(\tfrac13\cdot\tfrac{15}7=\tfrac{15}{21}=\tfrac57\), so the correct value is \(1+\tfrac57=\tfrac{12}7\). The wrong value would fail the recurrence and cannot be accepted as a duration.
The assumptions also have a role. Strict positivity of \(p\) and \(q\) allows the uniqueness proof to propagate an interior maximum or minimum toward an endpoint; it also gives a positive chance of absorption within a bounded number of steps. If \(p=1\), for example, every interior state moves upward with certainty. For \(N=2\), the expected duration from state \(1\) is \(1\), so the recurrence is \(k_1=1+k_2\), with \(k_2=0\). The homogeneous equation is \(u_1=u_2\), and \(u_0=u_2=0\) still forces \(u_1=0\) in this particular case. However, that boundary case is outside the theorem’s assumptions and is not covered by its strict-weight argument; assumptions should not be silently weakened.
In practice, a reliable verification has a fixed order: record the two zero endpoint values, write the recurrence for every interior state, substitute the candidate into each equation, and only then invoke uniqueness. The calculation may be short, but omitting any of these checks leaves a gap between a plausible formula and the expected duration.
Check Your Understanding
For each question, keep the interior equations and endpoint conditions distinct, and use the uniqueness argument where appropriate.
- Why must the weights \(p\) and \(q\) be strictly positive in the maximum-principle proof as stated?
- For \(N=2\), \(p=\tfrac14\), and \(q=\tfrac34\), write the single interior equation and the two endpoint values. What condition would a candidate value \(c_1\) have to satisfy?
- Explain why satisfying all interior equations without imposing \(c_0=c_N=0\) is insufficient to identify the expected duration.
- In the first worked example, recompute the right-hand side of the equation at state \(2\) using \(k_1=\tfrac{12}7\).
- What changes in the boundary-value problem when \(N=1\), and why is uniqueness still immediate?