单纯形上的蚂蚁
Ant on a Simplex
题目详情
一只蚂蚁被放在一个单纯形的某个顶点上。在每个顶点处,它都以相等概率移动到任意其他顶点。一旦它既访问过所有顶点,又回到了最初的起点,就停止移动。问它移动步数的期望是多少?
An ant is put on a vertex of a simplex, and at each vertex, it has equal probability to move to any other one. Once it goes back to the original start point and also it has visited all the vertices, it stops. What is the expected number of steps for its move?
解析
设这是一个 -单纯形,并把起点记作原点。除了原点外,还有 个其他顶点。
把过程按“已经访问过多少个非原点顶点”来分阶段。若目前已经访问过 个非原点顶点,那么下一步走到一个尚未访问的新顶点的概率是 因为每次都等概率走向其余 个顶点中的任意一个。
因此,从访问了 个非原点顶点推进到访问 个非原点顶点,所需步数的期望是
把这些阶段全部加起来:
- 从 0 个推进到 1 个,期望是 ;
- 从 1 个推进到 2 个,期望是 ;
- ……
- 从 个推进到 个,期望是 。
当所有非原点顶点都访问过之后,还需要回到原点。此时下一步回到原点的概率是 ,所以额外期望步数也是 。
总期望为
Original Explanation
Suppose the ant is moving on an n-simplex. Then the crucial observation is that we can come up with a Markov chain which moves in a single direction:
Here are some explanations:
- Each represents the state at which the ant has visited vertices, not counting the origin.
- The state represents the state at which the ant has visited all the stated and is located at the origin. We are interested in the expected hitting time of this state.
- The arrow means that the chain jumps from to with probability
- Just at the moment the ant has visited all the vertices (not counting the origin), the location of the ant cannot be the origin. This explains the last transition
From this, we find that:
- The transition takes unit of time
- The transition takes unit of time
- The transition takes unit of time
and likewise for all the other transitions. So, the expected time from the state is: