To solve this random walk problem with absorbing barriers, I'll determine both Pk(n) and πj∗.
First, let's analyze the situation. We have a random walk on states {E0,E1,...,Ea} where:
- E0 and Ea are absorbing states (p)
Part 1: Determining Pk(n) for k=1,2,...,a−1
For 1≤k≤a−1, we can establish the recurrence relation:
P
For the absorbing states:
P0(n)=P0(n−1)
With initial conditions:
Pi(0)=1 and Pj(0)= for
These recurrence relations define Pk(n) completely.
Part 2: Evaluating limn→∞Pr{ξn=0∣
To find πj∗, I'll determine the probability of eventually reaching state 0 when starting from state j.
Let hj be this probability. Then:
- h0=1 (already at state 0)
- ha=0 (absorbed at state , will never reach 0)
For 1≤j≤a−1, by conditioning on the first step:
hj=
Rearranging:
p⋅hj+1+q⋅hj−
Let Δhj=hj−hj. From the recurrence relation:
This gives:
Δhj=Δh1⋅(
Expressing hj in terms of these differences:
hj=
For pq=1:
Using the boundary condition ha=0:
Δh1
Therefore:
hj=1−
For the special case when p=q=0.5 (where pq=1), the formula becomes:
Since πj∗ represents the probability of eventually being absorbed at state 0, we have:
π
This is our final answer for the limiting probability.