# Heterogeneous random walk in one dimension

Figure 1 A part of a semi-Markovian discrete system in one dimension with directional jumping time probability density functions (JT-PDFs), including "death" terms (the JT-PDFs from state i in state I). A way for simulating such a random walk is when first drawing a random number out of a uniform distribution that determines the propagation direction according with the transition probabilities, and then drawing a random time out of the relevant JT-PDF.

In studies of dynamics, probability, physics, chemistry and related fields, a heterogeneous random walk in one dimension is a random walk in a one dimensional interval with jumping rules that depend on the location of the random walker in the interval.

For example: say that the time is discrete and also the interval. Namely, the random walker jumps every time step either left or right. A possible heterogeneous random walk draws in each time step a random number that determines the local jumping probabilities and then a random number that determines the actual jump direction. Specifically, say that the interval has 9 sites (labeled 1 through 9), and the sites (also termed states) are connected with each other linearly (where the edges sites are connected their adjacent sites and together). In each time step, the jump probabilities (from the actual site) are determined when flipping a coin; for head we set: probability jumping left =1/3, where for tail we set: probability jumping left = 0.55. Then, a random number is drawn from a uniform distribution: when the random number is smaller than probability jumping left, the jump is for the left, otherwise, the jump is for the right. Usually, in such a system, we are interested in the probability of staying in each of the various sites after t jumps, and in the limit of this probability when t is very large, ${\displaystyle t\rightarrow \infty }$.

Generally, the time in such processes can also vary in a continuous way, and the interval is also either discrete or continuous. Moreover, the interval is either finite or without bounds. In a discrete system, the connections are among adjacent states. The basic dynamics are either Markovian, semi-Markovian, or even not Markovian depending on the model. In discrete systems, heterogeneous random walks in 1d have jump probabilities that depend on the location in the system, and/or different jumping time (JT) probability density functions (PDFs) that depend on the location in the system.

General solutions for heterogeneous random walks in 1d obey equations (1)-(5), presented in what follows.

## Introduction

### Random walks in applications

Random walks[1][2][3][4][5][6][7][8][9][10][11] appear in the description of a wide variety of processes in biology,[12] chemistry[13] and physics.[14][15] Random walks are used in describing chemical kinetics[13] and polymer dynamics.[14][15] In the evolving field of individual molecules, random walks supply the natural platform for describing the data. Namely, we see random walks when looking on individual molecules,[16][17][18][19][20][21][22][23][24][25] individual channels,[26][27] individual biomolecules,[28] individual enzymes,[18][20][21][22][29][30][31][32][33] quantum dots.[34][35][36] Importantly, PDFs and special correlation functions can be easily calculated from single molecule measurements but not from ensemble measurements. This unique information can be used for discriminating between distinct random walk models that share some properties,[18][19][20][21][22][23][24][25][26] and this demands a detailed theoretical analysis of random walk models. In this context, utilizing the information content in single molecule data is a matter of ongoing research.

### Formulations of random walks

The actual random walk obeys a stochastic equation of motion. Yet, the probability density function (PDF) obeys a deterministic equation of motion. Formulation of PDFs of random walks can be done in terms of the discrete (in space) master equation[1][12][13] and the generalized master equation[3] or the continuum (in space and time) Fokker Planck equation[37] and its generalizations.[10] Continuous time random walks,[1] renewal theory,[38] and the path representation[3][6][8][9] are also useful formulations of random walks. The network of relationships between the various descriptions provides a powerful tool in the analysis of random walks. Arbitrarily heterogeneous environments make the analysis difficult, especially in high dimensions.

## Results for random walks in one dimension

### Simple systems

Known important results in simple systems include:

• In a symmetric Markovian random walk, the Green's function (also termed the PDF of the walker) for occupying state i is a Gaussian in the position and has a variance that scales like the time. This is correct for a system with discrete time and space, yet also in a system with continuous time and space. This results is for systems without bounds.
• When there is a simple bias in the system (i.e. a constant force is applied on the system in a particular direction), the average distance of the random walker from its starting position is linear with time.
• When trying reaching a distance L from the starting position in a finite interval of length L, the time ${\displaystyle \tau }$ for reaching this distance is exponential with the length L: ${\displaystyle \tau =e^{L}}$. Here, the diffusion is against a linear potential.

### Heterogeneous systems

The solution for the Green's function ${\displaystyle G_{ij}(t;L)}$ for a semi-Markovian random walk in an arbitrarily heterogeneous environment in 1D was recently given using the path representation.[6][8][9] (The function ${\displaystyle G_{ij}(t;L)}$ is the PDF for occupying state i at time t given that the process started at state j exactly at time 0.) A semi-Markovian random walk in 1D is defined as follows: a random walk whose dynamics are described by the (possibly) state- and direction-dependent JT-PDFs, ${\displaystyle \psi _{ij}(t)}$, for transitions between states i and i ± 1, that generates stochastic trajectories of uncorrelated waiting times that are not-exponential distributed. ${\displaystyle \psi _{ij}(t)}$ obeys the normalization conditions (see fig. 1)

${\displaystyle \sum _{j}\int _{0}^{\infty }\psi _{ij}(t)=1.}$

The dynamics can also include state- and direction-dependent irreversible trapping JT-PDFs, ${\displaystyle \psi _{iI}(t)}$, with I=i+L. The environment is heterogeneous when ${\displaystyle \psi _{ij}(t)}$ depends on i. The above process is also a continuous time random walk and has an equivalent generalized master equation representation for the Green's function.${\displaystyle G_{ij}(t)}$.[3][6][8][9]

#### Explicit expressions for heterogeneous random walks in 1D

In a completely heterogeneous semi-Markovian random walk in a discrete system of L (> 1) states, the Green's function was found in Laplace space (the Laplace transform of a function is defined with, ${\displaystyle {\bar {f}}(s)=\int _{0}^{\infty }e^{-st}f(t)\,dt}$). Here, the system is defined through the jumping time (JT) PDFs: ${\displaystyle \psi _{ij}(t)}$ connecting state i with state j (the jump is from state i). The solution is based on the path representation of the Green's function, calculated when including all the path probability density functions of all lengths:

${\displaystyle {\bar {G}}_{ij}(s)={\bar {\Gamma }}_{ij}(s){\frac {{\bar {\Phi }}(s,{\tilde {L}})}{{\bar {\Phi }}(s,L)}}{\bar {\Psi }}_{i}(s).}$

(1)

Here,

${\displaystyle {\bar {\Psi }}_{i}(s)=\sum _{j}{\bar {\Psi }}_{ij}(s)}$

and

${\displaystyle {\bar {\Psi }}_{ij}(s)={\frac {1-{\bar {\psi }}_{ij}(s)}{s}}.}$

Also, in Eq. (1),

${\displaystyle {\bar {\Gamma }}_{ij}(s)=\prod _{c=0}^{i\mp 1}{\bar {\psi }}_{c\pm 1c}(s),}$

(2)

and

${\displaystyle {\bar {\Phi }}(s,L)=1+\sum _{c=1}^{[L/2]}(-1)^{c}{\bar {h}}(s,c;L)}$

(3)

with

${\displaystyle {\bar {h}}(s,i;L)=\prod _{c=1}^{i}\sum _{k_{c}=2+k_{c-1}}^{L-1-2(i-c)}{\bar {f}}_{k_{c}}(s)}$

(4)

and

${\displaystyle {\bar {f}}_{k_{j}}(s)={\bar {\psi }}_{k_{j}k_{j}+1}(s){\bar {\psi }}_{k_{j}+1k_{j}}(s).}$

(5)

For L = 1, ${\displaystyle {\bar {\Phi }}(s;L)=1}$. In this paper, the symbol [L/2], as appearing in the upper bound of the sum in eq. (5) is the floor operation (round towards zero). Finally, the factor ${\displaystyle \Phi (s,{\tilde {L}})}$ in eq. (1) has the same form as in ${\displaystyle {\bar {\Phi }}(s;L)}$ in eqs. (3)-(5), yet it is calculated on a lattice ${\displaystyle {\tilde {L}}}$ . Lattice ${\displaystyle {\tilde {L}}}$ is constructed from the original lattice by taking out from it the states i and j and the states between them, and then connecting the obtained two fragments. For cases in which a fragment is a single state, this fragment is excluded; namely, lattice ${\displaystyle {\tilde {L}}}$ is the longer fragment. When each fragment is a single state, ${\displaystyle {\bar {\Phi }}(s;{\tilde {L}})=1}$.

Equations (1)-(5) hold for any 1D semi-Markovian random walk in a L-state chain, and form the most general solution in an explicit form for random walks in 1d.

#### Path representation of heterogeneous random walks

Clearly, ${\displaystyle {\bar {G}}_{ij}(s;L)}$ in Eqs. (1)-(5) solves the corresponding continuous time random walk problem and the equivalent generalized master equation. Equations (1)-(5) enable analyzing semi-Markovian random walks in 1D chains from a wide variety of aspects. Inversion to time domain gives the Green’s function, but also moments and correlation functions can be calculated from Eqs. (1)-(5), and then inverted into time domain (for relevant quantities). The closed-form ${\displaystyle {\bar {G}}_{ij}(s;L)}$ also manifests its utility when numerical inversion of the generalized master equation is unstable. Moreover, using ${\displaystyle {\bar {G}}_{ij}(s;L)}$ in simple analytical manipulations gives,[6][8][9] (i) the first passage time PDF, (ii)–(iii) the Green’s functions for a random walk with a special WT-PDF for the first event and for a random walk in a circular L-state 1D chain, and (iv) joint PDFs in space and time with many arguments.

Still, the formalism used in this article is the path representation of the Green's function ${\displaystyle G_{ij}(t)}$, and this supplies further information on the process. The path representation follows:

${\displaystyle G_{ij}(t;L)=\int _{0}^{\infty }\Psi _{i}(t-\tau )W_{ij}(\tau ;L)\,d\tau ,}$

(6)

The expression for ${\displaystyle W_{ij}(t;L)}$ in Eq. (6) follows,

${\displaystyle W_{ij}(\tau ;L)=\sum _{n=0}^{\infty }w_{ij}(\tau ,2n+\gamma _{ij};L).}$

(7)

${\displaystyle W_{ij}(t;L)}$ is the PDF of reaching state i exactly at time t when starting at state j exactly at time 0. This is the path PDF in time that is built from all paths with ${\displaystyle 2n+\gamma _{ij}}$ transitions that connect states j with i. Two different path types contribute to ${\displaystyle w_{ij}(\tau ,2n+\gamma _{ij};L)}$:[8][9] paths made of the same states appearing in different orders and different paths of the same length of ${\displaystyle 2n+\gamma _{ij}}$ transitions. Path PDFs for translation invariant chains are mono-peaked. Path PDF for translation invariant chains mostly contribute to the Green's function in the vicinity of its peak, but this behavior is believed to characterize heterogeneous chains as well.

We also note that the following relation holds, ${\displaystyle {\bar {W}}_{ij}(s;L)={\bar {W}}_{1L}(s;L)/{\bar {W}}_{1{\tilde {L}}}(s;{\tilde {L}})}$. Using this relation, we focus in what follows on solving ${\displaystyle {\bar {w}}_{1L}(s;L)}$.

#### Path PDFs

Complementary information on the random walk with that supplied with the Green’s function is contained in path PDFs. This is evident, when constructing approximations for Green’s functions, in which path PDFs are the building blocks in the analysis.[8][9] Also, analytical properties of the Green’s function are clarified only in path PDF analysis. Here, presented is the recursion relation for ${\displaystyle w_{ij}(\tau ,2n+\gamma _{ij};L)}$ in the length n of path PDFs for any fixed value of L. The recursion relation is linear in path PDFs with the ${\displaystyle {\bar {h}}(s,i;L)}$s in Eq. (5) serving as the n independent coefficients, and is of order [L / 2]:

${\displaystyle {\bar {w}}_{1L}(s,2n+\gamma _{1L};L)=\delta _{n0}{\bar {\Gamma }}_{1L}(s)+\sum _{c=1}^{[L/2]}(-1)^{c+1}{\bar {w}}_{1L}(s,2(n-c)+\gamma _{1L};L){\bar {h}}(s,c;L).}$

(8)

The recursion relation is used for explaining the universal formula for the coefficients in Eq. (1). The solution of the recursion relation is obtained by applying a z transform:

${\displaystyle {\hat {\bar {w}}}_{1L}(s,2z+\gamma _{1L};L)=\sum _{n=0}^{\infty }{\bar {w}}_{1L}(s,2n+\gamma _{1L};L)z^{n}={\bar {\Gamma }}_{1L}(s){\big [}1-\sum _{c=1}^{[L/2]}(-1)^{c+1}{\bar {h}}(s,c;L)z^{i}{\big ]}^{-1}.}$

(9)

Setting ${\displaystyle z=1}$ in Eq. (9) gives ${\displaystyle {\bar {W}}_{1L}(s;L)}$. The Taylor expansion of Eq. (9) gives ${\displaystyle {\bar {w}}_{1L}(s,2n+\gamma _{1L};L)}$. The result follows:

${\displaystyle {\bar {w}}_{1L}(s,2n+\gamma _{1L};L)={\bar {\Gamma }}_{1L}(s)\sum _{k_{0}=a_{0,n}}^{n}{\bar {h}}(1,s;L)^{k_{0}}c_{k_{0}}(s;L).}$

(10)

In Eq. (10) ${\displaystyle {\bar {c}}_{k_{0}}(s;L)}$ is one for ${\displaystyle L=2,3}$, and otherwise,

${\displaystyle {\bar {c}}_{k_{0}}(s;L)=\prod _{c=0}^{[L/2]-1}\sum _{k_{c}=a_{c,n}}^{n-\sum _{j=0}^{c-1}k_{j}}{\bar {g}}_{k_{c}}(s;L),}$

(11)

where

${\displaystyle {\bar {g}}_{k_{i}}(s;L)={\binom {k_{i-1}}{k_{i}}}\left(-{\frac {{\bar {h}}(s,i+1;L)}{{\bar {h}}(s,i;L)}}\right)^{k_{i}}.}$

(12)

The initial number ${\displaystyle a_{i,n}s}$ follow:

${\displaystyle a_{i,n}=\left[{\frac {n-\sum _{j=0}^{i-1}k_{j}+[L/2]-1-i}{[L/2]-i}}\right];i>0,}$

(13)

and,

${\displaystyle a_{i,0}=\left[{\frac {n+[L/2]-1}{[L/2]}}\right].}$

(14)

## References

1. ^ a b c Weiss, George H. (1994), Aspects and Applications of the Random Walk, Random Materials and Processes, North-Holland Publishing Co., Amsterdam, ISBN 0-444-81606-2, MR 1280031.
2. ^ Van Den Broeck C. and M. Bouten, J. Stat. Phys., 45 (1986) 1031.
3. ^ a b c d Kenkre V. M., Montroll E. W. and Shlesinger M. F., J. Stat. Phys., 9 (1973) 45.
4. ^ Montroll, Elliott W.; Weiss, George H. (1965), "Random walks on lattices. II", Journal of Mathematical Physics, 6: 167–181, doi:10.1063/1.1704269, MR 0172344.
5. ^ Scher H. and Lax M., Phys. Rev. B, 7 (1973) 4491.
6. Flomenbom O. and Klafter J., Phys. Rev. Lett., 95 (2005) 098105-1
7. ^ Flomenbom O., Klafter J. and Silbey R. J., Phys. Rev. Lett., 97 (2006) 178901.
8. Flomenbom O. and Silbey R. J., J. Chem. Phys. 127, 034102 (2007).
9. Flomenbom O and Silbey RJ, Phys. Rev. E 76, 041101 (2007); The full paper
10. ^ a b Metzler R. and Klafter J., Phys. Rep. 339 (2000) 1.
11. ^ Qian H. and Wang H., Europhys. Lett., 76 (2006) 15.
12. ^ a b Goel N. W. and Richter-Dyn N., Stochastic Models in Biology (Academic Press, New York) 1974; ISBN 978-0-12-287460-4.
13. ^ a b c Van Kampen N. G., Stochastic Processes in Physics and Chemistry, revised and enlarged edition (North-Holland, Amsterdam) 1992; ISBN 978-0-444-52965-7.
14. ^ a b Doi M. and Edwards S. F., The Theory of Polymer Dynamics (Clarendon Press, Oxford) 1986; ISBN 978-0-19-852033-7.
15. ^ a b De Gennes P. G., Scaling Concepts in Polymer Physics (Cornell University Press, Ithaca and London) 1979; ISBN 978-0-8014-1203-5.
16. ^ Moerner W. E. and Orrit M., Science 283 (1999)1670;
17. ^ Weiss S., Science 283 (1999) 1676.
18. ^ a b c Flomenbom O., and Silbey R. J., Proc. Natl. Acad. Sci. USA., 103 (2006) 10907.
19. ^ a b Bruno W. J., Yang J. and Pearson J., Proc. Natl. Acad. Sci. USA., 102 (2005) 6326.
20. ^ a b c Flomenbom O., Klafter J. and Szabo A., Biophys. J., 88 (2005) 3780
21. ^ a b c Flomenbom O., and Silbey R. J., Phys. Rev E, 78, (2008) 066105.
22. ^ a b c Flomenbom O, Adv. Chem. Phys. 146, 367 (2011); The full paper
23. ^ a b Cao J., Chem. Phys. Lett., 327 (2000) 38
24. ^ a b Yang S. and Cao J., J. Chem. Phys., 117 (2002) 10996
25. ^ a b Witkoskie J. B. and Cao J., J. Chem. Phys., 121 (2004) 6361.
26. ^ a b Colquhoun D. and Hawkes A. G., Philos. Trans. R. Soc. Lond. B Biol. Sci., 300 (1982) 1.
27. ^ Meller A., J. Phys. – Cond. Matt., 15 (2003) R581.
28. ^ Zhuang X., Annu. Rev. Biophys. Biomol. Struct., 34 (2005) 399.
29. ^ Lu H., Xun L. and Xie X. S., Science 282 (1998) 1877.
30. ^ Edman L., Földes-Papp Z., Wennmalm S. and Rigler R., Chem. Phys., 247 (1999) 11.
31. ^ Flomenbom O., Velonia K., Loos D., et al, Proc. Natl. Acad. Sci. USA., 102 (2005) 2368
32. ^ Flomenbom O., Hofkens J., Velonia K., et al, Chem. Phys. Lett. 432 (2006) 371
33. ^ Velonia K., Flomenbom O., Loos D., et al, Angew. Chem. Int. Ed., 44 (2005) 560.
34. ^ Chung I. and Bawendi M. G., Phys. Rev. B., 70 (2004) 165304-1.
35. ^ Barkai E., Jung Y. and Silbey R., Annu. Rev. Phys. Chem., 55 (2004) 457.
36. ^ Brown F. L. H., Acc. Chem. Res., 39 (2006) 363.
37. ^ Risken H., The Fokker-Planck Equation (Springer, Berlin) 1984; ISBN 978-3-642-08409-6.
38. ^ Cox D. R., Renewal Theory (Methuen, London) 1962.

## Other Bibliography

• Zwanzig, R. (2001). Nonequilibrium Statistical Mechanics. New York: OXFORD, University Press. ISBN 0-19-514018-4.
• Schuss, Zeev (2010). Theory and Applications of Stochastic Processes: An Analytical Approach (Applied Mathematical Sciences). New York Dordrecht Heilderberg London: Springer. ISBN 978-1-4419-1605-1.
• Redner, S. (2001). A Guide to First-Passage Process. Cambridge, UK: Cambridge University Press. ISBN 0-521-65248-0.