Take a one dimensional random walk where the person is initially at the origin, and can move to (x+1,0), or to (x-1,0), each with probability 0.5. What is the expected number of moves to reach the origin? My attempt:
After the first move, you are either at (1,0) or (-1,0). E(reaching origin) = E(reaching (1,0) from (1,0) after the move to (1,0) in step 1) = E(reaching (-1,0) from (-1,0) after the move to (-1,0) in step 1). Hence
$E= 1/2(E + 1)$
$ (1/2)E=(1/2) $
$ E = 1.$
Is this correct?