Universal hash family 2026-10-13
A universal hash family is a finite collection of hash functions into an output set of size such that, for any fixed distinct inputs ,
The choice of uses the uniform distribution on a finite set. The keys are fixed before that choice: the randomness belongs to the hash function, so the guarantee does not assume naturally random keys. Choose one member and keep it while using the table; changing it requires redistributing the stored records. The bound holds separately for every distinct pair, without requiring uniform individual outputs or independent random variables. A strongly universal hash family supplies those stronger properties.
The practical payoff follows from linearity of expectation. If stored keys are distinct from a fixed query, let count how many share its bucket. Then : each key contributes at most to the expected value. With stored keys and buckets, an unsuccessful search encounters at most one record on average over the random choice of hash function. This is an expected value, not a limit on every search; one unlucky choice can still create a long chain.
This calculation needs no independence between the collision events: linearity of expectation adds their individual probabilities. The fixed-query condition matters, since deliberately choosing keys after inspecting the selected hash function can target a crowded bucket.
Carter and Wegman introduced this way of analyzing storage and retrieval in their 1977 paper: average over a chosen class of hash functions while allowing any fixed sequence of inputs. Their 1979 journal version develops the same universal-pair collision condition and constructions. The insight is useful because a randomized algorithm can obtain a performance guarantee through its own choices, even when its inputs have inconvenient patterns.[ref][ref]
Variance Created 2026-09-24 Updated 2026-10-14
The variance measures the mean squared distance of a random variable from its expected value. For a real square-integrable random variable ,
The square prevents positive and negative deviations from cancelling. It also gives the variance squared units: if measures a length in metres, its variance has units of square metres. Its nonnegative square root is the standard deviation, which has the same units as .
For example, let take , and with equal probabilities. Its expected value is zero, but its variance is , and its standard deviation is . The constant random variable zero has the same expected value and zero variance: a mean alone does not describe the spread. The variance is zero exactly when almost surely.
The variance is useful because squared deviations interact neatly with linear combinations. The covariance supplies the cross terms when combining different random variables, and a covariance matrix organizes those terms for many variables. The characterization of variance as the minimum mean squared error of a constant also explains why the expected value is the best constant prediction under squared error.
Variance of a sample mean Created 2026-09-24 Updated 2026-10-14
Let be an IID sample of real-valued random variables with finite expected value and finite variance , where . Its sample mean satisfies
Linearity of expectation gives the first identity. The variance of a sum and vanishing cross covariances give ; scaling by scales the variance by . Pairwise independent random variables with the same expected value and variance suffice for these identities, even without full independence. Grinstead and Snell state the corresponding finite-variance independent-trials result.[ref]
The standard deviation of the sample mean is . Four times as many observations halve this scale; they do not divide it by four. In the fair Bernoulli distribution example, , so sample sizes and give standard deviations and , respectively. The common-coin averaging example shows why merely repeating observations with a common marginal law does not justify this calculation.
Chebyshev's inequality turns the variance identity into a probability bound: for ,
This proves convergence in probability of the sample mean to in this finite-variance setting, a form of the weak law of large numbers. It is an upper bound, so values above one convey no improvement over the universal probability bound one. Cauchy sample mean stability lies outside these hypotheses.
Variational characterization of trace distance Created 2026-09-28 Updated 2026-10-14
The variational characterization of trace distance turns a matrix distance into the best possible binary experiment. For density operators on the same finite-dimensional vector space,
An operator with is an effect of a POVM: both and are positive operators. The Born rule assigns the first outcome probabilities and . Their signed gap is , where . Since , replacing by reverses this gap, explaining the equality with the absolute-value maximum.
One optimal is the spectral projector onto the positive eigenspaces of . In the spectral decomposition of , this choice includes all positive eigenvalues and excludes all negative eigenvalues. Their positive sum equals the trace distance by the spectral-parts formula for trace distance. Any zero eigenspace can be assigned to either outcome without changing the gap. This is the effect selected by the equal-prior Holevo–Helstrom theorem. [ref]
The same optimum has a classical description. For any finite-outcome POVM , let and . Then
The expression is the total variation distance of the entire outcome probability distributions; the expression for is the gap for one event. Grouping outcomes in gives the single effect . Conversely, an effect gives the binary POVM , whose two probability gaps are opposites, so their total variation distance is . Thus the optimum over all POVMs is already attained by one binary projective measurement. [ref]
For quantum state discrimination with equal prior probabilities, declare on outcome and on outcome . Directly averaging the two conditional success probabilities gives
Optimizing this expression gives . For the diagonal example in trace distance, gives a gap . For zero versus plus, that same effect gives only , while the effect in Helstrom measurement for the zero and plus states gives the larger gap . The trace-distance-preserving binary measurement depends on the pair of preparations; a fixed measurement basis does not generally attain the trace distance for every pair.
Let each drive region have length and the drive-free gap have length , measured edge to edge. A particle of constant speed experiences and . For a normalized detected-beam speed probability density function , sum the transition probabilities, not the probability amplitudes of different particles:
The displayed is an ideal effusion flux distribution, with speed scale , uniform transmission and speed-independent detection efficiency. It is not a claim about any particular clock's selected beam. The substitution gives , proving normalization. Actual apertures, state selection and readout can change the effective weights.
For an original example choose , , and . The reference particle has , and resonant pulses. The instantaneous-pulse width would be . The exact finite-pulse width for that single speed is about ; the chosen distribution also reduces the on-resonance average to approximately because not every particle receives a pulse.
Figure 1.
Finite transit times shape the Ramsey line
. Original calculation of the finite-pulse Ramsey transition probability and velocity-averaged Ramsey line for the chosen parameters above. The central panel also shows the instantaneous-pulse limit at . All curves are model predictions; none reproduce experimental points. Details.
Different velocities smear side fringes because varies across the beam. Nevertheless every term is even in , so this symmetric ideal-model average has no odd line asymmetry that could displace the central lock point. Reduced contrast or altered width alone is not evidence of a shifted line center. A speed-dependent transition shift or unequal drive quantum phases changes that conclusion; atomic clock frequency shifts explains why these distinctions matter experimentally.
For drops with intensity , impact time and nonnegative volume , let their radius at time be . The dry probability at is
The exponent is the intensity of drops whose patch covers the point by that time. An infinite exponent means zero dry probability. No spatial-homogeneity assumption is needed.
The void probability functional assigns to a measurable set the probability that it contains no atom of a random point measure. For a Poisson random measure of intensity , it is . The exponential void probabilities characterize a Poisson random measure result uses simplicity; doubling every atom of a Poisson measure preserves void probabilities but changes count distributions.
Voter-model duality 2026-10-14
Independent Poisson process copying arrows construct the voter model. A backward ancestral line from a site follows a continuous-time random walk; lines that meet then coincide. Thus a finite collection of Ising spins at time equals initial Ising spins at the positions of coalescing random walks. In particular , and the probability of disagreement at two sites is bounded by the probability their ancestral walks have not yet coalesced.
Waiting time for two consecutive successes Created 2026-10-07 Updated 2026-10-14
For independent trials of success probability , let be the first index completing two consecutive successes. If are the mean remaining times with no trailing success and with one trailing success, conditioning gives and . Solving yields , so fair trials have mean waiting time six. Disjoint pairs give a geometric tail bound and justify finiteness before solving the equations. Overlapping pairs are not independent trials.
In independent trials with two outcomes of probabilities and , let include the first trial and the trial that first completes the pair. Conditional on the first outcome, has a geometric distribution of parameter or , with mixture weights . The law of total expectation and law of total variance give
The final term in the unsimplified variance is the variance of the two conditional means; omitting it is incorrect unless . Both outcomes must have positive probability for these finite formulas.
Weak law of large numbers Created 2026-09-24 Updated 2026-10-14
Let be real independent and identically distributed random variables with and expected value . The weak law of large numbers states that their sample mean has convergence in probability to : for every fixed ,
Thus a large sample is unlikely to give an average with a specified fixed-size error. The strong law of large numbers makes the stronger statement of almost sure convergence along an entire sequence. Under the displayed assumptions both laws apply; their names distinguish the conclusions, not two competing predictions.
When the variance is finite, variance additivity for independent random variables gives . The Chebyshev inequality immediately supplies a useful quantitative form and a brief proof:
For independent trials with a Bernoulli distribution of parameter , the expected value is and the variance is . At , the chance of an error of at least is therefore at most . The exact binomial distribution gives a much smaller probability, as the figure under the strong law of large numbers shows. The bound is conservative, but it is valid for every sample size under these assumptions and does not require a normal approximation.
The weak law of large numbers addresses a fixed tolerance . The central limit theorem instead resolves errors on the shrinking scale and gives their approximate normal distribution. In particular, the weak law of large numbers alone supplies neither a bell-shaped error law nor a universal rate of approach. For example, a Pareto distribution with minimum one and shape has expected value three but infinite variance: both the weak law of large numbers and strong law of large numbers apply, while the finite-variance statement of the central limit theorem does not.
Wild bootstrap 2026-10-14
For independent mean-zero errors in a fixed-design regression, form , where the independent multipliers have mean zero and variance one, and refit. Rademacher multipliers taking the values and with equal probability are a simple choice. Conditional on the data, the bootstrap errors have mean zero and preserve observation-specific residual variances, supporting heteroscedasticity rather than imposing a common residual distribution. Appropriate leverage corrections and regularity assumptions are required for accurate studentized inference.
Winning probability 2026-10-06
A winning probability is the probability that a specified participant receives the prize, conditional on the submitted efforts and the allocation rule's randomization.
All boundary vertices are identified into one vertex for component counting. This is the most wired random-cluster boundary condition on a fixed boundary, and maximizes increasing-event probabilities when by boundary monotonicity of the random-cluster measure.
WKB tunnelling exponent 2026-10-20
For an opaque barrier between simple turning points, the leading transmission probability is , where over the forbidden interval. The exponent for probability is twice that for amplitude. Matching determines prefactors and the domain where this approximation applies.
The drive can supply or extract work while the quantum state stays approximately fixed. For a differentiable bounded Hamiltonian operator, the Schrödinger equation gives
The state-evolution terms cancel, leaving the external drive's power. For a finite ideal step the change in mean energy is . Thus conservation of energy for a closed system with a time-independent Hamiltonian operator does not assert conservation of the driven subsystem's energy during switching.
Specify work operationally by two energy measurements: one before the switch and one after. For the prepared initial ground state, the first outcome is definite; the second samples the new Born rule probabilities. This protocol gives a distribution of measured energy differences, rather than generally the measurement distribution of the single operator .[ref]
and hence
For and , the work is or , with probabilities and ; its expectation is and its variance is . The initial mean energy becomes . Using different initial and final scalar offsets would also shift the measured work; the displayed Hamiltonian operators fix that convention explicitly.
If and is observed, the maximum-likelihood estimate of is zero. A one-sided upper confidence bound solves , so . For large , , giving approximately at 95% confidence. This describes uncertainty after no observed events, rather than proving that the underlying probability is zero. It assumes independent observations with a common event probability; clustered data require a different uncertainty calculation.