



Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!




Richard A. Monte
Abstract. We look at the principles governing the one-dimensional discrete random walk. First we review five basic concepts of probability theory. Then we consider the Bernoulli process and the Catalan numbers in greater depth. Finally we determine the probability that, if a drunk is found again at the bar, then this is his first return visit.
These issues are discussed, for example, in Rota’s book on probability [ 3 ]. The one-dimensional discrete case is most widely known because it is simple, yet illustrates many interesting and important features. In this paper, we treat this case of the first issue above. Thus we answer a basic question: What is the probability that the drunk is at a certain distance x, from the bar, after n steps? In Section 2, we review five basic topics: the sample space, the binomial coefficient, random variables, the Bernoulli process, and Catalan numbers. In Section 3, we find the probability distribution for the position of the drunk after n steps. In Section 4, we proceed to calculate the probability that the drunk arrives at the bar for the first time after n steps. Finally, in Section 5, we determine the conditional probability that the drunk’s first return occurs on the nth step given that he is indeed at the bar then; the formula is surprisingly simple.
(n k
is defined to be the number of k-combinations of an n-element set. In other words, it is the number of different ways to pick k elements out of n. The binomial coefficient is given by the formula, ( n k
n! (n − k)! k!
144 MIT Undergraduate Journal of Mathematics
This formula is proved in [ 1 , p. 61]. Third, a random variable is defined to be a function X that assigns to each element c, in the sample space of an experiment, one and only one real number X(c). The sample space Ω of X is the set of real numbers x such that x = X(c) for some c in the sample space of the experiment. This definition is found in [ 2 , p. 28]. Fourth, a Bernoulli process is defined to be a sequence of random variables X 1 , X 2 , X 3 ,.... Each Xi records the outcome of an experiment modeled by the toss of a coin. Let p equal the probability of getting a head, and q the probability of getting a tail. Since these are the only possible outcomes, p + q = 1. Let Xi be 1 if the nth trial yields a head, and be −1 if a tail. Thus, the sample space Ω of a Bernoulli process is the set of all possible sequences of 1 and −1. Fifth and finally, the nth Catalan number cn counts certain arrangements of 2n parentheses. A well-formed arrangement is a list of 2n parentheses where each open parenthesis can be paired with a corresponding closed parenthesis to its right. The nth Catalan number is the number of such well-formed arrangements. For example, when n = 3, the possible well-formed arrangements are
()()(), ()(()), (())(), (()()), ((())).
According to [ 1 , p. 253], the nth Catalan number cn is given by the formula,
cn =
n + 1
2 n n
Thus, for example, the first six Catalan numbers are 1, 1 , 2 , 5 , 14 , and 42.
Gn = X 1 + X 2 +... + Xn
gives the position of the drunk after n steps. We want to know the distribution of the random variable Gn. Denote the value of Gn by x. Denote the number of steps taken to the right by r, the number to the left by l. Then
x = r − l and n = r + l.
It follows that
r = 12 (x + n) and l = 12 (n − x).
Now, there are
(n l
ways that l given steps can occur among n total steps. This is also the number of ways of arriving at the point x, and each way has probability pr^ ql. Note that n and x must have the same parity because n − x = 2l. We can therefore conclude that the probability distribution at point x is given by the formula,
146 MIT Undergraduate Journal of Mathematics
−1 without ever crossing to the right of −1. Then the final step brings the drunk back into the bar. This counts the total number of different paths that the drunk can take given the condition that the first return be at the 2nth step. Summarizing, we have the following sequence of steps:
Hence, the number of paths the drunk can take is simply the Catalan number cn− 1 , since the well-ordered restriction applies only to the middle 2n − 2 steps. We know that the nth Catalan number is equal to
1 n + 1
2 n n
So the (n − 1)st Catalan number is simply
1 n
2 n − 2 n − 1
Allowing the drunk to take his first step to the right will double the total number of paths that the drunk can take. So the total is
n
2 n − 2 n − 1
To compute the probability of first return, we need only divide this quantity by the size of the total sample space. The latter was seen at the end of Section 3 to be 2^2 n since there are 2n steps. Therefore, the probability that the drunk reaches the bar for the first time after 2n steps is
n
2 n − 2 n − 1
22 n.
So, for example, consider the probability that the first return is at Step 2n = 6; this probablity is given by
2
The Random Walk For Dummies 147
To find the probability that the drunk will be at the bar after 2n steps, we use the conclusions from Section 3 to obtain
P (G 2 n = 0) =
2 n n
p
(^12) (2n) q
(^12) (2n) .
Since p = q = 12 , this expression becomes
( 2 n n
22 n.
The numerator in this expression represents the number of paths the drunk can take provided he is at the bar at the 2nth step. This is sample space we need for the conditional probability. From Section 4, recall that, if the drunk’s first return visit is on the 2nth step, then the number of paths that the drunk can take is
n
2 n − 2 n − 1
On the other hand, in Section 3, we found the number of paths that the drunk can take that put him back at the bar on Step 2n; this number is simply
( 2 n n
Finally we divide these two numbers, getting
n
2 n − 2 n − 1
2 n n
n
(2n − 2)! (n − 1)!(n − 1)!
(2n)! n!n!
which simplifies to
2 n
2 n(2n − 1) n^2
2 n 2 n(2n − 1)
2 n − 1
The final simplicity is amazing! The formula is just
1 #(steps) − 1
and is unexpectedly simple!
References
[ 1 ] Brualdi, R., Introductory Combinatorics, Prentice-Hall, Third Edition, 1999.
[ 2 ] Hogg, Robert V., Introduction to Mathematical Statistics, Fifth Edition, 1995.
[ 3 ] Rota, G. C., Probability Theory, Preliminary Edition, 1998.