# Erdős–Anning theorem

The Erdős–Anning theorem states that an infinite number of points in the plane can have mutual integer distances only if all the points lie on a straight line. It is named after Paul Erdős and Norman H. Anning, who published a proof of it in 1945.[1]

## Rationality versus integrality

Although there can be no infinite non-collinear set of points with integer distances, there are infinite non-collinear sets of points whose distances are rational numbers. For instance, on the unit circle, let S be the set of points $(\cos\theta,\sin\theta)$ for which $\tan\frac{\theta}{4}$ is a rational number. For each such point, both $\sin\frac{\theta}{2}$ and $\cos\frac{\theta}{2}$ are themselves both rational, and if $\theta$ and $\phi$ define two points in S, then their distance is the rational number $|2\sin\frac{\theta}{2}\cos\frac{\phi}{2}-2\sin\frac{\phi}{2}\cos\frac{\theta}{2}|$. More generally, a circle with radius $\rho$ contains a dense set of points at rational distances to each other if and only if $\rho^2$ is rational.[2]

For any finite set S of points at rational distances from each other, it is possible to find a similar set of points at integer distances from each other, by expanding S by a factor of the least common denominator of the distances in S. Therefore, there exist arbitrarily large finite sets of points with integer distances from each other. However, including more points into S may cause the expansion factor to increase, so this construction does not allow infinite sets of points at rational distances to be translated to infinite sets of points at integer distances.

It remains unknown whether there exists a set of points at rational distances from each other that forms a dense subset of the Euclidean plane.[2]

## Proof

To prove the Erdős–Anning theorem, it is helpful to state it more strongly, by providing a concrete bound on the number of points in a set with integer distances as a function of the maximum distance between the points. More specifically, if a set of three or more non-collinear points have integer distances, all at most some number $\delta$, then at most $4(\delta+1)^2$ points at integer distances can be added to the set.

To see this, let A, B and C be three non-collinear members of a set S of points with integer distances, all at most $\delta$, and let $d(A,B)$, $d(A,C)$, and $d(B,C)$ be the three distances between these three points. Let X be any other member of S. From the triangle inequality it follows that $|d(A,X)-d(B,X)|$ is a non-negative integer and is at most $\delta$. For each of the $\delta+1$ integer values i in this range, the locus of points satisfying the equation $|d(A,X)-d(B,X)|=i$ forms a hyperbola with A and B as its foci, and X must lie on one of these $\delta+1$ hyperbolae. By a symmetric argument, X must also lie on one of a family of $\delta+1$ hyperbolae having B and C as foci. Each pair of distinct hyperbolae, one defined by A and B and the second defined by B and C, can intersect in at most four points, and every point of S (including A, B, and C) lies on one of these intersection points. There are at most $4(\delta+1)^2$ intersection points of pairs of hyperbolae, and therefore at most $4(\delta+1)^2$ points in S.

## Maximal point sets with integral distances

An alternative way of stating the theorem is that a non-collinear set of points in the plane with integer distances can only be extended by adding finitely many additional points, before no more points can be added. A set of points with both integer coordinates and integer distances, to which no more can be added while preserving both properties, forms an Erdős–Diophantine graph.

## References

1. ^ Anning, Norman H.; Erdős, Paul (1945), "Integral distances", Bulletin of the American Mathematical Society 51 (8): 598–600, doi:10.1090/S0002-9904-1945-08407-9.
2. ^ a b Klee, Victor; Wagon, Stan (1991), "Problem 10 Does the plane contain a dense rational set?", Old and New Unsolved Problems in Plane Geometry and Number Theory, Dolciani mathematical expositions 11, Cambridge University Press, pp. 132–135, ISBN 978-0-88385-315-3.