Prime counting function

In mathematics, the prime counting function is the function counting the number of prime numbers less than or equal to some real number x. It is denoted by

π(x)

and may be expressed formally as

<math>\pi(x) = \sum_{p \le x,\ p\ \mathrm{prime}} 1.<math>

Of great interest in number theory is the growth rate of this function. It was conjectured in the 18th century to be approximately

<math> x/\operatorname{ln}(x)<math>.

What is now called the prime number theorem is one precise estimate for this rate of growth, namely that

<math>\pi(x) / \operatorname{li}(x)<math> approaches 1

as <math> x<math> increases without bound, where li is the logarithmic integral function. This was first proved around 1896 by Jacques Hadamard and by de la Vallée Poussin (independently), using properties of the zeta function introduced by Bernhard Riemann in 1859.

More precise estimates of <math>\pi(x)<math> are now known; for example

<math>\pi(x) = \operatorname{li}(x) + O(x \exp(-\frac{\sqrt{\ln(x)}}{15}))<math>,

where the O is Big O notation. Proofs of the prime number theorem not using the zeta function or complex analysis were found around 1948 by Atle Selberg and by Paul Erdös (for the most part independently).

Other prime counting functions

Other prime counting functions are also used because they are more convenient to work with. One is Riemann's prime counting function, denoted <math>\Pi(x)<math> or <math>J(x)<math>. This has jumps of 1/n for prime powers pn, with it taking a value half-way between the two sides at discontinuities. That added detail is because then it may be defined by an inverse Mellin transform. Formally, we may define J by

<math>J(x) = \frac12 \left(\sum_{p^n < x} \frac1n\ + \sum_{p^n \le x} \frac1n\right)<math>

where p is a prime.

We may also write

<math>J(x) = \sum_{n=1}^\infty \pi(x^\frac{1}{n})<math>

except where we have discontinuities at prime powers, and hence π can be recovered from J by Möbius inversion.

Another prime counting function weights prime powers pn by ln p:

<math>\psi(x) = \frac12 \left(\sum_{p^n < x} \ln p\ + \sum_{p^n \le x} \ln p\right).<math>

Formulas for prime counting functions

These come in two kinds, arithmetic formulas and analytic formulas. The latter are what allow us to prove the prime number theorem. From the work of Riemann and von Mangoldt, we have the following expression for J:

<math>J(x) = \operatorname{Li}(x) - \sum_{\rho}\operatorname{Li}(x^{\rho}) - \ln 2 + \int_x^\infty \frac{dt}{t(t^2-1) \ln t} <math>

Here Li is the offset logarithmic integral, and the ρ are the zeros of the Riemann zeta function in the critical strip, where the real part of ρ is between zero and one. The formula is valid for values of x greater than one, which is the region of interest, and the sum over the roots is conditionally convergent, and should be taken in order of increasing absolute value of the imaginary part.

For ψ we have a simpler formula, due to von Mangoldt:

<math>\psi(x) = x - \sum_\rho \frac{x^\rho}{\rho} + \ln \frac{x^2}{x^2-1} - \ln {2 \pi}.<math>

Again, the formula is valid for x > 1.

The Riemann hypothesis

The Riemann hypothesis is equivalent to a much sharper bound on the error in the estimate for <math>\pi(x)<math>, and hence to a more regular distribution of prime numbers,

<math>\pi(x) = \operatorname{li}(x) + O(\sqrt{x} \log{x}).<math>
Navigation

  • Art and Cultures
    • Art (https://academickids.com/encyclopedia/index.php/Art)
    • Architecture (https://academickids.com/encyclopedia/index.php/Architecture)
    • Cultures (https://www.academickids.com/encyclopedia/index.php/Cultures)
    • Music (https://www.academickids.com/encyclopedia/index.php/Music)
    • Musical Instruments (http://academickids.com/encyclopedia/index.php/List_of_musical_instruments)
  • Biographies (http://www.academickids.com/encyclopedia/index.php/Biographies)
  • Clipart (http://www.academickids.com/encyclopedia/index.php/Clipart)
  • Geography (http://www.academickids.com/encyclopedia/index.php/Geography)
    • Countries of the World (http://www.academickids.com/encyclopedia/index.php/Countries)
    • Maps (http://www.academickids.com/encyclopedia/index.php/Maps)
    • Flags (http://www.academickids.com/encyclopedia/index.php/Flags)
    • Continents (http://www.academickids.com/encyclopedia/index.php/Continents)
  • History (http://www.academickids.com/encyclopedia/index.php/History)
    • Ancient Civilizations (http://www.academickids.com/encyclopedia/index.php/Ancient_Civilizations)
    • Industrial Revolution (http://www.academickids.com/encyclopedia/index.php/Industrial_Revolution)
    • Middle Ages (http://www.academickids.com/encyclopedia/index.php/Middle_Ages)
    • Prehistory (http://www.academickids.com/encyclopedia/index.php/Prehistory)
    • Renaissance (http://www.academickids.com/encyclopedia/index.php/Renaissance)
    • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
    • United States (http://www.academickids.com/encyclopedia/index.php/United_States)
    • Wars (http://www.academickids.com/encyclopedia/index.php/Wars)
    • World History (http://www.academickids.com/encyclopedia/index.php/History_of_the_world)
  • Human Body (http://www.academickids.com/encyclopedia/index.php/Human_Body)
  • Mathematics (http://www.academickids.com/encyclopedia/index.php/Mathematics)
  • Reference (http://www.academickids.com/encyclopedia/index.php/Reference)
  • Science (http://www.academickids.com/encyclopedia/index.php/Science)
    • Animals (http://www.academickids.com/encyclopedia/index.php/Animals)
    • Aviation (http://www.academickids.com/encyclopedia/index.php/Aviation)
    • Dinosaurs (http://www.academickids.com/encyclopedia/index.php/Dinosaurs)
    • Earth (http://www.academickids.com/encyclopedia/index.php/Earth)
    • Inventions (http://www.academickids.com/encyclopedia/index.php/Inventions)
    • Physical Science (http://www.academickids.com/encyclopedia/index.php/Physical_Science)
    • Plants (http://www.academickids.com/encyclopedia/index.php/Plants)
    • Scientists (http://www.academickids.com/encyclopedia/index.php/Scientists)
  • Social Studies (http://www.academickids.com/encyclopedia/index.php/Social_Studies)
    • Anthropology (http://www.academickids.com/encyclopedia/index.php/Anthropology)
    • Economics (http://www.academickids.com/encyclopedia/index.php/Economics)
    • Government (http://www.academickids.com/encyclopedia/index.php/Government)
    • Religion (http://www.academickids.com/encyclopedia/index.php/Religion)
    • Holidays (http://www.academickids.com/encyclopedia/index.php/Holidays)
  • Space and Astronomy
    • Solar System (http://www.academickids.com/encyclopedia/index.php/Solar_System)
    • Planets (http://www.academickids.com/encyclopedia/index.php/Planets)
  • Sports (http://www.academickids.com/encyclopedia/index.php/Sports)
  • Timelines (http://www.academickids.com/encyclopedia/index.php/Timelines)
  • Weather (http://www.academickids.com/encyclopedia/index.php/Weather)
  • US States (http://www.academickids.com/encyclopedia/index.php/US_States)

Information

  • Home Page (http://academickids.com/encyclopedia/index.php)
  • Contact Us (http://www.academickids.com/encyclopedia/index.php/Contactus)

  • Clip Art (http://classroomclipart.com)
Toolbox
Personal tools