Question
Consider the grid. Remove all horizontal edges except those on the -axis (resulting in a comb-shaped graph). Find the expected time for a simple random walk starting from the origin to first reach .
Step-by-step solution
Let the vertex set of the two-dimensional grid be . The random walk starts from the origin , and the goal is to first reach . Let denote the expected number of steps from point to reach . Since is an absorbing wall, . By the symmetry of the graph about the -axis and the simple random walk rules, , so we only need to consider . Let denote the expected time starting from a point on the -axis.
For fixed , consider the vertical point where . When , the node can only move vertically with two neighbors, each with transition probability . The equation is , yielding the second-order difference equation . When , the node has only one neighbor , giving . The general solution is with . Applying the boundary condition yields . Therefore , and in particular .
For interior nodes , the node has 4 neighbors. Using symmetry and substituting , we obtain . The general solution is .
Right boundary: gives . Left boundary: at , the node has only 3 neighbors, yielding , which gives .
Substituting: . The expected time from the origin is .
Final answer
Marking scheme
The following is the grading rubric. Please grade according to the three parts below.
1. Checkpoints (Total 7 Points)
Note: This problem contains two main computational modules (vertical branch analysis, horizontal spine analysis). Map the student's solution to the following checkpoints. Award points per checkpoint; no double counting.
1. Vertical Branch Analysis (3 points)
*This part evaluates the student's derivation of the vertical (tooth) random walk properties.*
- [1 pt] Establish the vertical model: Write the difference equation for vertical nodes ( with boundary conditions), or explicitly identify this as a one-dimensional random walk problem with absorption at 0 and reflection at N.
- [2 pts] Derive the vertical expected increment: Correctly solve for the expected time increment from back to the -axis, i.e., obtain or state that the expected number of steps from to is .
- *Note: If only the general solution form is written without determining coefficients, award 0 points.*
2. Horizontal Spine Recursion (2 points)
- [1 pt] Establish the spine equation: Write the state transition equation for at interior -axis nodes, correctly substituting the vertical result.
- [1 pt] Derive the spine difference relation: Simplify to the correct second-order nonhomogeneous linear difference equation .
3. Boundary Conditions and Final Solution (2 points)
- [1 pt] Left boundary treatment (): Correctly handle the degree change at (degree 3), obtaining or correctly finding .
- [1 pt] Final result: Combining with , compute the exact answer .
2. Zero-credit items
- Only restating the problem conditions or defining variables.
- Only stating or without substantive computation.
- Only the final answer with no derivation.
- Incorrectly assuming the graph is a simple 1D walk or resistance network without correcting for degree differences.
3. Deductions
- [-1 pt] Arithmetic error: Correct approach but algebraic simplification or arithmetic errors lead to an incorrect final result.
- [-1 pt] Logical gap: Directly writing the general solution without any derivation.
- [-2 pts] Boundary condition error: Ignoring that has degree 3, incorrectly treating it as a degree-4 interior node.
Total (max 7)