What does Martingales, Stopping Times and Stop-Loss Bounds conclude, in numbers, about “The Exact Accounts of the Doubling Ladder: Finite Capital, Tail Losses and Doubling After a Loss”?

Answer: Chapter 2 prices the doubling ladder and shows that doubling after a loss on projects of unknown quality has expectation minus 6.805.

Scope of the numbers: Its parameters are illustrative; all calculations are generated by its programs. It is not individual financial advice, does not encourage gambling of any kind, and analyses doubling only as a counter-example.

中文版

Data table

The numbers below are printed verbatim by the chapter's Python program and can be reproduced by running it. standard-library Python only

doubling ladder: k rungs need capital 2^k - 1 units
k capital |P(bust)E fair |P(bust)Erounds
|p = 1/2|p = 9/20per bust
11 |0.5000000 |0.550000-0.10001.8
23 |0.2500000 |0.302500-0.21003.3
37 |0.1250000 |0.166375-0.33106.0
415 |0.0625000 |0.091506-0.464110.9
531 |0.0312500 |0.050328-0.610519.9
663 |0.0156250 |0.027681-0.771636.1
8255 |0.0039060 |0.008373-1.1436119.4
101023 |0.0009770 |0.002533-1.5937394.8
124095 |0.0002440 |0.000766-2.13841305.1
fair, k = 10: P(bust) = 1/1024 exactly, E[one round] = 0
fair: expected small wins before the first bust = 1023

Key formula

\[1+2+\cdots+2^{k-1}=2^k-1\]
Show the full program
# Chapter 2. p21: The doubling ladder: exact bust probability and mean.
# Counter-example only. A "double after every loss" rule stakes 1, 2,
# 4, up to 2^(k-1) units until the first success. A capital of
# 2^k - 1 units pays for exactly k rungs. One round ends with +1 unit
# (some success within k tries) or with -(2^k - 1) units (k failures).
# p is the chance of success in one try: 1/2 is a fair trial, 9/20 a
# trial with a small edge against the player. Exact fractions; the
# values of p and k are illustrative.
from fractions import Fraction


def round_stats(p, k):
    q = 1 - p
    bust = q ** k
    mean = (1 - bust) * 1 - bust * (2 ** k - 1)
    return bust, mean


print("doubling ladder: k rungs need capital 2^k - 1 units")
print("%3s %7s | %10s %8s | %10s %9s %8s" % (
    "k", "capital", "P(bust)", "E fair", "P(bust)", "E", "rounds"))
print("%3s %7s | %10s %8s | %10s %9s %8s" % (
    "", "", "p = 1/2", "", "p = 9/20", "", "per bust"))
for k in (1, 2, 3, 4, 5, 6, 8, 10, 12):
    bf, mf = round_stats(Fraction(1, 2), k)
    bu, mu = round_stats(Fraction(9, 20), k)
    print("%3d %7d | %10.6f %8s | %10.6f %9.4f %8.1f" % (
        k, 2 ** k - 1, float(bf), str(mf), float(bu), float(mu),
        float(1 / bu)))
b10, m10 = round_stats(Fraction(1, 2), 10)
print("fair, k = 10: P(bust) = %s exactly, E[one round] = %s" % (b10, m10))
print("fair: expected small wins before the first bust = %d" % (
    (1 - b10) / b10))

Single source and citation

Fan, Y. (2026). Doob's Martingales and the Optional Stopping Theorem: the Doubling Fallacy and Rigorous Stop-Loss Bounds for Business Trials (Version 1.0.0), Chapter 2: The Exact Accounts of the Doubling Ladder: Finite Capital, Tail Losses and Doubling After a Loss. 5D Library. DOI pending

DOI pending · monograph page goes live after publication · 5DL-B-249 · v1.0.0 · CC-BY-NC-ND-4.0

BibTeX
@book{fan2026249,
  author    = {Fan, Yafu},
  title     = {Doob's Martingales and the Optional Stopping Theorem: the Doubling Fallacy and Rigorous Stop-Loss Bounds for Business Trials},
  year      = {2026},
  publisher = {5D Library},
  edition   = {1.0.0},
  note      = {DOI pending}
}

Other chapter answers in this book