Definition
The logarithmic integral is the function
It plays a central role in prime number theory because it gives a remarkably accurate approximation to the prime counting function
The Prime Number Theorem may be written in the form
Although the simpler approximation
captures the correct order of growth, the logarithmic integral incorporates important secondary corrections.
Origin of the Function
Suppose primes near occur with density approximately
Then the expected number of primes in a small interval should be roughly
Accumulating this local density from to gives
Thus the logarithmic integral naturally arises from the heuristic density law for primes.
Basic Properties
Since for , the integrand is positive on . Therefore is increasing.
Differentiation gives
Hence the local rate of growth of matches the predicted local density of primes.
The function grows more slowly than , but faster than any fixed power of .
Asymptotic Expansion
Repeated integration by parts produces the asymptotic expansion
More generally,
This expansion is asymptotic rather than convergent. Truncating after finitely many terms gives increasingly accurate approximations for large .
The first term alone yields
Comparison with
The logarithmic integral approximates much more accurately than .
For example:
The logarithmic integral consistently tracks the true number of primes with striking accuracy.
Singular Behavior Near
The integral
has a singularity at
because
For this reason, the logarithmic integral is sometimes defined using the Cauchy principal value:
In elementary prime number theory, however, one usually works with
which avoids the singularity.
Relation to the Prime Number Theorem
The Prime Number Theorem states that
Equivalently,
This means that the relative error tends to zero as .
The proof depends on analytic properties of the zeta function, especially the absence of zeros on the line
Sign Changes
Numerical evidence suggests that
for many values of . In fact, this inequality holds for all commonly encountered numbers.
However, entity[“people”,“John Edensor Littlewood”,“British mathematician”] proved in 1914 that the difference
changes sign infinitely many times.
Thus there exist arbitrarily large values of for which
The first such sign change occurs at an extraordinarily large number.
Importance in Analytic Number Theory
The logarithmic integral serves as the main smooth approximation to prime distribution. Many estimates for primes are expressed in the form
The quality of the approximation depends on understanding the zeros of the Riemann zeta function.
Thus the logarithmic integral stands at the intersection of asymptotic analysis, complex analysis, and prime number theory.