Let us reformulate the previous problem in terms of diffusion of a
molecule in a dilute gas. Suppose that the molecule travels a distance
between collisions with other molecules. If we assume that the successive
displacements of the molecule between collisions are statistically
independent, then its
motion is identical to the motion of the drunk.
At each step he molecule has a probability to move to the right, and a
probability to move to the left. If is the
number of
steps to the right, and the number of steps to the left, the
total number of steps is going to be
, and the net
displacement after steps will be
, with
. The main quantity of interest will be the
probability for the molecule to be in position after
steps. The mean net displacement
and the variance
are going to be given by
Since we know that the diffusion is characterize by the linear relation
This is a very particular case that can be solved exactly. We need to develop a method to solve the general problem numerically. Two important approaches are exact enumeration and Monte Carlo methods.