Benford law Created 2026-10-05 Updated 2026-10-14
For a positive random variable , let be its first nonzero base-ten digit. The Benford law is the discrete probability distribution with probability mass functionHere need not be an integer: , and all have . Multiplication by an integer power of ten changes the decimal point's position and leaves the first nonzero digit unchanged. Zero has no first nonzero digit, so exclude it. For negative inputs one may explicitly use their absolute values, still excluding zero; that convention must be stated rather than applying a logarithm to a negative number.
The Benford law favors small digits: , whereas . Thus the model assigns about to digit one and to digit nine. The masses are positive and their normalization is a finite telescoping series:
Why can digit one be so common? In a decimal significand interval , the digit-one region occupies a larger fraction of the logarithmic scale than the digit-nine region . The precise assumption is that the fractional part of the base-ten logarithm is distributed uniformly on ; Benford law from logarithmic uniformity turns those unequal interval lengths into probabilities. This makes a surprising digit pattern into a simple geometry of multiplicative size. The logarithmic explanation is also presented in Peter Sheridan Dodds, Benford's Law, essential story.
The Benford law is useful as a proposed model for leading digits when the mechanism supports logarithmic uniformity or an appropriate limiting argument, such as Benford frequencies for powers of an integer. Merely spanning many powers of ten does not establish that assumption. A discrepancy from the Benford law can prompt investigation of the model and data collection; by itself it does not establish fraud, and agreement does not establish authenticity.
Simon Newcomb's 1881 paper, Note on the Frequency of Use of the Different Digits in Natural Numbers, appeared in the American Journal of Mathematics 4, pp. 39–40. Its opening connects unequal leading-digit frequencies with the faster wear of early pages in logarithm tables. The publication metadata and original opening excerpt are available in Newcomb (1881), original publication record and [ref]
https://www.benfordonline.net/fullreference/414. Newcomb (1881), reproduced opening excerpt
. Frank Benford's The Law of Anomalous Numbers, Proceedings of the American Philosophical Society 78 (1938), pp. 551–572, likewise discusses worn logarithm tables on p. 551 and tabulates observations on p. 553. See Benford (1938), transcription of the original paper with page numbers and publication metadata. These observations motivated study of the digit pattern; they do not make the Benford law universal. Benford law from logarithmic uniformity Created 2026-10-07 Updated 2026-10-14
For a positive random variable , write its base-ten logarithm as an integer part plus a fractional part:The floor function handles values below one as well: for , and the decimal significand is . Since , the first nonzero decimal digit is . The monotonicity of the logarithm gives the exact event equivalenceIf has the uniform distribution on , the probability of this interval is its length. Consequently , proving the Benford law. This argument assumes uniformity of the fractional part of the logarithm, rather than uniformity of itself. See the logarithmic-coordinate explanation in Peter Sheridan Dodds, Benford's Law, essential story.
Leading-digit intervals have unequal lengths in the fractional logarithm and equal lengths in the original number
. Details. An exact constructed example is the log-uniform distribution on , with probability density function there and zero elsewhere. Its total mass is . The change of variables formula with gives for . Equivalently, integrating directly givesFor example, the probability of first digit four is . By contrast, an ordinary uniform distribution for on has probability density function there, so for every digit. This is a concrete counterexample to any claim that the Benford law holds for every positive random variable.
More generally, a log-uniform distribution on with has uniform on . If its logarithmic span is a positive integer, reduction to the fractional part wraps an interval of length around the unit interval exactly times, making uniform even when is not a power of ten. Arbitrary partial-decade truncations generally do not have this property: for a log-uniform distribution on , the first digit is always one.
Under the uniform fractional-logarithm assumption, multiplication by any constant replaces by . This is a rotation modulo one, which preserves the uniform distribution and therefore preserves the Benford law; see scale invariance of decimal significands. For the constructed example, multiplying by gives a log-uniform distribution on with the same digit probabilities. The claim concerns the decimal significand law: there is no proper probability density function proportional to over all of , since its integral diverges. The existing scale-invariant prior describes that unnormalizable measure, while a finite log-uniform distribution is normalizable.
Bracket-linear frequency function Created 2026-10-07 Updated 2026-10-13
A frequency function built from an affine variable and its fractional part. Irrational and can give many exact additive relations because each pair sum has only two possible floor carries. For example , gives additive quadruples on , but agreement with every ordinary affine function occurs on only shifts. Integer floor points underlying affine agreement must be collinear.
Decimal significand 2026-10-14
For , the decimal significand is the unique such that for an integer . Explicitly, and , using the floor function and the fractional part. For , and , the decimal significand is and the first nonzero digit is . In the classical terminology of logarithm tables, the logarithmic mantissa is , which differs from the decimal significand .
Dirichlet's approximation theorem 2026-10-14
For every irrational number and positive integer , there are integers with such thatThe proof applies the pigeonhole principle to the fractional parts of .
Division (mathematics) 2026-10-13
For real numbers and , division asks for the unique number satisfying . Equivalently, uses the multiplicative inverse of . This description separates the role of the denominator from the result: the quotient undoes a specified multiplication.
For example, is the number whose double is three, so it is exactly . A second interpretation asks how many portions of size fit into an amount ; the answer is one and a half portions. Equal sharing and measuring with a specified portion size lead to the same quotient, although the units assigned to the result can differ.
In the natural numbers, exact division need not be possible. Euclidean division instead keeps a remainder: , with . Thus seventeen objects form three complete groups of five with two left over. As a rational number, the same quotient is . The remainder and the fractional part describe the same unfinished group in different ways.
Division by zero cannot retain the unique-solution rule. For , the equation has no solution; for , every real number solves , so there is no unique quotient. This explains both failures through multiplication, rather than assigning a value that would contradict ordinary arithmetic. [ref]
https://openstax.org/books/prealgebra-2e/pages/3-4-multiply-and-divide-integers. OpenStax, Prealgebra 2e, multiplication and division conventions
Floor and ceiling functions 2026-10-14
The floor function and ceiling function turn a real number into directed integer bounds. They answer two different questions: which integer is the largest one that does not exceed , and which is the smallest one that is not less than ?Both outputs are integers. These are exact mathematical operations; they need not choose the closest integer, and they do not refer to roundoff error in floating-point arithmetic.
For example,The fractional part is . The negative example matters: discarding the digits after the decimal point would give , which is truncation toward zero, rather than the floor function's value . At an integer, the floor function and ceiling function agree and the fractional part vanishes.
The usefulness is a bridge from continuous quantities to discrete decisions. An integer count in a closed interval uses both bounds. A ceiling count for fixed-size batches counts how many containers or pages are needed; a floor function counts how many complete groups fit. In Euclidean division, the same bounds specify the quotient, while the fractional part records the scaled remainder. A small amount of notation removes many cases that would otherwise have to be stated separately.
The reflection identityfollows by reflecting the ordered integers across zero: the largest one below becomes the smallest one above . For every integer , translation gives and . These formulas turn upper bounds into lower bounds and move examples between neighboring intervals.
For a historical example of the notation in use, Kenneth E. Iverson's 1962 conference paper A Programming Language lists the floor function, ceiling function and residue operation alongside the ordinary arithmetic operations. It states the two defining inequalities above, then extends operations component by component to vectors and matrices. This shows their role as tools for describing algorithms, rather than merely conventions for writing decimal numbers. [ref]
https://www.jsoftware.com/papers/AFIPS196205a.htm. Iverson, A Programming Language, AFIPS Spring Joint Computer Conference, May 1962, Basic Operations; transcription with typography changes documented at the end
Fractional part Created 2026-09-24 Updated 2026-10-14
The fractional part of a real number isIt is the amount left after removing the lower enclosing integer, even for negative inputs. Thus . It is not the signed string of digits obtained by truncation toward zero.
Translation by an integer leaves the fractional part unchanged: . It is therefore a periodic function with period one, increasing from zero toward one on each unit interval, then returning to zero at the next integer. In Euclidean division with , ; for , this is .
The notation is useful for following repeated motion modulo an integer. In normality and equidistribution under integer multiplication, the values shift the digits of a positional notation; the fractional part discards the leading integer portion without losing the remaining digits. Its braces must be distinguished by context from the braces denoting a set.
Gomory fractional cut 2026-10-06
For an all-integer dictionary row with nonnegative variables, this cut follows because is an integer and . Consequently that integer is at most . Negative coefficients use the usual fractional part , so . Normalize a resulting inequality sensibly before introducing a new integer-valued slack variable.
Normality and equidistribution under integer multiplication Created 2026-10-05 Updated 2026-10-14
A real number is a normal number in base exactly when its iterates under the integer multiplication map on the circle, , form an equidistributed sequence. Braces denote the fractional part. Multiplication by shifts the positional notation one digit to the left:A length- word with base- integer value specifies the half-open interval , whose length is . Visiting that interval is exactly encountering that word at the next digit position. These digit intervals form arbitrarily fine grids, so their correct limiting visiting frequencies imply equidistribution on every interval. This converts a question about digits into one about a dynamical system. Bailey and Crandall develop this connection using equidistribution of the fractional parts of . [ref]
https://www.davidhbailey.com/dhbpapers/bcnormal.pdf. David H. Bailey and Richard E. Crandall, Random Generators and Normal Numbers, 2003 author manuscript, Section 2
In base ten the word corresponds to . For Champernowne constant, counting the visits for gives precisely the occurrences of in its first digits. For , the base-two integer multiplication map on the circle instead alternates between and ; it never visits , the interval for . This two-point orbit is not an equidistributed sequence.
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
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 34 1 Solution Created 2026-10-03 Updated 2026-10-14
Introduce the nonnegative integer surplus variables and . Solving these two equalities gives the optimal relaxed simplex dictionarywith objectiveThe printed tableau has a sign error in the first row: in equality-row form the coefficient of must be , rather than . The defining constraints and the printed objective row both confirm this correction. The second row, from which the required cut is obtained, is unaffected.
The cutting-plane method solves the linear programming relaxation and, if the optimum is fractional, adds an inequality valid for every feasible integer point but violated by that optimum. For an all-integer tableau rowwrite each coefficient as its integer part plus its fractional part. The quantity is an integer, while is nonnegative. Thus the integer is at most , and subtraction gives the Gomory fractional cutIt retains every feasible integer point and cuts off the fractional basic point with all nonbasic .
Apply this to the row . Since , and , the resulting valid inequality isMultiply by five and add an integer slack . Its row is . At the old relaxed optimum, is negative, while the minimization objective coefficients remain nonnegative. This is the starting configuration for the dual simplex algorithm: retain dual feasibility and pivot to repair the negative basic value.
The cut row permits either or to enter. The dual ratio test givesThus enters and leaves. Solving the cut row and substituting givesSetting the nonbasic variables gives nonnegative basic values . The new objective coefficients are nonnegative, so this is optimal for the cut relaxation. Its decision variables are already integer and satisfy the original inequalities. ThereforeIndeed the positive coefficients of both nonbasic variables make this relaxed optimizer unique. No additional cut is needed.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 40 1 Solution Created 2026-10-03 Updated 2026-10-14
Introduce nonnegative slack variables and write for the objective value. The initial simplex dictionary, recovered from the original PDF rather than the corrupted converted table, isFor this minimization convention, nonnegative objective coefficients give dual feasibility. The dual simplex algorithm repairs a negative basic value while retaining those nonnegative reduced costs. If the leaving row is , , an entering variable must have ; choose the smallest ratio of its objective coefficient to .
Choose to leave. Eligible columns are , with ratios and . Thus enters. Solving its row and substituting givesNow only has a negative basic value. Its only eligible entering column is , so pivot there, with leaving. The resulting dictionary isSetting the nonbasic variables to zero gives a basic feasible solution. The final objective row also proves for every feasible point, because its nonbasic variables are nonnegative. Hence the unique relaxed optimum is
For the integer program, all four original slack variables are integers whenever the decision variables are integers. The fractional row can be writtenThe Gomory fractional cut keeps the fractional parts of these coefficients: and . It therefore gives , or . Its validity can also be seen directly: the displayed row makes an odd nonnegative integer. In original variables this cut is .
Introduce the new integer-valued slack , with initial row . It is primal infeasible but retains dual feasibility, so one more dual-simplex pivot has leave and enter. Substitute to obtainAll basic values at are nonnegative integers, including . The objective row proves a lower bound of on every point satisfying the valid cut, hence on every integer-feasible point. It is attained atThe strictly positive nonbasic objective coefficients also show uniqueness. One Gomory cut and its reoptimization are sufficient.
Past exam of the mathematics course of the University of Cambridge 2010 iii Paper 25 4 Solution Created 2026-10-03 Updated 2026-10-14
Write and use for distance to the nearest integer. The Dirichlet approximation theorem, in its pigeonhole form, says that for every real and integer there are coprime integers with and . Indeed put the fractional parts of into equal intervals; two lie in the same interval. Their difference gives , and reducing the fraction preserves the claimed bound. This includes rational .
For , the finite geometric series has length . When ,The last inequality uses the concavity of sine on . The triangle inequality also gives . At integer the sum has absolute value , interpreting the reciprocal as infinity. Thus the precise exponential geometric sum bound isThe interval must be nonempty; for its sum is zero and its length should be defined as , rather than using a potentially negative bound.
For the separated points, assume and . An arc of length contains at most of the points, by ordering them along the arc. Points with contribute . In the dyadic annulus , each summand is and there are at most points. There are nonempty annuli, giving the stronger separated reciprocal-distance sumIf there is only one point the bound is immediate; otherwise . The printed requires a lower bound away from ; avoids that endpoint defect.
A useful version of the quadratic Weyl inequality is the following, with , and :For , expand the square of this quadratic exponential sum by :The exponential geometric sum bound therefore gives . For , partition these into blocks of length at most . Two different points in one block have difference with . The reduced denominator of is at least , so , whileThus the rotations are separated by at least in each block. The separated reciprocal-distance sum bounds each block by . There are blocks, and henceFor or , the trivial bound supplies the same assertion with an absolute constant. The same proof applies to , whose difference sums also have interval endpoints.
We finally prove a polynomial rate of quantitative quadratic recurrence, without using the optional finite-group assumption. For , use the periodic triangular bump . It is times the periodic convolution of two interval indicators, and therefore has the nonnegative Fourier coefficientsIts Fourier series is absolutely convergent, , and the coefficient tail is . Suppose that for every . Then . Choose with a sufficiently large absolute , so that the contribution of frequencies has absolute value at most . The zero frequency contributes . Since all coefficients are nonnegative and their sum is one, some must satisfyApply the Dirichlet approximation theorem to with , obtaining a reduced , . The quadratic Weyl inequality then impliesSet . For sufficiently large , the term is absorbed on the left, giving . The integer consequently satisfiesMoreover the approximating integer is , andThis contradicts the assumed avoidance. Increasing the absolute constant handles the finitely many smaller , uniformly for every real . Thus


