Hubbry Logo
Logarithmic integral functionLogarithmic integral functionMain
Open search
Logarithmic integral function
Community hub
Logarithmic integral function
logo
8 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Logarithmic integral function
Logarithmic integral function
from Wikipedia

Plot of the logarithmic integral function li(z) in the complex plane from -2-2i to 2+2i with colors created with Mathematica 13.1 function ComplexPlot3D
Plot of the absolute value of the logarithmic integral function li(z) in the complex plane from -2-2i to 2+2i with colors showing the argument (the angle around the complex plane)

In mathematics, the logarithmic integral function or integral logarithm li(x) is a special function. It is relevant in problems of physics and has number theoretic significance. In particular, according to the prime number theorem, it is a very good approximation to the prime-counting function, which is defined as the number of prime numbers less than or equal to a given value x.

Logarithmic integral function plot

Integral representation

[edit]

The logarithmic integral has an integral representation defined for all positive real numbers x ≠ 1 by the definite integral

Here, ln denotes the natural logarithm. The function 1/(ln t) has a singularity at t = 1, and the integral for x > 1 is interpreted as a Cauchy principal value,

However, the logarithmic integral can also be taken to be a meromorphic complex-valued function in the complex domain. In this case it is multi-valued with branch points at 0 and 1, and the values between 0 and 1 defined by the above integral are not compatible with the values beyond 1. The complex function is shown in the figure above. The values on the real axis beyond 1 are the same as defined above, but the values between 0 and 1 are offset by iπ so that the absolute value at 0 is π rather than zero. The complex function is also defined (but multi-valued) for numbers with negative real part, but on the negative real axis the values are not real.

Offset logarithmic integral

[edit]

The offset logarithmic integral or Eulerian logarithmic integral is defined as

As such, the integral representation has the advantage of avoiding the singularity in the domain of integration.

Equivalently,

Special values

[edit]

The function li(x) has a single positive zero; it occurs at x ≈ 1.45136 92348 83381 05028 39684 85892 02744 94930... OEISA070769; this number is known as the Ramanujan–Soldner constant.

≈ 1.045163 780117 492784 844588 889194 613136 522615 578151... OEISA069284

This is where is the incomplete gamma function. It must be understood as the Cauchy principal value of the function.

Series representation

[edit]

The function li(x) is related to the exponential integral Ei(x) via the equation

which is valid for x > 0. This identity provides a series representation of li(x) as

where γ ≈ 0.57721 56649 01532 ... OEISA001620 is the Euler–Mascheroni constant. For the complex function the formula is

(without taking the absolute value of u). A more rapidly convergent series by Ramanujan [1] is

Again, for the meromorphic complex function the term must be replaced by

Asymptotic expansion

[edit]

The asymptotic behavior both for and for is

where is the big O notation. The full asymptotic expansion is

or

This gives the following more accurate asymptotic behaviour:

As an asymptotic expansion, this series is not convergent: it is a reasonable approximation only if the series is truncated at a finite number of terms, and only large values of x are employed. This expansion follows directly from the asymptotic expansion for the exponential integral.

This implies e.g. that we can bracket li as:

for all .

Number theoretic significance

[edit]

The logarithmic integral is important in number theory, appearing in estimates of the number of prime numbers less than a given value. For example, the prime number theorem states that:

where denotes the number of primes smaller than or equal to .

Assuming the Riemann hypothesis, we get the even stronger:[2]

In fact, the Riemann hypothesis is equivalent to the statement that:

for any .

For small , but the difference changes sign an infinite number of times as increases, and the first time that this happens is somewhere between 1019 and 1.4×10316.

See also

[edit]

References

[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
The logarithmic integral function, denoted \li(x)\li(x), is a special function in mathematics defined as the Cauchy principal value of the integral \li(x)=\pvint0xdtlnt\li(x) = \pvint_0^x \frac{\mathrm{d}t}{\ln t} for x>1x > 1. It is intimately connected to the exponential integral function through the relation \li(x)=\Ei(lnx)\li(x) = \Ei(\ln x), where \Ei\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 π(x)\pi(x)—the number of prime numbers less than or equal to xx—satisfies π(x)\li(x)\pi(x) \sim \li(x) as xx \to \infty. This asymptotic equivalence provides a precise estimate for the distribution of primes, outperforming the cruder approximation π(x)x/lnx\pi(x) \sim x / \ln x by capturing higher-order terms in the error. Historically, the logarithmic integral was first explored by in the early as a means to model prime distribution, though he did not publish his findings until a posthumous mention in an 1849 letter. later incorporated a variant of the function in his seminal 1859 paper on the , linking it to the and zeros that underpin modern proofs of the . Subsequent developments, including explicit formulas by Riemann and von Mangoldt, further highlighted its utility in expressing π(x)\pi(x) via sums over the nontrivial zeros of the zeta function.

Definitions and Variants

Principal Logarithmic Integral

The principal logarithmic integral function, denoted li(x)\mathrm{li}(x), is defined for real x>0x > 0, x1x \neq 1, by the integral li(x)=0xdtlnt,\mathrm{li}(x) = \int_0^x \frac{\mathrm{d}t}{\ln t}, where the integrand has a singularity at t=1t = 1. To handle the singularity at t=1t = 1, the integral is interpreted in the sense of the Cauchy principal value. For x>1x > 1, li(x)=limε0+(01εdtlnt+1+εxdtlnt).\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=1x = 1, where it diverges to -\infty as x1x \to 1^- and to ++\infty as x1+x \to 1^+. For x>1x > 1, the principal logarithmic integral is related to the function Ei(z)\mathrm{Ei}(z), defined as the Ei(z)=zettdt\mathrm{Ei}(z) = -\int_{-z}^\infty \frac{e^{-t}}{t} \mathrm{d}t for argz(π,π)\arg z \in (-\pi, \pi), by the identity li(x)=Ei(lnx).\mathrm{li}(x) = \mathrm{Ei}(\ln x). This connection arises from the substitution t=eut = e^u, transforming the integral appropriately while respecting the principal branch of the logarithm. In the interval 0<x<10 < x < 1, the integral from 0 to xx avoids the singularity at t=1t = 1 and is proper, though the integrand approaches 0 from below as t0+t \to 0^+ since lnt\ln t \to -\infty. Consequently, li(x)\mathrm{li}(x) is negative for 0<x<10 < x < 1, with limx0+li(x)=0\lim_{x \to 0^+} \mathrm{li}(x) = 0. The function is defined on [0,){1}[0, \infty) \setminus \{1\} as a real-valued special function, locally integrable away from the singularity.

Offset Logarithmic Integral

The offset logarithmic integral, denoted Li(x)\mathrm{Li}(x), addresses limitations in the principal logarithmic integral li(x)\mathrm{li}(x) by introducing a constant shift tailored for number-theoretic applications. It is defined for x>1x > 1 as Li(x)=li(x)li(2)\mathrm{Li}(x) = \mathrm{li}(x) - \mathrm{li}(2), where li(2)1.04516378\mathrm{li}(2) \approx 1.04516378. Equivalently, to handle the singularity at t=1t = 1, Li(x)=limϵ0+[01ϵdtlnt+1+ϵxdtlnt]li(2).\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). This offset subtracts the fixed value li(2)\mathrm{li}(2) to remove the discontinuity and non-monotonic behavior of li(x)\mathrm{li}(x) near x=1x = 1, yielding a smooth, monotonically increasing function ideal for asymptotic estimates in prime distribution studies. This yields Li(2)=0\mathrm{Li}(2) = 0, and the function is smooth and monotonically increasing for x2x \geq 2. For large xx, Li(x)xlnx\mathrm{Li}(x) \approx \frac{x}{\ln x}.

Representations

Integral Representation

The logarithmic integral function, denoted li(x)\mathrm{li}(x) for real x>1x > 1, is fundamentally defined by the integral li(x)=limϵ0+(01ϵdtlnt+1+ϵxdtlnt),\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=1t = 1 where lnt=0\ln t = 0. This ensures the is well-defined despite the pole, enabling numerical evaluation through standard quadrature methods that bypass the discontinuity. A useful change of variables transforms this representation into a form involving the exponential integral. Substituting u=lntu = \ln t, so t=eut = e^u and dt=eudu\mathrm{dt} = e^u \mathrm{du}, yields li(x)=lnxeuudu\mathrm{li}(x) = \int_{-\infty}^{\ln x} \frac{e^u}{u} \mathrm{du} for x>1x > 1, where the integral is again understood in the principal value sense across the origin. This substitution directly links li(x)\mathrm{li}(x) to the function Ei(z)\mathrm{Ei}(z), defined as Ei(z)=PVzettdt\mathrm{Ei}(z) = \mathrm{PV} \int_{-\infty}^z \frac{e^t}{t} \mathrm{dt} for real z>0z > 0, via the relation li(x)=Ei(lnx)\mathrm{li}(x) = \mathrm{Ei}(\ln x). Integrating the power series expansion of Ei(z)\mathrm{Ei}(z) term by term provides an alternative representation derived from the form: li(x)=γ+lnlnx+k=1(lnx)kkk!,\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 definition of Ei\mathrm{Ei} and converges for x>1x > 1. For complex arguments, the logarithmic li(z)\mathrm{li}(z) admits an via a contour li(z)=0zdtlnt,\mathrm{li}(z) = \int_0^z \frac{\mathrm{dt}}{\ln t}, where the path of integration avoids the branch cut of lnt\ln t (typically along the negative real axis) and detours around the singularity at t=1t = 1 using a or indentation. This contour-based definition, consistent with li(z)=Ei(lnz)\mathrm{li}(z) = \mathrm{Ei}(\ln z) using the principal branch of the logarithm, extends the function to the 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=eut = e^u, which transforms the principal value into the Ei(u)\operatorname{Ei}(u). Specifically, for x>0x > 0, x1x \neq 1, li(x)=Ei(lnx)\operatorname{li}(x) = \operatorname{Ei}(\ln x), where Ei(u)\operatorname{Ei}(u) admits the expansion around u=0u = 0: li(eu)=γ+lnu+k=1ukkk!,\operatorname{li}(e^u) = \gamma + \ln |u| + \sum_{k=1}^\infty \frac{u^k}{k \cdot k!}, with γ0.5772156649\gamma \approx 0.5772156649 denoting the Euler-Mascheroni constant. This expansion is particularly suited for numerical evaluation near x=1x = 1 (corresponding to small u|u|), as the logarithmic singularity at u=0u = 0 is isolated in the lnu\ln |u| term, while the power series captures the regular part. The derivation proceeds by expressing Ei(u)=\pvintuevvdv\operatorname{Ei}(u) = \pvint_{-\infty}^u \frac{e^v}{v} \, dv and applying repeated to the integrand, yielding the singular terms γ+lnu\gamma + \ln |u| and the convergent power series k=1ukkk!\sum_{k=1}^\infty \frac{u^k}{k \cdot k!}, which arises from term-by-term integration of the exponential series for eve^v. The radius of convergence of the power series is infinite, but for the principal branch in the , the representation is valid when u<π|\Im u| < \pi to avoid encircling additional branch points introduced by the periodicity of the logarithm. For small x>0x > 0 (away from the branch cut [0,1]), the exponential substitution yields large negative uu, where direct use of the series is inefficient; instead, the leading asymptotic behavior is li(x)xln(1/x)\operatorname{li}(x) \sim -\frac{x}{\ln (1/x)} as x0+x \to 0^+, though the full exponential form remains the primary tool for local computation near the singularity.

Properties

Special Values

The principal logarithmic integral function, denoted li(x)\mathrm{li}(x), exhibits distinct behavior at specific points due to its integral definition involving the singularity at t=1t=1. As x0+x \to 0^+, li(x)0\mathrm{li}(x) \to 0, reflecting the integral's convergence from the lower limit where lnt\ln t \to -\infty but the measure is small. Similarly, li(x)\mathrm{li}(x) \to -\infty as x1x \to 1 from either side, owing to the principal value handling of the pole at t=1t=1, where the contributions from below and above the singularity diverge negatively in the limit. As xx \to \infty, li(x)\mathrm{li}(x) \to \infty, consistent with the function's unbounded growth. Numerical evaluations at key points provide concrete insights into li(x)\mathrm{li}(x). For instance, at x=ex = e, the principal value is li(e)=0edtlnt1.895117816\mathrm{li}(e) = \int_0^e \frac{dt}{\ln t} \approx 1.895117816, computed via its relation to the Ei(1)\mathrm{Ei}(1). At x=2x = 2, li(2)1.045163780\mathrm{li}(2) \approx 1.045163780, a value central to defining the offset variant Li(x)=li(x)li(2)\mathrm{Li}(x) = \mathrm{li}(x) - \mathrm{li}(2), which ensures Li(2)=0\mathrm{Li}(2) = 0. A notable connection to the Euler-Mascheroni constant γ0.5772156649\gamma \approx 0.5772156649 appears in the behavior near the singularity: limx1(li(x)lnlnx)=γ\lim_{x \to 1} \bigl( \mathrm{li}(x) - \ln |\ln x| \bigr) = \gamma. This limit arises from the small-argument expansion of the related , Ei(z)γ+lnz+k=1zkkk!\mathrm{Ei}(z) \sim \gamma + \ln |z| + \sum_{k=1}^\infty \frac{z^k}{k \cdot k!} as z0z \to 0, with z=lnxz = \ln x. While exact closed-form expressions exist for li(x)\mathrm{li}(x) at transcendental points like x=ex = e through the , most evaluations at or prime arguments lack simple closed forms and rely on numerical computation or series summation. For small s and primes pp, such as p=2,3,5p = 2, 3, 5, values are tabulated in mathematical handbooks and databases for precision up to many decimal places, facilitating applications in analysis.
Point xxli(x)\mathrm{li}(x) (approximate)Notes
e2.718e \approx 2.7181.895117816Principal value via Ei(1)\mathrm{Ei}(1).
21.045163780Basis for offset Li(x)\mathrm{Li}(x).

Asymptotic Expansion

The logarithmic integral function li(x)\operatorname{li}(x) has the leading asymptotic behavior li(x)xlnx\operatorname{li}(x) \sim \frac{x}{\ln x} as xx \to \infty. This approximation arises from the dominant contribution in the integral representation and establishes the scale of growth for li(x)\operatorname{li}(x), which increases slower than any positive power of xx but faster than any logarithmic power. A refined description is provided by the divergent asymptotic series li(x)k=0k!x(lnx)k+1\operatorname{li}(x) \sim \sum_{k=0}^\infty \frac{k! \, x}{(\ln x)^{k+1}} as xx \to \infty. This expansion, obtained via repeated starting from the integral representation li(x)=pv0xdtlnt\operatorname{li}(x) = \operatorname{pv} \int_0^x \frac{dt}{\ln t}, captures higher-order corrections to the leading term. The series diverges for all finite x>1x > 1, as the factorials k!k! cause the terms to eventually grow without bound; however, it yields successively better approximations when truncated at the optimal point, typically near the minimal term where subsequent terms begin to increase in magnitude. An equivalent form avoids the principal value by rewriting li(x)=li(2)+2xdtlnt\operatorname{li}(x) = \operatorname{li}(2) + \int_2^x \frac{dt}{\ln t} for x>2x > 2, where li(2)\operatorname{li}(2) is a constant and the integral has no singularity. The asymptotic series then applies directly to the integral, with the remainder after truncating at the nn-th term bounded by a multiple of the next term's magnitude, ensuring controlled error for large xx. This expansion underpins the , which asserts that the π(x)li(x)\pi(x) \approx \operatorname{li}(x) as xx \to \infty, with relative error o(1)o(1) or, equivalently, absolute error o(xlnx)o\left( \frac{x}{\ln x} \right). The connection highlights the role of li(x)\operatorname{li}(x) in modeling the distribution of primes, where the asymptotic precision of the series informs bounds on the deviation π(x)li(x)\pi(x) - \operatorname{li}(x).

Applications

Prime Number Theorem

The prime number theorem (PNT) states that the π(x), which gives the number of primes less than or equal to x, is asymptotically equivalent to the offset logarithmic integral Li(x) as x approaches infinity, denoted π(x) ∼ Li(x). This equivalence implies that the density of primes near x is approximately 1/ln x, providing a precise measure of how primes become sparser among the integers. The theorem was independently proved in 1896 by and Charles Jean de la Vallée Poussin, building on techniques involving the . Their proofs established not only the asymptotic relation but also an explicit error bound: π(x) = Li(x) + O(x \exp(-c \sqrt{\ln x})) for some constant c > 0. The connection between primes and the logarithmic integral predates the formal proof by over a century. In 1792–1793, Carl Friedrich Gauss, at the age of 15 or 16, empirically observed through extensive computations that π(x) ≈ \int_2^x \frac{dt}{\ln t}, which is precisely Li(x), after examining tables of primes and logarithms. This insight was later reinforced in Bernhard Riemann's 1859 manuscript on the zeta function, where he suggested a more refined explicit formula linking π(x) to Li(x) and the non-trivial zeros of the zeta function ζ(s), though Riemann did not prove the asymptotic. The 1896 proofs by Hadamard and de la Vallée Poussin confirmed Riemann's conjecture analytically, showing that the zeta function has no zeros on the line Re(s) = 1, which ensures the validity of the prime distribution estimate. In practice, the offset logarithmic integral Li(x) = li(x) - li(2), where li(x) is the principal value, provides a superior approximation to π(x) compared to li(x), as it avoids the extraneous contribution from 0 to 2 and aligns better with the cumulative prime count starting from 2. The difference π(x) - Li(x) exhibits oscillatory behavior due to the zeros of the zeta function but remains bounded by the error terms from the PNT. Under the , which posits that all non-trivial zeros of ζ(s) lie on the critical line Re(s) = 1/2, the error term improves dramatically to O(\sqrt{x} \ln x), offering a much tighter bound on the deviation between π(x) and Li(x). This conditional refinement underscores the logarithmic integral's pivotal role in probing deeper questions about prime distribution.

Other Number-Theoretic Uses

The difference li(x+y)li(x)ylnxli(x + y) - li(x) \approx \frac{y}{\ln x} provides a heuristic estimate for the number of primes in short intervals [x,x+y][x, x + y] when y=o(x)y = o(x), which underpins probabilistic models for prime gaps. This approximation suggests that maximal prime gaps up to xx are on the order of (lnx)2(\ln x)^2, as conjectured by Cramér in 1936 based on a random model where primes occur with density 1/lnx1/\ln x. Under this model, the probability of a gap larger than c(lnx)2c (\ln x)^2 around xx becomes exponentially small for sufficiently large cc, influencing subsequent refinements like Granville's adjustment incorporating correlations from the . In the context of primes in arithmetic progressions, a variant of the logarithmic integral, defined as li(x;q,a)=2xdtϕ(q)lntli(x; q, a) = \int_2^x \frac{dt}{\phi(q) \ln t} for coprime integers qq and aa, approximates the distribution guaranteed by Dirichlet's theorem on primes in arithmetic progressions. Specifically, the prime counting function π(x;q,a)\pi(x; q, a) satisfies π(x;q,a)1ϕ(q)li(x)\pi(x; q, a) \sim \frac{1}{\phi(q)} li(x), with error terms controlled under assumptions like the generalized Riemann hypothesis. This weighted form adjusts the standard logarithmic integral by the Euler totient function ϕ(q)\phi(q) to account for the reduced density in the progression modulo qq, enabling asymptotic estimates for the least prime in such progressions via Linnik's theorem and its extensions. The offset logarithmic integral Li(x)=li(x)li(2)Li(x) = li(x) - li(2), plays a key role in analyzing sign changes of π(x)Li(x)\pi(x) - Li(x). Littlewood proved in 1914 that π(x)Li(x)\pi(x) - Li(x) changes sign infinitely often, implying regions where π(x)>Li(x)\pi(x) > Li(x). Skewes established in 1933 an explicit upper bound for the first such crossing point where π(x)>Li(x)\pi(x) > Li(x), initially estimated below 1010103410^{10^{10^{34}}}, later refined by te Riele in 1987 to below 6.69×103706.69 \times 10^{370}, with modern estimates placing it around 1.39×103161.39 \times 10^{316} as of 2025. These bounds highlight the oscillatory behavior driven by the non-trivial zeros of the , with modern computations confirming the first sign change occurs near 1.39×103161.39 \times 10^{316}. Integrals involving the logarithmic integral relate to the vertical distribution of the non-trivial zeros of the through explicit formulas and . For instance, logarithmic Fourier integrals of logζ(1/2+it)\log |\zeta(1/2 + it)| connect the spacing and clustering of zeros to the prime counting discrepancies modeled by li(x)li(x). Such relations underpin pair correlation conjectures, like Montgomery's, which predict zero spacings influencing the error term in the . Generalizations of the logarithmic integral to weighted forms appear in the study of higher moments of L-functions, where integrals like 0TL(1/2+it)kdt\int_0^T |L(1/2 + it)|^k \, dt for Dirichlet or automorphic L-functions incorporate logarithmic weights to capture average behavior over families. These weighted moments, heuristically linked to products of logarithmic integrals adjusted for conductor or level, provide insights into subconvexity bounds and the distribution of central values, extending the role of li(x)li(x) in prime-related asymptotics to broader contexts.
Add your contribution
Related Hubs
User Avatar
No comments yet.