Research Article | Open Access
Solution and Analysis of a One-Dimensional First-Passage Problem with a Nonzero Halting Probability
This paper treats a kind of a one-dimensional first-passage problem, which seeks the probability that a random walker first hits the origin at a specified time. In addition to a usual random walk which hops either rightwards or leftwards, the present paper introduces the “halt” that the walker does not hop with a nonzero probability. The solution to the problem is expressed using a Gauss hypergeometric function. The moment generating function of the hitting time is also calculated, and a calculation technique of the moments is developed. The author derives the long-time behavior of the hitting-time distribution, which exhibits power-law behavior if the walker hops to the right and left with equal probability.
The first-passage problem is a useful and fundamental problem in statistical physics . In this problem we seek the probability that a diffusion particle or a random walker first reaches a specific set of sites at a specified time. The first-passage problem has many applications in statistical physics, such as reaction-rate theory , neuron dynamics , and economic analysis .
The simplest form of the first-passage problem is a random walker hopping on a one-dimensional lattice until it hits the origin. This problem is called the gambler's ruin problem in probability theory —the motion of the random walker is regarded as the dynamics of a gambler's bankroll. Consider a random walker on a one-dimensional lattice hopping to the right with probability and left with in a single time step. The problem seeks statistical properties of duration , the time at which the walker from the position first hits the origin (of course, is a random variable.) The central quantity is the probability that the walker at first hits the origin after time . According to , the solution is obtained as by solving the equation with initial and boundary conditions and (). The coefficient before in (1) is the number of different paths from hitting the origin first at time , and it is connected with the reflection principle of a random walk . Obviously, holds when , because .
The present paper analyzes an extended form of the above one-dimensional first-passage problem; a random walker hops to the right with probability , to the left with , and it does not hop with probability . Figure 1 schematically shows the problem. The only difference from the original ruin problem is that the halting probability is introduced, but the results change greatly. In fact, the solution (1) of nonhalting case () is superseded by a formula involving a Gauss hypergeometric function in halting case . Moreover, moment analysis and asymptotic (long-time) behavior are developed.
2. Hypergeometric Solution
As in the classical problem described in the previous section, let be the probability that the walker starting from has duration . satisfies the equation with initial and boundary conditions and (). However, it is hard to solve this equation directly, and we take another way by employing a classical result (1) effectively.
To calculate , we classify the walker’s paths according to the number of hopping. We count the paths consisting of hops and halts. First, the different patterns of putting halts into steps are given by in total, where “” (not ) comes from the fact that a halting step never comes to the last th step. Next, if we focus on only the hopping steps (and ignore the halting steps), the paths are reduced to those of classical ruin problem; the probability that the walker from hits the origin after hops is given by . Thus, the total occurring probability of a path with hops and halts is Summing up all , we get In the third equality, the range of summation is changed; the terms corresponding to have no contribution because . In the last equality we change the summation variable as . This result can be also obtained by solving directly the equation with conditions and (, ).
We further proceed with calculation; we rewrite factorials using gamma functions, which is a preparatory step toward a hypergeometric function. Employing some formulas of the gamma function, one obtains See Appendix A for the calculation in detail. The probability is expressed as where is the Gauss hypergeometric function. This is an explicit form of the solution of our problem. This solution cannot be deduced from the nonhalting solution (1). The hypergeometric function in (5) is a genuine hypergeometric function, in the sense that it cannot be expressed using simpler functions. (It has been studied that some hypergeometric functions have tractable expressions, e.g., .)
We comment here on the convergence of the sum in (5)—at first sight, it seems to diverge when . By using the Pochhammer symbol instead of gamma functions, If , holds automatically because . On the other hand, if , either or becomes zero for . (More precisely, the former becomes zero when and are of same parity, and the latter becomes zero otherwise.) The sum consists of a finite number of terms in reality, so one does not need to worry about the convergence.
The exact solution (5) is difficult to understand intuitively. We show numerical evaluation of in Figure 2. The initial position of the walker is fixed as . We separate graphs according to the parameter ; Figures 2(a), 2(b), and 2(c), respectively, correspond to , , and . ( is a key parameter for the average duration, as discussed in the following section.) is a unimodal function of for each parameter value. Power-law behavior is suggested in large when (see Figure 2(d)), which is further discussed in Section 4.
3. Analysis of Moment
In order to see properties of the random variable , moment analysis is developed in this section.
First, we calculate the moment generating function of , defined as Calculation process is summarized in Appendix B, and the result is Remarkably, contains no special functions, though the infinite summation in (7) involves a genuine hypergeometric function via .
Repeatedly differentiating and putting , we have the first and second moments of the duration as The average and the other moments remain finite when , and they diverge to infinity as . The variance of is given by
We can give a plain explanation for the average . The walker moves to the left by a length on average in a single hop. In other words, is a mean velocity of the walker toward the origin. Hence, it takes time steps on average to reach the origin.
The moment generating function (8) looks too complicated to calculate higher moments by differentiation. Alternatively, we provide another calculation method for moments of the duration .
We start from the difference equation for : Multiply and take summation for to get the following: The left-hand side can be expressed as The last equality uses , which means that a random walker surely hits the origin. (This normalization breaks if —see the discussion of total probability of hitting the origin in Section 5 in more detail.) We have a difference equation: A particular solution is given by , and the characteristic equation admits the two roots and . Thus, the general solution is which has two constants and . In a limiting case , the problem is still well-defined, and should be finite, so . Also, it is obvious that , so . The appropriate solution is therefore
Next we calculate the second moment. Multiplying and taking summation, we derive a difference equation: where we use for the calculation on the left-hand side. We assume a particular solution in the form , and determine two constants as The second moment is The homogeneous-solution part vanishes for the same reason as the average.
In short, this “bottom-up” method calculates higher moments inductively and generally becomes a polynomial of degree . For instance, the third moment is calculated as
4. Asymptotic Behavior
A summation and factorial, as well as a hypergeometric function, are not suitable to study limiting behavior, so we first reexpress the probability into a tractable form (it may be also possible to estimate factorials directly by Stirling’s formula). According to , the solution (1) of the classic ruin problem has another expression: This form is convenient in that one does not need to care about the parities of and . In fact, the integral holds the information of parities: In Appendix C, we prove this formula. Applying (21) to (3), we have the integral form of the probability : Here we estimate the integral where the integral variable is changed as in the second equality. For large , consider the following: Hence, the integrand is a rapidly decreasing function of , and we can extend the upper limit of the integration to infinity. Together with the approximation , we can carry out the integration as
Therefore, the asymptotic form is expressed as By the arithmetic mean-geometric mean inequality, we note that with equality holding if and only if (or by the notation in Section 2). Thus, the long-time behavior of is completely different according to whether equals zero, or not as follows.(i) If (i.e., ), , and hence asymptotically exhibits exponential decay due to . (ii) If (i.e., ), a power law with exponent is concluded: See Figure 2(d) for reference.
5. Concluding Remarks and Discussions
In the present paper, we have solved a one-dimensional first-passage problem where a random walker hops to the right with probability , left with , and does not hop with . We have calculated exactly the probability that the walker starting from position has duration . The average and higher moments of are calculated in two ways: by the moment generating function, and by the bottom-up calculation. The asymptotic form of is derived, and a power law is obtained when .
We make a brief discussion on the continuum limit, which is an appropriate scaling limit where the step width and time interval of the walker tend to zero. Let the step width be and time interval be , and position and time are scaled as and . In the continuum limit we take that , together with are kept finite. is the mean displacement per time unit, and is the diffusion coefficient corresponding to a nonhalting (or formally called a simple) random walk. The probability density function is suitable in the continuum limit, rather than the probability distribution . (“” represents the continuum limit.) Carrying out calculation similar to that in , is obtained. The probability density is called the inverse Gaussian distribution . In the continuum limit, the halting effect is reflected only upon the diffusion coefficient as . Comparing of a discrete problem in (5) and above of a continuum limit, we conclude that the discrete random walk is far more difficult than the continuous diffusion and that the results about the discrete random walk in this paper cannot be attained from continuous diffusion problem.
Combining (5), (7), and (8), we get We have not used the condition in the derivation of (5) and (8), so , , and can take any value independently. Setting and , Furthermore, setting (i.e., ), These formulas are nontrivial, but the author cannot tell whether they are useful in practice. We stress that an infinite series of which each term involves a genuine hypergeometric function is hardly known.
We comment on the total probability of hitting the origin. For the discrete problem, putting the moment generating function , If , the walker surely comes to the origin eventually, but if , the walker manages to avoid hitting the origin with a nonzero probability.
The equation describes a traffic jam, where stands for the probability distribution that the jam consists of cars at time , and and are involved in the rates at which cars enter and leave the jam. The scaling behavior with exponent has been observed in the lifetime distribution of jams . We think that results obtained in this paper can become theoretical bases; in particular, our discrete problem is comparable to a microscopic description of traffic, where discreteness is not negligible.
A. Calculation of (4)
Here we follow the calculation of (4) in detail. Employing the duplication formula , we rewrite as follows: By Euler’s reflection formula , Note that because is an integer. Similarly, is obtained. Substituting (A.2) and (A.3) into (A.1), then using the duplication formula again as we eventually come to the following result:
B. Calculation of the Moment Generating Function (8)
We follow here the calculation of (8). Substituting (3) into (7), where a summation variable is changed as in the last equality. Applying the negative binomial expansion with and , one obtains and simplifies (B.1) into We can transform as follows using the duplication formula : The moment generating function can be expressed by a Gauss hypergeometric function as It can be expressed by an elementary function as follows (see ): This leads to the conclusion.
C. Proof of (22)
We calculate the integral to prove (22). We first break up the product of circular functions into the sum: whose real part is This is just a Fourier series expansion of and is associated with the Chebyshev polynomial . Moreover, by formulas in trigonometry, Thus, Since , , and are integers, the first term in the integral is which behaves like the Kronecker delta —a subscript fraction may be unreadable, so we use instead of the standard symbol . The following terms in the integral are also substituted by , , and , respectively.
If and have opposite parity (i.e., and are odd), each Kronecker delta vanishes for all integer . Otherwise, if and have the same parity, each Kronecker delta becomes nonzero at some . By picking out such , Therefore, (22) is derived.
The author is grateful to Dr. Yoshihiro Yamazaki and Dr. Jun-ichi Wakita for their beneficial comments.
- S. Redner, A Guide to First-Passage Processes, Cambridge University Press, Cambridge, UK, 2001.
- P. Hänggi, “Reaction-rate theory: fifty years after Kramers,” Reviews of Modern Physics, vol. 62, no. 2, pp. 251–341, 1990.
- T. Verechtchaguina, I. M. Sokolov, and L. Schimansky-Geier, “First passage time densities in resonate-and-fire models,” Physical Review E, vol. 73, no. 3, Article ID 031108, 2006.
- N. Sazuka, J.-I. Inoue, and E. Scalas, “The distribution of first-passage times and durations in FOREX and future markets,” Physica A, vol. 388, no. 14, pp. 2839–2853, 2009.
- W. Feller, An Introduction to Probability Theory and Its Applications, vol. 1, Wiley, New York, NY, USA, 1957.
- D. Stanton and D. White, Constructive Combinatorics, Springer, New York, NY, USA, 1986.
- M. Abramowitz and I. A. Stegun, Handbook of Mathematical Functions, Dover, New York, NY, USA, 1970.
- M. C. K. Tweedie, “Statistical properties of inverse Gaussian distributions,” Annals of Mathematical Statistics, vol. 28, pp. 362–377, 1957.
- K. Nagel and M. Paczuski, “Emergent traffic jams,” Physical Review E, vol. 51, no. 4, pp. 2909–2918, 1995.
- A. Gil, J. Segura, and N. M. Temme, Numerical Methods for Special Functions, SIAM, Philadelphia, Pa, USA, 2007.
Copyright © 2013 Ken Yamamoto. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.