Mathematics (JEE)Hard

A particle starts at 0 on {0, 1, 2, 3, 4}. At each step it moves right or left with probability 1/2 each. At 0 it always moves to 1 (the left move is reflected back to 1). The state 4 is absorbing. What is the expected number of steps until the particle reaches 4?

  1. A. 8
  2. B. 12
  3. C. 10
  4. D. 16

Correct answer: D. 16

Solve E_i = 1 + ½E_(i−1) + ½E_(i+1) for i = 0..3 with E₀ = 1 + E₁ (reflection) and E₄ = 0. The solution is E₀ = 16. The value 8 would be the answer without the reflecting step, and 12 is the expected time from state 2 when the walk starts there.

More Permutations, Combinations and Probability questions

Exams that ask this topic