Quoto

Learn / Library / Expected value

A biased walk between stops

Expected valueHard

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.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

Use for the exit odds, then for the time.

Solution
  1. With , optional stopping on gives , so .
  2. The expected end point is .
  3. Each step has mean , and is a martingale, so the expected time is .

Answer: