For and , place probabilities
Their weighted deviations cancel, giving expected value ; their weighted squared deviations give variance . Only the upper point belongs to , so its tail probability attains Cantelli's inequality. With , , , the locations are two and , with masses and . The optimized shift makes the lower point zero before squaring, explaining equality in the Markov's inequality step.
The threshold convention matters: this example has . For a strict threshold, placing the upper point at instead gives probabilities approaching the same bound as , with the prescribed mean and variance retained. Extra restrictions on the support of a probability distribution can change which extremal models are allowed.
Equality in Chebyshev's inequality Created 2026-10-14 Updated 2026-10-31
For , assign probability to each of and , and the remaining probability to . This probability distribution has expected value , variance , and tail probability . Thus Chebyshev's inequality is sharp when only these two moments are supplied. For example, , , gives masses , , . Replacing with would exclude the two extreme points in this example.
Equality in Markov's inequality Created 2026-10-14 Updated 2026-10-25
For a finite-expected value nonnegative random variable and , equality in the uncapped Markov's inequality holds exactly when takes only and almost surely. Indeed the nonnegative difference has zero expected value exactly when it vanishes almost surely. Giving probability yields and . This shows the bound cannot generally be reduced using only the nonnegative random variable's expected value.
Equipartition theorem Created 2026-09-24 Updated 2026-10-20
The equipartition theorem says that each independent quadratic term in a Hamiltonian described by classical mechanics has mean energy in a canonical ensemble. Here is the Boltzmann constant and the absolute temperature. Count terms in the energy, rather than vaguely counting everything that can move: one harmonic oscillator has one position degree of freedom but TWO quadratic terms, one in momentum and one in displacement.
A precise sufficient setting is with , where is one of the canonical variables, denotes all remaining variables, and the phase space integration measure factors as . The range of is the whole real line, independently of ; there is no constraint coupling its allowed values to other variables. The partition function must be finite, and the relevant expected values must exist. The Boltzmann factor then gives
The probability density function is a normal distribution with variance . A larger coefficient narrows the fluctuations enough to cancel its greater energy cost. This is why the mean contribution is independent of mass or spring constant.[ref]
For a proof outline, the one-variable Gaussian integral is , so . More generally, integration by parts in a canonical variable gives when its boundary term vanishes and the integrals converge. For this is twice its mean energy. At a finite hard boundary the boundary term need not vanish; hard-wall correction to harmonic equipartition illustrates the resulting departure. A constraint, a nonquadratic potential energy, or a noncanonical integration measure therefore requires its own calculation. The theorem is an ensemble average, not equality of instantaneous energies, and applying it to a recorded trajectory requires equilibration and sufficient sampling.
For a classical one-dimensional harmonic oscillator, with positive mass and spring constant ,
The origin is the equilibrium position. Its heat capacity is at fixed , not . Although the two mean energies agree, their measured amplitudes do not: and . In a harmonic optical trap, the position measurement observes the potential energy contribution; it does not measure both contributions by observing alone.[ref]
For particles in a three-dimensional classical monatomic gas, neglect interactions and thermally accessible internal excitations. Its three translational momentum terms give internal energy , heat capacity at constant volume , and heat capacity at constant pressure . Per mole, replace by the molar gas constant . For example, using stipulated , the molar heat capacity at fixed volume is . These results assume a dilute, nonrelativistic ideal gas with classical translational statistics, rather than a quantum degeneracy regime.
For an ideal gas of diatomic molecules, modeled as two chemical atoms with a bond, there are three translational quadratic terms, two accessible rotational kinetic energy terms for changes of bond orientation, and one bond-stretching harmonic oscillator with two quadratic terms. Rotation about the bond axis is not an additional active mode in this linear-molecule model. The three familiar limits of heat capacity at constant volume are
Corresponding molar heat capacities are , and . Counting the stretching harmonic oscillator only once as would give the wrong last value.[ref]
The frozen regimes require quantum mechanics. In the simple molecular rotation model, with state degeneracy , , and moment of inertia . For the bond-stretching quantum harmonic oscillator, with angular frequency and from the Planck constant. When , the three limits above correspond to , , and , provided translational motion remains classical. They are smooth crossovers, not abrupt switches. Real molecules can have different allowed rotational populations; at high temperature, thermal dissociation, internal excitations and nonharmonic bond motion can invalidate the fixed-molecule model before its last limit is reached.[ref]
For a quantum harmonic oscillator with fixed , put . Its exact mean energy and heat capacity are
At , the mean energy approaches and approaches . At , thermal excitation is exponentially suppressed and tends to zero, although the zero-point energy survives. Frozen thus means little thermal response, not zero motion or zero energy.[ref]
Figure 1. . Original computed equilibrium curves, not measured gas data. Left: approaches its classical value 1 as grows. Right: for stipulated . The rotational partition function is with every nonnegative integer allowed; is the variance of divided by . No molecular nuclear-spin restrictions, thermal dissociation or nonharmonic effects are modeled. Horizontal guides mark the three limiting values, not exact plateaus at finite temperature. Details.
A motivating measurement is thermal calibration of an optical trap. A focused laser through a microscope objective confines a bead in water; imaging or a quadrant photodetector records a position time series. Gieseler and colleagues describe a polystyrene bead of radius at , a trapping laser, and photodetector acquisition at . Their recorded bead continues undergoing Brownian motion; higher trapping power produces a narrower equilibrium position distribution. Infer the centered variance, not a squared distance from an arbitrary camera origin:
The normal distribution position histogram and agreement with dynamical calibration methods support the local harmonic optical trap interpretation. For a stipulated example, and imply . This calculated scale is not an experimental reading.[ref]
Position calibration is essential: if detector output has conversion , its physical variance is . An unknown scale cannot be determined together with from that one variance. A complementary calibration demonstrated by Tolić-Nørrelykke and colleagues combines the power spectrum of thermal motion with the bead response to known sinusoidal motion of a translation stage. The driven response supplies an additional length scale, and their method does not require bead size, liquid dynamic viscosity or wall distance as inputs. It still uses a thermal dynamical model; agreement between methods is a consistency check, not a theory-free proof of equipartition theorem.[ref]
The readout itself can hide fluctuations. Wong and Halvorsen used a optical trap and adjustable-exposure CCD imaging of a bead in water. They varied exposure and trapping power, held the bead away from the nearest wall, adjusted illumination to maintain comparable images, and measured tracking noise using a stuck bead. The measured variance fell as exposure increased; corrected results agreed with their time-averaging model. For a stationary overdamped harmonic optical trap, with optical trap relaxation time , an exposure of length measures . Its ideal noise-free variance is
For , : using the blurred variance in the uncorrected formula overestimates by . At , the calculated factor is . Additive tracking noise instead raises the measured variance and biases the inferred downward if left uncorrected.[ref]
Figure 2.
Equal mean quadratic energies with unequal fluctuations, and exposure-biased readout
. Original analytic models, not bead trajectories or measured curves. Left: equal-energy contours in scaled phase space, with , and , for . Increasing stiffness narrows position fluctuations but leaves both mean quadratic contributions equal to . Right: the exact noise-free exposure reduction ; at , and naive inferred stiffness is times true stiffness. The exposure calculation assumes stationary overdamped harmonic Brownian motion and uniform averaging. Details.
Useful controls are to record over many optical trap relaxation times, compare blocks for drift, calibrate the position scale, measure fixed-bead noise, vary exposure, and check the position histogram for departures from a normal distribution. A sparse sequence of accurate instantaneous positions can estimate an equilibrium variance; a long exposure averages away motion even if many frames are collected. Flow, appreciable laser heating, escape from the harmonic region or nonconservative forces can break the assumed thermal equilibrium. Inferring by imposing equipartition theorem is a calibration, whereas testing the relation requires an independently established stiffness and position scale. The beautiful practical connection is that microscopic randomness can set a force scale: once calibrated, a small constant applied force displaces the mean by . The same quadratic-term counting predicts macroscopic heat capacity and makes microscopic fluctuations useful measurements.
Exact bootstrap distribution for three observations Created 2026-10-18 Updated 2026-11-05
Take the original observations , with sample mean . All ordered bootstrap samples have probability . The bootstrap sample has sample mean ; has sample mean ; has sample mean . These are illustrative possibilities, not three simulated measurements used to estimate the distribution.
For bootstrap count vectors , records the number of copies of observed slot . Their multinomial distribution is
and . Thus the unordered counts have probability , whereas have probability . Stars and bars gives ten count vectors, but assigning each probability would be wrong. Two different count vectors, and , both give sample mean ; combining their probabilities gives .
Figure 1.
Exact conditional sampling distribution of the sample mean from observations
. All 27 ordered bootstrap samples are enumerated. Bar labels give their counts out of 27, not empirical frequencies from a random simulation. The dashed line marks ; the gaps reflect this discrete three-point empirical measure. Details.
The conditional bootstrap variance of a sample mean gives a compact check on the enumeration. Each resampled draw has expected value and variance
Averaging three independent draws divides that variance by three:
The exact conditional bootstrap standard error is . The original sample variance with denominator is , so its usual estimated standard error for the sample mean is . Their squared ratio is here; the difference follows from the empirical measure's denominator , not a numerical simulation error. Neither number is the known true sampling standard error of the unknown source probability distribution.
Exchange option 2026-10-31
An exchange option permits delivery of one asset in exchange for another at maturity, producing the positive-part payoff . In a complete finite market its price is the discounted expected value under the unique risk-neutral measure. For a two-period joint binomial model, evaluating this payoff at all four terminal paths and weighting by their risk-neutral path probabilities gives its price directly.
Expectation of an absolutely summable random series Created 2026-10-18 Updated 2026-10-31
If random variables satisfy , then converges absolutely almost surely, is integrable, and its expected value equals . Indeed, the monotone convergence theorem gives , so that nonnegative sum is finite almost surely. It dominates every finite partial sum in absolute value; the dominated convergence theorem then justifies passing the limit through the expected value. No independence is required.
For example, if for a fixed and , the geometric series bound proves the hypothesis directly. This is useful when repeated observations are multiplied by geometrically shrinking distances or weights.
Expectation value Created 2026-09-24 Updated 2026-10-14
The expectation value of a quantum observable is the expected value of its measurement outcome random variable in a specified quantum state. It predicts the mean of outcomes from many identical quantum state preparations. It need not equal any one possible outcome: for a spin one-half particle, equal probabilities of and give mean zero even though zero is never an outcome of that spin component. Here is the reduced Planck constant.
Let be a Hermitian operator on a finite-dimensional Hilbert space, and let be a normalized pure state, . The spectral theorem writes
The are distinct real eigenvalues, are orthogonal projections onto their eigenspaces, and is the identity operator. For an ideal projective measurement of , the Born rule and the expectation value give
Thus the expectation value is a probability-weighted average of eigenvalues, including all vectors in a degenerate eigenspace in its . In an orthonormal eigenbasis, , this is , where repeated are allowed. The weighted average lies between the smallest and largest eigenvalues; it can lie in a gap between them. The statistical meaning and operator expression are connected in this way in the authored treatment of average energies.[ref]
If a nonzero vector has not been normalized, use ; the denominator is essential. A global phase cancels between the bra and ket, so and have the same expectation value and outcome probabilities.
The outcome variance measures the spread about this mean, whereas the quantum uncertainty is its standard deviation:
For a pure state, zero variance means that lies entirely in one eigenspace. That eigenspace need not be one-dimensional. Knowing only a mean generally does not determine the entire outcome probability distribution.
For a mixed state, the same formulas use its density matrix , a positive operator with trace one:
A pure state is the special case . For a quantum state ensemble , the expectation value is . This linearity is useful when preparations vary between trials; different quantum state ensembles can have the same density matrix.
These formulas require no operator-domain qualifications in finite dimension. For an unbounded self-adjoint operator, the spectral theorem instead gives a spectral probability measure; a finite mean requires an integrable absolute first moment, and finite variance requires a finite second moment. Writing as an operator inner product additionally requires in the operator domain of . The quadratic form of a positive quantum Hamiltonian explains the useful wider form-domain version.
Expected cover time of a cycle Created 2026-10-05 Updated 2026-11-05
A simple random walk on a cycle graph of vertices has expected value of its cover time equal to , from any starting vertex. Lift the walk to the integers using the same increments. Its contiguous visited interval covers all residues precisely when it reaches length . Sum the expected time to expand a random-walk range, , using linearity of expectation; no independence of expansion times is needed.
Expected extraction time 2026-11-05
The expected extraction time of a knowledge extractor is the expected value of its running time over the randomness in the extraction experiment. The definition specifies the extractor's access to a prover and the cryptographic witness it must return. A common proof of knowledge formulation bounds that expectation, on valid inputs and for acceptance probability above knowledge error , by
where is a fixed polynomial. The access and output conditions are essential parts of the definition.[ref]
An original asymptotic comparison makes the denominator meaningful. Write and suppose . A gap gives an expected bound . A gap instead gives . The displayed extraction theorem therefore does not promise polynomial time uniformly for arbitrarily tiny positive gaps.
An expected bound also permits rare long executions. As a separate toy running-time distribution, let with probability and with probability . Then
although the worst-case execution is exponential. This distribution illustrates the distinction; it is not itself an extraction construction. Markov's inequality turns an expected bound into the tail estimate for . Converting an extractor into a procedure with a fixed deadline must account for the resulting probability of stopping before it finds a witness.
Expected finite-horizon occupation time Created 2026-10-14 Updated 2026-11-05
For a finite-state homogeneous continuous-time Markov chain with transition intensity matrix , integrate the indicator of occupying state over . Interchanging the bounded time integral and expected value gives the displayed integral of transition probabilities. It counts all visits, not only the first holding time. Summing over states gives . A zero eigenvalue of does not cause a problem for this integral, although it prevents casually writing it with an inverse matrix .
Expected frequency 2026-10-25
The expected value of the number of observations in a category under a specified statistical model. For observations with common category probability , linearity of expectation gives ; the calculation does not itself require independence. In a contingency table, fitting independence gives . These are model-based counts, which may be fractional, rather than an additional set of observed responses. Pearson's chi-squared test compares observed counts with their corresponding expected frequencies.
Expected generation size in a Galton-Watson process Created 2026-09-29 Updated 2026-10-14
For a Galton-Watson process starting with one ancestor and finite offspring mean , the expected value of the generation size is . At it is one, including when ; zero offspring mean forces every later generation to be empty. With initial ancestors, the expected value is .
For , , the offspring mean is . The exact calculations used in the generation probability mass function figure under Galton-Watson process give:
Generation Possible sizesExtinction by : Expected value
0101
10–20.25000000001.25
20–40.34375000001.5625
30–80.39501953131.953125
40–160.42677509782.44140625
50–320.44776226653.0517578125
60–640.46218609033.814697265625
Nearly half the families are already empty at generation six, yet the expected value exceeds three. Since empty families contribute zero,
whenever . At generation six this conditional expectation is about . Conditioning on being nonempty now differs from conditioning on eventual survival: some presently nonempty families will still die out. The eventual branching extinction probability is , even as the unconditional expected value grows without bound.
The expected value is useful for computing average population counts and, in the subcritical case, the expected value of the total progeny of a branching process. Its simple formula comes from one local calculation: linearity of expectation and the independent and identically distributed offspring counts give
The tower property of conditional expectation gives the second equality; starting from gives the formula. It describes an average over the generation probability distribution, not deterministic growth of an individual family. [ref]
Expected latency 2026-10-31
The expected value of a latency random variable. If a cache hit takes total time , a cache miss takes total time , and the cache hit rate is , conditioning gives . An overhead already included in either total should not be charged again.
Expected maximum of two absolute standard normal variables Created 2026-10-31 Updated 2026-11-05
For two independent standard normal random variables, the maximum of their absolute values has distribution function for . Differentiation and integration by parts, using , give its expectation as . This exact value can detect missing factors in two-sided Gaussian-maximum estimates.
Let and be integers. A simple symmetric random walk started at exits the integer interval at . Its expected occupation of before exit, including its initial state, is
A block of consecutive positive steps forces exit, so the geometric tail bound from a uniform escape probability proves almost surely. Optional stopping at the bounded stopping time , followed by the bounded convergence theorem for , gives the gambler's ruin probabilities
Translate the absolute value martingale of a simple symmetric random walk from zero to . Bounded-time optional stopping yields
Use monotone convergence on the increasing visit count and the bounded convergence theorem on the right. Substituting the exit probabilities gives
which simplifies to the displayed expression by considering and . In particular, when .
The proof establishes finite expected value of the visit count. Therefore each translated stopped absolute-value martingale is dominated in absolute value by a constant plus that total count, an integrable random variable; its family of values is uniformly integrable. This supplies the limit justification without assuming uniform integrability in advance.
Expected payoff 2026-10-14
For a finite game, let range over all pure strategy strategy profiles, and let be player 's probability of choosing . Under independent mixed strategies, the probability of is . The displayed sum is the expected value of player 's payoff. Holding everyone else's mixed strategy fixed makes a linear function of ; this is why checking pure strategy deviations suffices to check all mixed strategy deviations.
Let be a random probability mass function on a finite alphabet, let , and suppose a fixed reference is positive on the probability support of . Then vanishes almost surely wherever , and
Taking expected values yields the displayed decomposition. In particular it applies to an unbiased empirical distribution. It separates sampling fluctuation from reference mismatch: even perfect recovery of leaves the deterministic relative entropy . A bound comparing different references must account for this term.
Expected return 2026-10-14
The expected value of a random financial return . For asset return vector with mean , a portfolio of weights has expected return by linearity of expectation. This measures average payoff growth rather than a guaranteed realized gain.
Expected utility Created 2026-10-14 Updated 2026-11-05
Expected utility is the expected value of a utility function applied to a random outcome, using the decision-maker's probabilities. For a finite lottery, it is . It is the expectation of utility, which generally differs from utility of the expected outcome.
For a risk-neutral bidder with fixed valuation , winning indicator and possibly random payment , quasilinear utility gives and hence
If losing bidders pay nothing, this can be written when the winning probability is positive. It cannot be used without that payment assumption: in an all-pay auction, a deterministic bid is paid even after losing, so the expectation is .