medium   Probability

Cubic Ant I

A release-checked medium problem for training Conditional Expectation, Geometric Probability, Markov Chains, Expected Value.

Question

An ant walks along the edges of a cube and moves to one of the three adjacent vertices with equal probability at each step. Find the expected number of steps needed for the ant to reach the vertex opposite of where it started.

Practice focus

This Probability problem is tagged Conditional Expectation, Geometric Probability, Markov Chains, Expected Value. State the random variables and conditioning information explicitly, then check the result against boundary cases before opening hints or a solution.

Explore related collections

Reviewed questions in this area

easyBaby BoyReviewed

Probability · SIG, DE Shaw

easyBad BagelReviewed

Probability · SIG, Jane Street