Deep Dark Math
Averages, chance, proof and the limits of computation.
A game can have a rising expected payout while almost every player’s balance tends to zero. A larger survey can give a more precise wrong answer. These results become less mysterious once the calculation is pinned down: whose average, which population, what kind of error? The examples below start with probability and statistics, then move into what arithmetic can prove and what programs can compute.
On this page
- 1. An increasing average can conceal almost universal decline
- 2. More data can make an estimate more precisely wrong
- 3. A low false-positive rate is not the probability a finding is false
- 4. Reasonable choices can create misleading evidence
- 5. Unlimited observation need not identify a cause
- 6. A biased estimate can be more accurate
- 7. Some sample averages never concentrate
- 8. Random-looking frequencies can come from a simple rule
- 9. Probability zero need not mean impossible
- 10. Some patterns are compulsory
- 11. Every case can terminate without arithmetic proving the general claim
- 12. Finite programs can exceed every computable runtime bound
- 13. First-order arithmetic does not uniquely identify the natural numbers
- 14. The shortest explanation has no general exact finder
1. An increasing average can conceal almost universal decline
Consider an idealized game. On each independent fair coin toss, the whole balance is multiplied by either 1.5 or 0.6.
The expected multiplier is (1.5 + 0.6) / 2 = 1.05. Starting with $100, the expected balance after 100 rounds is therefore:
100 × 1.05^100 ≈ $13,150.13.
But a trajectory with exactly 50 wins and 50 losses ends with:
100 × 1.5^50 × 0.6^50 = 100 × 0.9^50 ≈ $0.52.
A win and a loss together leave only 90% of the previous balance. The average logarithmic growth per round is ½ log(1.5) + ½ log(0.6) = ½ log(0.9), which is negative. By the strong law of large numbers, the balance tends to zero with probability one as the rounds continue, while the expectation grows without bound.
Increasingly exceptional winning paths carry the average upward while almost every individual trajectory shrinks toward zero. The expected balance describes an average across possible histories; it does not describe what happens along a typical history.
This is a mathematical model, not a betting or investment recommendation.
2. More data can make an estimate more precisely wrong
A survey of an obsessive film forum might measure viewing habits very precisely while badly representing the wider population. More responses reduce some sampling variability without fixing how respondents were selected.
A confidence interval can become narrow around a biased answer when its model does not account for that bias. A scale that always adds eight pounds does not improve through repetition.
Who gets into the dataset matters even when the dataset is enormous. Xiao-Li Meng’s big-data paradox formalizes how selection bias can overwhelm the apparent advantage of a large sample.
3. A low false-positive rate is not the probability a finding is false
Imagine 10,000 proposed effects, of which only 100 are real. A test detects 80% of the real effects and flags 5% of the nonexistent ones.
- Real effects: 100 tested, 80 expected positives.
- No effect: 9,900 tested, 495 expected positives.
- Total: 575 expected positives, of which about 14% correspond to real effects.
Most positives are false in this example because nonexistent effects vastly outnumber real ones, even though the test behaves exactly as specified.
This toy world is not an estimate of the fraction of real research that is wrong. It shows why the direction of a conditional probability matters. A p-value does not give the probability that a hypothesis is true, as the American Statistical Association’s statement makes explicit.
4. Reasonable choices can create misleading evidence
An analyst removes apparent outliers, investigates an interesting subgroup, then picks the outcome measure that seems most informative. All those choices may be sincere, and the paper may report only one final test. Still, the data helped choose it: different observations could have sent the analyst down a different path. Counting only the tests actually run misses those possible paths.
Gelman and Loken call this the garden of forking paths. A discovery made by exploring data needs to be reported as such. Testing it against new or held-out data gives it a chance to fail without letting the same observations choose both the claim and its test.
5. Unlimited observation need not identify a cause
Two binary devices each show 1 half the time and agree 90% of the time.
Mechanism A: the first device generates a random value; the second copies it with a 10% error rate.
Mechanism B: the second generates a random value; the first copies it with a 10% error rate.
Both mechanisms yield the same joint observational distribution. Watching forever cannot distinguish them.
Now force the first device to display 1. Under mechanism A, the second displays 1 with probability 90%. Under mechanism B, it remains the independent source and displays 1 with probability 50%.
Observation and intervention answer different questions. Causal conclusions need more than the observational distribution alone, such as experimental design or justified assumptions about the mechanism. Judea Pearl’s overview of causal inference develops this distinction.
6. A biased estimate can be more accurate
An unbiased estimator gets the right answer on average across repeated samples. That does not guarantee the smallest expected error.
Suppose at least three independent Gaussian observations have unknown means and a known common variance. Using each observation to estimate its own mean seems natural. Yet James–Stein estimators can improve expected total squared error for every possible vector of true means by shrinking the estimates toward a reference point.
The result concerns the estimates jointly. It does not promise that every coordinate improves or that the estimator wins on each dataset. The means need not have a substantive relationship.
The comparison depends on the error measure. In the James–Stein result, that measure is the expected sum of squared errors across the estimates.
7. Some sample averages never concentrate
For independent, identically distributed standard Cauchy variables, the sample average has exactly the same distribution as one observation, regardless of sample size.
One way to see it is through the characteristic function φ(t) = exp(−|t|). The characteristic function of the average of n independent observations is:
[φ(t/n)]^n = [exp(−|t|/n)]^n = exp(−|t|).
The unchanged characteristic function gives the same distribution back. The standard Cauchy has a median and location parameter of zero, but no defined mean: symmetry cannot make its positive and negative expectation integrals converge. Averaging more observations therefore cannot recover a population mean. There is none to recover. The NIST reference gives its distributional properties.
8. Random-looking frequencies can come from a simple rule
Write the positive integers consecutively after a decimal point:
0.1234567891011121314151617181920…
The Champernowne constant is normal in base ten. Every k-digit block has limiting frequency 10^(−k). This is an infinite collection of frequency properties often associated with random digits.
Yet the number has a simple, completely deterministic construction. With enough computation, any specified digit can be found.
Normality is not algorithmic randomness. Nor does containing every finite digit string identify which encoded statements are true. Every correct account comes with every possible false one.
The original proof appears in Champernowne’s The Construction of Decimals Normal in the Scale of Ten.
9. Probability zero need not mean impossible
In the ideal continuous uniform distribution on [0,1], any specified point has probability zero. Some point is nevertheless selected.
Probability is countably additive. It does not require the probability of an uncountable set to equal a sum of its singleton probabilities.
Likewise, probability one means almost sure, not logically unavoidable. In the multiplicative game, the infinite all-wins sequence is possible as a sequence but belongs to a probability-zero exceptional set.
These are statements about a mathematical model. A finite-precision computer does not literally choose an arbitrary infinite decimal expansion.
10. Some patterns are compulsory
Among six people, assuming acquaintance is mutual, there must be either three who all know one another or three who are mutually strangers.
Choose one person. Of the other five, at least three are acquaintances or at least three are strangers. Suppose three are acquaintances. If any two know each other, those two and the chosen person form a mutually acquainted trio. Otherwise, the three form a mutually unacquainted trio. The stranger case is symmetric.
This small Ramsey-theory argument covers every arrangement, including any chosen at random. Finding one of these trios tells us nothing about whether someone designed the group to contain it; six people and mutual acquaintance are enough to guarantee it.
11. Every case can terminate without arithmetic proving the general claim
A Goodstein sequence repeatedly rewrites a number in hereditary base notation, increases the base, and subtracts one. Starting at 4 in base two, it begins:
4, 26, 41, 60, 83, 109, 139, …
Every such sequence eventually reaches zero. The proof tracks associated ordinals that decrease even while the visible integers grow. There can be no infinite descending chain of these ordinals.
First-order Peano arithmetic cannot prove that all Goodstein sequences terminate, although stronger methods can. Each particular starting value does have a finite arithmetic verification in principle. The obstruction concerns a single proof covering every starting value.
Kirby and Paris established the independence result in Accessible Independence Results for Peano Arithmetic.
12. Finite programs can exceed every computable runtime bound
Fix the usual model of two-symbol Turing machines with n internal states, started on a blank tape. Among the machines that halt, let BB(n) be the largest number of steps taken.
Each BB(n) is finite, but no algorithm computes it for every n. If one did, we could run any n-state machine for BB(n) steps and decide whether it ever halts, solving the halting problem. The function eventually exceeds every computable function.
The machines have finite rulebooks, but their tape and potential running time are unbounded. That matters: an enormous but genuinely finite game tree could still be searched in principle.
Scott Aaronson’s The Busy Beaver Frontier explores how these finite numbers reach the limits of computation and proof.
13. First-order arithmetic does not uniquely identify the natural numbers
Take every true first-order sentence about the ordinary natural numbers. Add a new constant c and require:
c > 0, c > 1, c > 2, c > 3, …
Any finite subset can be satisfied by choosing a sufficiently large ordinary integer. By compactness, the whole set has a model. In that model, c exceeds every standard numeral.
There is no least nonstandard element. If a nonstandard element had a standard predecessor, it would itself be standard, so subtracting one leaves another nonstandard element. The model contains much more than a single “infinity” added to the ordinary numbers.
A structure can satisfy every first-order truth of arithmetic without being the intended structure. See the chapter on nonstandard models in Computability and Logic.
14. The shortest explanation has no general exact finder
The Kolmogorov complexity of a finite string is the length of the shortest program that outputs it and halts, relative to a fixed universal machine.
Repeating 01 a billion times has a short description. Most long bit strings cannot be substantially compressed. But the exact shortest-program length is uncomputable in general.
Testing every shorter program does not solve this: some never halt, while others may run for a very long time. Discovering a shorter description improves an upper bound; it does not certify that no shorter one exists.
A short deterministic construction, including its necessary inputs, supplies a short description even if executing it takes immense time. Description length and running time are different resources. Paul Vitányi’s How Incomputable Is Kolmogorov Complexity? examines the obstruction.
