Time before visit number one, random walk

AI Thread Summary
The discussion revolves around solving a random walk problem involving a Markov chain with specific transition probabilities. The main goal is to calculate P(N ≥ 1000) for initial states n0 = 0 and n0 = 10, where N is defined as the minimum step at which the state reaches 15. The challenge lies in the Markov property, which complicates determining if a state has been visited before. An approximation approach is suggested, particularly for small values of p and n0, using summation techniques and MATLAB for computation. The possibility of treating state 15 as an absorbing state is also mentioned, which could simplify the solution using matrix powers.
Paalfaal
Messages
13
Reaction score
0
Hi there!

I'm working on a random walk-problem my professor gave me.

Given a MC with the following properties:
P0,0 = 1 - p
P0,1 = p
Pi,i-1 = 1 - pi
Pi,i+1 = pi
i \in[1,∞)
Xn: state at step number n

The chain is irreducible and ergodic and 0 < p ≤ 1

introducing N:
N = {min n > 0 : Xn = 15 | X0 = n0}

The problem to be calculated is:

P(N \geq 1000).
for n0 = 0
and n0 = 10




My thoughts:

P(N \geq 1000) = 1 - P(N < 1000) = 1 - [P(N = 999) + P(N = 998) + ...]

Now here's where it gets tricky (I think). It is very hard to determine an exact solution sice the markov property causes the chain to 'forget' if it has been to a state before. That is, we don't know if it's the first time we visit a state when we visit a state (correct me if I'm wrong here, but there is no 'easy' way to solve this problem).

By 'calculate' I wonder if he really means 'approximate'. Since Pi,i+1 gets so small for large i the answer can be approximated to:
P(N \geq 1000) ≈ 1 - Ʃk=1998 Pi,14kP14,15
= 1 - P14,15Ʃk=1998Pi,14k
(don't worry about my summation shenanigans. MATLAB can solve this for me)
Obviously this approximation can only be good for realtively small p, and n0



I really want your thoughts on this problem. Are there any solutions that are more 'correct' than mine? Thank you
 
Last edited:
Physics news on Phys.org
If you make X=15 an absorbing state, you could write the solution in terms of powers of a 16 by 16 matrix.
 
bpet said:
If you make X=15 an absorbing state, you could write the solution in terms of powers of a 16 by 16 matrix.

Of course! Thank you very much :smile:
 
I was reading a Bachelor thesis on Peano Arithmetic (PA). PA has the following axioms (not including the induction schema): $$\begin{align} & (A1) ~~~~ \forall x \neg (x + 1 = 0) \nonumber \\ & (A2) ~~~~ \forall xy (x + 1 =y + 1 \to x = y) \nonumber \\ & (A3) ~~~~ \forall x (x + 0 = x) \nonumber \\ & (A4) ~~~~ \forall xy (x + (y +1) = (x + y ) + 1) \nonumber \\ & (A5) ~~~~ \forall x (x \cdot 0 = 0) \nonumber \\ & (A6) ~~~~ \forall xy (x \cdot (y + 1) = (x \cdot y) + x) \nonumber...
Back
Top