Counting
2×2 integer matrices with a given determinant
The paper studies $T(h,N)$, the number of $2\times 2$ integer matrices with entries in $[-N,N]$ and determinant $h$. For any $\varepsilon>0$ and $1\le h\le 2N^2$, the main result gives $T(h,N) = \frac{16}{\zeta(2)} N^2 \big(\sum_{d|h} \frac{1}{d}\big) + O_{\varepsilon}(N^{\varepsilon}(N+h))$, improving an earlier bound. It also shows that when $h$ is close to $N^2$, a stronger asymptotic with square-root cancellation holds.