迷路探险家
The Lost Explorer’s Dilemma
题目详情
探险家在一条直线上,两个出口分别位于位置 (陷阱)和 (自由)。
探险家从位置 出发()。每一步:
- 以概率 向北(+1),
- 以概率 向南(-1)。
到达 则逃脱,到达 则落入陷阱。
问:从 出发逃脱的概率 是多少?
An explorer is trapped in a mysterious labyrinth with two exits. One exit, located steps to the north, leads to freedom. The other exit, steps to the south, leads to a pit. The explorer starts steps north of a reference point (i.e., between the two exits).
At each decision point, the explorer moves:
- North with probability
- South with probability
If the explorer reaches the freedom point at position , they escape. If they reach the pit at position , they fall in.
What is the probability that the explorer escapes, given that they start steps north of the reference point?
解析
满足递推
解得:
- 若 ,则 。
- 若 ,则
Original Explanation
Let be the probability that the explorer reaches freedom starting from position .
The recurrence relation is:
Boundary conditions:
- (falls into the pit)
- (reaches freedom)
🔁 Solution to the recurrence
When , the solution is:
When (i.e., a fair chance), it simplifies to:
✅ Final Answer:
- If , then
- If , then:
So, is the probability that the explorer escapes, starting steps north of the reference point.