Heterogeneous random walk in one dimension

[[File:Random walk in1d.jpg|thumb|right|Figure 1 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 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, $$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 ($$)-($$), presented in what follows.

Random walks in applications
Random walks          can be used to describe processes in biology,  chemistry, and physics,  including chemical kinetics and polymer dynamics. In individual molecules, random walks appear when studying individual molecules,         individual channels,  individual biomolecules, individual enzymes,        and quantum dots. 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,        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, but its probability density function (PDF) obeys a deterministic equation. PDFs of random walks can be formulated in terms of the (discrete in space) master equation  and the generalized master equation or the (continuous in space and time) Fokker Planck equation and its generalizations. Continuous time random walks, renewal theory, and the path representation   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.

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. These 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 to reach a distance L from the starting position in a finite interval of length L, the time $$\tau$$ for reaching this distance is exponential with the length L: $$\tau = e^L$$. Here, the diffusion is against a linear potential.

Heterogeneous systems
The solution for the Green's function $$G_{ij}(t;L)$$ for a semi-Markovian random walk in an arbitrarily heterogeneous environment in 1D was recently given using the path representation. (The function $$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, $$\psi_{ij}(t)$$, for transitions between states i and i ± 1, that generates stochastic trajectories of uncorrelated waiting times that are not-exponential distributed. $$\psi_{ij}(t)$$ obeys the normalization conditions (see fig. 1)
 * $$\sum_j\int_0^\infty \psi_{ij}(t)=1 .$$

The dynamics can also include state- and direction-dependent irreversible trapping JT-PDFs, $$\psi_{iI}(t)$$, with I=i+L. The environment is heterogeneous when $$\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.$$G_{ij}(t)$$.

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, $$\bar{f}(s)=\int_0^\infty e^{-st}f(t)\,dt$$). Here, the system is defined through the jumping time (JT) PDFs: $$\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:

Here,


 * $$\bar{\Psi}_{i}(s) =\sum_j \bar{\Psi}_{ij}(s)$$

and


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

Also, in Eq. ($$),

and

with

and

For L = 1, $$\bar{\Phi}(s;L)=1$$. In this paper, the symbol [L/2], as appearing in the upper bound of the sum in eq. ($$) is the floor operation (round towards zero). Finally, the factor $$\Phi(s,\tilde{L})$$ in eq. ($$) has the same form as in $$\bar{\Phi}(s;L)$$ in eqs. ($$)-($$), yet it is calculated on a lattice $$\tilde{L}$$. Lattice $$\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 $$\tilde{L}$$ is the longer fragment. When each fragment is a single state, $$\bar{\Phi}(s;\tilde{L})=1$$.

Equations ($$)-($$) 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, $$\bar{G}_{ij}(s;L)$$ in Eqs. ($$)-($$) solves the corresponding continuous time random walk problem and the equivalent generalized master equation. Equations ($$)-($$) 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. ($$)-($$), and then inverted into time domain (for relevant quantities). The closed-form $$\bar{G}_{ij}(s;L)$$ also manifests its utility when numerical inversion of the generalized master equation is unstable. Moreover, using $$\bar{G}_{ij}(s;L)$$ in simple analytical manipulations gives,  (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 $$G_{ij}(t)$$, and this supplies further information on the process. The path representation follows:

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

$$ 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 $$2n +\gamma_{ij}$$ transitions that connect states j with i. Two different path types contribute to $$w_{ij}(\tau,2n+\gamma_{ij};L)$$: paths made of the same states appearing in different orders and different paths of the same length of $$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, $$ \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 $$ \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. Also, analytical properties of the Green’s function are clarified only in path PDF analysis. Here, presented is the recursion relation for $$ 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 $$\bar{h} (s,i;L)$$s in Eq. ($$) serving as the n independent coefficients, and is of order [L / 2]:

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

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

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

where

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

and,