# Math Concepts ## Bellman equation ?? ## gamblers ruin The fair game: gambler's ruin. If price moves like a fair random walk, the chance of reaching a target before a floor is exactly P(target first) = room ÷ (room + distance to target) That's the 2,000 ÷ 5,000 = 40% for a day-1 evaluation, and it's why splitting bets doesn't help. ## brownian motion w/ drift With a small edge or cost per unit of movement (μ) and volatility σ, the probability becomes P = (1 − e^(−2μ·room/σ²)) ÷ (1 − e^(−2μ·(room + target)/σ²)). This is how costs and direction edges change the odds, and it shows when bold play stops being optimal (only once μ turns clearly positive).