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. The Erdős–Ulam problem asks whether there can exist a dense set of points in the plane at rational distances from each other. For any finite setS 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 existarbitrarily largefinite sets of non-collinear 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 transformed into infinite sets of points at integer distances.
Proof
To prove the Erdős–Anning theorem, it is helpful to state it more strongly, by providing a concretebound 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, then at most points at integer distances can be added to the set. To see this, letA, B and C be three non-collinear members of a set S of points with integer distances, all at most, and let,, and be the three distances between these three points. Let X be any other member of S. From the triangle inequality it follows that is a non-negative integer and is at most. For each of the integer values i in this range, the locus of points satisfying the equation forms a hyperbola with A and B as its foci, and X must lie on one of these hyperbolae. By a symmetric argument, X must also lie on one of a family of 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 lies on one of these intersection points. There are at most intersection points of pairs of hyperbolae, and therefore at most 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.