Chebyshev's Bounds
By 1850 everyone believed the
primes thin out
like x/\ln x — Gauss and Legendre had guessed it from tables half a
century earlier — but nobody could prove a single honest inequality about
\pi(x). Pafnuty Chebyshev broke the deadlock. Using nothing more exotic
than the prime factorisation of a factorial and a clever look at a middle binomial coefficient, he
showed in 1852 that \pi(x) is pinned to the right order of
magnitude: there are real constants close to 1 so that
c_1\,\frac{x}{\ln x} \;\le\; \pi(x) \;\le\; c_2\,\frac{x}{\ln x} \qquad\text{for all large } x.
This is a genuine theorem, forty years ahead of the
Prime Number Theorem,
and it needs no complex analysis at all. It doesn't say the ratio converges — that was still
out of reach — but it traps it in a narrow band and, tantalisingly, shows that if a limit exists it
can only be 1. This page walks the whole elementary argument.
The right object to count: ψ(x), not π(x)
Counting primes directly is awkward because a logarithm sits invisibly inside every prime. The trick
that makes everything additive is to weight each prime power by \ln p. That
is the von Mangoldt function
\Lambda(n), and its running total is Chebyshev's psi function:
\psi(x) = \sum_{n \le x} \Lambda(n) = \sum_{p^k \le x} \ln p = \sum_{p \le x} \left\lfloor \frac{\ln x}{\ln p}\right\rfloor \ln p.
Read the middle sum aloud: add \ln p once for every prime power
p^k (with k\ge 1) that does not exceed
x. There is a close cousin, the theta function
\vartheta(x) = \sum_{p \le x}\ln p, which keeps only the first power
k=1. The two differ by a negligible amount — the higher prime powers
contribute only O(\sqrt{x}\,\ln x) — so bounding one bounds the other.
The following three statements are equivalent (each implies the others up to constants):
- \psi(x) \asymp x, i.e. c_1 x \le \psi(x) \le c_2 x;
- \vartheta(x) \asymp x;
- \pi(x) \asymp x/\ln x.
The bridge from \vartheta to \pi is
partial summation: since \vartheta(x)=\sum_{p\le x}\ln p and each
\ln p \le \ln x, we get \vartheta(x) \le \pi(x)\ln x
immediately, and a matching bound in the other direction. So we may forget primes for a while and just
bound \psi(x) — a purely additive quantity.
The engine: how primes divide a factorial
Chebyshev's whole argument runs on one classical fact about factorials, due to Legendre. Ask: to what
power does a prime p divide n!?
The exponent of the prime p in n! is
v_p(n!) = \sum_{k \ge 1} \left\lfloor \frac{n}{p^{k}} \right\rfloor = \left\lfloor \frac{n}{p} \right\rfloor + \left\lfloor \frac{n}{p^2} \right\rfloor + \left\lfloor \frac{n}{p^3} \right\rfloor + \cdots
The reasoning is a tidy piece of counting. Among 1,2,\dots,n exactly
\lfloor n/p\rfloor are multiples of p — each
contributes at least one factor of p. Of those,
\lfloor n/p^2\rfloor are multiples of p^2 and
contribute a second factor, and so on up the tower. Summing the layers gives the formula. For
example, v_2(10!) = 5+2+1 = 8, so 2^8 \parallel 10!.
Now take logarithms of n! = \prod_{p \le n} p^{\,v_p(n!)}:
\ln(n!) = \sum_{p \le n} v_p(n!)\,\ln p = \sum_{p \le n}\sum_{k\ge 1} \left\lfloor \frac{n}{p^{k}}\right\rfloor \ln p.
The double sum on the right is almost \psi in disguise — indeed one
can show \ln(n!) = \sum_{m\le n}\psi(n/m). That link between a factorial we
can estimate and the \psi we want to bound is the entire secret.
The clever choice: the central binomial coefficient
Rather than n! alone, Chebyshev looked at the central binomial
coefficient
\binom{2n}{n} = \frac{(2n)!}{(n!)^2}.
Why this one? Two facts about its size clamp it from both sides. First, it is one term of the
expansion \sum_{j=0}^{2n}\binom{2n}{j} = 2^{2n} = 4^{n}, and it is the
largest of the 2n+1 terms, so
\frac{4^{n}}{2n+1} \;\le\; \binom{2n}{n} \;\le\; 4^{n}.
Taking logs, \ln\binom{2n}{n} = (2\ln 2)\,n + O(\ln n). So its logarithm is
essentially (2\ln 2)n \approx 1.386\,n — a clean, known quantity. Second, by
Legendre's formula the exponent of p in it is
v_p\!\left(\binom{2n}{n}\right) = \sum_{k\ge 1}\left(\left\lfloor\frac{2n}{p^{k}}\right\rfloor - 2\left\lfloor\frac{n}{p^{k}}\right\rfloor\right).
Each bracket \lfloor 2y\rfloor - 2\lfloor y\rfloor is either
0 or 1 — never more. And the only powers
p^k that can contribute are those with p^k \le 2n,
so at most \lfloor \ln(2n)/\ln p\rfloor layers survive. Hence
v_p\binom{2n}{n}\,\ln p \le \ln(2n) for each prime, and
\ln\binom{2n}{n} = \sum_{p \le 2n} v_p\!\left(\binom{2n}{n}\right)\ln p \;\le\; \sum_{p\le 2n}\ln(2n) = \pi(2n)\,\ln(2n).
Squeezing ψ from both sides
Combining the two facts about \binom{2n}{n} gives both halves of
Chebyshev's estimate.
Lower bound. From \binom{2n}{n} \ge 4^{n}/(2n+1) and the
fact that \ln\binom{2n}{n} \le \psi(2n) (every prime power dividing it is
\le 2n, and each contributes at most its full \ln p
weight, which \psi(2n) already counts),
\psi(2n) \;\ge\; \ln\binom{2n}{n} \;\ge\; 2n\ln 2 - \ln(2n+1).
Dividing by 2n, we find \psi(2n)/(2n) \ge \ln 2 - o(1),
so \liminf \psi(x)/x \ge \ln 2 \approx 0.693. A little more care (using
\vartheta and summing a telescoping bound) sharpens the lower constant to
Chebyshev's celebrated
c_1 = \ln\!\left(\frac{2^{1/2}\,3^{1/3}\,5^{1/5}}{30^{1/30}}\right) \approx 0.92129.
Upper bound. Consider the difference \psi(2n) - \psi(n): it
counts (with \ln p weight) exactly the prime powers in the half-open range
(n, 2n]. Every prime p with
n < p \le 2n divides (2n)! once but does not divide
(n!)^2 at all, so it divides \binom{2n}{n}. Therefore
\vartheta(2n) - \vartheta(n) \;\le\; \ln\binom{2n}{n} \;\le\; 2n\ln 2.
Feeding this back at the dyadic scales n, n/2, n/4,\dots and adding the
telescoping pieces gives \vartheta(x) \le (2\ln 2)\,x, hence
\psi(x) \le c_2\, x with Chebyshev's upper constant
c_2 = \frac{6}{5}\,c_1 \approx 1.10555.
- There exist constants 0 < c_1 < 1 < c_2 with
c_1 x \le \psi(x) \le c_2 x for all sufficiently large
x;
- Chebyshev's own values were c_1 \approx 0.921 and
c_2 \approx 1.106, equivalently
c_1\, x/\ln x \ll \pi(x) \ll c_2\, x/\ln x;
- consequently \displaystyle \liminf_{x\to\infty}\frac{\psi(x)}{x} \le 1 \le \limsup_{x\to\infty}\frac{\psi(x)}{x}, so if the limit exists it must equal 1.
Seeing the band
Here is \psi(x)/x plotted against x. It jitters
— every prime power makes it jump — but it never escapes the horizontal corridor between Chebyshev's
two constants c_1 \approx 0.921 (lower line) and
c_2 \approx 1.106 (upper line). The dashed line at height
1 is where the Prime Number Theorem eventually says the wiggling ratio must
settle — but Chebyshev's argument alone only guarantees the corridor, not the landing.
The picture makes the gap between Chebyshev and the PNT vivid: a band is not a limit. Watch how the
ratio keeps crossing the dashed y=1 line back and forth. Chebyshev proved
the walls of the corridor; showing that the wandering path actually converges to the centre took
Riemann's zeta function and another four decades.
Worked example: an upper bound for π(x) from the binomial
Let's extract a concrete numerical bound on \pi(x) — the kind Chebyshev's
method delivers — using only the central binomial coefficient. Recall
\prod_{n < p \le 2n} p \;\Big|\; \binom{2n}{n} \;\le\; 4^{n}.
Every prime in (n, 2n] exceeds n, and there are
\pi(2n) - \pi(n) of them, so their product is at least
n^{\,\pi(2n)-\pi(n)}. Hence
n^{\,\pi(2n)-\pi(n)} \le 4^{n} \quad\Longrightarrow\quad \big(\pi(2n)-\pi(n)\big)\ln n \le 2n\ln 2.
So \pi(2n) - \pi(n) \le \dfrac{2\ln 2}{\ln n}\,n. Summing this over the dyadic
blocks x, x/2, x/4, \dots telescopes to an upper bound of the shape
\pi(x) \le C\,\frac{x}{\ln x}, \qquad C = 2\ln 2 \cdot (1 + o(1)) \approx 1.39,
a completely explicit ceiling on the number of primes, obtained without a whisper of complex analysis.
The matching floor comes from the lower bound on \binom{2n}{n} the same way.
That both constants sit within about 40\% of 1 —
and Chebyshev's sharper bookkeeping pulls them to within 10\% — is the whole
force of the theorem.
It is tempting to read c_1 x \le \psi(x) \le c_2 x as "so
\psi(x) \sim x" — but that is a real logical leap the theorem does
not license. Trapping a ratio in a band, even a narrow one around
1, does not force it to converge. As far as Chebyshev's inequality
knows, \psi(x)/x could oscillate forever between
0.921 and 1.106 without ever settling. What
Chebyshev did prove is the conditional statement: if
\psi(x)/x has a limit, that limit is 1 (because
the \liminf \le 1 \le \limsup). Removing that "if" — proving the limit
actually exists — is exactly the content of the PNT, and it genuinely needed a new idea (the
non-vanishing of \zeta on \Re(s)=1). Band:
elementary. Convergence: deep.
The immediate prize was Bertrand's postulate: for every
n \ge 1 there is a prime with n < p \le 2n.
Chebyshev's estimate of \vartheta(2n)-\vartheta(n) is precisely strong
enough to show that gap is never empty, giving the first proof of Bertrand's conjecture in 1852. The
very same \binom{2n}{n} that walls in \psi forces
a prime into every interval (n, 2n] — Erdős later turned this into a famous
one-page proof he found as a teenager. Chebyshev's weighting by \ln p is
also exactly what makes the primes sum additively, which is why \psi, not
\pi, became the central character of every later proof of the PNT.