CONTENTS

Exercise: Gambler's Ruin for a Biased Random Walk

Problem

A gambler starts with kk units of capital and plays rounds of a biased game: they win +1+1 with probability pp and lose 1-1 with probability q=1pq = 1 - p, independently each round. They continue until either reaching a goal of NN units or being ruined at 00. Assume p1/2p \ne 1/2.

Let SnS_n denote the gambler's wealth and τ=inf{n:Sn{0,N}}\tau = \inf\{n : S_n \in \{0, N\}\} the exit time. Set ρ=q/p\rho = q/p.

  1. Show that Mn=ρSnM_n = \rho^{S_n} is a martingale with respect to Fn=σ(S0,,Sn)\mathcal{F}_n = \sigma(S_0, \ldots, S_n).

  2. Verify that OST applies: which of conditions (1)–(4) in the theorem is satisfied here?

  3. Apply OST to derive the ruin / success probabilities: P(Sτ=NS0=k)=ρk1ρN1,P(Sτ=0S0=k)=ρNρkρN1.\mathbb{P}(S_\tau = N \mid S_0 = k) = \frac{\rho^k - 1}{\rho^N - 1}, \qquad \mathbb{P}(S_\tau = 0 \mid S_0 = k) = \frac{\rho^N - \rho^k}{\rho^N - 1}.

  4. Concrete values. Compute P(Sτ=N)\mathbb{P}(S_\tau = N) for (p,k,N)=(0.49,50,100)(p, k, N) = (0.49, 50, 100) and (0.45,50,100)(0.45, 50, 100). How does the slight shift in pp affect the success probability? Interpret in the context of a casino's house edge.

Hint

For part 1, use independence and compute E[ρXn+1]\mathbb{E}[\rho^{X_{n+1}}]. For part 2, note that MnM_n is trapped between two explicit constants on {nτ}\{n \le \tau\}.

Jump to the solution when you're ready.