Skip to content

Expected return time of a random walk on a cube

Question

An ant starts at a corner of a cube and at each step crawls along an edge to one of the three neighbouring corners, chosen with equal probability. What is the expected number of steps until it first returns to its starting corner?

Short answer

88. The walk is uniform over the 88 corners in the long run, and the mean return time to a state is the reciprocal of its stationary probability, 1/(1/8)=81/(1/8)=8. Equivalently, solve the distance-layer equations for distances 1,2,31,2,3.

Adapted from QuantQuestions.io; question and answer rewritten by SelfMadeQuant.com.

See the hint and the full worked solution in the question bank (free account).

Open the worked solution

Lessons behind this question

Start with a free lesson: Expectation, Variance and Covariance is part of a free topic. Create a free account, no card needed, to read it in full with worked solutions.

Read it free