Prime Number Theorem I

advertisement
Prime Number Theorem I
Nikhil Srivastava
December 2, 2015
In the next two lectures I’ll present a rough sketch of the proof of the prime number theorem.
I will focus on a few key ideas and skip many (substantial) technical details. The point is not to
give you a full proof (which would take several weeks), but to demonstrate some of the methods
we have learned in the course.
Euclid proved that there are infinitely many primes. But you can ask more refined questions,
such as: what percentage of the integers are prime? How rare are the primes? Apart from being
very natural, such questions have applications in cryptography, where most schemes are based on
generating very large primes.
For a positive real x, let π(x) denote the number of primes less than or equal to x. The Prime
Number Theorem, proven by Hadamard and de la Vallee Poussin in 1896, says that
x
π(x) ∼
,
log x
where ∼ means asymptotic to, i.e.
f (x)
= 1.
x→∞ g(x)
f ∼ g ⇔ lim
1
Euler’s Product Formula
For the rest of the lecture we will use Riemann’s notation s = σ + it instead of z = x + iy. The
Riemann Zeta Function is defined as:
ζ(s) =
∞
X
1
ns
Re(s) > 1.
n=1
This definition makes sense because the series is absolutely convergent for Re(s) > 1. Moreover,
the series is uniformly convergent in every strip Re(s) ≥ a > 1. This means that it defines an
analytic function in Re(s) > 1 (we will extend this to almost the entire complex plane next time).
The reason this function is related to primes is the following formula due to Euler:
Y
1
ζ(s) =
(1 − s )−1 Re(s) > 1,
p
pprime
where the right hand side is an infinite product, interpreted as a limit of partial products. To see
why this formula holds, we observe that
Y
X
Y
X
1
1 −1
=
(1 + p−s + p−2s . . .) =
(pk11 pk22 . . . pkNN )−s =
.
(1 − s
p )
ns
p≤N
p≤N
k1 ,...,kN
1
n product of p ≤ N
The key is that by the unique factorization property, each integer appears exactly once on the right
hand side. If you tried to do this with any other set of integers, you would double count. Taking a
limit gives the formula (you will see another way to do this in the homework).
The product formula already tells us some interesting things about the primes, for instance,
that the number of primes is infinite. If it were finite, ζ(2) would be rational, but we know it is
irrational.
It also tells us something about the zeros of ζ, namely that ζ(s) 6= 0 whenever Re(s) > 1.
Since the infinite sum converges uniformly the infinite product also converges uniformly, and buy
Hurwitz’ theorem the limit cannot have any zeros in the set Re(s) > 1 since each finite product
does not.
2
A Discontinuous Integral
P
We are interested in the function π(x) = p≤x 1. We will now show how to write such a sum as
a certain integral of the zeta function. The first step is to turn the product over primes in Euler’s
identity into a sum by taking a logarithmic derivative:
−
Y
d
d
log ζ(s) =
log (1 − 1/ps )
ds
ds
p
d X
=
log(1 − 1/ps )
ds p
X d
log(1 − 1/ps )
=
ds
p
=
X log(p)(1/ps )
1 − 1/ps
p
=
X X log(p)
p
=
by uniform convergence
k
X Λ(n)
n
ns
pks
,
where Λ(n) is the von Mangoldt function:
(
log(p) p is a prime power
Λ(n) =
.
0
otherwise
This is not quite the prime function but it isn’t that
P far – the logarithm is a very slowly varying
function. It turns out that if we can our hands on n≤x Λ(n) there is a way to remove the log(p)
weights as well as the contribution from the prime powers (which I will explain later), yielding π(x).
There are currently two issues to doing this: the sum we have right now is over all the integers,
not just the integers upto x, and there’s this ns term which unlike the log seems like it’s actually
going to screw up the weighting substantially.
Both issues are handled by the same device. So far we’ve many times gone from partial sums
to infinite sums by taking a limit, but complex analysis offers us a way to go in the other direction
2
as well. For instance, you know that you can extract coefficients of a Taylor or Laurent series by
computing an integral. This is something like that but for a series which is not a power series.
The key observation is that when c > 0:
Z c+i∞ s
y
1
ds
2πi c−i∞ s
equals zero when y > 1 and one when y < 1. This is a simple exercise involving contour integration
which you will do in the homework (or maybe you have already done). Thus, if we multiply both
sides of the above identity by y s /s and integrate term by term, we are able to extract only those
terms of the series where n < x:
1
2πi
Z
c+i∞
−
c−i∞
1
ζ 0 (s) xs
ds =
ζ(s) s
2πi
Z
c+i∞ X
c−i∞
n
Λ(n) xs
ds.
ns s
At this point I would like to take the integral inside the sum, and I can almost do it because
the sum does converge uniformly in a strip containing the contour of integration. But it actually
doesn’t work because the contour of integration is infinite, and the usual uniform convergence/ML
estimate argument only works for finite contours. There is a (rather technical) way to show that
you can still swap the sum and the integral; I will skip this and just write:
Z c+i∞
X 1 Z c+i∞
X
1
ζ 0 (s) xs
Λ(n)(x/n)s ds =
ds =
Λ(n).
−
ζ(s) s
2πi c−i∞
s
c−i∞
n
n<x
We now move on to showing that removing the weights and throwing away the prime powers
doesn’t really change anything. The main claim is:
P
If n<x Λ(n) ∼ x then π(x) ∼ logx x .
Proof. There are two steps here. The first is that Λ(n) is counting not just primes but prime
powers. The second is that these primes (and powers) are being counted with weights that are
log(p). We will now show that both of these introduce changes that are negligible if all we are
interested in doing is showing that π(x) ∼ x/ log(x).
First, we have
X
X
X
Λ(x) =
log(p) +
log(p) + . . . .
pk <x
p<x
p2 <x
√
The latter term is at most x log(x), and there are at most log(x) terms, so the total contribution
√
is x log2 x = o(x). So we have
X
X
Λ(n) + o(x) =
log(p) =: ψ(x).
n<x
p<x
We will now remove the weights. Observe that if we had just reweighted the primes by log(x)
then we would be done. The intuition is that most of the contribution comes from primes where
the weight is really close to log(x) anyway. In particular:
X
X
log p +
log(p)
ψ(x) =
p<x/ log2 x
x>p>x/ log2 x
3
is at least
0 + (π(x) − π(x/ log2 x))(log x − log log(x) − log(2))
and at most
x/ log(x) + (π(x) − π(x/ log2 x)) log(x).
Rearranging we get
ψ(x) − x/ log(x)
ψ(x)
≤ π(x) − π(x/ log2 x) ≤
.
log(x)
log x − log log(x) − log(2)
Taking a limit as x → ∞ gives
π(x) − π(x/ log2 x) ∼
x
log(x)
Since π(x/ log2 x) ≤ x/ log2 x = o(x) we can ignore it and we get what we wanted.
The upshot is that if we can show that the integral
Z c+i∞
1
ζ0
xs
− (s) ds
2πi c−i∞
ζ
s
is asymptotic to x then we are done. We will sketch how to do this next time by defining an analytic
continuation of ζ to the entire complex plane minus a pole at s = 1, and then applying the residue
theorem.
4
Download