Almost-sure growth rate of independent products Created 2026-10-25 Updated 2026-10-31
If the positive factors are independent and identically distributed and , the strong law of large numbers applied to their logarithms gives the displayed almost sure convergence. A negative limit forces the products to tend to zero; a positive limit forces them to tend to infinity. A zero limit alone gives neither conclusion. For a uniform distribution on , the logarithmic expected value is , so the products tend to zero almost surely for and to infinity almost surely for .
Asymptotic equipartition property Created 2026-09-24 Updated 2026-10-14
The asymptotic equipartition property explains why a long message from a source can usually be described using its information entropy per symbol. Individual messages can have very different probabilities, but the messages carrying almost all the total probability have similar logarithmic costs per symbol. The Bernoulli typical-set example makes the distinction between an individual message and a large collection explicit.
For independent and identically distributed random variables on a finite alphabet, let be their probability mass function and . ThenHere means the probability mass of the realized word, evaluated under the source law. The product rule for independent random variables turns its information content into a sum:The strong law of large numbers gives the limit. Zero-probability symbols do not occur; on the positive-probability support of a finite alphabet, these information costs are finite. The corresponding typical set consists of words whose cost per symbol is within a chosen tolerance of .
For a strictly stationary process with a finite alphabet, the constant-limit extension requires ergodicity. The Shannon-McMillan-Breiman theorem then replaces the one-symbol information entropy with the information rate. Stationarity without ergodicity in an information source shows why stationarity alone is insufficient.[ref]
6.441 Information Theory (Spring 2016 lecture notes) by Yury Polyanskiy and others. §8, Theorem 8.1 and Corollary 8.2, printed p. 90: stationary ergodic sources and typical sets
Central limit theorem Created 2026-09-24 Updated 2026-10-14
Let be real independent and identically distributed random variables with expected value and finite, strictly positive variance . Write and for their sum and sample mean. The central limit theorem statesPrecisely, for every real ,where is the standard normal distribution function. The conclusion is convergence in distribution to the standard normal distribution. If the variance is zero, every observation equals almost surely; the displayed normalization is then undefined and there is no fluctuating error to describe.
The striking feature is that the observations need not have a normal distribution. They may be binary, bounded, or strongly skewed. Their detailed probability distribution disappears from this limit except through the expected value and variance. The subtraction removes predictable growth: . The division implements variance normalization: variance additivity for independent random variables gives , so every has expected value zero and variance one. For nonzero , an uncentered sum drifts; without rescaling its spread grows.
For a concrete example, let each have a Bernoulli distribution with success probability . Then has a binomial distribution, with expected value and variance . Its exact probability mass function and its normalized count areHere is a binomial coefficient. Individual trials are conspicuously skewed, yet their centered, rescaled counts approach the same standard normal distribution as sums of fair trials.
Exact standardized binomial distributions approach the standard normal curve
. For independent Bernoulli trials with , each blue bar has width equal to the normalized lattice spacing and area equal to the exact binomial distribution mass at its center. Heights are mass divided by spacing, so they can be compared with the orange probability density function of the standard normal distribution. All four normalized counts have expected value zero and variance one. The rectangles visualize discrete masses; they do not make the discrete probability distributions continuous. Details.At , has expected value and standard deviation . The exact binomial distribution gives . A normal approximation with the continuity correction uses the interval to :The small discrepancy is an approximation error, not an equality supplied by the central limit theorem.
The strong law of large numbers and weak law of large numbers locate the average: , respectively by almost sure convergence and convergence in probability. The central limit theorem magnifies that shrinking error and describes its shape. In terms of the sample mean, the resulting normal approximation is , with standard error . This explains why four times as many independent observations halve the standard error. When is known, has approximately coverage for at large , giving a confidence interval. This coverage refers to repeated samples, not a guarantee for an individual interval.
A useful application is the Monte Carlo method: estimate a success probability by the proportion of successful simulated trials. Nicholas Metropolis and S. Ulam's original paper, "The Monte Carlo Method" (1949), illustrates this with games of solitaire and estimation of a region's volume by randomly selected points, and discusses why estimates require probabilistic error control. The strong law of large numbers justifies convergence of such proportions for independent repetitions; the central limit theorem supplies their large-sample error scale when .[ref]
https://hedibert.org/wp-content/uploads/2013/12/1949MetropolisUlam.pdf. Metropolis and Ulam, The Monte Carlo Method, JASA 44 (1949), 335–341, especially pp. 336–337
There are three useful limits to this picture:
- A heavy-tailed distribution can have infinite variance, so the displayed hypothesis must be checked. A Pareto distribution with minimum one and shape has finite expected value three but infinite variance. The strong law of large numbers still applies, but the stated central limit theorem does not. More dramatically, the Cauchy sample mean has an unchanged distribution: even averaging need not concentrate when the expected value is undefined. A heavy-tailed distribution with finite variance is allowed by the stated central limit theorem.
- Independence matters. If all equal the same nonconstant Bernoulli random variable, then and . There is no accumulation of new information, and the variance of the sum grows like , not . Other versions of the central limit theorem can allow dependence, but require hypotheses controlling it.
- Convergence in distribution is a limiting assertion, with no universal sample size or error rate under finite variance alone. It does not automatically give accurate relative estimates of very small tail probabilities. Nor does it mean that discrete point masses converge as probability density functions: a binomial distribution remains discrete for every finite . If the success probability changes with so that and , the relevant result is the Poisson limit theorem, rather than the fixed- argument above.
A historical original-paper reference is J. W. Lindeberg's "Eine neue Herleitung des Exponentialgesetzes in der Wahrscheinlichkeitsrechnung" (1922), published in Mathematische Zeitschrift 15, pp. 211–225. The Lindeberg condition and Lindeberg-Feller central limit theorem below describe a version for sums whose summands need not share a probability distribution.[ref]
https://doi.org/10.1007/BF01494395. Lindeberg, Eine neue Herleitung des Exponentialgesetzes in der Wahrscheinlichkeitsrechnung (1922)
A brief proof outline uses the characteristic function of . Its expected value is zero and its variance is one, so the finite second moment givesThe Taylor expansion of the complex exponential, with its remainder controlled by , and the dominated convergence theorem justify this step without a third-moment assumption. Independence then gives the characteristic function of :The limit is the characteristic function of the standard normal distribution; the Lévy continuity theorem turns this into convergence in distribution.
Certain ruin with nonpositive loading and finite claim variance Created 2026-10-06 Updated 2026-10-07
For positive claims with finite variance and , the classical risk model has ruin probability one from any finite capital. At claim times, surplus increments are independent copies of with mean . Negative mean sends their partial sums to minus infinity by the strong law of large numbers. At zero mean, the increments have finite nonzero variance. For every fixed , the central limit theorem gives limiting probability of a partial sum below . The probability of unboundedness below is therefore at least ; as a tail event it has probability zero or one by the Kolmogorov zero-one law, and hence one.
Convergence of random variables Created 2026-09-24 Updated 2026-10-14
The main modes include almost sure convergence, convergence in probability, convergence in Lp, and convergence in distribution. The strong law of large numbers and weak law of large numbers explain why a sample mean approaches an expected value; the central limit theorem describes the probability distribution of its remaining error after magnification by .
Countable-state Markov chain ergodic theorem 2026-10-25
For an irreducible Markov chain on a countable state space with positive recurrence and stationary distribution , the displayed almost sure convergence holds from every initial state whenever . In particular, the empirical fraction of visits to converges to . No aperiodicity is needed. Regeneration at successive returns to a state reduces the result to the strong law of large numbers for independent excursion lengths and rewards. This extends the finite-state Markov chain ergodic theorem.
For any real constant , one-dimensional Brownian motion repeatedly returns to zero. Consider successive segments from zero until exiting , separated by returns to zero. Their capped durations are independent identically distributed positive bounded random variables by the Strong Markov property, so their sum diverges by the strong law of large numbers. On each such segment . Thus the exponential clock has infinite lifetime, despite arbitrarily deep negative excursions.
For independent identically distributed random variables, the tail-sum formula applied to shows that for every when the first absolute moment is infinite. The Borel-Cantelli second lemma, followed by a countable intersection over positive integer , gives the first limsup assertion.
If had finite limsup along such a sample path, it would eventually be bounded by some finite constant . Then would imply eventually, a contradiction. This is a necessary-integrability counterpart to the strong law of large numbers; without a finite first absolute moment, the normalized sums cannot converge to any finite value.
Expected value Created 2026-09-24 Updated 2026-10-18
An expected value is the probability-weighted arithmetic mean of a real-valued random variable. On a probability space , its general definition is the Lebesgue integralwhere is the probability distribution of . For an integrable random variable, this is a finite real number. With a probability mass function , use ; with a probability density function , use . These are two ways of computing the same weighted average, rather than different definitions for different experiments.
For example, suppose takes the values with probabilities . ThenThe most likely outcome is , and is not a possible outcome at all. The expected value summarizes all outcomes and their weights; it need not predict the result of one trial. Geometrically, placing masses equal to the probability masses at the outcome positions gives a center of mass at , since . This balance-point interpretation also explains the connection to a weighted arithmetic mean. [ref].
For the dimensionless random variable with probability density function on , the expected value is . Integrating the probability density function itself gives one; to compute the expected value, multiply by the outcome first. [ref]
https://ocw.mit.edu/courses/18-05-introduction-to-probability-and-statistics-spring-2022/mit18_05_s22_class06-prep-a.pdf. Orloff and Bloom, expectation for continuous random variables
.Expected value balances probability masses, or integrates outcomes weighted by a probability density function
. The left panel's dashed line marks , even though the only possible outcomes are . In the right panel, the shaded area under is ; the area under the dashed probability density function is one. Both examples use dimensionless outcomes. Details.Why is this useful? Linearity of expectation lets us compute an average total by adding average contributions, even for dependent random variables. And for independent and identically distributed integrable random variables, the strong law of large numbers says their sample mean approaches their common expected value almost surely. The theorem supplies the link to repeated observations; the weighted-average definition itself does not promise that any particular finite run will be close to the expected value.
There is a useful historical connection to valuing uncertain rewards. In his 1657 De ratiociniis in ludo aleae, Christiaan Huygens assigns the value to equally likely rewards , and when they have equally likely chances. These are the finite weighted-average formulas for expected value. His opening discussion asks how to divide the stakes when a game stops before completion, connecting probability to a concrete question about an unfinished contest. [ref]
https://math.dartmouth.edu/~doyle/docs/huygens/huygens.pdf. Huygens, De ratiociniis in ludo aleae, 1657; reprint of the 1714 English translation, introduction and Propositions I–III
. Exponential moment bound for a Gaussian random-walk maximum Created 2026-10-07 Updated 2026-10-14
For independent and identically distributed random variables with law , is a nonnegative martingale, since the increment's moment-generating function equals one at parameter two. The Doob maximal inequality gives for the all-time maximum . Integrating the tail gives the displayed bound. For , . The strong law of large numbers guarantees finiteness and attainment of the maximum because .
Exponential sample-mean upper-tail rate Created 2026-10-07 Updated 2026-10-14
For independent unit-rate exponential random variables, the cumulant-generating function is for . Its Legendre transform of a cumulant-generating function is for and infinite otherwise. The Cramér theorem gives the upper-tail logarithmic rate for , and zero for . At the mean threshold the infima on both the open and closed upper half-lines are zero; below the mean the strong law of large numbers applies.
Suppose an integer-valued random walk starts at , has upward increments at most one, and satisfies almost surely. Write for its first-passage time to . On the event of almost sure convergence, the walk tends to and cannot jump over any positive integer, so every is finite. The bound gives . Along this subsequence, on each such sample path, proving the displayed reciprocal limit. No independence between the hitting times and the path is required. The strong law of large numbers supplies the hypothesis for integrable independent and identically distributed random variables as steps with positive mean.
Geometric maximum of an upward skip-free random walk Created 2026-10-14 Updated 2026-10-31
Let the increments define an upward skip-free random walk, and suppose is finite for all . If satisfies and , the exponential tilting at gives integrable increments of positive mean. The strong law of large numbers makes every nonnegative integer level attainable under this tilted law. Upward jumps are at most one, so the value at a first level hit is exactly that level. The stopped likelihood ratio under exponential tilting therefore gives hitting probability for integer . Subtracting consecutive tail probabilities yields the displayed geometric distribution on . For real thresholds use in place of .
Importance sampling Created 2026-09-24 Updated 2026-09-24
To estimate , sample independently from a reference density whose support covers that of , and useThe summands have expectation , and the strong law of large numbers gives almost-sure convergence under integrability.
Integrable random variable Created 2026-09-29 Updated 2026-10-14
A real or complex random variable is integrable when . This is integrability with respect to its probability measure, and ensures that its expected value is finite. A bounded random variable is always an integrable random variable; so is the example taking , for which .
For a real random variable, put and , its positive part and negative part. Each has a nonnegative Lebesgue integral, possibly infinite. The expression is defined when at least one of these two expected values is finite; if both are infinite, the expected value is undefined. Integrability makes both finite. A nonnegative random variable can have expected value , even though it is not an integrable random variable.
The standard Cauchy distribution is a useful warning. With its probability density function , the positive contribution is , which tends to infinity; the negative contribution has the same magnitude. Integrating symmetrically over gives zero for each , but this cancellation does not define an expected value. The Cauchy sample mean has an unchanged distribution, showing why the integrability hypothesis in the strong law of large numbers matters.
For an integrable random variable, conditional expectation preserves integrability, and linearity of expectation can safely combine finite averages without forming .
Law of large numbers 2026-10-14
Laws of large numbers give conditions under which sample means approach a deterministic expected value. For independent and identically distributed random variables with , the strong law of large numbers gives almost sure convergence, while the weak law of large numbers gives convergence in probability. These conclusions specify different modes of convergence of random variables, rather than a universal numerical accuracy guarantee. The central limit theorem is a separate result about the remaining fluctuations after rescaling.
Likelihood weighting Created 2026-10-25 Updated 2026-10-31
Likelihood weighting uses observation likelihoods as importance weights. If parameters are drawn independently from their prior distribution , weight a draw by and estimate a posterior expectation of by . With positive finite evidence and integrable weighted quantities, the strong law of large numbers proves consistency of this self-normalized importance sampling ratio. Finite-sample bias and concentration of the weights remain possible. A different proposal requires the additional prior density-to-proposal density ratio.
Log-optimal multiplicative betting 2026-10-14
For independent outcomes with positive probability distribution , allocations summing to one and return multipliers , the strong law of large numbers gives asymptotic logarithmic fortune growth . Gibbs inequality gives , so the unique optimum is . Writing gives . Thus guarantees positive optimal growth, whereas allows the house to force negative growth by choosing , but does not guarantee decline for every choice of .
Starting from capital , ruin occurs exactly when the aggregate loss exceeds . Positive relative safety loading and the strong law of large numbers make tend to minus infinity, so its supremum is finite almost surely. For exponential distribution claims of rate , has an atom at zero, and, conditional on , has exponential distribution of rate . The ultimate ruin probability determines this mixture directly.
Maximum of a downward-biased random walk 2026-10-14
For a nearest-neighbour random walk with upward probability , start at and put . Its probability distribution is geometric on the nonnegative integers, with the displayed mass and expected value . To prove this, the exponential martingale of a biased simple random walk has expectation one. Stop at the first hit of . Before that hit, ; the strong law of large numbers gives on paths without a hit. Dominated convergence theorem therefore gives . Taking differences of yields the mass. If time zero is excluded, the maximum can equal with probability and does not have this nonnegative geometric distribution.

