Homework 2
We showed in class that that for a 1D random walk, the probability that the walker is at a distance k after n steps is
n! nr nl
p(k) = p q
nr !nl !
where n = nr + nl and k = nr − nl , nr is the number of right steps and nl is the number of left steps. p + q = 1 and p is the
probability of a single right step and q is the probability of a single left step.
Pn
Q.1 Show that −n ≤ k ≤ n. Then show that k=−n p(k) = 1.
Pn
Q.2 Find the average distance traveled < k >= k=−n p(k) k.
Similarly find the (square of the) standard deviation < k 2 > − < k >2 .
Q.3 Let us ask the question “What is the probability that the walker takes a maximum of m steps to the right or left more than
< k > which is the average distance traveled?”
k=<k>+m
X
π(m) = p(k)
k=<k>−m
Q.4 For a symmetric walker p = q = 0.5 find π(m) explicitly. What is the furthest from the average distance traveled (left or
right does not matter) does the walker wander 95% of the time?