AoPSWiki
Looking for a challenging geometry text? Preparing for MATHCOUNTS or the AMC exams? Check out Art of Problem Solving's Introduction to Geometry by Richard Rusczyk.
Personal tools

Prime Number Theorem

From AoPSWiki

This article is a stub. Help us out by expanding it.

Contents

Introduction

The aim of this article is to present the proof of the prime number theorem, which says that the number of primes not exceeding is approximately , or, more precisely, that

\lim_{n\to\infty}\frac {\pi(n)\ln n}{n}=1.

Unfortunately, all known proofs of the prime number theorem are quite involved and require knowledge of some college level material.

We shall start with some elementary observations due to Chebyshev.

Chebyshev's estimates

The key observation is that {2m\choose m}=\frac{(2m)!}{(m!)^2} is divisible by all primes satisfying . Indeed, every such prime appears in the numerator and does not appear in the denominator . Thus, \prod_{m<p\le 2m}p\le {2m\choose m}\le 2^{2m} (from now on, will always stand for a prime number, so, to shorten the notation, we will not explicitly write " is prime" in the descriptions of sum and product ranges). Similarly, considering {2m+1\choose m}=\frac{(2m+1)!}{m!(m+1)!}, we see that \prod_{m+1<p\le 2m+1}p\le {2m+1\choose m}\le 2^{2m} (the last inequality holds because {2m+1\choose m}={2m+1\choose m+1} and {2m+1\choose m}+{2m+1\choose m+1}\le 2^{2m+1}). Now we are ready to prove the

Upper bound for the product of primes

Lemma 1

For every positive integer , we have .

Proof of Lemma 1

Induction on . The base is obvious. Suppose now that the statement holds for all numbers strictly less than . If is even, then

\prod_{p\le n}p=\left(\prod_{p\le m}p\right)\cdot \left(\prod_{m<p\le 2m}p\right)\le4^m 2^{2m}=4^{2m}=4^n.

If is odd, then

\prod_{p\le n}p=\left(\prod_{p\le m+1}p\right)\cdot \left(\prod_{m+1<p\le 2m+1}p\right)\le4^{m+1} 2^{2m}=4^{2m+1}=4^n.


From this lemma we can easily derive the

Upper bound for the number of primes

Lemma 2

for large

Proof of Lemma 2

Rewrite the inequality of Lemma 1 as . It follows that \frac 12\ln n(\pi(n)-\pi(\sqrt n))\le \sum_{\sqrt n<p<n}\ln p\le n\ln 4. But then \pi(n)\le 2\ln 4\frac{n}{\ln n}+\pi(\sqrt n)\le 2\ln 4\,\frac{n}{\ln n}+\sqrt n< 4\frac{n}{\ln n} for large .


Now, let us turn to elementary lower bounds. They are not required for the proof of the prime number theorem outlined below, but they may be of some independent interest, especially to those who haven't taken advanced courses in analysis and may be unable to go through the entire proof yet.

Lower bound for the product of primes

Lemma 3

\prod_{p\le n}p\ge \frac{2^{n}}{(n+1)\cdot n^{\sqrt{n}}}.

Proof of Lemma 3

The idea is again to investigate the prime factorization of {n\choose \lfloor \frac n2 \rfloor}. We shall give the proof for odd (the case of even is similar). Recall that the power in which a prime number appears in the prime factorization of equals \left\lfloor \frac \ell{p}\right\rfloor+\left\lfloor \frac \ell{p^2}\right\rfloor+\left\lfloor \frac \ell{p^3}\right\rfloor+\dots (see factorial for the proof). Therefore, the power in which appears in the prime factorization of equals \sum_{k\ge 1}\left(\left\lfloor \frac n{p^k}\right\rfloor-\left\lfloor \frac m{p^k}\right\rfloor-\left\lfloor \frac {m+1}{p^k}\right\rfloor\right). Note that each term in the last sum does not exceed and the number of non-zero terms does not exceed \left\lfloor {\log_p n}\right\rfloor, which is for all . Hence

{n\choose m}\le \left(\prod_{\sqrt n<p\le n}p\right)\cdot\left(\prod_{p\le \sqrt n}p^{\lfloor\log_p n\rfloor}\right)\le \left(\prod_{p\le n}p\right)\cdot n^{\pi(\sqrt n)}\le n^{\sqrt n}\cdot \prod_{p\le n}p.

On the other hand, is the largest of the binomial coefficients whose sum is . Thus, {n\choose m}\ge \frac{2^n}{(n+1)} whence the estimate of the lemma.

Lower bound for the number of primes

Lemma 4

\pi(n)\ge \frac 12\,\frac n{\ln n} for large

Proof of Lemma 2

Rewrite the inequality of Lemma 3 as \sum_{p\le n}\ln p\ge n\ln 2-\ln(n+1)-\sqrt n\,\ln n > \frac 12 n for large . The left hand side does not exceed whence the lemma.


We haven't proved the prime number theorem yet, but we showed that \frac 12\,\frac n{\ln n}\le \pi(n)\le 4\,\frac n{\ln n} for all sufficiently large . For many readers, it is probably a good idea to stop here and to proceed to Bertrand's postulate. The material below this point requires good knowledge of analysis and is, probably, accessible to college students only.

Von Mangoldt function and reformulation of the prime number theorem

For a positive integer , define if is a pure positive integer power of a prime and otherwise (so \Lambda(2)=\Lambda(4)=\Lambda(8)=\dots=\ln 2, \Lambda(3)=\Lambda(9)=\Lambda(27)=\dots=\ln 3 and so on.) Let \psi(x)=\sum_{n\le x}\Lambda(n)

Lemma 5

The prime number theorem is equivalent to \lim_{x\to+\infty}\frac{\psi(x)}{x}=1.

Proof of Lemma 5

Note that for , we have \psi(x)=\sum_{p\le x}\lfloor \log_p x\rfloor\ln p. Since \lfloor \log_p x\rfloor\ln p\le \ln x, we immediately get . Let now . For , we have and, therefore, \psi(x)\ge \sum_{x^\alpha<p\le x}\ln p\ge \alpha[\pi(x)-\pi(x^\alpha)]\ln x, which can be rewritten as \pi(x)\ln x\le \frac 1{\alpha}\psi(x)+\pi(x^\alpha)\ln x\le \frac 1{\alpha}\psi(x)+x^\alpha\ln x. Thus,

\psi(x)\le \pi(x)\ln x\le  \frac 1{\alpha}\psi(x)+x^\alpha\ln x.

Assume now that we know that \lim_{x\to+\infty}\frac{\psi(x)}{x}=1. Dividing by and passing to the limit as , we get

1\le\liminf_{x\to+\infty}\frac{\pi(x)\ln x}{x}\le \limsup_{x\to+\infty}\frac{\pi(x)\ln x}{x}\le\frac 1\alpha\,.

Since it is true for all , we conclude that \lim_{x\to+\infty}\frac{\pi(x)\ln x}{x}=1. This proves one half of the statement of the lemma (and this is the only half we'll need). The proof of the other half is similar and left to the reader as an exercise.

Connection with Riemann zeta function

Write -function as the Euler product \zeta(s)=\prod_p (1-p^{-s})^{-1} and take minus logarithmic derivative of both sides. We'll get the formula

-\frac{\zeta'(s)}{\zeta(s)}=\sum_p\frac {p^{-s}\ln p}{1-p^{-s}}=\sum_p\sum_{k\ge 1}\frac{\ln p}{p^{ks}}=\sum_{n\ge 1}\frac {\Lambda(n)}{n^s}=\int_1^\infty \frac{d\psi(x)}{x^s}=s\int_{1}^\infty\frac{\psi(x)}{x^s}\,\frac{dx}{x}

if .

Let now . Then, making the change of variable in the last integral, we get

\int_{0}^\infty \xi(t)e^{-(s-1)t}\,dt=-\frac{\zeta'(s)}{s\zeta(s)}-\frac 1{s-1} for all with .

Since the -function has a simple pole at and no zeroes on the line , the right hand side represents a function analytic in some domain containing the closed half-plane \{s\in\mathbb C\,:\,\Re s\ge 1\}.

End of proof

By the Chebyshev's estimates, we have for large , so is bounded and we can apply Newman's Tauberian Theorem and conclude that converges.

Now note that cannot decrease fast. More precisely,

\xi(t')-\xi(t)=\frac{\psi(e^{t'})}{e^{t'}}-\frac{\psi(e^{t})}{e^{t}}\ge\frac{\psi(e^{t})}{e^{t'}}-\frac{\psi(e^{t})}{e^{t}}=\frac{\psi(e^{t})}{e^{t}}(e^{t-t'}-1)\ge -\frac{\psi(e^{t})}{e^{t}}(t'-t)\ge -C(t'-t)

for all with some absolute constant . The last step is to show that, together with convergence of the integral , this condition implies that as .

To be continued

Preparing for MATHCOUNTS or the AMC contests, and having a tough time with number theory problems? Read Art of Problem Solving's Introduction to Number Theory by Mathew Crawford.
© Copyright 2008 AoPS Incorporated. All Rights Reserved. • FoundationPrivacyContact Us