← Number theory

The Möbius function over polynomials, and a prime number theorem in one line

Over the integers, the Möbius function $\mu(n)$ is $(-1)^k$ when $n$ is a product of $k$ distinct primes and $0$ when $n$ has a repeated prime factor. Its partial sums, the Mertens function $$M(x) = \sum_{n \le x} \mu(n),$$ carry an astonishing amount of information. The prime number theorem is equivalent to $M(x) = o(x)$, and the Riemann hypothesis is equivalent to $M(x) \ll_\varepsilon x^{1/2+\varepsilon}$ for every $\varepsilon > 0$.

This post is about what happens when we replace $\mathbb{Z}$ by the polynomial ring $\mathbb{F}_q[t]$ over a finite field with $q$ elements. The answer is surprisingly clean, and it explains why function fields are such a good laboratory for problems that are hopeless over the integers.

The dictionary

The analogy rests on a short dictionary.

IntegersPolynomials over $\mathbb{F}_q$
positive integers $n$monic polynomials $f$
primes $p$monic irreducible polynomials $P$
size $n$norm $|f| = q^{\deg f}$
$n \le x$$\deg f = n$ (there are exactly $q^n$ of them)

Unique factorisation holds in $\mathbb{F}_q[t]$, so the Möbius function carries over verbatim: $\mu(f) = (-1)^k$ if $f$ is a product of $k$ distinct monic irreducibles, and $\mu(f) = 0$ if $f$ is divisible by the square of an irreducible.

The zeta function is a geometric series

Define the zeta function of $\mathbb{F}_q[t]$ as a power series in a variable $u$ (think $u = q^{-s}$): $$Z(u) = \sum_{f \text{ monic}} u^{\deg f} = \sum_{n \ge 0} q^n u^n = \frac{1}{1 - qu}.$$ Unique factorisation gives the Euler product $Z(u) = \prod_P (1 - u^{\deg P})^{-1}$, exactly as for the Riemann zeta function. Inverting the Euler product term by term, $$\sum_{f \text{ monic}} \mu(f)\, u^{\deg f} = \prod_P \left(1 - u^{\deg P}\right) = \frac{1}{Z(u)} = 1 - qu.$$

That is the whole computation. Comparing coefficients of $u^n$:

The polynomial Mertens function $$\sum_{\substack{f \text{ monic} \\ \deg f = n}} \mu(f) = \begin{cases} 1 & n = 0, \\ -q & n = 1, \\ 0 & n \ge 2. \end{cases}$$

Compare this with the integers, where the best unconditional bound for $M(x)$ saves only a factor of roughly $\exp\!\big(c(\log x)^{3/5}(\log\log x)^{-1/5}\big)$ over the trivial bound. Over $\mathbb{F}_q[t]$ the sum is not just small; it is exactly zero in every degree $n \ge 2$.

Half plus, half minus

The same trick counts squarefree polynomials. Since $\sum_{f \text{ squarefree}} u^{\deg f} = Z(u)/Z(u^2) = (1 - qu^2)/(1 - qu)$, there are $q^n - q^{n-1}$ squarefree monic polynomials of degree $n \ge 2$. Combined with the vanishing sum above, exactly half of them have $\mu(f) = +1$ and half have $\mu(f) = -1$.

A sanity check with $q = 2$, $n = 2$: the monic quadratics over $\mathbb{F}_2$ are $t^2$, $t^2 + 1 = (t+1)^2$, $t^2 + t = t(t+1)$ and the irreducible $t^2 + t + 1$. Their Möbius values are $0, 0, +1, -1$, which sum to $0$, and there are $2 = 2^2 - 2^1$ squarefree ones.

Check it yourself

The widget below factors every monic polynomial of the chosen degree over $\mathbb{F}_p$ by trial division, right in your browser, and tallies the Möbius values.

–μ = +1
–μ = −1
–μ = 0
–Σ μ(f)

Computing…

Where it gets hard: correlations

Sums of $\mu$ alone are trivial over $\mathbb{F}_q[t]$, but correlations are not. The function-field analogue of Chowla's conjecture asks whether, for a fixed non-zero polynomial $h$, $$\sum_{\substack{f \text{ monic} \\ \deg f = n}} \mu(f)\, \mu(f + h) = o(q^n) \qquad (n \to \infty).$$ Here the zeta function gives no help, because $\mu(f)\mu(f+h)$ is not multiplicative. Carmon and Rudnick proved a version in the limit $q \to \infty$ with $n$ fixed, using equidistribution results that ultimately rest on the Riemann hypothesis for curves. For fixed $q$, Sawin and Shusterman obtained a power saving under conditions relating $q$ to its characteristic, by a geometric analysis of the relevant varieties.

My own work lives in this territory: correlations of a truncated Möbius function $\mu_M$ over $\mathbb{F}_q[t]$. In the preprint Chowla Conjecture for the Truncated Möbius Function over $\mathbb{F}_q[t]$ (arXiv:2610.06471) I study the two-point correlation $\sum_f \mu_M(f)\,\mu_M(f + h)$ by turning it into a uniform bivariate Erdős–Kac theorem, which I prove through characteristic functions. The precise definition of $\mu_M$ and the statements are in the paper; the Erdős–Kac Lab shows the one-variable version of the phenomenon.

Beauty is the first test: there is no permanent place in the world for ugly mathematics.
G. H. HardyA Mathematician’s Apology, 1940

Further reading

  • M. Rosen, Number Theory in Function Fields, Graduate Texts in Mathematics 210, Springer, 2002. Chapters 1–2 cover everything above.
  • D. Carmon and Z. Rudnick, The autocorrelation of the Möbius function and Chowla's conjecture for the rational function field, Quarterly Journal of Mathematics, 2014.
  • W. Sawin and M. Shusterman, On the Chowla and twin primes conjectures over $\mathbb{F}_q[T]$, Annals of Mathematics, 2022.