Next Article in Journal
A Large-Span Ring Deployable Perimeter Truss for the Mesh Reflector Deployable Antenna
Previous Article in Journal
Resolving Linguistic Asymmetry: Forging Symmetric Multilingual Embeddings Through Asymmetric Contrastive and Curriculum Learning
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Time-Dependent Probability Distribution of Two-Dimensional Moran Walk

by
Mohamed Abdelkader
Department of Statistics and Operations Research, College of Science, King Saud University, P.O. Box 2455, Riyadh 11451, Saudi Arabia
Symmetry 2025, 17(9), 1387; https://doi.org/10.3390/sym17091387
Submission received: 2 February 2025 / Revised: 27 February 2025 / Accepted: 12 March 2025 / Published: 25 August 2025
(This article belongs to the Section Mathematics)

Abstract

In this paper, we introduce and analyze a novel two-dimensional Moran random walk model, where each component evolves by either increasing by one unit or resetting to zero at each time step, with transition probabilities dependent on time. The primary contribution of this work is the derivation of an explicit closed-form expression for the probability distribution of the final maximum altitude, U n = max ( U n ( 1 ) , U n ( 2 ) ) . Additionally, we provide a detailed analysis of the height statistics and cumulative distribution associated with the model. Using probabilistic techniques, we establish the exact distribution of the final altitude and its moments. Furthermore, we conduct numerical simulations to illustrate the behavior of the model for various parameter values. These results offer new insights into the statistical properties of two-dimensional Moran processes and have potential applications in population genetics, nuclear physics, and related fields.

1. Introduction

Moran processes model population evolution (or mutation transmission) in a fixed-size population, where any individual that dies is immediately replaced by a new one. Various adaptations of the original process, introduced by Moran [1,2], have been explored in the literature, including more recent extensions such as those incorporating spatially structured populations [3]. Motivated by the literature, we define in this paper a new model of the Moran random walk in two dimensions. The two-dimensional Moran model is a mathematical framework used to study the evolution of allele frequencies in a population of two distinct types (alleles). The “symmetric” aspect typically implies that the population size remains constant, and each individual has an equal probability of reproducing. The Moran model is often used in population genetics. At each time step n, each individual can jump to the next level + 1 with a probability that depends on n and reset to 0 with a complementary probability.
In the literature, the statistical properties, including the limiting distribution, the mean, the variance and the cumulative function, of discrete random walks are studied in many scientific papers in one or more dimensions by different methods. We can mention the kernel method and singularity analysis (see [4,5]) via some links with continued fractions [6], or via more probabilistic approaches (see [7], which also illustrates links with random trees).
For example in dimension one, we can mention the important papers in our analysis. Abdelkader [8] analyzed the height of a one-dimensional random walk and proved that the random walk converges to a shifted geometric distribution with parameter 1 p asymptotically. Banderier and Flajolet [4] showed that the limiting distribution of the final altitude of a random meander of length n converges to a Rayleigh distribution (drift δ = 0 ) and a normal distribution ( δ > 0 ). In addition, in [9], Banderier and Nicodème studied the height of discrete bridges/meanders/excursions for discrete bounded walks. Similar extremal parameters were also studied for trees in [7,10].
For higher dimensions, still linked to our model, we can mention the two-dimensional Moran model, which was investigated by Aguech and Abdelkader in [11], where they showed that each walk converges to a shifted-geometric distribution and found their explicit expressions for the mean and the variance. In addition, they determined the exact distribution of the number of resets N n X and the explicit expressions of the mean and variance for the final altitude walk. Althagafi and Abdelkader [12] also studied the two-dimensional Moran model and proved that the limiting distribution of the age of each component converges to a shifted geometric distribution. Furthermore, they determined the closed expressions of the mean and the variance for the final altitude (maximum age between two walks) via the probability generating function. Other articles related to the Moran process (in biology and population genetics) involve similar higher-dimensional walk models; see [13,14].
The novelty of this work compared to the existing literature is that the transition probability depends on n. To the best of our knowledge, despite its significance, this model has never been studied in the literature.
The structure of this paper is organized as follows. In Section 2, we mathematically present the two-dimensional Moran model, define the final altitude and the height statistics, denoted by U n and H n , and discuss some applications. In Section 3, we state our main results concerning the probability distribution of the final altitude and the cumulative function of the height statistics associated with our model. In Section 4, we use the program R to compute the probability density function of the final altitude at time n = 25 with three different values of the probability q 1 : 0.1, 0.5, and 0.75. Additionally, we simulate the distribution of the final altitude at three different times, 10, 500, and 100, using q 1 values of 0.1, 0.5, and 0.75. In Section 5, we derive a closed-form expression for the distribution of the two components of our model. In Section 6, we present the joint probability distribution of the two components at two positive times, r and s. In Section 7, we show our main results. In Section 8, we present conclusions regarding our results and discuss future perspectives.

2. Presentation of the Model and Its Applications

In this section, we begin by introducing our two-dimensional Moran model, which is generated by a sequence of probabilities. We then present some basic definitions related to discrete random walks in one dimension, including the final statistics and height statistics. Additionally, we define the mean and variance of a discrete process.
The Moran model with two components U n ( 1 ) and U n ( 2 ) starts from 0 (i.e., U 0 ( 1 ) = 0 , U 0 ( 2 ) = 0 ) at time 0 and is defined mathematically by
( U n + 1 ( 1 ) , U n + 1 ( 2 ) ) = ( U n ( 1 ) + 1 , U n ( 2 ) + 1 ) , with probability q n + 1 2 , ( 0 , U n ( 2 ) + 1 ) , with probability q n + 1 ( 1 q n + 1 ) , ( U n ( 1 ) + 1 , 0 ) , with probability q n + 1 ( 1 q n + 1 ) , ( 0 , 0 ) , with probability ( 1 q n + 1 ) 2 ,
where q n is a probability sequence defined by the following: for all n 0
q 0 = 1 , q 1 = q ( 0 , 1 ) , q n = q n 1 + q n 1 ( 9 16 q n 1 ) .
Remark 1. 
We remark We can write q n = f ( q n 1 ) , where f is defined from [ 0 , 1 ] to [ 0 , 1 ] by f ( x ) = x + x ( 9 16 x ) . It is clear that f is an increasing function from [ 0 , 1 ] to [ 0 , 1 ] converges to x = 9 / 16 , which is a fixed point of f. If we assume q 1 < 3 / 4 , the law of U n ( i ) will almost converge to the law of a Moran process with q = 3 / 4 .
We define the final altitude U n , the height H n ( i ) of the component i = 1 , 2 and the height of all the walk H n by
U n = max ( U n ( 1 ) , U n ( 2 ) ) , H n ( i ) = max ( U 0 ( i ) , U 1 ( i ) , U 2 ( i ) , , U n ( i ) ) , i = 1 , 2 , H n = max ( U 0 , U 1 , U 2 , , U n ) .
U n , H n ( i ) , and H n are considered as discrete random walks with one dimension in the state space { 0 , , n } , and started from the initial state U 0 = 0 , H 0 ( i ) = 0 , and H 0 = 0 , respectively. But the ( U n ( 1 ) , U n ( 2 ) ) are considered a stochastic process with two dimensions in the state space S 2 = { 0 , , n } 2 , and started from the initial state 0 , 0 .
In this work, we study the probability distribution of the final altitude, denoted by U n , representing the maximum age between the two components U n ( 1 ) and U n ( 2 ) , based on the joint probability distribution of U n ( 1 ) and U n ( 2 ) . Additionally, in this paper, we analyze the height statistics, denoted by H n ( 1 ) of the first component U n ( 1 ) .
Our contribution is the derivation of a closed-form expression for the probability distribution of the final altitude U n , given by the following: for all k 0
P U n = k = ( 1 q n ) 2 , if k = 0 , 2 ( 1 q n ) ( 1 q n k ) j = n + 1 k n q j + ( 1 q n k ) 2 j = n k + 1 n q j 2 + 2 l = 1 k 1 ( 1 q n l ) ( 1 q n k ) j = 0 l 1 q n j 2 j = n k + 1 n l q j , if 1 k < n , 2 ( 1 q n ) j = 1 n q j + 2 l = 1 n 1 ( 1 q n l ) j = 0 l 1 q n j 2 j = 1 n l q j + j = 1 n q j 2 , if k = n .
Additionally, we use the R programming language to simulate the probability distribution described earlier for specific values of n, 10, 50, and 100, and for different values of q 1 (0, 1, 0.5, and 0.75) of the probability q 1 , where q 1 represents the first term of the sequence q n which generates our two-dimensional Moran model. Furthermore, we calculate the cumulative distribution function of the height statistics H n ( 1 ) of the first component U n ( 1 ) , given by the following: for all h 1
P H n ( 1 ) h = 1 , 0 · N n ( h ) · f 1 ( h ) f 0 ( h ) ,
where N n ( h ) = l = 2 n M l ( h ) , and M l ( h ) = 1 q l + 1 q l 1 0 .
The Moran random walk is a stochastic process that models the evolution of a population across discrete generations, where individuals interact and reproduce. It is a Markov chain used in population genetics to study the changes in allele frequencies in finite populations. Some applications of the Moran random walk include the following. Population Genetics:
(1)
Allele Frequency Dynamics: The Moran model is frequently used to study the stochastic fluctuations in the frequency of genetic alleles in finite populations. It helps in understanding how genetic diversity changes over time due to random events such as genetic drift.
(2)
Evolutionary Biology—Neutral Evolution: The Moran model is a tool for studying neutral evolution, where genetic changes are not influenced by natural selection but rather by random processes such as genetic drift.
(3)
Ecology— Species Coexistence: In the context of ecological systems, the Moran model can be adapted to study the dynamics of competing species in a finite habitat. It provides insights into the factors influencing species coexistence or extinction.
(4)
Game Theory—Evolutionary Game Dynamics: The Moran process has been used to model evolutionary game dynamics, where strategies or traits in a population compete for reproduction success. It helps analyze the emergence and persistence of strategies in a population.
(5)
Application in Population Genetics: The two-dimensional Moran walk can be used to model the stochastic evolution of allele frequencies in a population where mutations and genetic drift play a role. The time-dependent transition probabilities allow for a more realistic representation of populations with variable mutation rates or selection pressures over time. The maximum altitude statistics derived in this work could be used to estimate the likelihood of a particular allele reaching fixation or extinction within a given number of generations. This approach is particularly relevant for studying populations undergoing rapid environmental changes, where mutation rates or selection pressures may change dynamically rather than remain constant.

3. Main Result

In this section, we analyze the final altitude of the maximum age, U n = max ( U n ( 1 ) , U n ( 2 ) ) , at time n. Also, we study the height statistics of each component H n ( i ) , for i = 1 , 2 . Precisely, we find a closed form for the probability density function of U n , denoted by P U n = k , for all positive integer 0 k n based on the joint probability, denoted by P ( U n ( 1 ) = r , U n ( 2 ) = s ) , for all r , { 0 , 1 , , n } , of two random walks U n ( 1 ) and U n ( 2 ) . Also, we find the cumulative function of the height statistics, denoted by P ( H n ( 1 ) h ) , for all positive integer h, of the first component. In the next, we define the probability density function of Y n by
P U n = k = P max ( U n ( 1 ) , U n ( 2 ) ) = k .
In the next, Equation (3) can be written in the following equation:
P U n = k = P n ( 0 , 0 ) if k = 0 , 2 l = 0 k 1 P n k , l + P n k , k , if 1 k n .
The first principal theorem in this section concerns the distribution of the final altitude Y n , which is presented in the next theorem. This result is based on Theorem 3, about the joint distribution of U n ( 1 ) , U n ( 2 ) . We are able now to give the exact distribution of U n for all n 1 .
Theorem 1. 
The distribution of U n is given by the following: for all k 0
P U n = k = ( 1 q n ) 2 , i f k = 0 , 2 ( 1 q n ) ( 1 q n k ) j = n + 1 k n q j + ( 1 q n k ) 2 j = n k + 1 n q j 2 + 2 l = 1 k 1 ( 1 q n l ) ( 1 q n k ) j = 0 l 1 q n j 2 j = n k + 1 n l q j , i f 1 k < n , 2 ( 1 q n ) j = 1 n q j + 2 l = 1 n 1 ( 1 q n l ) j = 0 l 1 q n j 2 j = 1 n l q j + j = 1 n q j 2 , i f k = n .
As a consequence of Theorem 1, we deduce the expressions of the mean and the variance of the final altitude U n . The two expressions are very long and they are not easy to simplify. We want to simulate different values of n in Section 4.
Corollary 1. 
The mean and the variance of Y n are given by
E U n = k = 1 n k ( 1 q n k ) 2 ( 1 q n ) j = n + 1 k n q j + ( 1 q n k ) j = n k + 1 n q j 2 + 2 k = 1 n l = 1 k 1 k ( 1 q n l ) ( 1 q n k ) j = 0 l 1 q n j 2 j = n k + 1 n l q j + 2 n ( 1 q n ) j = 1 n q j + 2 n l = 1 n 1 ( 1 q n l ) j = 0 l 1 q n j 2 j = 1 n l q j + j = 1 n q j 2 V ar Y n = k = 1 n k 2 ( 1 q n k ) 2 ( 1 q n ) j = n + 1 k n q j + ( 1 q n k ) j = n k + 1 n q j 2 + 2 k = 1 n l = 1 k 1 k 2 ( 1 q n l ) ( 1 q n k ) j = 0 l 1 q n j 2 j = n k + 1 n l q j + 2 n 2 ( 1 q n ) j = 1 n q j + 2 n 2 l = 1 n 1 ( 1 q n l ) j = 0 l 1 q n j 2 j = 1 n l q j + n 2 j = 1 n q j 2 E Y n 2 .
The second principal result in this section concerns the distribution of the statistics height of the first component H n ( 1 ) , which is presented in the next theorem. This result is based on Lemma 4. Denote, for all h 0 and for all n 1 ,
f n ( h ) = P H n ( 1 ) h .
The probability f n ( h ) represents the distribution of the height of the first component U n ( 1 ) . It is clear that
f 0 ( h ) = P H 0 ( 1 ) h = 1 , h 0 , f 1 ( 0 ) = P H 1 ( 1 ) 0 = 1 q 1 , f 1 ( h ) = P H 1 ( 1 ) h = 1 , h 1 .
Theorem 2. 
The cumulative distribution of H n ( 1 ) is given by, for all h 1
P H n ( 1 ) h = 1 , 0 · N n ( h ) · f 1 ( h ) f 0 ( h ) ,
where N n ( h ) = l = 2 n M l ( h ) , and M l ( h ) = 1 q l + 1 q l 1 0 .

4. Simulation

In this section, we compute and simulate the probability of the final altitude U n for different values of the time n and for different values of the probability q 1 using the program R. Firstly, we use the program R to compute the probability of Y n , denoted by P ( U n = k ) , for all integers 0 k 25 , for three special cases of the probability q 1 : small value 0.1, medium value 0.5, and high value 0.75. Secondly, we simulate the probability density function of Y n for three special cases of the time n, 10, 50, and 100, with the different values 0.1, 0.5, and 0.75 of q 1 for each case. Finally, we compute the mean and the variance at different time n for different values of q 1 : 0.1, 0.5 and 0.75.
Figure 1 shows that the probability of the final altitude U 10 is increasing from 0.1985929, 0.191448, and 0.1914062 for k = 0 to attain its maximum 0.2758942 at k = 1 for the three different values (0.1, 0.5. and 0.75) of q 1 , and starts decreasing from k = 1 at time k = 10 , respectively. Also, we observe that the decay rate of the density function of U 10 for q 1 = 0.1 is quicker than the others q 1 (0.5 and 0.75). Finally, we remark some differences between the three tails. When q 1 = 0.1 and q 1 = 0.5 , the density function of U 10 approaches 0 at k = 7 and 9, respectively. But when q 1 = 0.75 , the probability of U 10 approaches 0 at k = 9 and increases at k = 10 .
Figure 2 shows that the probability of the final altitude U 50 is increasing from 0.1914062 for k = 0 to attain its maximum 0.2758942 at k = 1 for the three different values (0.1, 0.5, and 0.75) of q 1 , starts decreasing and approach 0 at time k = 10 , respectively. Also, we observe that the decay rate of the density function of U 50 for q 1 = 0.1 is quicker than the others q 1 (0.5, and 0.75). Finally, we remark that the density function of U 50 equals 0 approximately from k = 25 to k = 50 for the three values 0.1, 0.5, and 0.75) of q 1 . Plus, precisely, the probability P ( U 50 = k ) equals 8.809441 × 10 7 and is decreasing to 1.846409 × 10 14 , 5.134722 × 10 13 , and 3.266140 × 10 13 from time k = 25 to 50 for the values (0.1, 0.5, and 0.75) of q 1 , respectively.
From Figure 3, we observe that the probability of the final altitude U 100 is increasing from 0.1914062 for k = 0 to attain its maximum 0.2758942 at k = 1 for the three different values (0.1, 0.5, and 0.75) of q 1 , starts decreasing and approach 0 at time k = 10 , respectively. Also, we observe that the decay rate of the density function of U 50 for q 1 = 0.1 is quicker than the others q 1 (0.5, and 0.75). Finally, we remark that the density function of U 100 equals 0 approximately from k = 25 to k = 100 for the three values 0.1, 0.5, and 0.75 of q 1 . Plus, precisely, the probability P ( U 100 = k ) equals 8.809441 × 10 7 and is decreasing to 4.960540 × 10 28 , 1.241540 × 10 25 , and 2.369189 × 10 25 from time k = 25 to 100, for the values (0.1, 0.5, and 0.75) of q 1 , respectively.
All the curves show that the distribution of the final altitude is primarily concentrated on small values, while the probability of taking large values tends to zero.
Table 1 lists the probability of the final altitude U n , for n = 25 with different values of q 1 (0.1, 0.5, and 0.75). In the first case, when the sequence q n starts from a small value equal to 0.1 at time 1 and increasing to 0.5625, which is the fixed point of the sequence q n defined in Equation (2), we remark that the probability of the random walk Y n is decreasing from 0.2758942 at time 1 to 0.2731112 at time 25. In the second case, when the sequence q n starts from a medium value equal to 0.5 at time 1 and increasing to 0.5625, we observe that the probability of the random walk Y n is decreasing from 0.2758942 at time 1 to 6.835509 × 10 7 at time 25. In the last case, when the sequence q n starts from a high value equal to 0.75 at time 1 and increasing to 0.5625, we observe that the probability of the random walk U n is decreasing from 0.2758942 at time 1 to 1.304397 × 10 6 at time 25. Also, we remark that the fixed point of the sequence q n in the first case is attained at the time 25 but in the second and third cases, it is attained at time 19.
From Table 2, we remark that the mean of the final altitude is increasing from time 2 to time 34 for different values of q 1 = 0.1 , 0.5, and 0.75 and is stable at any time n more than 34. Also, the maximum mean is attained at time 35 of the final altitude U n and equals 2.108571 for the three values of q 1 . But the maximum variance is attained at time 40 of the final altitude U n and equals 3.846269 for the three values of q 1 . In addition, it is stable at any time n greater than or equal to 40.

5. Marginal Distribution of U n ( i ) , i = 1 , 2

In this section, we analyze the distribution of two random walks U n ( 1 ) and U n ( 2 ) . Precisely, we find just a closed form of the distribution of U n ( 1 ) and by a similar argument, we determine the expression of the distribution of U n ( 2 ) . We introduce, for i = 1 , 2 , the random walk U n ( i ) : for all n 0 , given U n ( i ) , the values of U n + 1 ( i ) are given by
U n + 1 ( i ) = U n ( i ) + 1 , with probability q n + 1 , 0 , with probability 1 q n + 1 .
From System (4), we deduce the following lemma about the distribution of U n ( 1 ) and by symmetries, we obtain also the distribution of U n ( 2 ) .
Lemma 1. 
For all n 1 , the distribution of U n ( 1 ) is given by
P ( U n ( 1 ) = r ) = 1 q n , i f r = 0 , r = 1 n q r , i f r = n , ( 1 q n r ) j = n + 1 r n q j , i f 0 < r < n .
Proof. 
We start this proof the two special cases k = 0 and k = n :
P ( U n ( 1 ) = 0 ) = ( 1 q n ) l = 0 n 1 P ( U n 1 ( 1 ) = l ) = 1 q n ,
P ( U n ( 1 ) = n ) = q n P ( U n 1 ( 1 ) = n 1 ) ,
and we iterate Equation (5), then we obtain
P ( U n ( 1 ) = n ) = q n P ( U n 1 ( 1 ) = n 1 ) = r = 1 n q r .
For 0 < r < n we use recurrence reasoning. We take n = 2 and r = 1 , and it is clear that
P ( U 2 ( 1 ) = 1 ) = q 2 P ( U 1 ( 1 ) = 0 ) = q 2 ( 1 q 1 ) ,
and supposing that
P ( U n ( 1 ) = r ) = ( 1 q n r ) j = n + 1 r n q j ,
we prove that the preceding hypothesis is true for n + 1
P ( U n + 1 ( 1 ) = r ) = q n + 1 P ( U n ( 1 ) = r 1 ) ,
using (6), then we obtain
P ( U n + 1 ( 1 ) = r ) = q n + 1 ( 1 q n + 1 r ) j = n + 2 r n q j = ( 1 q n + 1 r ) j = n + 2 r n + 1 q j ,
and we finish the proof. □
Remark 2. 
By symmetry, we have that for all n 1 , the distribution of U n ( 2 ) is given by
P ( U n ( 2 ) = 0 ) = 1 q n , P ( U n ( 2 ) = n ) = s = 1 n q s , P ( U n ( 2 ) = s ) = ( 1 q n s ) j = n + 1 s n q j , i f 0 < s < n .
We observe that for q 1 < 3 / 4 and n big enough,
P ( U n ( 1 ) = n ) = P ( U n ( 2 ) = n ) C 9 16 n ,
where C a strictly positive constant.

6. Recursive Equations

In this section, we find a closed form of the probability of the process defined in (1), denoted by P ( U n ( 1 ) = r , U n ( 2 ) = s ) at the time n. Precisely, we find a relationship between P ( U n ( 1 ) = r , U n ( 2 ) = s ) and P ( U n 1 ( 1 ) = k 1 , U n 1 ( 2 ) = k 2 ) , for all 0 r , s n , using the conditional probability. We study three cases for ( r , s ) , ( 0 , 0 ) , ( r , 0 ) or ( r , s ) , where r 1 and s 1 . We start by the following notation: for all r, s { 0 , , n }
P n ( r , s ) = P U n ( 1 ) = r , Y n ( 2 ) = s .
We start this section with a very important theorem. It leads to finding a closed form of the probability P n ( r , s ) for all r , s { 0 , , n } . This theorem is very important and will be used to prove the first result: Theorem 1 in Section 3.
Theorem 3. 
The joint probability distribution of ( U n ( 1 ) , U n ( 2 ) ) is given by
P n ( r , s ) = ( 1 q n s ) ( 1 q n r ) k = 0 s 1 q n k 2 j = n r + 1 n s q j , i f 1 s < r < n ( 1 q n ) ( 1 q n r ) j = n + 1 r n q j , i f 1 r < n , s = 0 , ( 1 q n ) 2 , i f r = 0 , s = 0 .
Remark 3. 
By similarity, we have that for all 1 s < n and r = 0
P n ( 0 , s ) = ( 1 q n ) ( 1 q n s ) j = n + 1 s n q j a n d P n ( 0 , n ) = ( 1 q n ) j = 1 n q j .
When n is very large, we have the following estimation:
P n ( 0 , 0 ) 7 16 2 .
We will need the following lemmas to prove Theorem 3.
Lemma 2. 
We have the following recursion: for all n > 1 ,
P n ( n , 0 ) = ( 1 q n ) j = 1 n q j , P n ( r , 0 ) = ( 1 q n ) ( 1 q n r ) j = n + 1 r n q j , i f 1 r < n .
Proof. 
For 1 r < n and s = 0 , we have
P n ( r , 0 ) = k = 0 n P ( U n ( 1 ) = r , U n ( 2 ) = 0 , U n 1 ( 1 ) = r 1 , U n 1 ( 2 ) = k ) = k = 0 n P ( U n ( 1 ) = r , U n ( 2 ) = 0 | U n 1 ( 1 ) = r 1 , U n 1 ( 2 ) = k ) × P ( U n 1 ( 1 ) = r 1 , U n 1 ( 2 ) = k ) = q n ( 1 q n ) k = 0 n 1 P n 1 ( r 1 , k ) = q n ( 1 q n ) P U n 1 ( 1 ) = r 1
Applying Lemma 1, we obtain
P n ( r , 0 ) = ( 1 q n ) ( 1 q n r ) j = n r + 1 n q j .
For the special case r = n , we have
P n ( n , 0 ) = q n ( 1 q n ) P ( Y n 1 ( 1 ) = n 1 ) ,
and applying Lemma 1, we obtain
P n ( n , 0 ) = ( 1 q n ) j = 1 n q j ,
and the proof is finished. □
Remark 4. 
By symmetry, we have the following recursion:
P n ( 0 , n ) = ( 1 q n ) j = 1 n q j , P n ( 0 , s ) = ( 1 q n ) ( 1 q n s ) j = n + 1 s n q j , i f 1 s < n .
Lemma 3. 
We have the following recursion: for all n > 1 , r > 0 and s > 0
P n ( r , s ) = ( 1 q n s ) ( 1 q n r ) k = 0 s 1 q n k 2 j = n r + 1 n s q j , i f 1 s < r < n ( 1 q n s ) k = 0 s 1 q n k 2 j = 1 n s q j , i f 1 s < r = n , ( 1 q n r ) 2 j = n r + 1 n q j 2 , i f 1 s = r < n , j = 1 n q j 2 , i f 1 s = r = n .
Proof. 
It is clear that, for 1 r = s = n , we have
P n ( n , n ) = j = 0 n q j 2 .
For all integers r, c and n such that 1 s = r < n , we iterate P n ( r , r ) , r times
P n ( r , r ) = q n 2 q n r + 1 2 P n r ( 0 , 0 ) = ( 1 q n r ) 2 j = n r + 1 n q j 2
For all r > s , we have
P n ( r , s ) = P ( U n ( 1 ) = r , U n ( 2 ) = s ) = P ( U n ( 1 ) = r , U n ( 2 ) = s , U n 1 ( 1 ) = r 1 , U n 1 ( 2 ) = s 1 ) = P ( U n ( 1 ) = r , U n ( 2 ) = s | U n 1 ( 1 ) = r 1 , U n 1 ( 2 ) = s 1 ) × P ( U n 1 ( 1 ) = s 1 , U n 1 ( 1 ) = s 1 ) = q n 2 P n 1 ( r 1 , s 1 ) = P n s ( r s , 0 ) k = 0 s 1 q n k 2 .
Applying Lemma 1, we have
P n s ( r s , 0 ) = ( 1 q n s ) ( 1 q n r ) j = n r + 1 n s q j , if 1 s < r < n , ( 1 q n s ) j = 1 n s q j , if 1 s < r = n .
Combining Equations (8)–(10), we finish the proof. □
We use the preceding Lemmas 2 and 3 to prove Theorem 3.
Proof. 
It is clear that, for r = s = 0 we have
P n ( 0 , 0 ) = ( 1 q n ) 2 7 16 2 .
For the rest of the proof, we can deduce directly from Lemmas 2 and 3. □
Corollary 2. 
We have the following recursion: for all n 1 , k 1
P n ( k , k ) = ( 1 q n k ) 2 j = n k + 1 n q j 2 , i f 1 k < n , j = 1 n q j 2 , i f k = n .
Proof. 
The proof is deduced directly from Lemma 3. □

7. Proofs

In this section, we prove the results in Section 3. We use Lemmas 2 and 3 and Corollary 2 to prove Theorem 1. For the proof of Theorem 2, we use Lemma 4. We start to prove Theorem 1.
Proof. 
We have the following: for all k 1 and n 1
P U n = k = 2 P n k , 0 + 2 l = 1 k 1 P n k , l + P n k , k ,
applying Lemmas 2 and 3 and Corollary 2, for all 1 k < n
P n ( k , 0 ) = ( 1 q n ) ( 1 q n k ) j = n + 1 k n q j , P n k , l = ( 1 q n l ) ( 1 q n k ) j = 0 l 1 q n j 2 j = n k + 1 n l q j , P n k , k = ( 1 q n k ) 2 j = n k + 1 n q j 2 ,
we obtain
P ( Y n = k ) = 2 ( 1 q n ) ( 1 q n k ) j = n + 1 k n q j + ( 1 q n k ) 2 j = n k + 1 n q j 2 + 2 l = 1 k 1 ( 1 q n l ) ( 1 q n k ) j = 0 l 1 q n j 2 j = n k + 1 n l q j .
In the case k = n , using the following equalities in Lemmas 2, 3 and Corollary 2,
P n ( n , 0 ) = ( 1 q n ) j = 1 n q j , P n n , l = ( 1 q n l ) j = 0 l 1 q n j 2 j = 1 n l q j , P n n , n = j = 1 n q j 2 ,
then, we obtain
P ( U n = n ) = 2 ( 1 q n ) j = 1 n q j + 2 l = 1 n 1 ( 1 q n l ) j = 0 l 1 q n j 2 j = 1 n l q j + j = 1 n q j 2 .
In the following, we prove Theorem 2. We introduce the following technical lemma concerning the relationship between f n + 1 ( h ) , f n ( h ) and f n 1 ( h ) , for all h 0 , for all n 1 , where the probability f n ( h ) represents the distribution of the height of the first component Y n ( 1 ) .
Lemma 4. 
We have the following recursion, for all n 1 :
f n + 1 ( h ) = f n ( h ) q n + 1 q n f n 1 ( h ) .
Proof. 
We have, for all h 0 ,
f n + 1 ( h ) = P U 0 ( 1 ) h , U 1 ( 1 ) h , , U n + 1 ( 1 ) h = E I { U 0 ( 1 ) h , U 1 ( 1 ) h , , U n + 1 ( 1 ) h } = E I { U 0 ( 1 ) h , U 1 ( 1 ) h , , U n ( 1 ) h } I { U n + 1 ( 1 ) h } = E I { U 0 ( 1 ) h , U 1 ( 1 ) h , , U n ( 1 ) h } 1 I { U n + 1 ( 1 ) h + 1 } = E I { U 0 ( 1 ) h , U 1 ( 1 ) h , , U n ( 1 ) h } E I { U 0 ( 1 ) h , U 1 ( 1 ) h , , U n ( 1 ) h } I { U n + 1 ( 1 ) h + 1 } = f n ( h ) P U 0 ( 1 ) h , U 1 ( 1 ) h , , U n 1 ( 1 ) h , U n ( 1 ) = h , U n + 1 ( 1 ) = h + 1 = f n ( h ) P U n + 1 ( 1 ) = h + 1 | { U 0 ( 1 ) h , U 1 ( 1 ) h , , U n 1 ( 1 ) h , U n ( 1 ) = h } × P U 0 ( 1 ) h , U 1 ( 1 ) h , , U n 1 ( 1 ) h , U n ( 1 ) = h = f n ( h ) P U n + 1 ( 1 ) = h + 1 | { U n ( 1 ) = h } × P U n ( 1 ) = h | { U n 1 ( 1 ) h } × P U 0 ( 1 ) h , U 1 ( 1 ) h , , U n 1 ( 1 ) h = f n ( h ) q n + 1 q n f n 1 ( h ) .
The last equality is due to the fact that, if
R n ( h ) = P U 0 ( 1 ) h , U 1 ( 1 ) h , , U n 1 ( 1 ) h , U n ( 1 ) = h ,
then
R n ( h ) = P U n ( 1 ) = h | { U 0 ( 1 ) h , U 1 ( 1 ) h , , U n 1 ( 1 ) h } × P U 0 ( 1 ) h , U 1 ( 1 ) h , , U n 1 ( 1 ) h = P U n ( 1 ) = h | { U n 1 ( 1 ) h } × f n 1 ( h ) = q n × f n 1 ( h ) .
Lemma 4 leads us to prove Theorem 2.
Proof. 
Denote, for all n by
A n ( h ) = f n ( h ) f n 1 ( h ) .
We have from Lemma 4,
A n ( h ) = M n ( h ) A n 1 ( h ) ,
then we obtain recursively
A n ( h ) = l = 2 n M l ( h ) A 1 ( h ) = N n ( h ) A 1 ( h ) .

8. Conclusions and Perspective

In this work, we have introduced and analyzed a novel two-dimensional Moran walk model, characterized by a time-dependent probability distribution. Our main contributions include deriving explicit closed-form expressions for the probability distribution of the final maximum altitude, as well as providing a thorough statistical analysis of the model’s behavior through simulations and probabilistic techniques. These results shed new light on the statistical properties of the two-dimensional Moran process and contribute to a broader understanding of discrete stochastic processes in both mathematical and applied contexts. From a theoretical perspective, our findings highlight the significance of the transition probability dependence on time, which introduces additional complexity compared to traditional Moran processes. The obtained probability distribution functions, moment expressions, and cumulative distributions offer new insights into the extremal statistics of such stochastic processes. Furthermore, our simulations confirm the theoretical predictions and provide a deeper understanding of how different parameter choices affect the evolution of the Moran walk. As a perspective, several promising directions for future research emerge from our study:
  • Extension to Higher Dimensions: While this work focuses on a two-dimensional setting, a natural extension would be to analyze the Moran walk in three or more dimensions. This generalization could provide a more comprehensive understanding of multidimensional population dynamics and other related stochastic processes.
  • Derivation of Recurrence Relations: A key challenge is to establish explicit recurrence relations between the functions f n ( u ) and f n + 1 ( u ) that describe the evolution of height statistics. Extracting the coefficient [ z n ] F h ( z , 1 ) would provide further insights into the distribution of H n and its limiting behavior.
  • Asymptotic Analysis of Maximum Height: Determining the limiting behavior of H n as n would be an important theoretical advancement. This could be achieved through generating function techniques, kernel methods, and singularity analysis.
  • Moment Generating Function for Height Statistics: Using moment generating functions, we could obtain refined information about the mean and variance of H n . This approach would allow for a more comprehensive characterization of the distribution of the maximum altitude.
  • Applications in Population Genetics and Evolutionary Biology: Given its origins in modeling genetic drift and allele frequency evolution, our Moran walk framework could be further adapted to incorporate selection effects, mutations, and varying population sizes. Such extensions would enhance the model’s applicability to real-world biological systems.
  • Numerical Approximations and Machine Learning Approaches: The complexity of the recurrence relations and probability distributions suggests the potential benefit of employing numerical methods and machine learning techniques to approximate the behavior of the Moran walk under different parameter regimes.
Overall, this study provides a strong foundation for future explorations of time-dependent stochastic processes and their applications. We anticipate that the techniques developed here will prove valuable for both theoretical research and practical applications in various scientific fields.

Funding

The author extends him appreciation to Ongoing Research Funding Program, (ORF-2025-1068), King Saud University, Riyadh, Saudi Arabia.

Data Availability Statement

The random walks were generated using the RStudio-2023.09.0 program.

Acknowledgments

The author extends him appreciation to Ongoing Research Funding Program, (ORF-2025-1068), King Saud University, Riyadh, Saudi Arabia.

Conflicts of Interest

The author declares no conflict of interest.

References

  1. Moran, P.A.P. Random processes in genetics. Proc. Camb. Philos. Soc. 1958, 54, 60–71. [Google Scholar] [CrossRef]
  2. Moran, P.A.P. The Statistical Processes of Evolutionary Theory; Oxford University Press: Oxford, UK, 1962. [Google Scholar]
  3. Lieberman, E.; Hauert, C.; Nowak, M.A. Evolutionary dynamics on graphs. Nature 2005, 433, 312–316. [Google Scholar] [CrossRef] [PubMed]
  4. Banderier, C.; Flajolet, P. Basic analytic combinatorics of directed lattice paths. Theor. Comput. Sci. 2002, 281, 37–80. [Google Scholar] [CrossRef]
  5. Flajolet, P.; Sedgewick, R. Analytic Combinatorics; Cambridge University Press: Cambridge, UK, 2009. [Google Scholar]
  6. Flajolet, P.; Guillemin, F. The formal theory of birth-and-death processes, lattice path combinatorics and continued fractions. Adv. Appl. Probab. 2000, 32, 750–778. [Google Scholar] [CrossRef]
  7. Drmota, M. Random Trees: An Interplay Between Combinatorics and Probability; Springer: Vienna, Austria, 2009. [Google Scholar]
  8. Abdelkader, M. On the Height of One-Dimensional Random Walk. Mathematics 2023, 11, 4513. [Google Scholar] [CrossRef]
  9. Banderier, C.; Nicodème, P. Bounded discrete walks. Discret. Math. Theor. Comput. Sci. 2010, AM, 35–48. [Google Scholar] [CrossRef]
  10. de Bruijn, N.G.; Knuth, D.E.; Rice, S.O. The average height of planted plane trees. In Graph Theory and Computing; Academic Press: Cambridge, MA, USA, 1972; pp. 15–22. [Google Scholar]
  11. Aguech, R.; Abdelkader, M. Two-Dimensional Moran Model: Final Altitude and Number of Resets. Mathematics 2023, 11, 3774. [Google Scholar] [CrossRef]
  12. Althagafi, A.; Abdelkader, M. Two-Dimensional Moran Model. Symmetry 2023, 15, 1046. [Google Scholar] [CrossRef]
  13. Huillet, T.E. Random walk Green kernels in the neutral Moran modelconditioned on survivors at a random time to origin. Math. Popul. Stud. 2016, 23, 164–200. [Google Scholar] [CrossRef]
  14. Huillet, T.; Möhle, M. Duality and asymptotics for a class of nonneutral discrete Moran models. J. Appl. Probab. 2009, 46, 866–893. [Google Scholar] [CrossRef]
Figure 1. Simulation of the distribution of the final altitude U 10 with different values of q = 0.1 , 0.5 , and 0.75 .
Figure 1. Simulation of the distribution of the final altitude U 10 with different values of q = 0.1 , 0.5 , and 0.75 .
Symmetry 17 01387 g001
Figure 2. Simulation of the distribution of the final altitude U 50 with different values of q = 0.1 , 0.5 , and 0.75 .
Figure 2. Simulation of the distribution of the final altitude U 50 with different values of q = 0.1 , 0.5 , and 0.75 .
Symmetry 17 01387 g002
Figure 3. Simulation of the distribution of the final altitude U 100 with different values of q = 0.1 , 0.5 , and 0.75 .
Figure 3. Simulation of the distribution of the final altitude U 100 with different values of q = 0.1 , 0.5 , and 0.75 .
Symmetry 17 01387 g003
Table 1. Computation of the probability distribution of the final altitude Y n for different values of q 1 (=0.1, 0.5, 0.75).
Table 1. Computation of the probability distribution of the final altitude Y n for different values of q 1 (=0.1, 0.5, 0.75).
k q 1 = 0.1 P ( U n = k ) q 1 = 0.5 P ( U n = k ) q 1 = 0.75 P ( U n = k )
01.00000000.19859291.00000000.1914481.00000000.1914062
10.10000002.758942e-010.50000000.27589420.75000000.2758942
20.14625000.20841900.53125000.20841890.60937500.2084189
30.20712660.13407750.54785160.13407740.58081050.1340774
40.2807338 8.074750 × 10 2 0.5558767 8.074742 × 10 2 0.5701756 8.074742 × 10 2
50.3598351 4.710661 × 10 2 0.5595585 4.710651 × 10 2 0.5657992 4.710650 × 10 2
60.4327611 2.703102 × 10 2 0.5612044 2.703090 × 10 2 0.5639325 2.703090 × 10 2
70.4889070 1.537384 × 10 2 0.5619315 1.537368 × 10 2 0.5631247 1.537368 × 10 2
80.5248872 8.701309 × 10 3 0.5622510 8.701104 × 10 3 0.5627729 8.701101 × 10 3
90.5446297 4.911533 × 10 3 0.5623910 4.911271 e × 10 3 0.5626193 4.911268 × 10 3
100.5543624 2.768274 × 10 3 0.5624523 2.767938 × 10 3 0.5625522 2.767934 × 10 3
110.5588736 1.559089 × 10 3 0.5624791 1.558658 × 10 3 0.5625228 1.558653 × 10 3
120.5609003 8.778338 × 10 4 0.5624909 8.772823 × 10 4 0.5625100 8.772757 × 10 4
130.5617976 4.943445 × 10 4 0.5624960 4.936430 × 10 4 0.5625044 4.936344 × 10 4
140.5621922 2.786116 × 10 4 0.5624983 2.777307 × 10 4 0.5625019 2.777197 × 10 4
150.5623652 1.573182 × 10 4 0.5624992 1.562443 × 10 4 0.5625008 1.562302 × 10 4
160.5624410 8.912147 × 10 5 0.5624997 8.789762 × 10 5 0.5625004 8.787950 × 10 5
170.5624742 5.064433 × 10 5 0.5624999 4.945034 × 10 5 0.5625002 4.942704 × 10 5
180.5624887 2.859621 × 10 5 0.5624999 2.782433 × 10 5 0.5625001 2.779435 × 10 5
190.5624951 1.551693 × 10 5 0.5625000 1.566149 × 10 5 0.5625000 1.562291 × 10 5
200.5624978 7.578482 × 10 6 0.5625000 8.822321 × 10 6 0.5625000 8.772609 × 10 6
210.5624991 3.063972 × 10 6 0.5625000 4.977887 × 10 6 0.5625000 4.913523 × 10 6
220.5624996 9.481874 × 10 7 0.5625000 2.817098 × 10 6 0.5625000 2.732258 × 10 6
230.5624998 2.114740 × 10 7 0.5625000 1.600020 × 10 6 0.5625000 1.478789 × 10 6
240.5624999 3.260353 × 10 8 0.5625000 9.066788 × 10 7 0.5625000 5.767281 × 10 7
250.5625000 2.731112 × 10 9 0.5625000 6.835509 × 10 7 0.5625000 1.304397 × 10 6
Table 2. Computation of the mean and the variance of the final altitude U n at different times n for different values of q 1 (=0.1, 0.5, and 0.75).
Table 2. Computation of the mean and the variance of the final altitude U n at different times n for different values of q 1 (=0.1, 0.5, and 0.75).
n q 1 = 0.1 q 1 = 0.5 q 1 = 0.75
E ( U n ) V ar ( U n ) E ( U n ) V ar ( U n ) E ( U n ) V ar ( U n )
20.29272670.25768970.86627240.66253690.76342470.801805
30.43407280.38319441.2959871.1569941.3052941.484398
40.61283070.53691511.5909491.6712041.6391452.073645
50.82944680.72950311.7846572.1631991.8313672.561173
61.0715070.96989791.9086652.5947311.9421512.937289
71.3159711.2644191.9865782.9467292.0073593.213559
81.5373251.610872.0348053.2178442.0465653.410965
91.718051.9919552.0643013.4174812.0704893.549767
101.8531482.3767712.0821653.5593692.0851993.646234
152.0879333.5859332.1066943.8147432.1066393.821841
202.1072943.8191832.1084453.8434172.1084263.843783
252.1084983.844012.1085633.8460372.1085613.846046
302.1085673.84612.1085713.8462522.1085713.846251
352.1085713.8462582.1085713.8462682.1085713.846268
402.1085713.8462692.1085713.8462692.1085713.846269
452.1085713.8462692.1085713.8462692.1085713.846269
502.1085713.8462692.1085713.8462692.1085713.846269
1002.1085713.8462692.1085713.8462692.1085713.846269
5002.1085713.8462692.1085713.8462692.1085713.846269
10002.1085713.8462692.1085713.8462692.1085713.846269
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Abdelkader, M. Time-Dependent Probability Distribution of Two-Dimensional Moran Walk. Symmetry 2025, 17, 1387. https://doi.org/10.3390/sym17091387

AMA Style

Abdelkader M. Time-Dependent Probability Distribution of Two-Dimensional Moran Walk. Symmetry. 2025; 17(9):1387. https://doi.org/10.3390/sym17091387

Chicago/Turabian Style

Abdelkader, Mohamed. 2025. "Time-Dependent Probability Distribution of Two-Dimensional Moran Walk" Symmetry 17, no. 9: 1387. https://doi.org/10.3390/sym17091387

APA Style

Abdelkader, M. (2025). Time-Dependent Probability Distribution of Two-Dimensional Moran Walk. Symmetry, 17(9), 1387. https://doi.org/10.3390/sym17091387

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop