The Resonance Bias Framework: Resonance, Structure, and Arithmetic in Quadrature Error
William Cook
TL;DR
The paper reframes trapezoidal-rule quadrature error for periodic functions on uniform grids as a deterministic resonance phenomenon rather than random noise. By analyzing the tractable prototype $f(x)=\sin^2(2\pi kx)$, it derives a complex resonance function $\tilde{\chi}_P(y)$ that acts as a spectral filter, yielding the exact bias $B_P[f]=\sum_{k\neq0} c_k\tilde{\chi}_P\left(\frac{k}{P}\right)$ and connecting this to the classical aliasing sum $\sum_{l\neq0} c_{lP}$ in a way that clarifies the role of grid-frequency interactions. The framework unifies Fourier error analysis with a mechanistic, number-theoretic, and geometric interpretation, extending to higher dimensions and arbitrary smooth periodic functions. This resonance-perspective explains non-monotonic error behavior, near-resonant plateaus, and the precise dependence of error on the arithmetic relation between frequencies and grid size, with potential implications for adaptive grid design and spectral-method diagnostics. Overall, the Resonance Bias Framework provides a transparent, structure-rich lens on finite-resolution quadrature errors, grounded in harmonic analysis and number theory, and promises actionable insights for numerical analysis and computational practice.
Abstract
We study the trapezoidal rule for periodic functions on uniform grids and show that the quadrature error exhibits a rich deterministic structure, beyond traditional asymptotic or statistical interpretations. Focusing on the prototype function f(x) = sin^2(2 pi k x), we derive an analytical expression for the error governed by a resonance function chi_P(y), closely related to the Dirichlet kernel, roots of unity, and discrete Fourier analysis on the group Z/PZ. This function acts as a spectral filter, connecting the integration error to arithmetic properties such as k/P and geometric phase cancellation, visualized as vector averaging on the unit circle. We introduce the Resonance Bias Framework (RBF), a generalization to arbitrary smooth periodic functions, leading to the error representation B_P[f] = sum_{k != 0} c_k chi_P(k/P). Although this is mathematically equivalent to the classical aliasing sum, it reveals a deeper mechanism: the quadrature error arises from structured resonance rather than random aliasing noise. The RBF thus provides an interpretable framework for understanding integration errors at finite resolution, grounded in number theory and geometry.
