Logarithmic integral function
The logarithmic integral function, denoted \li(x), is a special function in mathematics defined as the Cauchy principal value of the integral \li(x) = \pvint_0^x \frac{\mathrm{d}t}{\ln t} for x > 1. It is intimately connected to the exponential integral function through the relation \li(x) = \Ei(\ln x), where \Ei denotes the exponential integral. In analytic number theory, the logarithmic integral holds particular significance due to its role in the prime number theorem, which asserts that the prime-counting function \pi(x)—the number of prime numbers less than or equal to x—satisfies \pi(x) \sim \li(x) as x \to \infty.[1] This asymptotic equivalence provides a precise estimate for the distribution of primes, outperforming the cruder approximation \pi(x) \sim x / \ln x by capturing higher-order terms in the error.[2] Historically, the logarithmic integral was first explored by Carl Friedrich Gauss in the early 19th century as a means to model prime distribution, though he did not publish his findings until a posthumous mention in an 1849 letter.[1] Bernhard Riemann later incorporated a variant of the function in his seminal 1859 paper on the Riemann zeta function, linking it to the analytic continuation and zeros that underpin modern proofs of the prime number theorem.[3] Subsequent developments, including explicit formulas by Riemann and von Mangoldt, further highlighted its utility in expressing \pi(x) via sums over the nontrivial zeros of the zeta function.[1]Definitions and Variants
Principal Logarithmic Integral
The principal logarithmic integral function, denoted \mathrm{li}(x), is defined for real x > 0, x \neq 1, by the integral \mathrm{li}(x) = \int_0^x \frac{\mathrm{d}t}{\ln t}, where the integrand has a singularity at t = 1.[4][3] To handle the singularity at t = 1, the integral is interpreted in the sense of the Cauchy principal value. For x > 1, \mathrm{li}(x) = \lim_{\varepsilon \to 0^+} \left( \int_0^{1 - \varepsilon} \frac{\mathrm{d}t}{\ln t} + \int_{1 + \varepsilon}^x \frac{\mathrm{d}t}{\ln t} \right). This principal value ensures the function is well-defined and continuous except at x = 1, where it diverges to -\infty as x \to 1^- and to +\infty as x \to 1^+.[4][3][5] For x > 1, the principal logarithmic integral is related to the exponential integral function \mathrm{Ei}(z), defined as the Cauchy principal value \mathrm{Ei}(z) = -\int_{-z}^\infty \frac{e^{-t}}{t} \mathrm{d}t for \arg z \in (-\pi, \pi), by the identity \mathrm{li}(x) = \mathrm{Ei}(\ln x). This connection arises from the substitution t = e^u, transforming the integral appropriately while respecting the principal branch of the logarithm.[4][3] In the interval $0 < x < 1, the integral from 0 to x avoids the singularity at t = 1 and is proper, though the integrand approaches 0 from below as t \to 0^+ since \ln t \to -\infty. Consequently, \mathrm{li}(x) is negative for $0 < x < 1, with \lim_{x \to 0^+} \mathrm{li}(x) = 0. The function is defined on [0, \infty) \setminus \{1\} as a real-valued special function, locally integrable away from the singularity.[3][5]Offset Logarithmic Integral
The offset logarithmic integral, denoted \mathrm{Li}(x), addresses limitations in the principal logarithmic integral \mathrm{li}(x) by introducing a constant shift tailored for number-theoretic applications. It is defined for x > 1 as \mathrm{Li}(x) = \mathrm{li}(x) - \mathrm{li}(2), where \mathrm{li}(2) \approx 1.04516378.[3] Equivalently, to handle the singularity at t = 1, \mathrm{Li}(x) = \lim_{\epsilon \to 0^+} \left[ \int_{0}^{1 - \epsilon} \frac{dt}{\ln t} + \int_{1 + \epsilon}^{x} \frac{dt}{\ln t} \right] - \mathrm{li}(2). [3] This offset subtracts the fixed value \mathrm{li}(2) to remove the discontinuity and non-monotonic behavior of \mathrm{li}(x) near x = 1, yielding a smooth, monotonically increasing function ideal for asymptotic estimates in prime distribution studies. This yields \mathrm{Li}(2) = 0, and the function is smooth and monotonically increasing for x \geq 2.[6] For large x, \mathrm{Li}(x) \approx \frac{x}{\ln x}.[3]Representations
Integral Representation
The logarithmic integral function, denoted \mathrm{li}(x) for real x > 1, is fundamentally defined by the Cauchy principal value integral \mathrm{li}(x) = \lim_{\epsilon \to 0^+} \left( \int_0^{1-\epsilon} \frac{\mathrm{dt}}{\ln t} + \int_{1+\epsilon}^x \frac{\mathrm{dt}}{\ln t} \right), which handles the singularity at t = 1 where \ln t = 0. This principal value ensures the integral is well-defined despite the pole, enabling numerical evaluation through standard quadrature methods that bypass the discontinuity.[3] A useful change of variables transforms this representation into a form involving the exponential integral. Substituting u = \ln t, so t = e^u and \mathrm{dt} = e^u \mathrm{du}, yields \mathrm{li}(x) = \int_{-\infty}^{\ln x} \frac{e^u}{u} \mathrm{du} for x > 1, where the integral is again understood in the principal value sense across the origin. This substitution directly links \mathrm{li}(x) to the exponential integral function \mathrm{Ei}(z), defined as \mathrm{Ei}(z) = \mathrm{PV} \int_{-\infty}^z \frac{e^t}{t} \mathrm{dt} for real z > 0, via the relation \mathrm{li}(x) = \mathrm{Ei}(\ln x). Integrating the power series expansion of \mathrm{Ei}(z) term by term provides an alternative representation derived from the integral form: \mathrm{li}(x) = \gamma + \ln |\ln x| + \sum_{k=1}^\infty \frac{(\ln x)^k}{k \cdot k!}, where \gamma is the Euler-Mascheroni constant. This series arises naturally from the integral definition of \mathrm{Ei} and converges for x > 1.[3] For complex arguments, the logarithmic integral \mathrm{li}(z) admits an analytic continuation via a contour integral \mathrm{li}(z) = \int_0^z \frac{\mathrm{dt}}{\ln t}, where the path of integration avoids the branch cut of \ln t (typically along the negative real axis) and detours around the singularity at t = 1 using a principal value or indentation.[4] This contour-based definition, consistent with \mathrm{li}(z) = \mathrm{Ei}(\ln z) using the principal branch of the logarithm, extends the function to the complex plane except along the cut from 0 to 1 on the positive real axis.Series Representation
The series representation of the logarithmic integral function is derived from its integral form by means of the substitution t = e^u, which transforms the principal value integral into the exponential integral \operatorname{Ei}(u). Specifically, for x > 0, x \neq 1, \operatorname{li}(x) = \operatorname{Ei}(\ln x), where \operatorname{Ei}(u) admits the Taylor series expansion around u = 0: \operatorname{li}(e^u) = \gamma + \ln |u| + \sum_{k=1}^\infty \frac{u^k}{k \cdot k!}, with \gamma \approx 0.5772156649 denoting the Euler-Mascheroni constant. This expansion is particularly suited for numerical evaluation near x = 1 (corresponding to small |u|), as the logarithmic singularity at u = 0 is isolated in the \ln |u| term, while the power series captures the regular part. The derivation proceeds by expressing \operatorname{Ei}(u) = \pvint_{-\infty}^u \frac{e^v}{v} \, dv and applying repeated integration by parts to the integrand, yielding the singular terms \gamma + \ln |u| and the convergent power series \sum_{k=1}^\infty \frac{u^k}{k \cdot k!}, which arises from term-by-term integration of the exponential series for e^v.[7] The radius of convergence of the power series is infinite, but for the principal branch in the complex plane, the representation is valid when |\Im u| < \pi to avoid encircling additional branch points introduced by the periodicity of the logarithm. For small x > 0 (away from the branch cut [0,1]), the exponential substitution yields large negative u, where direct use of the series is inefficient; instead, the leading asymptotic behavior is \operatorname{li}(x) \sim -\frac{x}{\ln (1/x)} as x \to 0^+, though the full exponential form remains the primary tool for local computation near the singularity.[7]Properties
Special Values
The principal logarithmic integral function, denoted \mathrm{li}(x), exhibits distinct behavior at specific points due to its integral definition involving the singularity at t=1. As x \to 0^+, \mathrm{li}(x) \to 0, reflecting the integral's convergence from the lower limit where \ln t \to -\infty but the measure is small.[3] Similarly, \mathrm{li}(x) \to -\infty as x \to 1 from either side, owing to the principal value handling of the pole at t=1, where the contributions from below and above the singularity diverge negatively in the limit.[3] As x \to \infty, \mathrm{li}(x) \to \infty, consistent with the function's unbounded growth.[3] Numerical evaluations at key points provide concrete insights into \mathrm{li}(x). For instance, at x = e, the principal value is \mathrm{li}(e) = \int_0^e \frac{dt}{\ln t} \approx 1.895117816, computed via its relation to the exponential integral \mathrm{Ei}(1).[8] At x = 2, \mathrm{li}(2) \approx 1.045163780, a value central to defining the offset variant \mathrm{Li}(x) = \mathrm{li}(x) - \mathrm{li}(2), which ensures \mathrm{Li}(2) = 0.[3] A notable connection to the Euler-Mascheroni constant \gamma \approx 0.5772156649 appears in the behavior near the singularity: \lim_{x \to 1} \bigl( \mathrm{li}(x) - \ln |\ln x| \bigr) = \gamma. This limit arises from the small-argument expansion of the related exponential integral, \mathrm{Ei}(z) \sim \gamma + \ln |z| + \sum_{k=1}^\infty \frac{z^k}{k \cdot k!} as z \to 0, with z = \ln x. While exact closed-form expressions exist for \mathrm{li}(x) at transcendental points like x = e through the exponential integral, most evaluations at integer or prime arguments lack simple closed forms and rely on numerical computation or series summation. For small integers and primes p, such as p = 2, 3, 5, values are tabulated in mathematical handbooks and databases for precision up to many decimal places, facilitating applications in analysis.[3]| Point x | \mathrm{li}(x) (approximate) | Notes |
|---|---|---|
| e \approx 2.718 | 1.895117816 | Principal value via \mathrm{Ei}(1).[8] |
| 2 | 1.045163780 | Basis for offset \mathrm{Li}(x).[3] |