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 states
Precisely, 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 are
Here 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.
Figure 1.
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]
There are three useful limits to this picture:
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]
A brief proof outline uses the characteristic function of . Its expected value is zero and its variance is one, so the finite second moment gives
The 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.
Convolution Created 2026-09-24 Updated 2026-10-14
Convolution combines two functions by adding their products over all ways of splitting an argument. For Lebesgue integrable functions on the real line, their convolution is
The arguments and always add to . For in the L1 space, the integral exists almost everywhere and defines another element of the L1 space, with by Young's convolution inequality. Particular examples below have a value at every .
To see what the integral counts, take the indicator function . The product equals one exactly when belongs to both intervals and . Its integral is their overlap length, so
At , the overlap is and the output is ; at , the two intervals coincide and the output is one. The result is the shifted triangular function . As changes, is a reflected and translated copy of : the moving overlap makes the entire graph visible without a difficult integration.
Figure 1.
Convolving two interval indicators measures their moving overlap and produces a triangular function
. Details.
The same calculation gives the probability distribution of a sum of two independent random variables. If are independent random variables with the continuous uniform distribution on , each has probability density function . Their sum has probability density function by convolution of probability densities. The probability density function at one is larger than near zero or two because there are more combinations of the two inputs giving that sum. Its total integral is one; its expected value is one and its variance is . These follow equally from integrating the triangular function or from linearity of expectation and variance additivity for independent random variables.
Convolution also gives a useful averaging operation. For , let . Then
the mean of in a neighborhood of . A smaller examines a smaller neighborhood. For a continuous function , this mean tends to as , an example of an approximate identity. Integrating a sharp input against a distributed convolution kernel can produce a smoother output; the triangular example turns two discontinuous inputs into a continuous output.
In signal processing, a linear time-invariant system combines shifted copies of its impulse response by the same rule. In discrete time, an input value at index contributes a scaled response at index , and discrete convolution sums these contributions. This is the superposition interpretation developed in Oppenheim, MIT Signals and Systems, Lecture 4, convolution sums and integrals. The convolution theorem then gives another description: transform both inputs with a Fourier transform and multiply their transforms. Combining shifts, combining independent quantities and multiplying frequency descriptions are three faces of the same operation.
An instrument for comparing two lengths through their difference. Suppose a test rod and reference both have length at temperature , and have constant linear thermal expansion coefficients and over a small interval. Their first-order models give
For the observed difference , the derivative therefore determines
The reference's independently calibrated linear thermal expansion coefficient is essential: the difference alone identifies , not either coefficient separately.
For an original numerical example, stipulate , and . Heating both by gives sample and reference increases of and . Thus the sample expands even though its measured difference decreases by . These are chosen model parameters, not measured values for a historical Invar specimen or reference.
If and have independent standard uncertainties and , and uncertainty in is negligible, variance additivity for independent random variables gives
Repeating the difference measurement can reduce its random contribution; it does not remove uncertainty in the reference. A temperature gradient or unequal rod temperatures also breaks the common-temperature model and can introduce a systematic error.
Figure 1.
Chosen rod expansion and instrument drift models: a negative length difference need not imply contraction
. Details.
The indicators of successively smaller records are independent and have Bernoulli distributions of parameters . Successively larger records use and have the same laws. For , expectation and variance additivity for independent random variables give and .
Negative binomial stopping argument Created 2026-09-24 Updated 2026-10-31
For the negative binomial distribution with positive integer target and success probability , the th success occurs after exactly failures only if the final trial is a success, while the preceding trials contain failures and successes. Choosing the failure locations gives the binomial coefficient . Each such stopped sequence has probability by independence, and the sequences describe mutually exclusive events, so their probabilities add. This proves the probability mass function. Counting arrangements among all positions would wrongly include sequences that already reached the target earlier. The same argument is used for three heads in MIT 18.05, spring 2022, problem set 9 solutions, problem 2(b).
A short route to normalization and moments is to split the failures count into successive waiting blocks:
where counts failures after success and before success , with starting at the first trial. Fresh independent Bernoulli trials make the blocks independent, each with the failures-count geometric distribution. Each block has total mass by the geometric series, so their sum also defines a normalized probability distribution. The linearity of expectation and variance additivity for independent random variables give and . This makes the moments transparent without a long calculation of sums. For , every block is zero.
If the observed samples are , the resulting quadrature rule changes by . Bounded sample perturbations therefore satisfy
For ordinary numerical integration with nonnegative quadrature weights exact on constant functions, the bound is , independent of panel refinement. A common bias attains it: the quadrature error due to the function approximation may vanish while this sample error persists. Interpolating a fixed data set onto a finer grid likewise does not create new observations or remove its uncertainty.
With new samples whose errors are independent random variables of zero expectation and common variance , a different model gives
For equal panels this is for the composite midpoint quadrature rule and for the composite trapezoidal rule. These variance reductions require the stated independence and unbiasedness assumptions; a common bias or correlated sample errors need not shrink. The two displayed perturbation formulas follow directly from the triangle inequality and the variance additivity for independent random variables, respectively.
Let be the result of roll , so . Each has the uniform distribution on a finite set , giving
and hence variance . The rolls are independent, so linearity of expectation and variance additivity for independent random variables give
All the required moments are finite. Taking in Chebyshev's inequality now yields
This is an upper bound, rather than an exact tail probability.
Apply the law of total variance to each epoch. The Poisson distribution has equal conditional mean and variance, while . Hence
The independent mutation counts in coalescent epochs permit variance additivity for independent random variables. Thus
The first term is conditional Poisson distribution variation; the second comes from the random lengths of the ancestral tree. These are the moments of the mutation count on a neutral coalescent tree.
For each , let be the relative rank of among , with the smallest value assigned rank one. Then . The independent relative ranks of a uniform random permutation can be proved directly: for any choices , insert the index at position in the list of previous indices ordered by their values. After all insertions, assign the values along that list. This is a unique permutation with those relative ranks, and conversely every permutation yields one such insertion sequence.
There are possible insertion sequences, all equally likely because the uniform random permutation is uniform. Thus
The ranks are independent and each is uniform on its possible values. It follows that the independent record indicators have
The first indicator is the constant one, which is also independent of the others. For , additivity of expectation and variance additivity for independent random variables give
Here is the harmonic number.
Let be the year index of the second record. For , independence gives
The empty product for is one. There is no second record in the first years with probability
This exposes a finite-horizon qualification in the final request: a permutation of length alone does not specify when a record outside those years will occur. Under the usual continuation by an infinite sequence of independent, identically distributed observations with a continuous distribution, the same relative-rank argument holds for every finite prefix. Then for every , and . These probabilities sum to one, so the second record occurs almost surely, but
The expected number of additional years after year one, , is also infinite. This is the first-sample case of the waiting time for a new record after a fixed sample.
If instead one asks for the mean year conditional on the second record occurring within the stated years, then, for ,
The mean additional wait under that conditioning is this value minus one. These are distinct questions: assigning whenever no second record occurs in the finite horizon also gives an infinite unconditional mean, whereas a censored observation has finite expectation by the tail-sum formula for expectation.
Use the positive-support convention for the geometric distribution and put . Differentiating the convergent geometric series gives
Consequently
Subtracting the square of the expectation from the second moment yields
For the die, this is the coupon collector problem. When scores are still missing, let count rolls up to and including the next newly observed score. Every fresh roll has success probability , so has a geometric distribution of parameter . These six successive waiting times are independent: conditional on the entire past at the start of a stage, its waiting-time distribution depends only on the number , not on the identities of the missing scores. Iterated conditioning therefore factors their joint distribution. The total number of rolls is .
Using linearity of expectation gives
Using variance additivity for independent random variables, or the coupon collector waiting-time variance formula just derived by this decomposition, gives
Hence the requested standard deviation is
The hint rounds the sum of squares from to ; using that rounded value gives , consistent at the precision of the hint. The exact computation preserves the slightly more precise value above.
The exponential distribution has no atoms, so all sample values are distinct almost surely, and is the th order statistic. Set and . Part (b) gives .
To justify induction and the required independence, let be the label attaining the minimum. Conditional on its time and label, the remaining clocks are fresh independent rate- exponential random variables, by the memoryless property. This conditional claim can be checked directly: for a specified label , first ringing time , and residual lifetimes for , the joint probability density is
Thus the first minimum, its uniform winning label and the surviving residual clocks are independent. Repeat this argument after each minimum. At the th step there are clocks, so the independent exponential order-statistic spacings satisfy
Since has rate whenever , summing the gaps proves
In particular the maximum is . By variance additivity for independent random variables and the Laplace transform of an exponential distribution, its requested quantities are
The product follows from independence of the gaps, not merely from their marginal probability distributions.
Write for the single-observation score function. Differentiating the normalization of the probability density function gives
For discrete observations, use a sum instead. The allowed interchange of differentiation and integration is the usual regular-model assumption with common support. Adding these identities gives .
Let be the joint density. Because is an unbiased estimator with no explicit dependence on the parameter, differentiating gives
The scores are independent random variables with mean zero, so variance additivity for independent random variables gives . The Cauchy-Schwarz inequality applied to the centred estimator and the score now gives the Cramér-Rao lower bound:
The denominator is the sample Fisher information. This bound concerns regular models with positive finite information; the preceding covariance identity explains why a small estimator variance requires a sufficiently informative score.
In fixed-design nonparametric regression, the covariates are deterministic and
For the usual finite-variance model assume independent errors with . In random-design nonparametric regression, the pairs are independent observations and ; equivalently with conditional mean-zero errors. Conditional variances are generally assumed bounded for risk bounds.
For a nonnegative regression kernel and a smoothing bandwidth , the Nadaraya–Watson estimator is
when the denominator is positive; replace by for random-design nonparametric regression. The local polynomial regression estimator of degree minimizes the weighted least squares criterion
and reports . If the weighted Gram matrix is invertible, this minimizer is unique. The Nadaraya-Watson estimator is exactly local polynomial regression of degree zero. Higher degrees reproduce nonconstant polynomials and reduce boundary bias of an estimator.
The requested error bound needs and mean-zero independent errors of uniformly bounded variance, along with the matrix condition in the hint. The degree requirement is missing from the printed question. To see the problem, take , , , zero errors, , and . This regression function has two bounded derivatives, but the local constant estimate is the average of for :
The scalar matrix is bounded away from zero for every . Nevertheless , so the printed conclusion with fails. A bounded-variance error hypothesis is also essential; otherwise an expectation bound need not even be finite.
Under the qualified hypotheses, use and
This symmetric Gram matrix has inverse operator norm bounded by the reciprocal of its uniform positive eigenvalue lower bound. If is supported in , only contribute. The equally spaced design and imply that there are at most such points. The bounded kernel and bounded on this interval therefore yield
For the stochastic part, variance additivity for independent random variables and Cauchy-Schwarz inequality give
For the deterministic part, let be the Taylor polynomial of at of degree . The polynomial reproduction property of local polynomial regression gives . By Taylor's theorem, on the kernel window. Thus
Combining the two parts proves
The argument also applies at the endpoints when the assumed matrix bound holds. With arbitrary degree, the generally valid smoothness term is ; extra symmetry can improve some interior biases but does not fix the general boundary counterexample.
The binomial theorem makes the sum of the proposed probability mass function equal to ; every term is nonnegative. Realize the associated binomial distribution as , where the are independent variables with the Bernoulli distribution of parameter . Each has expected value and variance . Linearity of expectation and variance additivity for independent random variables yield
At or this is a constant random variable; the same formulas apply, with the endpoint mass understood by continuity.
Set and . The independence and zero expected values give , so is a martingale. The variance additivity for independent random variables gives
The Cauchy-Schwarz inequality implies . Applying the martingale convergence theorem from (b),
In fact the L2 martingale convergence theorem also gives convergence in L2. Independently, for the same variance additivity for independent random variables yields , confirming that the partial sums form a Cauchy sequence in .
Set
By variance additivity for independent random variables,
Thus differs in by from the deterministic scalar . The L2 convergence of averages of independent variables with bounded second moments gives the necessary and sufficient condition
The model factors into the normal distribution densities
and, conditionally on ,
Ignoring constants independent of , the log likelihood is
Its score is
In terms of the independent innovations,
Variance additivity for independent random variables therefore yields
Since , the equality holds for all exactly when
namely when
Thus the information tensorizes only in the independent case.
Finally, the Cramér-Rao bound gives every unbiased estimator the lower bound
This is the Fisher information in a stationary Gaussian autoregressive location model.
Write and . For rational , stationarity and independence of the increments over intervals of length give
using variance additivity for independent random variables. Stochastic continuity extends both identities from rational to real . In the centered case , this becomes and .
A kernel for density estimation is a bounded nonnegative integrable function with . Its bandwidth- rescaling is , and the kernel density estimator is
Fix and put . Since vanishes outside ,
The Cauchy-Schwarz inequality and variance additivity for independent random variables give
Nonnegativity also gives . Taking the better estimate at each and applying Tonelli theorem proves
For nonnegative and , . Taking yields
For , the Holder inequality with conjugate exponents and gives
If is uniform on and independent of , then has probability density function . Since
the last integral is at most . Substitution proves the second displayed bound. The case is the first bound integrated using and follows directly.