Concentration inequality Created 2026-09-24 Updated 2026-11-05
A concentration inequality bounds the probability that a random variable differs substantially from a typical value such as its expected value or median.
Conditional expectation choice invariant Created 2026-10-18 Updated 2026-10-31
Let be a real-valued objective function of finitely many choices, with finite expected value. Suppose a prefix has positive probability. Write . If the next choice is a fair bit, the law of total expectation gives
At least one child is at least this average. Choose a child with the larger value, using a fixed rule for ties. The resulting loop invariant is . At a complete assignment , there is only one completion left, so and therefore .
For a biased choice or more than two possibilities, use the corresponding weighted average:
Some positive-probability child is at least the weighted average. For minimization, choose a child at most the current conditional expectation and reverse the invariant. The averaging identity is the same in both directions.[ref]
The word "probabilities" in the method's name also covers an indicator random variable for an undesirable outcome: keeping its conditional expectation, which is its conditional probability, strictly below one eventually forces that indicator to be zero. Optimizing an ordinary numerical objective function is the method of conditional expectations formulation used below.
Conditional expectation preserving a distribution Created 2026-10-14 Updated 2026-10-20
For a real integrable random variable , a conditional expectation with the same probability distribution as must equal almost surely. No second moment is needed. For any real , the nonnegative random variable has expected value zero, by conditioning and equality of the two absolute moments. Thus implies , implies , and implies , outside a null set. Using a countable family of rational separates any unequal real values and proves the claim. Equality of the probabilities of and also gives equality of their zero sets and hence equality of the two sign functions for every fixed .
Consider the following original five-vertex simple graph, where denotes the undirected edge :
Its seven edges give initial expected value . Use vertex order and choose zero whenever the two child conditional expectations tie.
Figure 1.
A guaranteed five-edge cut and a six-edge maximum cut of the same graph
. The conditional expectations cut example uses the same original simple graph in both panels. Node colours and labels identify the two sides of each cut of a graph. Solid teal edges cross; dashed grey edges do not. The deterministic choices on the left give five crossing edges; the assignment on the right gives six. Crossings of drawn lines are not additional vertices. Details.
The complete decision ledger is below. A prefix lists fixed labels in vertex order; all later labels remain hypothetically independent fair bits. Each candidate entry is the conditional expectation of the final cut of a graph, including the contribution of unresolved edges.
Prefix before choiceNext vertexSet to 0Set to 1Chosen labelRetained conditional expectation
Empty
For example, after , edge is fixed crossing and the other six edges are unresolved, giving . Setting fixes crossing and noncrossing, leaving four unresolved edges: . Setting instead fixes crossing and noncrossing, giving the same conditional expectation.
Figure 2.
Conditional expected cut values along every chosen branch
. At each step, both candidate values are computed by the conditional expectation cut formula. The highlighted cell is chosen; ties choose zero. Below, the retained conditional expectation follows , starting before any label is fixed. The last value is the actual size of the resulting cut of a graph, rather than an average over remaining choices. Details.
The final labels are , so the two sides are and . The five crossing edges are ; do not cross. This exceeds , and hence also the rounded-up guarantee of four edges.
It is not a maximum cut. Labels cross all edges except , giving six. Seven are impossible because the triangle in a graph cannot have all three edges crossing a two-sided cut of a graph. An independent enumeration of all complete label assignments gives the following distribution, counting an assignment and its label-swapped counterpart separately:
Size of cut of a graphNumber of label assignments
The weighted sum is , so the average is , agreeing with linearity of expectation. Choosing in the earlier tie discards the remaining size-six completion while preserving the average of four. The method protects an expected value guarantee; it need not preserve the best possible completion.
Let be a finite undirected simple graph, with vertices and edges. A cut of a graph assigns each vertex a label zero or one; an edge crosses precisely when its endpoints have different labels. Its size is the number of crossing edges. A maximum cut maximizes that size.
For the analysis, assign independent fair bits to the vertices. For each edge , the indicator random variable has expected value : exactly two of the four equally likely endpoint assignments cross. Thus linearity of expectation gives the random cut lower bound:
Linearity of expectation does not require the indicator random variables to be independent. What matters here is the stipulated distribution of the endpoint bits.
Conditional Markov inequality with a measurable threshold Created 2026-10-25 Updated 2026-10-31
If is an integrable random variable and is a finite, strictly positive -measurable random variable, then
Indeed, . Monotonicity of conditional expectation and the measurable-factor rule for conditional expectation give
Division by the strictly positive proves the claim. Only the displayed product needs to be an integrable random variable; neither nor needs to have finite expected value. The measurable threshold represents information already available before asking how likely the remaining exceedance is.
Conditional variance Created 2026-09-28 Updated 2026-10-14
The conditional variance measures the remaining squared uncertainty after specified information has been used to form a conditional mean. For a real square-integrable random variable and a sub-sigma-algebra , let . Then
It is a -measurable random variable, nonnegative almost surely, rather than necessarily a single number. With the information , its value is the variance in the group identified by . Its expected value is the mean squared error of predicting by its conditional mean.[ref]
In the exact mixture distribution in law of total expectation, group contains around mean two, and group contains around mean eight. Both groups have conditional variance four because their deviations from their own means are with equal probabilities. Therefore . Meanwhile, the two group means have variance . The law of total variance gives
Direct calculation gives and , checking the decomposition.
Figure 1.
Total variance separates remaining within-group error from variation of group means
. Left: in the stipulated finite mixture distribution, each group's values deviate by from its conditional mean. Right: the total variance separates into expected conditional variance four and variance of the conditional mean . Knowing the group removes the latter part from the average squared prediction error. Values and weights are exact model choices, not measured data. Details.
For any square-integrable -measurable predictor , the error identity is
The cross term vanishes because . Thus using the conditional mean minimizes mean squared error, while conditional variance quantifies what this information still cannot predict. This is the orthogonal projection interpretation in L2 space.[ref]
Consistency of least squares Created 2026-09-24 Updated 2026-11-05
For fixed coefficient dimension and , the ordinary least squares error satisfies
Consequently convergence in probability of to a positive-definite matrix , together with in probability, proves statistical consistency by continuity of matrix inversion.
For independent and identically distributed random-design pairs, finite second moments and imply these limits by the law of large numbers, provided is nonsingular. Conditional mean zero, , is a familiar sufficient exogeneity condition. For a deterministic design matrix, the vanishing normalized design-error product must instead be justified from its errors and weights.
Finite moments and a nonsingular design alone are insufficient. In an intercept-only model with errors identically one, the estimated intercept is always . The missing zero-expected value condition changes the limiting target.
The same intensity measure can belong to very different point processes. A Poisson point process with a locally finite intensity measure adds two requirements: each finite-intensity window count has the Poisson distribution of mean , and counts in pairwise disjoint observation windows are mutually independent. These requirements determine its probability law; they do not follow from the formula for .[ref]
A randomly shifted lattice point process, a unit-rate Poisson point process, and the shared random rate gives dependent point counts construction all satisfy on the real line. Nevertheless, their counts in have respectively variance zero, one, and two. Counts in the disjoint observation windows and have respectively covariance , zero, and . These exact calculations show why measuring mean density cannot identify a spacing or statistical dependence model.
Figure 1.
Equal intensity permits regular spacing, Poisson counts, and shared-rate dependence
. All three laws have intensity measure . Left: illustrative realizations of a randomly shifted lattice point process, a unit-rate Poisson point process, and the shared random rate gives dependent point counts construction conditional on rate two; the latter also has a completely empty outcome with probability . Right: exact probability mass functions of the count in , with the axis displayed through seven. Equal expected values of one coexist with variances zero, one, and two. Realizations illustrate spacing; the bars describe laws, not frequencies estimated from those realizations. Details.
Constant nonzero drift is impossible on a finite Markov chain Created 2026-10-14 Updated 2026-11-05
For a real function on a finite state space, a state minimizing satisfies , so strictly negative drift cannot hold at every state. Equivalently, telescoping the expected value would give , contradicting boundedness of . Constant negative drift is useful before a target is reached; it must be restricted to the states outside that target.
Continuity of a characteristic function Created 2026-09-29 Updated 2026-10-18
Every characteristic function is uniformly continuous and satisfies and . Continuity follows from the dominated convergence theorem applied to .
More explicitly, if , then pointwise and . Apply the dominated convergence theorem to the real part and imaginary part separately. There is no finite moment hypothesis. For uniform continuity, the stronger estimate
follows by factoring out , whose absolute value is one. The integrand tends pointwise to zero and is bounded by two, so the dominated convergence theorem applies again. The bound is independent of , which supplies uniform continuity on the entire real line.[ref]
If the first absolute moment is finite, additionally gives , a Lipschitz continuity estimate. The earlier argument matters because continuity survives even when this expected value is infinite. For convergence in distribution, the separate Lévy continuity theorem concerns limits of whole sequences of characteristic functions; the argument here establishes continuity of one characteristic function.
Continuous uniform distribution Created 2026-10-14 Updated 2026-11-05
A continuous uniform distribution on a finite interval with endpoints has probability density function
Choosing open or closed endpoints does not change this probability distribution, because single points have zero probability. Its cumulative distribution function is zero below , between the endpoints, and one above . Consequently a subinterval has probability .
Integration gives expected value and variance . If is uniform on , then is uniform on , a basic input transformation for Monte Carlo method and inverse transform sampling. For example, on the expected value is , the variance is , and . A uniform distribution is relative to its coordinate or reference measure: taking its logarithm generally does not preserve uniformity, as the log-uniform distribution illustrates.
Control variates 2026-10-14
A control variate is a random variable with known expected value whose centered value is subtracted from a Monte Carlo estimator to reduce its variance. For a mean-zero vector , put and . When is invertible, the optimal estimator averages and has variance for independent draws. Improvement is strict exactly when .
Convergence in probability Created 2026-09-24 Updated 2026-11-05
Random variables converge in probability to when for every fixed . It makes a fixed-size error unlikely at a late deterministic time; it does not assert that every path eventually avoids such errors. For uniform on , converges to zero in probability since its probability of being one is . Almost sure convergence and convergence in Lp each imply convergence in probability. No shared rate is part of the definition, and convergence of expected values requires further conditions.
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.
Convolution of a Cauchy distribution and a uniform distribution Created 2026-10-18 Updated 2026-10-20
Let have the Standard Cauchy distribution and let , independently, have the uniform distribution on , where . The convolution of probability densities gives the probability density of as
This is an even function. Its derivative is
so its unique mode is zero. Its tails satisfy as : multiplying the integral by makes the integrand converge uniformly to on the bounded interval . Consequently both positive and negative parts of the first moment diverge, so its expected value does not exist. The symmetric Cauchy principal value of that moment is zero, which is a different assertion. Adding a bounded independent displacement smooths the probability density without removing the divergent first moment of the Cauchy distribution.
Consider a stipulated repeated-attempt model, with independent Bernoulli trials of success probability . An unsuccessful attempt costs three units of work, and a successful attempt costs one. Let be its success indicator function, its cost, and the first success. Observing reveals , so is a stopping time for the costs' natural filtration. The geometric distribution gives and , including the deterministic case . Thus
At , the average is four attempts and ten units of work. An independent check uses the pathwise identity : there are failures and one final success. No success probabilities or costs in this example are measured data.
Figure 1.
Cost and survival probabilities for stopping at the first success
. Original stipulated model with success probability , failure cost three, and success cost one. The top shows one illustrative stopped sequence; the lower panels show exact probabilities and the contributions to the expected value from each admitted step. Details.
Here is not independent of the observed costs. In particular, conditioning on forces every preceding cost to be three and the final cost to be one, so , generally different from at . Nevertheless the unconditional identity holds. This distinction explains why conditioning on the total count as though the original cost law remained unchanged is a faulty proof.
Covariance Created 2026-09-24 Updated 2026-10-14
The covariance measures the average product of two centered deviations. For real square-integrable random variables and ,
Deviations with the same sign contribute positively; deviations with opposite signs contribute negatively. Their magnitudes and probabilities determine the net result. Taking recovers the variance. The definitions and algebraic properties are presented in Orloff and Bloom, MIT 18.05, Covariance and Correlation, sections 2–2.1.
For a worked example, let be independent random variables, each equally likely to be , or , and put . All nine pairs have probability . The expected values are zero, while linearity of covariance and the vanishing covariance of independent random variables give
The shared term makes large accompany large on average. Replacing by reverses the covariance to without changing either variance.
Figure 1.
Positive, negative, independent, and nonlinear relationships have different covariance behavior
. In the first three panels, and independently take , and with equal probabilities; each point has probability . In the last panel, , and the three marked outcomes each have probability . The thin curve shows that quadratic function. Its zero covariance leaves strong nonlinear statistical dependence visible. Details.
The covariance is useful whenever deviations are added or subtracted. Expanding the square gives
For the worked model, these are and . Positive covariance increases variation in the sum while reducing variation in the difference: the same shared fluctuation reinforces one combination and partly cancels in the other. The identity applies beyond independent random variables.
The size of a covariance depends on the measurement scale. For constants , linearity of covariance gives . Adding offsets has no effect; rescaling either measurement rescales the covariance. The Pearson correlation coefficient divides by both standard deviations to describe the standardized linear relationship.