The Dirichlet Hyperbola Method
07 Mar 2019Recently, I had to use a classical number theory estimate for my undergrad thesis. By pure coincidence, I ran into my batchmates Jessica and James revising for an analytic number theory class, and they taught me exactly the method I needed. In this post, we go through the Dirichlet hyperbola method for estimating certain sums of arithmetic functions.
Suppose we want to find the number of integer lattice points in the first quadrant under the hyperbola $xy=N$, ie. the size of the set
We could try to estimate this directly:
However, note that this estimate is not very tight. For instance, for $\frac N2\leq n\leq N$, we know that the summand is exactly $1$, but we are still incurring $O(1)$ error every term.
For a sharper estimate, we truncate the sum at some $1\leq u\leq N$, and estimate the remainder:
As before, the first sum is equal to
Here we have used the sharper asymptotic
Write $v=N/u$. Then note that we have the disjoint union
Hence the second sum is equal to
Putting these estimates together, we have
To minimise the error, we take $u=v=\sqrt N$, to finally obtain
The hyperbola method
More generally, we can apply the same method to sum certain arithmetic functions.
Recall that the convolution of two functions $g,h:\bb Z_{>0}\to\bb R$ is defined by
Suppose that we want to estimate the asymptotic growth of the partial sums $\sum_{n\leq N}f(n)$. Now if we can write $f=g* h$ for some $g,h$, then we have
Now define the partial sums $G(n)=\sum_{x\leq n}g(x)$ and $H(n)=\sum_{x\leq n}h(x)$. For any choice of $u,v\geq0$ with $uv=N$, the trick in the previous section gives
This identity is known as the Dirichlet hyperbola method, since it depends on a certain partition of the lattice points under the hyperbola $xy=N$. This is best seen with the help of the following picture; the three terms in the last line above are represented by the blue, red, and purple areas respectively.
The example we gave in the previous section is the case when $g\equiv h\equiv1$. In this case, we have $f=1* 1=d$, the number-of-divisors function (sometimes written $\tau$). Hence we can interpret the result as the asymptotic for the partial sums of the number-of-divisors function,
More examples
Let $\sigma$ be the sum-of-divisors function. Note that $\sigma=\Id* 1$, where $\Id$ is the identity function $\Id(n)=n$. By the Dirichlet hyperbola method, we have
By some experimentation, we see that we cannot do better than setting $u=1$, $v=N$, which yields
For another example, we will compute the asymptotic for partial sums of $\varphi$, the Euler totient function. It is well-known that $\varphi* 1=\Id$ (proof sketch: consider the denominators of the fractions $\{\frac1n,\frac2n,\ldots,\frac nn\}$ when reduced to lowest terms), so by Möbius inversion we have $\varphi=\Id* \mu$, where $\mu$ is the Möbius function. We now apply the Dirichlet hyperbola method with $u=1^-$, $v=N^+$ to obtain
where it remains to compute the sum
By Möbius inversion, we know that $\mu* 1=\delta$, where
Now by the theory of Dirichlet series, we have
valid for all $\Re(s)>1$. Hence
so $s=2$ gives $C=\frac1{\zeta(2)}$. Hence
Comments (0)
Be the first to comment!