By density of coprime pairs, I mean the proportion of pairs integers between $1$ and $x$ which are coprime. This is known to be asymptotically $1/\zeta(2)$. I want something much weaker, namely that the proportion does not go to zero. I would like a proof that is short and self-contained, so it shouldn't rely on other theorems.
-
9$\begingroup$ The proof that the proportion is $1/\zeta(2)+O((\log x)/x)$ is short and more-or-less self-contained, modulo a basic statement of Möbius inversion (which itself has a short proof). See e.g. Theorem 3.7 in Apostol, Introduction to analytic number theory. $\endgroup$– Emil JeřábekCommented Sep 12, 2023 at 8:25
3 Answers
I would say that the standard proof is elementary enough, but here is an argument that avoids the Möbius function and the Riemann zeta function.
Let $A_d$ be the set of pairs $(a,b)$ where $a,b\le x$ are both divisible by $d$. Your set of pairs is $A_1\setminus \bigcup_{p\le x} A_p$ where $p$ ranges over primes. So its size is, by a union bound, $\ge |A_1|-\sum_{p\le x} |A_p|$. Since $|A_d|=\lfloor x/d \rfloor^2 \le x^2/d^2$, it suffices to show that $\sum_p 1/p^2$ is strictly less than $1$. This is the case since this series is dominated by $1/4 +\sum_{n\ge 3}1/(n(n-1))=3/4$.
-
10$\begingroup$ One could adapt this argument to work even if the numerical value of $\sum_p 1/p^2$ exceeded 1, so long as it was finite, by localizing to avoid the effect of the first few primes. For instance, if one restricts $a$ to be even and $b$ to be odd from the outset, then there is no longer an obstruction to coprimality at $p=2$, while all the other prime obstructions are essentially unaffected, thus effectively removing the $p=2$ term from the sum $\sum_p 1/p^2$. If $\sum_p 1/p^2$ is known to be finite then one eventually drop this sum below 1 by removing finitely many primes in this fashion. $\endgroup$ Commented Sep 13, 2023 at 15:03
A purely geometric argument involving no convergent sum (but a simple limit):
Suppose $x=2y$ even for simplicity.
The small square $s=[0,y]^2$ contains $(y+1)^2$ integer points and the large square $S=[0,2y]^2$ contains $(2y+1)^2$ integer points. Consider a line $\mathbb R(a,b)$ containing $(0,0)$ and an integer point $(a,b)\in S\setminus s$. Such a line intersects the large square $S$ in $K+1\geq 2$ integer points and it intersect the small square $s$ in $k+1$ integer points. $a,b$ are coprime if and only if $k=0$. We have however $2(k+1)-1\leq K+1\leq 2(k+1)$ (by elementary geometric considerations) showing $k\leq K-k\leq k+1\leq 2k$ if $k\geq 1$. Since $\mathbb R(a,b)$ contains $K-k$ integral points in $S\setminus s$, this implies that $S\setminus s$ contains at least $(2y+1)^2-(y+1)^2-2(y+1)^2$ coprime pairs. The proportion of coprime integers up to $x$ (even but this does not matter asymptotically) is thus at least equal to $1/4$.
-
2$\begingroup$ This is very nice! Especially because in fact this geometric form is what I needed, I just rephrased it with coprimes. $\endgroup$– domotorpCommented Sep 13, 2023 at 18:52
-
1$\begingroup$ I would modify the notation so that the symbol $b$ is not being used for two different purposes. $\endgroup$ Commented Sep 14, 2023 at 16:28
-
$\begingroup$ Thanks, Terry. (I have changed the names of the sets.) $\endgroup$ Commented Sep 15, 2023 at 10:57
I have put a longer writeup around the method described below in the Aperiodical's 2024 edition of "The Big Internet Math-Off," which can be found here!
If you imagine coloring the points with $x,y$ such that $\gcd(x,y) = 1$ in black, then you can consider what it would look like to color those that have $\gcd(x,y) = 2$ in red: there would be, in some sense, about $1/4$ as many of them by the matching that takes a black point like $(3,7)$ and transforms it into a red point by multiplying each factor by $2$ to get the point $(6,14)$.
If you push this geometric view/interpretation through, then you can see that there should be $1/9$ as many of the black points when looking at those pairs with $\gcd(x,y) = 3$.
Denoting by $p$ the probability that $\gcd(x,y) = 1$ (again, to make this sensible we are not really quantifying over "all" positive integers but rather those that are $\leq N$ for some large $N$).
Then we have:
$$p + \frac{1}{2^2}p + \frac{1}{3^2}p + \frac{1}{4^2}p + \cdots = 1$$
where the left hand side is the sum of the various probabilities of different gcd's, and the right hand side is, therefore, one (since the two numbers must have some gcd).
But now we end up with:
$$p = \frac{1}{\sum_{n\geq1}\frac{1}{n^2}}$$
The denominator is $\zeta(2)$, so this is the full result (modulo slight hand waving at the top) and uses relatively simple techniques. If you really want only that the density does not go to zero, then it suffices to show that the denominator converges; this is a pre-Calculus or Calculus result with a "$p$-series for $p > 1$".
For a collection of problems that scaffold in this way, you can find some wonderfully assembled ones from PCMI here.