**Feel like "cheating" at Calculus?** Check out our **Practically Cheating Calculus Handbook**, which gives you hundreds of easy-to-follow answers in a convenient e-book.

The **logarithmic integral function** Li(x) (or just the “logarithmic integral”) is a locally summable function on the real line.

This special function is used in physics and number theory, most notably in the prime number theorem. One of the earliest references to the function was in 1986, when Jacques Hadamard and de la Vallée Poussin independently proved the prime number theorem, showing that if π(x) is the number of primes up to *x*, then for any positive constant ܿ*c*, π(x) = Li(x) + O(xe^{-c√(ln x)}).

The formula for the logarithmic integral function for positive values of x is

Some versions of the integral have a lower bound of integration of 0 (called the *American version*) instead of 2 (the *European version*). The two integrals are related by the formula (x) = Li(x) – Li(2) = Li(x) – 1.045163780 [1]. The European version avoids the problem of a singularity at t = 1; Another way to avoid this problem is to use a set of integrals (where PV is the integral’s Cauchy principal value) [2]:

The integrals of the functions (log t)^{−1} and e^{−t2} define the logarithmic integral. These cannot be integrated in terms of elementary functions [3].

## Applications of the Logarithmic Integral Function

The logarithmic integral function is used primarily in physics and number theory.

In number theory, the function makes an appearance in the prime number theorem. The theorem states that as x tends to infinity, the number of primes less than x can be approximated by

Where li(x) is the logarithmic integral [4].

## References

[1] Pardo, J. (2012). Cryptography and Cryptanalysis: Primality, Factoring and Discrete Logarithms. Springer.

[2] Fisher, B. & Al-Sihery, F. (2016). On the Logarithmic Integral and the Convolution. Mathematica Moravica.

[3] Hildebrand, A. (2015). Short Course on Asymptotics. Mathematics Summer REU Programs. University of Illinois. Retrieved April 5, 2021 from: https://faculty.math.illinois.edu/~hildebr/lecture-notes/asymptotics.pdf

[4] Tunstrom, K. Prime Number Theorem.

Logarithmic integral function graph: RicHard-59, CC BY-SA 3.0

**CITE THIS AS:**

**Stephanie Glen**. "Logarithmic Integral Function: Definition" From

**CalculusHowTo.com**: Calculus for the rest of us! https://www.calculushowto.com/logarithmic-integral-function/

**Need help with a homework or test question?** With Chegg Study, you can get step-by-step solutions to your questions from an expert in the field. Your first 30 minutes with a Chegg tutor is free!