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.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 34 2 e Solution Created 2026-10-03 Updated 2026-10-07
The normalized log-uniform distribution here has density . A leading digit corresponds to , soThese are exactly the Benford law probabilities. Continuous densities make endpoint conventions immaterial.
Past exam of the mathematics course of the University of Cambridge 2013 iii Paper 34 2 f Solution Created 2026-10-03 Updated 2026-10-07
The claim needs a complete number of logarithmic decades. For the normalized log-uniform distribution on the specified range, is uniform on . Digit corresponds to . If is a positive integer, the integral of a period-one indicator over is times its integral over one period. Thus Benford law from logarithmic uniformity givesThis proves the intended case of integers , and even permits noninteger when the span is an integer.
For arbitrary real , the exact formula instead isOnly finitely many terms are nonzero. For a counterexample take , : then , so the leading digit is always one. That is not Benford law. The unrestricted range in the PDF needs this qualification.
Scale-invariant prior Created 2026-10-07 Updated 2026-10-14
The measure is invariant under multiplication by every positive constant. In the logarithmic coordinate it is Lebesgue measure. It cannot be normalized over , although a bounded truncation is a log-uniform distribution.
