A pebble starts in Box 1 of four boxes. A fair coin moves it. From Box 1, heads sends it to Box 2 and tails sends it to Box 3. On the next toss, heads sends it back to Box 1 and tails advances it to Box 4. Reaching Box 4 ends the game; landing back in Box 1 means you toss again under the same rules. What is the expected number of tosses to reach Box 4?
Reveal solutionHide solution
#States and transitions
Treat the boxes as states with Box 4 absorbing. From Box 1 a toss lands on Box 2 or Box 3, each with probability . From either Box 2 or Box 3 a toss returns to Box 1 or reaches Box 4, again each .
#The transition matrix
Ordering the states Box 1, 2, 3, 4,
The last row is absorbing, the lone marking Box 4.
#Expected tosses
Let be the expected tosses to reach Box 4 from Box . Boxes 2 and 3 behave identically, so with
Substituting the first into the second, , so .
#Result
The expected number of tosses is . Each pair of tosses reaches Box 4 with probability , so the count of pairs is geometric with mean , and two tosses per pair gives .