跳到主要内容
← 返回题库
免费概率困难

Returning to the Origin

考察公司Hudson River TradingJane Street

题目

A particle starts at 00 on the number line. At each step it moves +1+1 or −1-1, each with probability 12\tfrac12.

  1. Show that it is certain to come back to 00 eventually.
  2. Show that the expected time until it first comes back is infinite.
  3. What changes if the walk moves on a 2-D or 3-D grid instead?

解析

先自己试一试,卡住了再打开提示。

提示 1

Part 1: after the first step the particle is at 11 (or −1-1). Starting from 11, what is the chance it reaches NN before it reaches 00? Let NN grow.

提示 2

Part 2: let mm be the expected time to get from 11 down to 00. Getting from 22 down to 00 means doing that trip twice. Write an equation for mm.

查看解析

Part 1: It always comes back

After the first step the particle is at 11 or −1-1; by symmetry, take 11.

Pick a large number NN and ask: starting from kk, what is the chance h(k)h(k) of reaching NN before 00? From any kk in between, the next step goes up or down with chance 12\tfrac12 each, so

h(k)=12 h(k−1)+12 h(k+1).h(k) = \tfrac12\, h(k-1) + \tfrac12\, h(k+1).

That says each value is the average of its neighbours, so the values lie on a straight line. With h(0)=0h(0) = 0 and h(N)=1h(N) = 1, the line is

h(k)=kN.h(k) = \frac{k}{N}.

So from 11, the chance of reaching NN before getting back to 00 is 1N\frac{1}{N}.

Never coming back to 00 would mean climbing past every NN without first returning, and the chance of that is at most 1N\frac1N for every NN. So it is 00: the walk comes back with probability 11.

Part 2: But the expected wait is infinite

Let mm be the expected number of steps to get from 11 down to 00.

Take one step from 11:

  • with chance 12\tfrac12 it lands on 00, and we are done;
  • with chance 12\tfrac12 it lands on 22. To get from 22 down to 00 it must first get down to 11 (expected mm steps, the same trip shifted up by one) and then from 11 to 00 (another mm).

So

m=1+12⋅0+12⋅2m=1+m.m = 1 + \tfrac12 \cdot 0 + \tfrac12 \cdot 2m = 1 + m.

No finite number satisfies m=1+mm = 1 + m, so m=∞m = \infty. The first return takes one step plus this trip, so its expected time is infinite too, even though Part 1 says the return is certain.

Intuition: most walks come back quickly, but a few wander very far and take a very long time, and those rare long trips make the average infinite.

Part 3: Two and three dimensions

On a grid, each step moves one unit in one of the 2d2d directions (44 in 2-D, 66 in 3-D), all equally likely.

Count the expected number of visits to the start. If each return happened with chance q<1q < 1, the number of returns would be like counting successes before the first failure, with average q1−q\frac{q}{1-q}, which is finite. So:

return is certain  ⟺  the expected number of visits to the start is infinite.\text{return is certain} \iff \text{the expected number of visits to the start is infinite.}

How likely is the walk to be at the start at step 2n2n? After 2n2n steps the walk has drifted about n\sqrt{n} away along each axis (the spread of a sum of ±1\pm1 steps grows like the square root of the number of steps). So in each direction it is spread over roughly n\sqrt n positions, and the chance of being exactly back at the start is roughly

1n in 1-D,1n in 2-D,1n3/2 in 3-D.\frac{1}{\sqrt n} \text{ in 1-D}, \qquad \frac{1}{n} \text{ in 2-D}, \qquad \frac{1}{n^{3/2}} \text{ in 3-D}.

Add these up over all nn to get the expected number of visits:

  • 1-D: 1+12+13+…1 + \frac{1}{\sqrt2} + \frac{1}{\sqrt3} + \dots grows without limit → certain to return.
  • 2-D: 1+12+13+…1 + \frac12 + \frac13 + \dots also grows without limit → certain to return.
  • 3-D: 1+123/2+133/2+…1 + \frac{1}{2^{3/2}} + \frac{1}{3^{3/2}} + \dots stays finite → not certain. The walk returns with probability only about 0.340.34; otherwise it wanders off for good.

In 2-D the walk still comes back for sure, and the expected wait is still infinite, as in 1-D.

> A drunk man will find his way home, but a drunk bird may get lost forever. (Shizuo Kakutani)