The Chebyshev function

Idea: when Gauss was a boy (by the dates found on his notes he was approximately 16) he noticed that the primes appear with density 1logx around x. Then, instead of counting primes and looking at the function π(x), lets weight by the natural density and look at pxlogp. Since we are weighting by what we think is the density, we expect it to be asymptotic to be x. This is the first Chebyshev function.

The second Chebyshev function, denoted by ψ(x), is defined in terms of the von Mangoldt function Λ(n):

ψ(x)=nxΛ(n),

where

Λ(n)={logpif n=pk for some prime p and k1,0otherwise.

This means that ψ(x) includes all prime powers pkx, not just primes, but weights each one by logp.

Why ψ(x) Counts Prime Numbers

Although ψ(x) includes powers of primes (p2,p3,), those contribute very little compared to the primes themselves.

So, ψ(x) behaves like a smoothed or weighted version of the prime counting function π(x). While π(x) simply counts 1 for each prime x, ψ(x) counts logp for each prime and its powers x.

It turns out this weighting is exactly what fits analytically with the Riemann zeta function, and is therefore more natural in complex analysis.

In fact, the prime number theorem is often first proved using ψ(x), because its analytic representation is easier to handle.

Prime number theorem via ψ(x)

The Prime Number Theorem in this formulation states:

ψ(x)xas x.

That is, the total weight of primes and their powers up to x behaves like x. Since powers contribute little, this tells us that the primes themselves are distributed with density 1/logx.

Connection to the Riemann Zeta Function

The Chebyshev function ψ(x) is directly connected to the logarithmic derivative of the Riemann zeta function:

ζ(s)ζ(s)=n=1Λ(n)ns,for Re(s)>1.

This identity allows us to write ψ(x) as a complex integral via Perron's formula:

ψ(x)=12πicic+i(ζ(s)ζ(s))xssds,c>1.

This representation is central in explicit formulas that express ψ(x) in terms of the zeros of the Riemann zeta function, making it a key analytic bridge between prime numbers and complex analysis.