Concept

Stirling approximation

The estimate n! ≈ √(2πn)(n/e)ⁿ, accurate to within a fraction of a per cent from n = 10. It turns products of many factors into exponentials, which is how most asymptotic counts in combinatorics are made.

Named by 5 essays across 2 fields — each of them below, with the objects they name alongside it.

The share of arrangements that fix nothing, up to 8 objects. A bar per number of objects, giving the proportion of its arrangements that leave nothing in place, against the horizontal line at 1/e.

The constant that counts what does not happen

Nothing grows in a shuffled pack of cards, and nothing grows in a factorial. Yet e sits in the middle of both — as the chance that a shuffle leaves nothing in place, and as the base that makes n! nearly a power.

analysis · The exponential
Knowing the coin, learning it, and guessing it once. p=0.6, 2000 tosses; final log10 wealth: hindsight 19.30, knew p 19.25, learned 17.73, plug-in from 20 tosses (15 heads, f=0.50) -25.88.

What not knowing the coin costs

Kelly's rule stakes the edge, and the edge is the one thing a bettor never has. Estimate it from twenty tosses and stake the estimate, and a lucky start can turn a favourable coin into certain ruin. Learn it toss by toss instead, with Laplace's rule, and the cost of ignorance shrinks to a factor of about the square root of the number of tosses — because a bettor who learns is exactly a bettor who split the money among every fixed fraction at once.

probability · Expectation
Zeros of the exponential's partial sums. n=10: 10 zeros, balance range 2.1289–2.1339; n=20: 20 zeros, balance range 2.4462–2.4516; n=40: 40 zeros, balance range 2.7760–2.7827; n=80: 80 zeros, balance range 3.1127–3.1207; tip -0.278465.

The zeros a partial sum cannot avoid

The exponential is never zero, and every partial sum 1 + z + z²/2! + … + zⁿ/n! of its series is zero n times. Divide those zeros by n and they line up on a single egg-shaped curve, |z e^(1−z)| = 1, found by Szegő in 1924. The curve is where two sizes tie — the exponential the series is reaching for, and the terms it has not yet reached — and the same tie, carried one step further, places every zero to within a few hundredths.

analysis · Taylor series
What is left in the other box. Banach matchbox remainder distribution for N=50: means p=0.5: 7.0385, p=0.55: 9.9165, p=0.6: 16.1560; at p=0.5 P(0)=0.07959, P(1)=0.07959.

The matches left in the other pocket

A smoker keeps a box of fifty matches in each pocket and picks a pocket at random. When one box is found empty, the other holds about seven, and none and one are exactly equally likely. Favour one pocket by a tenth and the answer is sixteen; give each box five thousand matches and a fair choice leaves seventy-nine while a bias of one in a hundred leaves nearly two hundred — because a fair remainder grows like a square root and any bias makes it grow in proportion, with the change-over at a bias of one over the square root of the box.

probability · Expectation
Two areas that are sums of n^(−n). int x^-x = 1.29128599706266; int x^x = 0.78343051071213

An area that is a sum of n to the minus n

The area under the curve x to the power minus x, between 0 and 1, is 1 + 1/4 + 1/27 + 1/256 + …, the sum of 1/n^n. Johann Bernoulli found it in 1697, and it is called the sophomore's dream because it looks like the mistake of a student who integrates term by term without checking — except that it is true. The proof expands the exponential into layers, each with an exact area, and every layer peaks at the same point, 1/e. The peaks hold Stirling's formula, and seven terms of the series beat a thousand samples of the curve.

analysis · The integral

Named alongside it

The objects these essays reach for when they reach for this one.

ApproximationExpectationPower seriesBayes' theoremBeta distributionBiasBinomial coefficientComplex numbersConvergenceConvergence rateCounting argumentDerangement

All concepts