Learn / Library / Expected value
A biased walk between stops
A strategy's P&L starts at . Each step it gains with probability and loses with probability , independently. It stops at or at , whichever comes first. What is the expected number of steps? Give a fraction in lowest terms.
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Use for the exit odds, then for the time.
Solution
- With , optional stopping on gives , so .
- The expected end point is .
- Each step has mean , and is a martingale, so the expected time is .
Answer: