Example (hitting probability in simple random walk on non-negative integers)
Consider a Markov chain on $I = \set{0,1,2,\ldots}$ with transition probabilities $$ \begin{align*} \begin{cases} P(i,i+1) = p, &i\geq 1, \\ P(i,i-1) = q \equiv 1-p, &i\geq 1, \\ P(0,1) = 1. \end{cases} \end{align*} $$ Let $A = \set{0}$. We want to find $h_i^A$.
From the previous theorem, $h_0^A = 1$ and $h_i^A$ is the minimal non-negative solution to the recurrence relation $$ \begin{align*} h_i^A = p\,h_{i+1}^A + q\,h_{i-1}^A, \qquad i\geq 1. \end{align*} $$ There are several cases:
-
If $p\neq q$, then $h_i^A$ is in the form $a\lambda^i$ where $\lambda$ satisfies $\lambda = p\lambda^2 + q \iff \lambda=1, \tfrac{q}{p}$, so $h_i^A$ has the general solution $$ \begin{align*} h_i^A = a + b\big(\tfrac{q}{p}\big)^i. \end{align*} $$
Since $h_0^A = 1$, we have $a+b = 1$: $$ \begin{align*} h_i^A = a + (1-a)\big(\tfrac{q}{p}\big)^i. \end{align*} $$
-
If $p>q$, then by minimality, we take $a=0$ and so $$ \begin{align*} h_i^A = \big(\tfrac{q}{p}\big)^i. \end{align*} $$
-
If $p<q$, then by minimality (and to have probability $\leq 1$), take $a=1$ and so $$ \begin{align*} h_i^A = 1. \end{align*} $$
-
-
If $p=q$, then the general solution is of the form $$ \begin{align*} h_i^A = a + bi. \end{align*} $$ To have a minimal solution (and probability $\leq 1$), we need $a=1$ and $b=0$ to get $$ \begin{align*} h_i^A = 1. \end{align*} $$