Namespaces
Variants
Actions

Difference between revisions of "Bernoulli random walk"

From Encyclopedia of Mathematics
Jump to: navigation, search
(→‎References: Feller: internal link)
m (OldImage template added)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
<!--
 +
b0156601.png
 +
$#A+1 = 84 n = 0
 +
$#C+1 = 84 : ~/encyclopedia/old_files/data/B015/B.0105660 Bernoulli random walk
 +
Automatically converted into TeX, above some diagnostics.
 +
Please remove this comment and the {{TEX|auto}} line below,
 +
if TeX found to be correct.
 +
-->
 +
 +
{{TEX|auto}}
 +
{{TEX|done}}
 +
 
A [[Random walk|random walk]] generated by [[Bernoulli trials|Bernoulli trials]]. The example of a Bernoulli random walk may be used to explain certain basic features of more general random walks. In particular, even in this very simple scheme there appear properties of  "randomness"  which are intuitively paradoxical.
 
A [[Random walk|random walk]] generated by [[Bernoulli trials|Bernoulli trials]]. The example of a Bernoulli random walk may be used to explain certain basic features of more general random walks. In particular, even in this very simple scheme there appear properties of  "randomness"  which are intuitively paradoxical.
  
Thus, a Bernoulli random walk may be described in the following terms. A particle moves  "randomly"  along the <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b0156601.png" />-axis over a lattice of points of the form <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b0156602.png" /> (<img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b0156603.png" /> is an integer, <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b0156604.png" />). The motion begins at the moment <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b0156605.png" />, and the location of the particle is noted only at discrete moments of time <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b0156606.png" />. At each step the value of the coordinate of the particle increases or decreases by a magnitude <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b0156607.png" /> with probabilities <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b0156608.png" /> and <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b0156609.png" />, respectively, irrespective of the nature of the previous motion. Thus, shifts in the positive and in the negative directions ( "successes"  and  "failures" ) are described by a Bernoulli trial scheme with probability of success <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566010.png" />. The Bernoulli random walk is usually represented geometrically: take the <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566011.png" />-axis as the abscissa, and the <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566012.png" />-axis as the ordinate (cf. Fig. a, showing the initial segment of the graph of a random walk of a particle beginning to move from zero).
+
Thus, a Bernoulli random walk may be described in the following terms. A particle moves  "randomly"  along the $  x $-
 +
axis over a lattice of points of the form $  kh $(
 +
$  k $
 +
is an integer, $  h > 0 $).  
 +
The motion begins at the moment $  t=0 $,  
 +
and the location of the particle is noted only at discrete moments of time 0, \Delta t, 2 \Delta t ,\dots $.  
 +
At each step the value of the coordinate of the particle increases or decreases by a magnitude $  h $
 +
with probabilities $  p $
 +
and $  q = 1 - p $,  
 +
respectively, irrespective of the nature of the previous motion. Thus, shifts in the positive and in the negative directions ( "successes"  and  "failures" ) are described by a Bernoulli trial scheme with probability of success $  p $.  
 +
The Bernoulli random walk is usually represented geometrically: take the $  t $-
 +
axis as the abscissa, and the $  x $-
 +
axis as the ordinate (cf. Fig. a, showing the initial segment of the graph of a random walk of a particle beginning to move from zero).
  
 
<img style="border:1px solid;" src="https://www.encyclopediaofmath.org/legacyimages/common_img/b015660a.gif" />
 
<img style="border:1px solid;" src="https://www.encyclopediaofmath.org/legacyimages/common_img/b015660a.gif" />
Line 9: Line 33:
 
The initial segment of the graph representing the motion of a particle performing a Bernoulli random walk.
 
The initial segment of the graph representing the motion of a particle performing a Bernoulli random walk.
  
Let <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566013.png" /> be the random variable corresponding to the displacement of the particle in the <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566014.png" />-th step. Then <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566015.png" /> is a sequence of independent random variables. The coordinate of the randomly-moving particle at the moment <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566016.png" /> is equal to the sum <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566017.png" />. This is why the graph of a Bernoulli random walk is an illustrative representation of the behaviour of the cumulative sums of random variables; moreover, many typical features of the fluctuations are preserved for the sums of much more general random variables as well. This graph also shows the changes in the capital at the disposal of one of the players in the classical ruin problem (the formulas giving the probabilities of numerous events taking place in the course of a Bernoulli random walk were in fact developed in connection with this problem).
+
Let $  X _ {j} $
 +
be the random variable corresponding to the displacement of the particle in the $  j $-
 +
th step. Then $  X _ {1} , X _ {2} \dots $
 +
is a sequence of independent random variables. The coordinate of the randomly-moving particle at the moment $  n \Delta t $
 +
is equal to the sum $  S _ {n} = X _ {1} + \dots + X _ {n} $.  
 +
This is why the graph of a Bernoulli random walk is an illustrative representation of the behaviour of the cumulative sums of random variables; moreover, many typical features of the fluctuations are preserved for the sums of much more general random variables as well. This graph also shows the changes in the capital at the disposal of one of the players in the classical ruin problem (the formulas giving the probabilities of numerous events taking place in the course of a Bernoulli random walk were in fact developed in connection with this problem).
  
 
A Bernoulli random walk is used in physics as a rough description of one-dimensional diffusion processes (cf. [[Diffusion process|Diffusion process]]) and of the [[Brownian motion|Brownian motion]] of material particles under collisions with molecules.
 
A Bernoulli random walk is used in physics as a rough description of one-dimensional diffusion processes (cf. [[Diffusion process|Diffusion process]]) and of the [[Brownian motion|Brownian motion]] of material particles under collisions with molecules.
  
Important facts involved in a Bernoulli random walk will be described below. In so doing, it is assumed that <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566018.png" />, <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566019.png" />.
+
Important facts involved in a Bernoulli random walk will be described below. In so doing, it is assumed that $  \Delta t = 1 $,
 +
$  h = 1 $.
 +
 
 +
Probabilities of returning. Let the walk begin from zero. The probability of at least one return to zero then is  $  1 - | p - q | $,
 +
that is, one in the symmetric case  $  p = q = 1/2 $,
 +
and less than one if  $  p \neq q $.
 +
In the symmetric case the values of  $  \tau _ {1} $(
 +
i.e. the time elapsed until the first return to zero) and  $  \tau _ {2} $(
 +
the time between the first and the second return to zero), etc., are independent random variables with an infinite mathematical expectation. The time elapsed until the  $  N $-
 +
th return, i.e. the sum  $  \tau _ {1} + \dots + \tau _ {N} $,
 +
increases as  $  N  ^ {2} $,
 +
while the average number  $  N _ {2n} $
 +
of returns during  $  2n $
 +
steps is given by the formula
 +
 
 +
$$
 +
{\mathsf E} (N _ {2n }  )  = \
 +
 
 +
\frac{2n + 1 }{2  ^ {2n} }
 +
 
 +
\left (
 +
\begin{array}{c}
 +
2n \\
 +
n
 +
\end{array}
  
Probabilities of returning. Let the walk begin from zero. The probability of at least one return to zero then is <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566020.png" />, that is, one in the symmetric case <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566021.png" />, and less than one if <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566022.png" />. In the symmetric case the values of <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566023.png" /> (i.e. the time elapsed until the first return to zero) and <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566024.png" /> (the time between the first and the second return to zero), etc., are independent random variables with an infinite mathematical expectation. The time elapsed until the <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566025.png" />-th return, i.e. the sum <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566026.png" />, increases as <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566027.png" />, while the average number <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566028.png" /> of returns during <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566029.png" /> steps is given by the formula
+
\right ) - 1
 +
$$
  
<table class="eq" style="width:100%;"> <tr><td valign="top" style="width:94%;text-align:center;"><img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566030.png" /></td> </tr></table>
+
which increases as  $  \sqrt n $:
  
which increases as <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566031.png" />:
+
$$
 +
{\mathsf E} (N _ {2n} )  \sim  2
  
<table class="eq" style="width:100%;"> <tr><td valign="top" style="width:94%;text-align:center;"><img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566032.png" /></td> </tr></table>
+
\frac{\sqrt n }{\sqrt \pi }
 +
.
 +
$$
  
 
The consequence is paradoxical: In a symmetric Bernoulli random walk, the intervals ( "waves" ) between the successive returns to zero on the graph are surprisingly long (Fig. b).
 
The consequence is paradoxical: In a symmetric Bernoulli random walk, the intervals ( "waves" ) between the successive returns to zero on the graph are surprisingly long (Fig. b).
Line 31: Line 88:
 
Graphs of three Bernoulli random walks: each one was observed during 200,000 units of time.
 
Graphs of three Bernoulli random walks: each one was observed during 200,000 units of time.
  
Another related feature is that the least probable values of <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566033.png" /> (the fraction of time that the graph is above the abscissa) are those close to <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566034.png" />. More exactly, the following theorem is valid: If <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566035.png" />, <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566036.png" />, then the formula
+
Another related feature is that the least probable values of $  T _ {n} / n $(
 +
the fraction of time that the graph is above the abscissa) are those close to $  1/2 $.  
 +
More exactly, the following theorem is valid: If $  k \rightarrow \infty $,  
 +
$  n - k \rightarrow \infty $,  
 +
then the formula
  
<table class="eq" style="width:100%;"> <tr><td valign="top" style="width:94%;text-align:center;"><img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566037.png" /></td> </tr></table>
+
$$
 +
p _ {2n, 2k }  \sim \
  
where <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566038.png" />, gives the probability <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566039.png" /> of the equality <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566040.png" />. A corollary is the so-called arcsine law: For each <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566041.png" /> the probability of the inequality <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566042.png" /> tends to
+
\frac{1}{\pi n \sqrt x(1-x) }
 +
,
 +
$$
  
<table class="eq" style="width:100%;"> <tr><td valign="top" style="width:94%;text-align:center;"><img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566043.png" /></td> </tr></table>
+
where  $  x = x _ {n,k }  = k/n $,
 +
gives the probability  $  p _ {2n,2k} $
 +
of the equality  $  T _ {2n} = 2k $.
 +
A corollary is the so-called arcsine law: For each  $  0 < \alpha < 1 $
 +
the probability of the inequality  $  T _ {n} / n < \alpha $
 +
tends to
  
It is possible to prove, starting from this fact, that during 10,000 steps the particle remains on the positive side more than 9930 units of time with a probability <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566044.png" />, i.e. roughly speaking, such a graph will be observed not less frequently than in one case out of ten (even though this seems absurd at first sight).
+
$$
  
Maximum deviation. If <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566045.png" /> or <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566046.png" />, the randomly-moving particle will move towards <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566047.png" /> or <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566048.png" /> with probability one. Thus, if <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566049.png" />, one defines the random variable
+
\frac{1} \pi
 +
\int\limits _ { 0 } ^  \alpha 
  
<table class="eq" style="width:100%;"> <tr><td valign="top" style="width:94%;text-align:center;"><img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566050.png" /></td> </tr></table>
+
\frac{dx}{\sqrt x(1-x) }
 +
  = \
  
and then the probability of <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566051.png" /> is
+
\frac{2} \pi
 +
  \mathop{\rm arc}  \sin  \sqrt \alpha .
 +
$$
  
<table class="eq" style="width:100%;"> <tr><td valign="top" style="width:94%;text-align:center;"><img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566052.png" /></td> </tr></table>
+
It is possible to prove, starting from this fact, that during 10,000 steps the particle remains on the positive side more than 9930 units of time with a probability  $  \geq  0.1 $,
 +
i.e. roughly speaking, such a graph will be observed not less frequently than in one case out of ten (even though this seems absurd at first sight).
  
A bounded Bernoulli random walk. One often considers a Bernoulli random walk in the presence of absorbing or reflecting barriers. For instance, let the walk begin from zero. The presence of an absorbing barrier at a point <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566053.png" /> is manifested by that, on reaching this point, the particle ceases to move. In the presence of a reflecting barrier at the point <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566054.png" />, <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566055.png" /> an integer, the particle will move from <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566056.png" /> to <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566057.png" /> with probability <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566058.png" />, and will remain in place with probability <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566059.png" />. Finite-difference equations are a principal tool in computing the probabilities of the absorption and of attaining specified points. For instance, let the absorbing barrier be located at the point <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566060.png" /> (<img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566061.png" />). If <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566062.png" /> is the probability of a particle located at <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566063.png" /> at the moment of time <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566064.png" /> to be absorbed before or at the moment <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566065.png" />, then the following equation is valid
+
Maximum deviation. If  $  p > q $
 +
or $  p < q $,  
 +
the randomly-moving particle will move towards  $  + \infty $
 +
or  $  - \infty $
 +
with probability one. Thus, if  $  p < q $,  
 +
one defines the random variable
  
<table class="eq" style="width:100%;"> <tr><td valign="top" style="width:94%;text-align:center;"><img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566066.png" /></td> </tr></table>
+
$$
 +
M  ^ {+}  = \max _ {0 \leq  j < \infty } \
 +
S _ {j} ,
 +
$$
 +
 
 +
and then the probability of  $  M  ^ {+} = x $
 +
is
 +
 
 +
$$
 +
\left ( 1 -  
 +
\frac{p}{q}
 +
\right )
 +
\left (
 +
\frac{p}{q}
 +
\right )  ^ {x} .
 +
$$
 +
 
 +
A bounded Bernoulli random walk. One often considers a Bernoulli random walk in the presence of absorbing or reflecting barriers. For instance, let the walk begin from zero. The presence of an absorbing barrier at a point  $  a $
 +
is manifested by that, on reaching this point, the particle ceases to move. In the presence of a reflecting barrier at the point  $  a = (k + 1/2 ) $,
 +
$  k \geq  0 $
 +
an integer, the particle will move from  $  k $
 +
to  $  k - 1 $
 +
with probability  $  q $,
 +
and will remain in place with probability  $  p $.  
 +
Finite-difference equations are a principal tool in computing the probabilities of the absorption and of attaining specified points. For instance, let the absorbing barrier be located at the point  $  -a $(
 +
$  a > 0 $).  
 +
If  $  z _ {t,x} $
 +
is the probability of a particle located at  $  x $
 +
at the moment of time  $  t $
 +
to be absorbed before or at the moment  $  n $,
 +
then the following equation is valid
 +
 
 +
$$
 +
z _ {t,x}  = \
 +
q z _ {t+1,x-1} +pz _ {t + 1, x + 1 }  ,\  x > - a ,
 +
$$
  
 
with the following obvious boundary conditions:
 
with the following obvious boundary conditions:
  
<table class="eq" style="width:100%;"> <tr><td valign="top" style="width:94%;text-align:center;"><img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566067.png" /></td> </tr></table>
+
$$
 +
z _ {t,-a}  = 1 ,\ \
 +
0 \leq  t \leq  n ,
 +
$$
  
<table class="eq" style="width:100%;"> <tr><td valign="top" style="width:94%;text-align:center;"><img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566068.png" /></td> </tr></table>
+
$$
 +
z _ {n,x}  = 0 ,\  x > -a .
 +
$$
  
The solution of this problem for <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566069.png" /> was known to A. de Moivre and to P. Laplace. The Laplace formula is:
+
The solution of this problem for $  p = q = 1/2 $
 +
was known to A. de Moivre and to P. Laplace. The Laplace formula is:
  
<table class="eq" style="width:100%;"> <tr><td valign="top" style="width:94%;text-align:center;"><img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566070.png" /></td> <td valign="top" style="width:5%;text-align:right;">(*)</td></tr></table>
+
$$ \tag{* }
 +
z _ {t,x}  = 1 -  
 +
\frac{2} \pi
 +
 
 +
\int\limits _ { 0 } ^ {  \pi  /2 }
 +
 
 +
\frac{\sin  (a+x) \phi }{\sin  \phi }
 +
 
 +
( \cos  \phi ) ^  \nu  d \phi ,
 +
$$
  
 
where
 
where
  
<table class="eq" style="width:100%;"> <tr><td valign="top" style="width:94%;text-align:center;"><img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566071.png" /></td> </tr></table>
+
$$
 +
\nu  = a + x + 2
 +
\left [
  
The transition to diffusion processes. As an example, let <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566072.png" />, <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566073.png" />, <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566074.png" />. Then, as <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566075.png" />, many probabilities, calculated for a Bernoulli random walk, tend to limits which are equal to the respective probabilities of a Brownian motion. As an example, consider the probability of a particle, which has departed from zero, reaching a barrier located at a point <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566076.png" /> before or at the moment <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566077.png" />. The limit transition from formula (*), for <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566078.png" />, <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566079.png" />, <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566080.png" />, gives the magnitude
+
\frac{n-t-x-a}{2}
  
<table class="eq" style="width:100%;"> <tr><td valign="top" style="width:94%;text-align:center;"><img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566081.png" /></td> </tr></table>
+
\right ] + 1 .
 +
$$
  
which is equal to the probability that the coordinate <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566082.png" /> of a particle executing a Brownian motion satisfies the inequality
+
The transition to diffusion processes. As an example, let  $  p = q = 1/2 $,
 +
$  \Delta t = 1/N $,
 +
$  h = 1/ \sqrt N $.  
 +
Then, as  $  N \rightarrow \infty $,
 +
many probabilities, calculated for a Bernoulli random walk, tend to limits which are equal to the respective probabilities of a Brownian motion. As an example, consider the probability of a particle, which has departed from zero, reaching a barrier located at a point  $  \alpha $
 +
before or at the moment  $  T $.
 +
The limit transition from formula (*), for  $  n/N = T $,
 +
$  t = 0 $,
 +
a/ \sqrt N = \alpha $,
 +
gives the magnitude
  
<table class="eq" style="width:100%;"> <tr><td valign="top" style="width:94%;text-align:center;"><img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566083.png" /></td> </tr></table>
+
$$
 +
1 -  
 +
\frac{2}{\sqrt {2 \pi } }
  
i.e. to the probability that the particle is absorbed at the barrier <img align="absmiddle" border="0" src="https://www.encyclopediaofmath.org/legacyimages/b/b015/b015660/b01566084.png" />. For the sake of a more or less complete description of such limit relationships it is expedient to adopt a general standpoint and to consider the transition from the discrete process of  "cumulative sums"  to a continuous random process (cf. [[Limit theorems|Limit theorems]]).
+
\int\limits _ { 0 } ^ {  \alpha  / \sqrt T }
 +
e ^ {-z  ^ {2} /2 }  dz  = \
 +
 
 +
\frac{2}{\sqrt {2 \pi } }
 +
 
 +
\int\limits _ {\alpha / \sqrt T } ^  \infty 
 +
e ^ {-z  ^ {2} /2 }  dz ,
 +
$$
 +
 
 +
which is equal to the probability that the coordinate  $  X( \nu ) $
 +
of a particle executing a Brownian motion satisfies the inequality
 +
 
 +
$$
 +
\mathop{\rm min} _ {0 \leq  \nu \leq  T } \
 +
X( \nu )  \leq  - \alpha ,
 +
$$
 +
 
 +
i.e. to the probability that the particle is absorbed at the barrier $  - \alpha $.  
 +
For the sake of a more or less complete description of such limit relationships it is expedient to adopt a general standpoint and to consider the transition from the discrete process of  "cumulative sums"  to a continuous random process (cf. [[Limit theorems|Limit theorems]]).
  
 
The scheme of a Bernoulli random walk is very useful in explaining the characteristic features of the behaviour of sums of random variables such as the [[Strong law of large numbers|strong law of large numbers]] and the [[Law of the iterated logarithm|law of the iterated logarithm]].
 
The scheme of a Bernoulli random walk is very useful in explaining the characteristic features of the behaviour of sums of random variables such as the [[Strong law of large numbers|strong law of large numbers]] and the [[Law of the iterated logarithm|law of the iterated logarithm]].
  
 
====References====
 
====References====
<table><TR><TD valign="top">[1]</TD> <TD valign="top"> W. Feller, [[Feller, "An introduction to probability theory and its  applications"|"An introduction to probability theory and its  applications"]], '''1''', Wiley (1957) pp. Chapt.14</TD></TR></table>
+
<table>
 +
<TR><TD valign="top">[1]</TD> <TD valign="top"> W. Feller, [[Feller, "An introduction to probability theory and its  applications"|"An introduction to probability theory and its  applications"]], '''1''', Wiley (1957) pp. Chapt.14</TD></TR>
 +
</table>
 +
 
 +
{{OldImage}}

Latest revision as of 07:50, 26 March 2023


A random walk generated by Bernoulli trials. The example of a Bernoulli random walk may be used to explain certain basic features of more general random walks. In particular, even in this very simple scheme there appear properties of "randomness" which are intuitively paradoxical.

Thus, a Bernoulli random walk may be described in the following terms. A particle moves "randomly" along the $ x $- axis over a lattice of points of the form $ kh $( $ k $ is an integer, $ h > 0 $). The motion begins at the moment $ t=0 $, and the location of the particle is noted only at discrete moments of time $ 0, \Delta t, 2 \Delta t ,\dots $. At each step the value of the coordinate of the particle increases or decreases by a magnitude $ h $ with probabilities $ p $ and $ q = 1 - p $, respectively, irrespective of the nature of the previous motion. Thus, shifts in the positive and in the negative directions ( "successes" and "failures" ) are described by a Bernoulli trial scheme with probability of success $ p $. The Bernoulli random walk is usually represented geometrically: take the $ t $- axis as the abscissa, and the $ x $- axis as the ordinate (cf. Fig. a, showing the initial segment of the graph of a random walk of a particle beginning to move from zero).

Figure: b015660a

The initial segment of the graph representing the motion of a particle performing a Bernoulli random walk.

Let $ X _ {j} $ be the random variable corresponding to the displacement of the particle in the $ j $- th step. Then $ X _ {1} , X _ {2} \dots $ is a sequence of independent random variables. The coordinate of the randomly-moving particle at the moment $ n \Delta t $ is equal to the sum $ S _ {n} = X _ {1} + \dots + X _ {n} $. This is why the graph of a Bernoulli random walk is an illustrative representation of the behaviour of the cumulative sums of random variables; moreover, many typical features of the fluctuations are preserved for the sums of much more general random variables as well. This graph also shows the changes in the capital at the disposal of one of the players in the classical ruin problem (the formulas giving the probabilities of numerous events taking place in the course of a Bernoulli random walk were in fact developed in connection with this problem).

A Bernoulli random walk is used in physics as a rough description of one-dimensional diffusion processes (cf. Diffusion process) and of the Brownian motion of material particles under collisions with molecules.

Important facts involved in a Bernoulli random walk will be described below. In so doing, it is assumed that $ \Delta t = 1 $, $ h = 1 $.

Probabilities of returning. Let the walk begin from zero. The probability of at least one return to zero then is $ 1 - | p - q | $, that is, one in the symmetric case $ p = q = 1/2 $, and less than one if $ p \neq q $. In the symmetric case the values of $ \tau _ {1} $( i.e. the time elapsed until the first return to zero) and $ \tau _ {2} $( the time between the first and the second return to zero), etc., are independent random variables with an infinite mathematical expectation. The time elapsed until the $ N $- th return, i.e. the sum $ \tau _ {1} + \dots + \tau _ {N} $, increases as $ N ^ {2} $, while the average number $ N _ {2n} $ of returns during $ 2n $ steps is given by the formula

$$ {\mathsf E} (N _ {2n } ) = \ \frac{2n + 1 }{2 ^ {2n} } \left ( \begin{array}{c} 2n \\ n \end{array} \right ) - 1 $$

which increases as $ \sqrt n $:

$$ {\mathsf E} (N _ {2n} ) \sim 2 \frac{\sqrt n }{\sqrt \pi } . $$

The consequence is paradoxical: In a symmetric Bernoulli random walk, the intervals ( "waves" ) between the successive returns to zero on the graph are surprisingly long (Fig. b).

Figure: b015660b

Graphs of three Bernoulli random walks: each one was observed during 200,000 units of time.

Another related feature is that the least probable values of $ T _ {n} / n $( the fraction of time that the graph is above the abscissa) are those close to $ 1/2 $. More exactly, the following theorem is valid: If $ k \rightarrow \infty $, $ n - k \rightarrow \infty $, then the formula

$$ p _ {2n, 2k } \sim \ \frac{1}{\pi n \sqrt x(1-x) } , $$

where $ x = x _ {n,k } = k/n $, gives the probability $ p _ {2n,2k} $ of the equality $ T _ {2n} = 2k $. A corollary is the so-called arcsine law: For each $ 0 < \alpha < 1 $ the probability of the inequality $ T _ {n} / n < \alpha $ tends to

$$ \frac{1} \pi \int\limits _ { 0 } ^ \alpha \frac{dx}{\sqrt x(1-x) } = \ \frac{2} \pi \mathop{\rm arc} \sin \sqrt \alpha . $$

It is possible to prove, starting from this fact, that during 10,000 steps the particle remains on the positive side more than 9930 units of time with a probability $ \geq 0.1 $, i.e. roughly speaking, such a graph will be observed not less frequently than in one case out of ten (even though this seems absurd at first sight).

Maximum deviation. If $ p > q $ or $ p < q $, the randomly-moving particle will move towards $ + \infty $ or $ - \infty $ with probability one. Thus, if $ p < q $, one defines the random variable

$$ M ^ {+} = \max _ {0 \leq j < \infty } \ S _ {j} , $$

and then the probability of $ M ^ {+} = x $ is

$$ \left ( 1 - \frac{p}{q} \right ) \left ( \frac{p}{q} \right ) ^ {x} . $$

A bounded Bernoulli random walk. One often considers a Bernoulli random walk in the presence of absorbing or reflecting barriers. For instance, let the walk begin from zero. The presence of an absorbing barrier at a point $ a $ is manifested by that, on reaching this point, the particle ceases to move. In the presence of a reflecting barrier at the point $ a = (k + 1/2 ) $, $ k \geq 0 $ an integer, the particle will move from $ k $ to $ k - 1 $ with probability $ q $, and will remain in place with probability $ p $. Finite-difference equations are a principal tool in computing the probabilities of the absorption and of attaining specified points. For instance, let the absorbing barrier be located at the point $ -a $( $ a > 0 $). If $ z _ {t,x} $ is the probability of a particle located at $ x $ at the moment of time $ t $ to be absorbed before or at the moment $ n $, then the following equation is valid

$$ z _ {t,x} = \ q z _ {t+1,x-1} +pz _ {t + 1, x + 1 } ,\ x > - a , $$

with the following obvious boundary conditions:

$$ z _ {t,-a} = 1 ,\ \ 0 \leq t \leq n , $$

$$ z _ {n,x} = 0 ,\ x > -a . $$

The solution of this problem for $ p = q = 1/2 $ was known to A. de Moivre and to P. Laplace. The Laplace formula is:

$$ \tag{* } z _ {t,x} = 1 - \frac{2} \pi \int\limits _ { 0 } ^ { \pi /2 } \frac{\sin (a+x) \phi }{\sin \phi } ( \cos \phi ) ^ \nu d \phi , $$

where

$$ \nu = a + x + 2 \left [ \frac{n-t-x-a}{2} \right ] + 1 . $$

The transition to diffusion processes. As an example, let $ p = q = 1/2 $, $ \Delta t = 1/N $, $ h = 1/ \sqrt N $. Then, as $ N \rightarrow \infty $, many probabilities, calculated for a Bernoulli random walk, tend to limits which are equal to the respective probabilities of a Brownian motion. As an example, consider the probability of a particle, which has departed from zero, reaching a barrier located at a point $ \alpha $ before or at the moment $ T $. The limit transition from formula (*), for $ n/N = T $, $ t = 0 $, $ a/ \sqrt N = \alpha $, gives the magnitude

$$ 1 - \frac{2}{\sqrt {2 \pi } } \int\limits _ { 0 } ^ { \alpha / \sqrt T } e ^ {-z ^ {2} /2 } dz = \ \frac{2}{\sqrt {2 \pi } } \int\limits _ {\alpha / \sqrt T } ^ \infty e ^ {-z ^ {2} /2 } dz , $$

which is equal to the probability that the coordinate $ X( \nu ) $ of a particle executing a Brownian motion satisfies the inequality

$$ \mathop{\rm min} _ {0 \leq \nu \leq T } \ X( \nu ) \leq - \alpha , $$

i.e. to the probability that the particle is absorbed at the barrier $ - \alpha $. For the sake of a more or less complete description of such limit relationships it is expedient to adopt a general standpoint and to consider the transition from the discrete process of "cumulative sums" to a continuous random process (cf. Limit theorems).

The scheme of a Bernoulli random walk is very useful in explaining the characteristic features of the behaviour of sums of random variables such as the strong law of large numbers and the law of the iterated logarithm.

References

[1] W. Feller, "An introduction to probability theory and its applications", 1, Wiley (1957) pp. Chapt.14


🛠️ This page contains images that should be replaced by better images in the SVG file format. 🛠️
How to Cite This Entry:
Bernoulli random walk. Encyclopedia of Mathematics. URL: http://encyclopediaofmath.org/index.php?title=Bernoulli_random_walk&oldid=25942
This article was adapted from an original article by Yu.V. Prokhorov (originator), which appeared in Encyclopedia of Mathematics - ISBN 1402006098. See original article