The Gauss–Kuzmin distribution is a discrete probability distribution that describes the limiting frequency of occurrence of integers in the continued fraction expansion of almost all real numbers. It is a fundamental result in the metric theory of continued fractions and ergodic theory.
Mathematical Definition For a real number $x \in (0, 1)$ with continued fraction expansion $x = [0; a_1, a_2, a_3, \dots]$, where $a_i \in \mathbb{N}$ are the partial quotients, the Gauss–Kuzmin theorem states that for any $k \in \mathbb{N}$, the asymptotic probability that $a_n = k$ is given by:
$$ p(k) = \log_2 \left( 1 + \frac{1}{k(k+2)} \right) = \log_2 \left( \frac{(k+1)^2}{k(k+2)} \right) $$
Equivalently, the cumulative distribution function for the partial quotients is: $$ \lim_{n \to \infty} \frac{1}{n} # { 1 \le i \le n : a_i \le k } = \log_2 \left( \frac{(k+1)^2}{k(k+2)} \right) \quad \text{(incorrect cumulative form)} $$ Correct cumulative probability for $a_n \le k$: $$ \sum_{j=1}^k p(j) = \log_2 \left( \frac{(k+1)^2}{k+2} \right) \quad \text{(Wait, let's check sum)} $$ $$ \sum_{j=1}^k \log_2 \frac{(j+1)^2}{j(j+2)} = \log_2 \prod_{j=1}^k \frac{(j+1)^2}{j(j+2)} = \log_2 \frac{2^2}{1 \cdot 3} \frac{3^2}{2 \cdot 4} \dots \frac{(k+1)^2}{k(k+2)} = \log_2 \frac{(k+1)^2}{k+2} \cdot \frac{2}{1}? $$ Let's re-evaluate product: $\prod_{j=1}^k \frac{(j+1)^2}{j(j+2)} = \frac{2 \cdot (k+1)}{k+2}$. So $\sum_{j=1}^k p(j) = \log_2 \frac{2(k+1)}{k+2}$. As $k \to \infty$, this tends to $\log_2 2 = 1$.
Historical Context
- Carl Friedrich Gauss (1812): In a letter to Laplace, Gauss derived the probability density function for the continued fraction transformation (the Gauss map) and stated the limiting distribution for the partial quotients. He did not publish a rigorous proof.
- Rodion Kuzmin (1928): Provided the first rigorous proof of the theorem, establishing the rate of convergence.
- Paul Lévy (1929): Independently proved the theorem using probabilistic methods.
- Eduard Wirsing (1974): Determined the exact exponential rate of convergence (the Gauss–Kuzmin–Wirsing constant).
Properties
- Probability Mass Function: $p(k) = \log_2 \left( 1 + \frac{1}{k(k+2)} \right)$ for $k = 1, 2, 3, \dots$
- Expected Value: The arithmetic mean of the partial quotients is infinite ($\sum k p(k) \sim \sum \frac{1}{k}$ diverges).
- Geometric Mean: By Khinchin's theorem, the geometric mean of the partial quotients converges to Khinchin's constant ($K_0 \approx 2.685$) for almost all real numbers.
- Entropy: The entropy of the Gauss map with respect to the Gauss measure is $\frac{\pi^2}{6 \ln 2}$ (Lévy's constant relates to the denominator growth).
Gauss Map and Invariant Measure The distribution is the stationary distribution of the Gauss map $T: [0,1] \to [0,1]$ defined by $T(x) = {1/x}$ (fractional part) for $x eq 0$ and $T(0)=0$. The Gauss measure $\mu$ defined by: $$ \mu(A) = \frac{1}{\ln 2} \int_A \frac{dx}{1+x} $$ is an ergodic invariant measure for $T$. The probability $p(k)$ corresponds to the measure of the cylinder set where the first partial quotient is $k$: $p(k) = \mu({x: a_1(x) = k})$.
Rate of Convergence (Gauss–Kuzmin–Wirsing Constant) The speed at which the distribution of the $n$-th partial quotient converges to the limiting distribution is governed by the eigenvalues of the Gauss–Kuzmin–Wirsing operator (transfer operator). The second eigenvalue $\lambda_1 \approx -0.303663$ (the Gauss–Kuzmin–Wirsing constant) determines the exponential rate of convergence.
Applications
- Number Theory: Analysis of the Euclidean algorithm; the average number of steps is related to the entropy of the Gauss map.
- Ergodic Theory: A canonical example of a chaotic dynamical system with an absolutely continuous invariant measure.
- Information Theory: Analysis of continued fraction coding and compression algorithms.
- Cryptography: Analysis of algorithms relying on continued fractions (e.g., Wiener's attack on RSA).