Math 2.0

Difference and functional equations Stochastic difference equations Example

Random walk as a difference equation

Builds on Random walkIndependent and identically distributed random variables

Example

Let ξ1,ξ2,…\xi_1, \xi_2, \dots be independent and identically distributed random variables with P(ξn=1)=P(ξn=−1)=12P(\xi_n = 1) = P(\xi_n = -1) = \tfrac{1}{2}. The simple symmetric random walk on ℤ\Z is the solution of the stochastic difference equation Sn+1=Sn+ξn+1,S0=0.S_{n+1} = S_n + \xi_{n+1}, \qquad S_0 = 0. It has the form Xn+1=f(Xn,ξn+1)X_{n+1} = f(X_n, \xi_{n+1}) with f(x,e)=x+ef(x, e) = x + e, so it is a stochastic difference equation. Solving the recursion gives Sn=ξ1+⋯+ξnS_n = \xi_1 + \cdots + \xi_n. Taking expectations in the equation gives the deterministic difference equation E[Sn+1]=E[Sn]E[S_{n+1}] = E[S_n], so E[Sn]=0E[S_n] = 0. Squaring gives Sn+12=Sn2+2Snξn+1+1S_{n+1}^2 = S_n^2 + 2 S_n \xi_{n+1} + 1, and since ξn+1\xi_{n+1} is independent of SnS_n with mean 00, E[Sn+12]=E[Sn2]+1E[S_{n+1}^2] = E[S_n^2] + 1, so E[Sn2]=nE[S_n^2] = n.

Probabilities of the walk also solve difference equations. Fix an integer N≥1N \ge 1 and let pjp_j be the probability that the walk started at j∈{0,…,N}j \in \set{0, \dots, N} reaches NN before 00. Conditioning on the first step gives pj=12pj+1+12pj−1p_j = \tfrac{1}{2} p_{j+1} + \tfrac{1}{2} p_{j-1} for 0<j<N0 < j < N, with p0=0p_0 = 0 and pN=1p_N = 1. This linear recurrence has characteristic polynomial (z−1)2(z - 1)^2, so pj=a+bjp_j = a + bj, and the boundary values give pj=j/Np_j = j/N.

Reading path

To understand this page from the ground up, read these 3 pages in order. The foundations come first.

Show the path as a graph
Each page uses the pages above it. The colour of the bar on a box shows how strong the evidence is, and the box also gives it as text. The list has the same pages.
  • no evidence level
  1. Independent and identically distributed random variables concept
  2. Random walk concept
  3. Random walk as a difference equation example

Further reading

  1. Web https://en.wikipedia.org/wiki/Random_walk
About this page
TagKA4MW1FRZ4
URIm2://KA4MW1FRZ4
Kindexample
WritingW0 stub
MSC39A50, 60G50
Instance ofStochastic difference equation
UsesRandom walk, Independent and identically distributed random variables

Markdown · JSON · Edit on GitHub

What this page needs for W1

  • an inventory row: the row of the inventory that the node accounts for (0 of 1)
  • a source with a locator (0 of 1)

The writing levels say how complete the text of a page is. They do not measure its truth.

What links here

No page links to this page yet.