Counting 2 times 2 integer matrices with a given determinant
Pith reviewed 2026-05-21 22:53 UTC · model grok-4.3
The pith
The number of 2x2 integer matrices with entries in [-N,N] and determinant h equals (16/ζ(2)) N² times the sum of 1/d over divisors d of h, plus an error O(N^ε(N+h)).
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
T(h,N) equals (16/ζ(2)) N² (sum_{d|h} 1/d) plus an error bounded by N^ε (N + h) for any ε>0, whenever 1 ≤ h ≤ 2N². The result improves earlier work and shows that the error term is of approximately the right size when h is large.
What carries the argument
The main term (16/ζ(2)) N² ∑_{d|h} 1/d, which encodes the average number of ways to realize determinant h through differences of products of bounded integers.
If this is right
- Square-root cancellation holds in the error term whenever h is at most N.
- The error reaches the expected order of magnitude when h grows as large as N².
- The formula gives a quantitative improvement over previous asymptotic results for the same counting problem.
- Averaging the main term over h yields the total number of 2x2 matrices with entries in [-N,N].
Where Pith is reading between the lines
- The same approach could be tested on matrices with other fixed invariants such as trace.
- Numerical verification for moderate N would directly confirm the constant 16/ζ(2).
- The counting method may extend to higher-rank lattices or to determinants of random integer matrices.
Load-bearing premise
The analytic estimates that bound the remainder term uniformly by N to a small power times (N plus h) are valid over the full stated range of h and N.
What would settle it
Compute the exact T(1,N) for N around 1000 and check whether the value lies within N^{1.1} of the predicted main term (16/ζ(2)) N².
read the original abstract
Given positive integers $h, N$ satisfying $1 \leqslant h \leqslant 2N^2$, we define $T(h,N)$ to be the number of $2\times 2$ integer matrices with determinant equal to $h$ whose entries lie in $[-N,N]$. Our main result states that for any $\varepsilon >0$, one has \[ T(h,N) = \frac{16}{\zeta(2)} N^2 \bigg( \sum_{d |h} \frac{1}{d} \bigg) + O_{\varepsilon}(N^{\varepsilon} (N+ h)).\] This quantitatively improves upon recent work of Afifurrahman and Ganguly--Guria, and delivers square-root cancellation estimates when $h \leq N$. We further show that when $h$ is large, the error term is of approximately the correct order.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript counts the number T(h,N) of 2×2 integer matrices with entries in [-N,N] and determinant exactly equal to h, for positive integers h,N satisfying 1 ≤ h ≤ 2N². The central result is the asymptotic T(h,N) = (16/ζ(2)) N² (∑_{d|h} 1/d) + O_ε(N^ε (N + h)) for any ε > 0. The paper improves on prior work of Afifurrahman and Ganguly–Guria, obtains square-root cancellation when h ≤ N, and shows via an explicit Omega construction that the error term is of the correct order when h is large.
Significance. If the stated asymptotic holds, the result supplies a uniform power-saving error term across the full range of h up to 2N², which is a clear quantitative advance over earlier counts of matrices with fixed determinant. The main term follows from the standard representation of the indicator function for ad − bc = h via summation over common divisors, producing the factor 16/ζ(2) times the sum over divisors after averaging over the box [-N,N]^4. The error analysis splits into diagonal and off-diagonal contributions and applies standard bounds on the resulting divisor sums (or exponential sums) to obtain the N^ε factor uniformly; the explicit Omega construction for large h confirms sharpness. These features make the work a solid contribution to analytic number theory.
minor comments (3)
- [§1] §1 (Introduction): the comparison with the error terms in Afifurrahman and Ganguly–Guria is mentioned only briefly; a short explicit statement of how the new error improves on the previous one would aid readability.
- [§3] The proof of the main term in §3 proceeds from the standard Euler-product representation of the indicator; the factor 16/ζ(2) is correctly identified, but a one-line reminder of why the constant is exactly 16/ζ(2) (rather than 4/ζ(2) or another multiple) would prevent any momentary confusion for readers.
- [§5] The Omega construction for the error term when h is large is stated in the abstract and §5; it would be helpful to record the precise lower-bound constant or the choice of h (e.g., h = N²) in the statement of the theorem itself.
Simulated Author's Rebuttal
We thank the referee for their positive and accurate summary of our manuscript, as well as for recommending minor revision. The referee correctly identifies the main asymptotic formula for T(h,N), its improvement over prior work, the square-root cancellation for small h, and the Omega result establishing sharpness of the error term for large h. We appreciate the recognition that this supplies a uniform power-saving error term across the full range of h.
Circularity Check
No significant circularity; derivation self-contained
full rationale
The main term for T(h,N) is obtained by expressing the indicator of ad-bc=h as a sum over common divisors of the entries and then averaging over the box [-N,N]^4, which directly produces the factor 16/ζ(2) times ∑_{d|h} 1/d using only the Euler product for ζ(2) and the divisor function; neither quantity is defined in terms of T(h,N). The error term is derived by splitting into diagonal and off-diagonal contributions and applying standard bounds on the resulting exponential or divisor sums, yielding the N^ε factor uniformly. No self-citations are load-bearing, no parameters are fitted to subsets of the count and then relabeled as predictions, and no ansatz or uniqueness theorem is imported from prior work by the same authors. The derivation therefore rests on independent analytic estimates and does not reduce to its own inputs by construction.
Axiom & Free-Parameter Ledger
axioms (1)
- standard math The Riemann zeta function at 2 equals π²/6 and appears as the normalizing constant for coprimality probabilities in lattice counts.
Lean theorems connected to this paper
-
IndisputableMonolith/Cost/FunctionalEquation.leanwashburn_uniqueness_aczel unclear?
unclearRelation between the paper passage and the cited Recognition theorem.
T(h,N)=16/ζ(2) N² (∑_{d|h} 1/d) + O_ε(N^ε(N+h))
What do these tags mean?
- matches
- The paper's claim is directly supported by a theorem in the formal canon.
- supports
- The theorem supports part of the paper's argument, but the paper may add assumptions or extra steps.
- extends
- The paper goes beyond the formal theorem; the theorem is a base layer rather than the whole result.
- uses
- The paper appears to rely on the theorem as machinery.
- contradicts
- The paper's claim conflicts with a theorem or certificate in the canon.
- unclear
- Pith found a possible connection, but the passage is too broad, indirect, or ambiguous to say the theorem truly supports the claim.
Forward citations
Cited by 1 Pith paper
-
Counting solutions to the quadratic determinant equation
Proves asymptotic count of solutions to x1 x2 - x3 x4 = h for xi in [-N, N] with square-root cancellation when h = N^2 + O(N), confirming a prior speculation.
Reference graph
Works this paper leans on
-
[1]
M. Afifurrahman,A uniform formula on the number of integer matrices with given determinant and height, arXiv:2407.08191
-
[2]
T. Apostol,Introduction to analytic number theory, Undergraduate Texts in Mathematics, Springer- Verlag, New York-Heidelberg, 1976
work page 1976
- [3]
- [4]
- [5]
-
[6]
T. F. Bloom, S. Chow, A. Gafni, A. Walker,Additive energy and the metric Poissonian property, Mathematika 64 (2018), no. 3, 679–700
work page 2018
- [7]
-
[8]
R. J. Duffin, A. C. Schaeffer,Khintchine’s problem in metric Diophantine approximation, Duke Math. J.8(1941), 243–255
work page 1941
-
[9]
W. Duke, Z. Rudnick, P. Sarnak,Density of integer points on affine homogeneous varieties, Duke Math. J.71(1993) 143–179
work page 1993
-
[10]
Estermann,On the Representations of a Number as the Sum of Two Products, Proc
T. Estermann,On the Representations of a Number as the Sum of Two Products, Proc. London Math. Soc. (2)31(1930), no. 2, 123–133
work page 1930
-
[11]
S. Ganguly, R. Guria,Lattice points on determinant surfaces and the spectrum of the automorphic Laplacian, arXiv:2410.04637
work page internal anchor Pith review arXiv
-
[12]
A. Gorodnik, A. Nevo, G. Yehoshua,Counting lattice points in norm balls on higher rank simple Lie groups, Math. Res. Lett. 24 (2017), no. 5, 1285–1306
work page 2017
-
[13]
A. J. Harper, A. Nikeghbali, M. Radziwi l l,A note on Helson’s conjecture on moments of random multiplicative functions, Analytic number theory, 145–169, Springer, Cham, 2015
work page 2015
-
[14]
W. P. Heap, S. Lindqvist,Moments of random multiplicative functions and truncated characteristic polynomials, Q. J. Math.67(2016), no. 4, 683–714
work page 2016
-
[15]
D. R. Heath-Brown,The fourth power moment of the Riemann zeta function, Proc. London Math. Soc. (3)38(1979), no. 3, 385–422
work page 1979
-
[16]
D. R. Heath-Brown,The Pjatecki˘ ı–˘Sapiro prime number theorem, J. Number Theory16(1983), 242– 266
work page 1983
-
[17]
D. R. Heath-Brown,A new form of the circle method, and its application to quadratic forms, J. Reine Angew. Math.481(1996), 149–206. 20 JONATHAN CHAPMAN AND AKSHAT MUDGAL
work page 1996
-
[18]
Iwaniec,Spectral methods of automorphic forms, Second edition Grad
H. Iwaniec,Spectral methods of automorphic forms, Second edition Grad. Stud. Math., 53 American Mathematical Society, Providence, RI; Revista Matem´ atica Iberoamericana, Madrid, 2002. xii+220 pp. ISBN:0-8218-3160-7
work page 2002
-
[19]
Y. R. Katznelson,Singular matrices and a uniform bound for congruence groups ofSL n(Z), Duke Math. J.69(1993), no. 1, 121–136
work page 1993
-
[20]
H. Kim,Functoriality for the exterior square ofGL 4 and the symmetric fourth ofGL 2, With appendix 1 by D. Ramakrishnan and appendix 2 by Kim and P. Sarnak, J. Amer. Math. Soc.16(2003), no. 1, 139–183
work page 2003
-
[21]
McGrath,On the asymmetric additive energy of polynomials, Trans
O. McGrath,On the asymmetric additive energy of polynomials, Trans. Amer. Math. Soc. 377 (2024), no. 7, 4895–4930
work page 2024
-
[22]
T. Meurman,On the binary additive divisor problem, Number theory (Turku, 1999), 223—246, Walter de Gruyter & Co., Berlin, 2001
work page 1999
-
[23]
Motohashi,The binary additive divisor problem, Ann
Y. Motohashi,The binary additive divisor problem, Ann. Sci. ´Ecole Norm. Sup. (4)27(1994), no. 5, 529–572
work page 1994
-
[24]
Mudgal,On commuting pairs in arbitrary sets of2×2matrices, arXiv:2411.10404
A. Mudgal,On commuting pairs in arbitrary sets of2×2matrices, arXiv:2411.10404
-
[25]
I. Niven, H.S. Zuckerman, and H.L. Montgomery,An introduction to the theory of numbers, Fifth Edition, John Wiley & Sons, Inc., New York, 1991
work page 1991
-
[26]
Oh,Hardy-Littlewood system and representations of integers by an invariant polynomial, Geom
H. Oh,Hardy-Littlewood system and representations of integers by an invariant polynomial, Geom. Funct. Anal.14(2004), no. 4, 791–809. Mathematics Institute, Zeeman Building, University of W arwick, Coventry CV4 7AL, United Kingdom Email address:Jonathan.Chapman@warwick.ac.uk Mathematics Institute, Zeeman Building, University of W arwick, Coventry CV4 7AL,...
work page 2004
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.