If a traded payoff matrix has initial price vector with , there cannot be a negative-cost portfolio with nonnegative terminal payoff. Nevertheless a nonzero nonnegative attainable payoff supported only in zero-price states can cost zero and give an arbitrage. When every state has positive physical probability, excluding this possibility requires strictly positive Arrow state prices, not merely a nonnegative supporting vector.
Nonunique optimal prefix code Created 2026-09-24 Updated 2026-10-14
An optimal prefix code can be nonunique in several different senses. Exchanging the labels on the outgoing edges of an internal vertex changes codewords while preserving every symbol's codeword length, the code tree shape, and expected codeword length. This freedom exists even with strictly unequal probabilities. Exchanging equal-probability symbols between leaves also preserves expected codeword length; if their leaf depths in a code tree differ, their individual codeword lengths change, though the set of leaf depths does not. For example, three equiprobable symbols have optimal codeword lengths : any of the three can receive the one-bit codeword.[ref]
A Method for the Construction of Minimum-Redundancy Codes by David A. Huffman. p. 1099, Derived Coding Requirements: equal-probability messages may have unequal lengths and may exchange codes without changing the mean
Ties between weights of entire subtrees during Huffman coding can go further and change the code tree shape and its collection of codeword lengths. Take and first merge , creating weight . Next, of weight can merge either with or with the subtree, both of weight . The two resulting prefix codes areFor the second prefix code, bits. Both merge sequences add weights , whose sum is . Enumerating the full binary trees with four leaves also proves optimality independently: costs , while the least cost of is again . The two code trees cannot be obtained from each other merely by relabelling leaves or exchanging edge labels: their collections of leaf depths in a code tree differ.
A tie between a symbol and a merged subtree gives two optimal prefix trees, with depths 2,2,2,2 and 1,2,3,3
. Details. The quantifier in the Huffman sibling property is visible here too. Choose as two least-probability symbols. In the displayed balanced optimal prefix code, they are not sibling leaves in a code tree. Exchanging , which have equal probabilities, produces another balanced optimal prefix code in which are deepest sibling leaves in a code tree. Thus the proof supplies an optimal representative with the chosen pair together. It does not force that labelling on every optimum. An implementation can make its tie choices and edge assignments deterministic when encoder and decoder need to reproduce the same codewords; optimal mean length alone does not specify them.
For a compound Poisson distribution of count parameter and severity moments , the expected value is and the variance is . As with the severity law fixed and , the standardized aggregate converges in distribution to the standard normal distribution. Indeed, the logarithm of its characteristic function is ; the second-order expansion of makes this tend to . The approximation loses the zero atom and assigns positive probability to negative losses.
Normal distribution Created 2026-09-24 Updated 2026-10-14
The normal distribution is a probability distribution on the real line with mean and positive standard deviation . Its probability density function isIn the notation , the second parameter is the variance , not the standard deviation . The probability density function is symmetric about , highest there, and integrates to one. These formulas and the parameter convention are given in MIT 18.05, Reading 5c, §5: normal distributions.
The normal distribution is a location-scale family: if is a standard normal random variable, then . Changing moves the center; changing stretches the horizontal distances from it. The reciprocal factor lowers the probability density function as the curve widens, preserving total area. This is why one standard normal distribution suffices to calculate probabilities for the whole family. [ref].
The height is a probability density function value, not . For , the probability is an area, and for every individual . If is measured in some unit, and use that unit, uses its square, and uses its reciprocal; the integral is a dimensionless quantity. A change of measurement unit therefore changes the height without changing the probability. The area interpretation is developed in MIT 18.05, Reading 5b: continuous random variables.
The usefulness of the normal distribution goes beyond its simple shape. Under the central limit theorem, sums of independent and identically distributed random variables with finite positive variance, after centering and scaling, approach the standard normal distribution. Thus approximations by a normal distribution can arise even when the individual random variables have quite different probability distributions. The hypotheses matter: a model of measurement error still needs evidence that this approximation is appropriate. [ref]
https://ocw.mit.edu/courses/18-05-introduction-to-probability-and-statistics-spring-2022/mit18_05_s22_class06-prep-b.pdf. MIT 18.05, Reading 6b, §5: standardization and the central limit theorem
. Exact closure under a linear combination of independent normal random variables provides another reason the family is convenient.Historically, the curve appeared in a different problem from fitting measurements. In the 1756 edition of The Doctrine of Chances, Abraham de Moivre reproduces work he dates to 12 November 1733 on approximating sums of binomial distribution probabilities for equally likely success and failure; page 245 already gives the one-sided central area as . [ref]
https://archive.org/details/doctrineofchance00moiv/page/243/mode/2up. De Moivre, The Doctrine of Chances, 1756, pp. 242–246
. In his 1809 Theoria motus, Carl Friedrich Gauss derived a normal distribution for measurement error from a condition on the arithmetic mean, then connected maximizing its likelihood to minimizing the sum of squared errors under that model, the principle behind ordinary least squares. These are distinct contributions: approximating binomial distribution probabilities and justifying an estimation rule. [ref]https://archive.org/details/theoryofmotionof00gausrich/page/258/mode/2up. Gauss, Theoria motus, 1809, §§177–179; Davis's 1857 English translation, pp. 258–260
.For a short normalization check, substitute in the integral of . The Gaussian integral gives , so the total area is one. The standard normal density is an even function, giving ; integration by parts gives . Then linearity of expectation and the variance scaling rule applied to yield mean and variance .
Normalization of a probability distribution Created 2026-10-18 Updated 2026-10-25
A probability distribution assigns total probability one to its sample space. For a nonnegative probability density function this means that its integral over the full domain equals one; for a probability mass function the sum of its masses equals one. A nonnegative integrable function with positive finite integral can be divided by that integral to normalize it. A negative function cannot be a probability density function even if a formal manipulation purports to normalize it.
For the same normal distribution model, a two-sided test compares the null hypothesis with the alternative hypothesis . Under the null hypothesis, the standardized test statistic has standard normal distribution. Write for the standard normal distribution function. With , , and , the observed test statistic is . Its p-value isThus the p-value is a tail probability computed under the null hypothesis, including departures in both directions. It is not , the posterior probability of the null hypothesis, nor the probability that the observations arose "by chance". The normal distribution test statistic and its calibration appear in NIST's teaching reference for testing a process mean; the tail interpretation is stated in Penn State's hypothesis-testing notes.
Choose the significance level before observing the sample. The rejection region is , whose probability under is exactly 0.05. Here , so reject . This agrees with zero lying outside . More generally, a proposed belongs to the unrounded 95% confidence interval precisely when its two-sided test does not reject under this strict cutoff. The equality boundary has probability zero in this continuous statistical model.
The significance level and statistical power describe different repeated-experiment probabilities. At a specified alternative , put and . ThenThe first is the Type I error probability; the second is the Type II error probability at that alternative. For a planning alternative , keeping , and gives , and statistical power . At , and statistical power rises to . These are model calculations for specified alternatives, not posterior probabilities inferred from a nonsignificant result. They explain why failure to reject cannot establish equality and why choosing sample size before an experiment is useful.
Historically, Ronald Fisher's 1925 book discusses the normal cutoff and tail probability 0.05 as a convenient convention on page 47, rather than a mathematically compulsory threshold: [ref]
https://books.google.com/books/about/Statistical_Methods_for_Research_Workers.html?id=I0NBAAAAIAAJ. Fisher, Statistical Methods for Research Workers, first edition
. Normal mean confidence interval with known variance Created 2026-10-14 Updated 2026-10-25
Suppose are independent and identically distributed with normal distribution , where the mean is unknown and the standard deviation is known. The sample mean has normal distribution and standard error . With the standard normal quantile at , the displayed confidence interval has exact coverage probability for every and every positive integer . No central limit theorem approximation is needed.
Take , and nominal confidence 95%. The standard error is , and . ThereforeRounded for reporting, this is . If , the realized confidence interval is approximately . Exact 95% calibration refers to the unrounded standard normal quantile; using literally gives coverage probability , almost but not exactly 0.95.
The confidence interval's width scales as : increasing sample size from 16 to 64 halves its half-width to . If is unknown, merely substituting the square root of a sample variance loses the displayed exact calibration; for the same normal distribution model, use a Student t confidence interval.
The figure holds the true mean at and independently generates 40 samples of 16 observations from the same normal distribution. NumPy's PCG64 generator with seed 42 gives 39 covering confidence intervals and one miss, at sample 32: observed coverage is . Every bar uses the unrounded standard normal quantile. This finite collection illustrates the moving endpoints; it does not establish the analytic coverage probability or require exactly two misses.
The beauty of the construction is that a familiar standard normal distribution calibrates every possible unknown mean at once. For a short proof, the pivotal quantityhas a probability distribution independent of . The event has probability ; rearranging it gives . The right panel shows the equivalent event when .
This one-parameter normal distribution model has positive mean equal to its standard deviation. It is a curved exponential family: both the linear and quadratic natural parameters depend on the same scalar statistical parameter. It combines information about the center and spread, so the sample mean alone does not use all available Fisher information.
For a statistical sample of size , let and . Up to an additive constant the log-likelihood function is . Its score function is . When , the numerator changes from positive to negative at its unique positive root, so the global maximum-likelihood estimator isThe all-zero observation vector has zero probability and is an exceptional case with an unbounded likelihood function near zero. Since and , the expected Fisher information is . Thus regular asymptotic normality of a maximum likelihood estimator gives . The optimal asymptotic combination of a normal sample mean and standard deviation attains the same first-order precision.
Normal-mean sample size calculation Created 2026-10-06 Updated 2026-10-07
For a one-sided normal-mean test of size with known standard deviation , a positive alternative and target statistical power , the required sample size is the ceiling of . This follows by shifting the standard normal quantile in the alternative rejection probability.
Normal number Created 2026-10-05 Updated 2026-10-13
A real number is normal in an integer base when every finite word of digits occurs in its positional notation with the same limiting digit block frequency as every other word of the same length. Write its fractional part as in base , using the expansion that is not eventually all digits when two expansions are possible. For every length and every word , the requirement isOccurrences overlap: the word occurs twice in . There are possible words of length , so is the equal share for each. In a decimal representation, this means frequency for each digit, for each pair, and for each triple, continuing through every finite length. The definition agrees with that used by Copeland and Erdős in their work on explicit normal numbers. [ref]
https://users.renyi.hu/~p_erdos/1946-01.pdf. Arthur H. Copeland and Paul Erdős, Note on Normal Numbers, 1946, opening definition
The appeal is that a precise, deterministic real number can have the same limiting digit block frequencies as repeated draws from a uniform distribution on a finite set, with independence between draws. Champernowne constant is an explicit example. Normality is useful for studying digit distribution, but balanced digits alone establish only a simply normal number, and a finite sample cannot establish any of these infinite limits.
Émile Borel introduced normal numbers and established their prevalence in his 1909 paper applying probability to number theory; the stronger all-base statement is discussed under absolutely normal number. [ref]
https://doi.org/10.1007/BF03019651. Émile Borel, Les probabilités dénombrables et leurs applications arithmétiques, Rendiconti del Circolo Matematico di Palermo 27, 247–271, 1909
For the half-normal distribution, the density ratio to is maximized at . Completing the square gives the envelope constant above and acceptance probability . Its logarithmic derivative is , so the optimal rate is . Give an accepted nonnegative value an independent fair sign to obtain the standard normal distribution. The expected number of proposals is , while the probability of rejecting one proposal is ; these are different quantities.
Consider a Galton-Watson process started by one individual, with offspring count with probability and with probability . Let count individuals producing two offspring. At the first generation, either , or for independent copies . Its probability generating function therefore satisfies andThe branch is fixed by . Differentiation at gives . Alternatively, generation has expected size , so its expected splitting count is and summing gives the same result. The total progeny is , since every split creates two new individuals.
Observable matrices in an energy basis 2026-10-18
Choose normalized energy eigenstates of a time-independent Hamiltonian operator, with , and assume first that they form a complete orthonormal basis. For a pure state and an observable ,The column index labels the input basis vector, and row labels the output component. Self-adjointness gives , so a finite example is a Hermitian matrix. A matrix element can be negative or complex; by itself it is not generally a probability. The Born rule assigns measurement probabilities using the eigenstates of , which need not be energy eigenstates. For an unbounded observable, these expressions require a suitable operator domain; a system with continuous spectrum also needs the corresponding spectral integrals.
Occupational diffuse scattering 2026-10-25
Static fluctuations in which chemical element occupies a site produce scattering beyond coherent Bragg diffraction from the mean crystal structure. For independent binary occupations with probabilities and , the variance of the site's atomic scattering factor is . Writing each site amplitude as its mean plus a zero-mean fluctuation shows that the mean squared total amplitude is the coherent contribution plus a term proportional to the number of sites and this variance. Consequently a forbidden reflection of the average crystal structure can still sit on a diffuse background. Correlated occupations add nontrivial scattering vector dependence.
Odds 2026-10-14
For an event of probability , its odds in favor are . They compare the probability of the event with that of its complement. Conversely . For example, probability gives odds , or one to three in favor. The same transformation applies to a conditional probability; an odds ratio compares these transformed probabilities in two groups, while a risk ratio compares the probabilities themselves.
Off-diagonal two-state impulse 2026-10-20
Apply heralded remote preparation of an arbitrary qubit independently to shared singlet states. The sender reports one bit indicating whether every local outcome was successful. A positive flag certifies that the receiver's block is the desired product of pure states; its probability is . A negative flag need not identify which states failed, since the whole block can be discarded.
// Target: algebra.bigb
One-bit teleportation Created 2026-10-06 Updated 2026-10-07
Apply a Controlled-Z gate to input and a fresh quantum ancilla. Measuring the input in the equatorial qubit measurement basis at angle , with outcome , leaves the unnormalized outputEach branch has probability , independently of the input. The logical output is with known Pauli frame ; the input qubit has been measured, so this does not clone it.
One-nearest-neighbour asymptotic risk 2026-10-05
For binary classification, write and assume feature-measurable nearest-neighbour tie-breaking. If , then the expected conditional misclassification risk of the one-nearest-neighbour classifier tends to . Couple each label and an oracle label using one uniform variable. Their disagreement has the preceding expected absolute difference. The oracle and the test label are conditionally independent Bernoulli random variables of parameter , so their disagreement probability is exactly . The difference of classification in statistical learning error probabilities is at most the coupling disagreement.
One-sided error Created 2026-09-24 Updated 2026-10-18
A randomized decision algorithm has one-sided error when one answer is always correct and only the other answer can be mistaken.
The guarantee concerns each fixed input, with probability taken over the choices of the randomized algorithm. Always state which answer is protected. In polynomial identity testing, call an input positive when its polynomial is identically zero, and let acceptance mean claiming an identity. Then the possibilities are:
| Actual polynomial | Accept: claim identity | Reject: claim nonidentity |
|---|---|---|
| Identically zero | Always correct; every trial accepts. | Impossible with exact polynomial evaluation. |
| Nonzero | Possible mistake if the chosen point is a zero. | Always correct; the point is a witness. |
Thus a zero polynomial evaluation can leave uncertainty, but a nonzero polynomial evaluation settles the question. An error bound for a fixed nonzero polynomial is not the conditional probability that a particular accepted input is an identity; that latter question would need a distribution on the inputs as well.
In computational complexity theory, a polynomial-time algorithm with this orientation and false acceptance probability at most establishes membership in co-RP. Reversing the question to ask whether the polynomial is nonzero gives the RP orientation: negative instances are always rejected. The random evaluation test for a polynomial identity explains the required field, total degree, sampling and evaluation assumptions.



