TOPICS
Search

Hardy's Circle Discrepancy Formula


Hardy's circle discrepancy formula expresses the error in the lattice point count for Gauss's circle problem as a series of Bessel functions of the first kind. For a disk of radius r>0 centered at the origin, let N^*(r) count each interior lattice point with weight 1 and each boundary lattice point with weight 1/2. The weighted discrepancy is given by (Hardy 1915, Berndt et al. 2019)

 N^*(r)-pir^2=rsum_(n=1)^infty(r_2(n))/(sqrt(n))J_1(2pirsqrt(n)),

where r_2(n) is the sum of squares function for two squares, and J_1(x) is the Bessel function of the first kind of order 1.

If N(r) counts boundary lattice points with full weight, its discrepancy N(r)-pir^2 equals the series when there are no boundary lattice points. When r^2 is an integer, the full-weight discrepancy equals the sum of the series plus r_2(r^2)/2.


See also

Bessel Function of the First Kind, Circle Lattice Points, Gauss's Circle Problem, Spectral Riesz Mean, Sum of Squares Function

Explore with Wolfram|Alpha

References

Berndt, B. C.; Li, J.; and Zaharescu, A. "The Final Problem: An Identity from Ramanujan's Lost Notebook." J. London Math. Soc. 100, 568-591, 2019. https://doi.org/10.1112/jlms.12228.Hardy, G. H. "On the Expression of a Number as the Sum of Two Squares." Quart. J. Math. 46, 263-283, 1915.

Cite this as:

Weisstein, Eric W. "Hardy's Circle Discrepancy Formula." From MathWorld--A Wolfram Resource. https://mathworld.wolfram.com/HardysCircleDiscrepancyFormula.html

Subject classifications