This paper investigates the growth behavior of metric balls in two-dimensional discrete spaces, comparing the Manhattan (L1) and Euclidean (L2) metrics. Through a computational simulation implemented in Python, the number of integer points contained within metric balls of increasing radius centered at the origin was counted over an N × N grid, with N = 301, for radii r ranging from 1 to 60. The results show that both metrics exhibit quadratic growth, but with distinct coefficients. Furthermore, the ratio between the number of points in the Euclidean ball and the Manhattan ball converges to a value close to π/2 ≈ 1.5708, in agreement with classical theoretical results from the geometry of numbers. The numerical and graphical analysis highlights the structural differences between the two metrics, with direct implications for search algorithms, machine learning, and image processing.
Building similarity graph...
Analyzing shared references across papers
Loading...
Vitor Amadeu Souza
Faculdade de Tecnologia e Ciências
Universidade Veiga de Almeida
Centro Universitário de Volta Redonda
Building similarity graph...
Analyzing shared references across papers
Loading...
Vitor Amadeu Souza (Wed,) studied this question.
www.synapsesocial.com/papers/69d896406c1944d70ce07871 — DOI: https://doi.org/10.5281/zenodo.19469544
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: