Integrated zero count 2026-10-14
Under the hypotheses of Jensen's formula, ensures that the radial zero-counting function vanishes for sufficiently small positive . Integrating each zero's contribution separately givesThe values of at its finitely many jump points do not change the integral. For , every zero in the smaller open disc supplies at least per unit of multiplicity of a zero, soThe second inequality bounds the circle log-mean of a holomorphic function by the logarithm of the largest boundary complex modulus, recovering the Jensen zero-count bound. An upper bound on boundary growth and a fixed nonzero centre value therefore constrain interior zeros. The factor also explains why the same estimate becomes weaker as the smaller radius approaches the boundary.
Irrational logarithm criterion Created 2026-10-07 Updated 2026-10-14
For integers , rationality of is equivalent to equality of some positive integer powers . Exponentiation proves one direction and taking logarithms proves the other. Thus multiplicatively independent integers give an irrational number as their logarithm ratio. For distinct prime bases and arguments, unique factorization supplies that independence.
Jensen's formula Created 2026-10-07 Updated 2026-10-14
Let and let be a holomorphic function on an open neighbourhood of the closed disk . Assume and that has no zeros of a function on the boundary circle . List its interior zeros of a function as , repeating each according to its multiplicity of a zero. With the natural logarithm, Jensen's formula statesThe empty sum is zero. This boundary-zero-free version is the holomorphic special case of the general identity in the source.[ref]
246B, Notes 1: Zeroes, poles, and factorisation of meromorphic functions by Terence Tao. §1, Theorem 2 and equation (6): neighbourhood of the closed disk, zeros counted with multiplicity, holomorphic special case
Every interior zero of a function makes a positive contribution; a zero nearer the centre contributes more. Consequently boundary growth relative to limits how many zeros of a function can lie well inside the disk. The Jensen zero-count bound makes this quantitative, while the integrated zero count retains the individual radial weights. The boundary statistic here is the circle log-mean of a holomorphic function; exponentiating gives a circle geometric mean of a holomorphic function.
Kullback-Leibler divergence Created 2026-09-24 Updated 2026-10-14
The Kullback-Leibler divergence, also called relative entropy, compares two probability distributions in a specified order. In , observations follow and the comparison probability distribution is : the first argument supplies the averaging weights. For probability mass functions on a finite alphabet,Here is a random variable with probability distribution . For probability density functions relative to the same measure , replace the sum by . These formulas use natural logarithms unless stated otherwise. The expected value is under , even though appears in the denominator. [ref]
Take and on two outcomes. Direct calculation givesThe second outcome contributes negatively to the first sum: assigning it more probability than does makes its individual contribution negative. Nevertheless, relative entropy nonnegativity guarantees a nonnegative total. Reversing the arguments changes both the likelihood ratio and the averaging probabilities; taking an absolute value inside the logarithm would define a different quantity.
The units depend on the logarithm: natural logarithms give nats, whereas base-two logarithms give bits. Divide a value in nats by to obtain bits; the forward example is approximately bits. Changing the base rescales every Kullback-Leibler divergence by the same positive factor. Since the two calculated directions differ, Kullback-Leibler divergence is asymmetric and cannot be a metric. It also need not satisfy the triangle inequality. [ref]
https://web.stanford.edu/~kedart/ee376a_winter1617/Lecture_3.pdf. Tse, relative entropy, 2017, Section 3.3
The operational meaning is an expected penalty for using the wrong probability distribution. A prediction incurs log-loss when outcome occurs, the negative of the logarithmic scoring rule. Under , its expected value is the cross-entropy . Predicting with itself incurs information entropy , soThus Kullback-Leibler divergence is exactly excess expected log-loss, whenever these separate quantities are finite. [ref]
https://web.stanford.edu/class/ee276/files/previous_notes/lecture_2.pdf. Weissman, information measures, 2024, property 3
For lossless source coding, ideal codeword lengths similarly give excess expected length in bits per symbol. Actual prefix codes require integer codeword lengths; Shannon's source coding theorem explains how long blocks approach ideal per-symbol lengths. The interpretation concerns an average, not a fractional physical bit attached to every outcome. In our example, ideal coding with costs one bit per symbol, while bits; the difference is exactly the computed bits. [ref]
https://web.stanford.edu/~kedart/ee376a_winter1617/Lecture_3.pdf. Tse, information theory, 2017, Section 3.4
Zeros require explicit conventions. An outcome with contributes zero, including when ; the convention agrees with the relevant limit. If but , the Kullback-Leibler divergence is infinite: the predictor has declared impossible an outcome that can occur. On a finite alphabet, the probability support of must therefore be contained in the probability support of for a finite answer. For example, and give , but . For general probability measures, failure of absolute continuity of measures likewise gives infinity. Even does not guarantee a finite integral. [ref]
https://arxiv.org/pdf/1206.2459. van Erven and Harremoës, Rényi Divergence and Kullback-Leibler Divergence, 2014, Section II
To see how confidently wrong predictions are punished, hold the true Bernoulli distribution parameter at and vary the predicted parameter . Its binary relative entropy isIt vanishes at , equals approximately nats at , and equals nats at . Both endpoints give infinity because both outcomes remain possible under . Predicting almost no successes is especially costly because successes actually occur three quarters of the time. The reversed binary relative entropy stays finite at the endpoints: its averaging probability distribution concentrates on just one outcome, and assigns positive probability to both.
For model selection, minimizing expected log-loss ranks candidate statistical models by , since is common to them. The true probability distribution is usually unknown, so one estimates predictive performance using fresh observations or cross-validation. Fitting and assessing on the same data can reward overfitting; a small fitted Kullback-Leibler divergence alone does not establish useful prediction.
In variational inference, a tractable trial probability distribution commonly minimizes against a target posterior distribution . Maximizing the evidence lower bound accomplishes this without evaluating the target's normalization constant. The averaging now follows : placing trial probability where the posterior distribution assigns almost none is strongly penalized. The chosen direction and trial family therefore matter. [ref]
https://www.cs.columbia.edu/~blei/papers/BleiKucukelbirMcAuliffe2017.pdf. Blei, Kucukelbir and McAuliffe, Variational Inference: A Review for Statisticians, 2017, Section 2.2
These comparisons do not by themselves establish causal inference. Two statistical models can reproduce the same observed probability distribution while predicting different responses to an intervention. Choosing the smaller Kullback-Leibler divergence therefore needs additional assumptions or experimental evidence before supporting a causal claim. [ref]
https://ftp.cs.ucla.edu/pub/stat_ser/r350.pdf. Pearl, Causal inference in statistics: An overview, 2009, Section 2
The original reference is S. Kullback and R. A. Leibler's 1951 paper [ref]
https://doi.org/10.1214/aoms/1177729694. On Information and Sufficiency
, published in The Annals of Mathematical Statistics 22(1), pages 79–86. Its title connects this comparison with sufficient statistics: the historical setting was statistical information, before today's widespread applications in prediction and variational inference. Laser threshold 2026-10-14
In a simple two-mirror oscillator, laser threshold is the small-signal optical gain at which a resonant optical normal mode exactly replaces its round-trip intensity loss. Assume constant intensity coefficients and throughout a one-way distance , and mirror intensity reflectivities . One round trip has multiplierTwo traversals give the distance ; multiplying the two mirror factors completes the bookkeeping. Setting and taking a logarithm givesThe reflectivities here are intensity fractions, not field-amplitude reflectivities. A shorter gain region or nonuniform loss requires replacing the path exponent by the appropriate path integral. The balance also presumes a permitted resonant optical normal mode. [ref]
https://ocw.mit.edu/courses/6-974-fundamentals-of-photonics-quantum-electronics-spring-2006/18f30fad63a62ef4dd894d3752b55a60_chapter7.pdf. Franz Kärtner, MIT 6.974, §§7.1 and 7.5: round-trip balance and steady state; intensity convention specified here
.For , , and , the threshold is . At , : a small circulating signal decays even though the material has positive optical gain. At , : the signal initially grows. Raising passive loss or lowering mirror reflectivity raises laser threshold.
For , the fixed-gain recurrence predicts startup amplification, not infinite actual output. Growing light intensity depletes the available population inversion, reducing optical gain through saturation. In the simplest steady oscillator, the saturated round-trip gain balances loss and pumping supplies the outgoing power and dissipated energy. The small-signal model locates the onset; it does not determine the final output power. [ref]
https://ocw.mit.edu/courses/6-974-fundamentals-of-photonics-quantum-electronics-spring-2006/18f30fad63a62ef4dd894d3752b55a60_chapter7.pdf. Franz Kärtner, MIT 6.974, §7.5: gain saturation and steady output
. Linearity of a uniform pro-p group 2026-10-14
Every uniform pro-p group embeds continuously in for some finite . Apply the Ado theorem to and choose a deep power lattice whose representing matrices lie in , or at . The matrix exponential and logarithm give a faithful representation of the corresponding open normal power subgroup. Induce that representation to the whole group using its finitely many cosets. An element outside the open subgroup permutes the coset blocks nontrivially; an element inside it is detected by the original representation. Thus the induced representation is faithful. All block matrices preserve a finite free -module, giving the integral embedding.
Logarithm Created 2026-09-24 Updated 2026-10-14
For a positive real base , the logarithm is the inverse function of the exponential function :It asks which exponent produces a given positive number. Thus and . The base restrictions matter: would produce only one value, while a negative base does not define as a real-valued function for every real exponent.
The useful transformation isFor example, corresponds to in base two. Products become sums and ratios become differences. The logarithm does not generally convert a sum into a sum of logarithms. Base conversion uses the natural logarithm: . It also gives , positive when and negative when .
Historically, John Napier's 1614 Mirifici logarithmorum canonis descriptio presented logarithmic tables and their use, documented in the Smithsonian Libraries' digitized original. Tables made multiplication-heavy calculations more manageable by replacing products with addition and a lookup. The 1619 Constructio title page below belongs to a later publication from the same work on logarithms. These historical publications preceded the modern inverse function and integral presentation used here.
Logarithmic divergence 2026-10-06
A logarithmic divergence grows like a logarithm as a cutoff is removed. For example as . An integrand near zero gives . This behavior distinguishes logarithmic sensitivity to an infrared or ultraviolet cutoff from power-law divergence.
Logarithmic scale 2026-10-14
A scale whose coordinate is a logarithm of a positive quantity. Equal ratios occupy equal coordinate intervals; for example, are equally spaced under the natural logarithm because every successive difference is .
Log-gamma prior for a Poisson log-intercept 2026-10-14
If the positive baseline rate has a gamma distribution of shape and rate , its logarithm has this probability density function with respect to . The extra factor is the Jacobian determinant of the transformation. After a Gibbs sampler draws the conditional baseline rate, taking its logarithm is an exact update of the intercept. Omitting the Jacobian changes the prior.
Magnitude difference 2026-10-13
For two positive measurements in the same photometric passband, using the same magnitude zero point, units, and weighting convention, their apparent magnitudes obeyThe logarithm takes a dimensionless ratio. An energy-weighted measurement must be compared with another energy-weighted measurement, and a photon-counting measurement with another consistently calibrated photon-counting measurement. Changing photometric passband or magnitude zero point requires the corresponding calibration, as in a colour index. [ref]
https://arxiv.org/pdf/1510.06262. IAU 2015 Resolution B2: Energy-flux magnitude convention
. [ref]https://xmm-tools.cosmos.esa.int/external/xmm_calibration/calib/documentation/CALHB/node597.html. ESA XMM-Newton: Filter-specific count-rate calibration
. Merge sort 2026-10-13
Merge sort is a divide-and-conquer algorithm that sorts a finite array by splitting it into contiguous halves, sorting each half using recursion, and combining the two sorted arrays with the merge algorithm. An empty or one-entry array is returned immediately. For length , put the first entries on the left and the remaining on the right; the brackets are the floor function and ceiling function. Always choose the left head on equal keys to obtain stable sorting. This is the split, sort, combine structure taught in the MIT lecture notes.[ref]
Take the concrete input arrayThe tags identify the entries originally at indices and , counting from zero. Both keys are ; the tags are never compared. Reading downward in the figure follows the splits, then the returned sorted arrays. Arrows show dependencies; the level layout groups independent calls rather than giving their chronological execution order.
Merge sort splits into base cases and returns sorted arrays
. The tagged keys 2a and 2b retain their original order through stable sorting. The merge algorithm makes 4, 6 and 7 head comparisons on the three returning levels, for 17 in total. Details.The first two halves are and . Their pairs split into one-entry base cases. Applying the merge algorithm gives the following fully worked return levels; each number in the last column counts only comparisons between two available heads.
| Returning level | Resulting sorted arrays | Head comparisons |
|---|---|---|
| Pairs | , , , | |
| Halves | , | |
| Whole array |
In the left-half merge algorithm, the head pairs are , and ; it takes , then appends . In the final merge algorithm, the head pairs are , , , , , and . It takes , then appends . Thus this precise version makes head comparisons and, ignoring identity tags, returns .
The elegance of merge sort is that it creates exactly the structure its next step needs: two smaller sorted arrays make the larger ordering inexpensive. Once the whole array is sorted, equal keys are adjacent and binary search can serve repeated queries. Stable sorting also retains information that the keys alone do not express. If the left-half merge algorithm instead takes the right head on the tie, it returns ; the keys are sorted but stable sorting has failed.
For time complexity, assume each key comparison, entry access and entry copy has constant cost. The merge algorithm processes entries in time. In Big O notation, the resulting recurrence relation isFor , the balanced levels contain entries each and there are returning levels. Each costs , so the worst-case time complexity is . For arbitrary , there are at most returning levels, each processing at most entries, giving the same bound. The worst-case number of head comparisons is also . Here is the base-two logarithm. The MIT notes give this level-by-level analysis for merge sort.[ref]
https://ocw.mit.edu/courses/6-006-introduction-to-algorithms-spring-2020/6d1ae5278d02bbecb5c4428928b24194_MIT6_006S20_lec3.pdf. MIT 6.006 (2020), lecture 3, page 5: merge sort analysis
The conventional array implementation uses a reusable buffer of entries for the merge algorithm, together with pending calls for recursion. Its auxiliary space complexity is therefore , beyond the original array. This bound describes that implementation. A linked list permits a merge algorithm that reconnects existing nodes; its storage accounting differs from copying array entries into a buffer.
For a short algorithm correctness outline, the empty and one-entry base cases are sorted. Assuming recursion correctly sorts both shorter halves, the merge algorithm returns all their entries in order. Equal keys within a half keep their relative order by the same argument applied to the smaller call; across halves, every left entry originally preceded every right entry, so taking left first preserves stable sorting. Both half-lengths decrease for , establishing termination.
Method of types Created 2026-09-24 Updated 2026-10-14
The method of types combines two facts: there are few possible empirical distributions, and strings within each type class are equiprobable under an independent and identically distributed source. Information entropy determines how many strings share a frequency profile; relative entropy determines how unlikely that profile is under a specified source law. The connection is useful both for lossless source coding and for understanding rare observations.
The following formulas use natural logarithms, so information entropy and relative entropy are measured in nats. DefineHere is the source probability mass function and is an attainable empirical distribution. Use ; first assume every . Base-two logarithms give the equivalent formulas with and .
Min-entropy Created 2026-09-28 Updated 2026-10-14
For a discrete random variable with a finite or countable alphabet and probability mass function , define . Its min-entropy, using base-two logarithms, isThe unit is the bit. This is the smallest information content of any possible outcome: it records the easiest outcome to predict, whereas Shannon entropy averages information content over all outcomes. A normalized countable probability mass function has an attained positive maximum, so is finite even when Shannon entropy is infinite. Outcomes of zero probability cannot minimize the surprise and are omitted from the minimum; including extra impossible symbols changes neither quantity.[ref]
https://www.cs.cornell.edu/courses/cs6830/2009fa/lecnotes.pdf. Pass and shelat, A Course in Cryptography, Section 8.3.2, Definition 148.1
Suppose someone knows the probability mass function but receives no observation correlated with , and must name exactly one outcome. Naming succeeds with probability , so naming a most likely outcome is optimal:Tied maxima give equally good guesses. Randomizing independently among guesses cannot improve success: if the guess has probability mass function , its success probability is . This is the simplest instance of maximum a posteriori decoding. The identity gives min-entropy an operational meaning: bits means every single guess succeeds with probability at most , under these information assumptions.[ref]
https://arxiv.org/html/0807.1338. König, Renner and Schaffner, The operational meaning of min- and max-entropy, Section I.3.1, equation (18) and the no-side-information case
For an exact analytical example on symbols , compare the two probability mass functionsUnder , each possible outcome has information content bits; under , has information content bit and each other outcome has bits. Consequently their Shannon entropies agree exactly,but and bits. A best single guess therefore succeeds with probability under and under . The same average surprise can hide a factor of two in immediate predictability. The zero entry in contributes zero to Shannon entropy, using .
For the discrete uniform distribution on possible outcomes, bits and the best single guess succeeds with probability . A certain outcome has and success probability one. Thus min-entropy is useful when a common outcome could defeat an attempt to make outputs unpredictable, even if rare alternatives raise Shannon entropy.
For cryptography, this unconditional calculation alone does not certify security: an observer might know already. If a report reveals a uniform four-outcome source, its unconditional min-entropy remains bits but guessing after the report succeeds with probability one. For finite classical reports, the appropriate success calculation uses conditional probabilities and maximum a posteriori decoding:The conditional entropy instead averages remaining surprise. A security argument must specify the observer's information and the protocol's required guarantee; neither unconditional min-entropy nor Shannon entropy supplies those assumptions.
Moreau smoothing of a negative log-density 2026-10-06
For a proper convex function with sequential lower semicontinuity , form with . The Moreau envelope theorem gives . If is integrable, it defines a smooth surrogate probability density function. Infimizing the logarithm of a probability density function with a positive quadratic penalty has the opposite sign and does not generally smooth it. For the Laplace distribution, that incorrect operation leaves , which is not differentiable at zero.





