arXiv:2610.24803cs.CGOct 2026

Manuscript Offprint

arXiv:2610.24803

Avoiding Distances

Adrian Dumitrescu, Zsolt Lángi

ADRIAN DUMITRESCU AND ZSOLT LÁNGI

ABSTRACT. Given a finite planar point set X={x1,…,xn}X = \{x_1, \dots, x_n\}, let a1<a2<⋯<asa_1 < a_2 < \cdots < a_s denote the s≤(n2)s \le \binom{n}{2} different (Euclidean) distances between points in XX. The aim is to retain as many of the points as possible such that certain imposed inter-pair distances are avoided.

For example, we show that:

(A) Given a set XX of nn points in the plane, an independent set of size 0.2293n0.2293n in the unit distance graph determined by XX can be found in O(n2)O(n^2) time. For any fixed k∈Nk \in \mathbb{N} there exists a constant ck>0c_k > 0 such that for any set XX of nn points in the plane, and set DD of size kk, there exists a subset X′⊆XX' \subseteq X of size ∣X′∣≥ck∣X∣|X'| \ge c_k |X| in which no pair of points is at some distance in DD (we say that X′X' avoids distances in DD). Such a set can be found efficiently.

(B) (i) There is a subset of XX of size n/2n/2 that avoids the maximum distance; this bound cannot be improved. (ii) There is a subset of XX of size 8n/478n/47 that avoids both the minimum and maximum distance; on the other hand, there exists XX such that at most 5n/165n/16 points can be retained with this property. (iii) There is a subset of XX of size n/7n/7 whose diameter is at most half the original diameter; on the other hand, there exists XX such that at most n/6n/6 points can be retained with this property.

(C) (i) For any ε>0\varepsilon > 0, a (1−ε)(1 - \varepsilon)-approximation for MIS in the minimum distance graph of nn points in the plane can be found in 2O(1/ε)nO(1)2^{O(1/\varepsilon)}n^{O(1)} time. (ii) Given a set XX of nn points in the plane, a maximum independent set in the graph of diameters can be computed in O(n2)O(n^2) time.

The techniques used to handle the planar case can be extended to Rd\mathbb{R}^d for any fixed dimension dd.

Keywords: independence number, distance graph, measurable chromatic number, Moser spindle, tortoise, Croft's construction.

Date: October 20, 2026.

1. INTRODUCTION

A subset selection problem is generally of the form: given a finite point set satisfying condition A, how large of a subset satisfying condition B can we find? For instance if A is empty and B is “no three points are collinear”, we get the problem of selecting the largest subset in general position, see [35]. Here we focus on such problems arising from consideration of the set of distances spanned by an n-element point set in the Euclidean space.

Given a finite planar point set X={x1,…,xn}X = \{x_1, \ldots, x_n\}, let A(X):={∣xy∣:x,y∈X,x≠y}A(X) := \{|xy| : x, y \in X, x \neq y\}. The set A(X)A(X) is an s-distance set if ∣A(X)∣=s|A(X)| = s, where s=s(X)≤(n2)s = s(X) \leq \binom{n}{2}. In this setting, A(X)={a1,a2,…,as}A(X) = \{a_1, a_2, \ldots, a_s\}, where a1<a2<⋯<asa_1 < a_2 < \cdots < a_s denote the s different distances between points in XX.

We consider several variants. The simplest we know goes back to a question of Erdős: Given nn points in Rd\mathbb{R}^d with minimum distance 1, let f(n,d)f(n,d) be the largest number such that one can retain f(n,d)f(n,d) points so that their minimum distance is > 1. It is easy to show that f(n,d)≤⌈nd+1⌉f(n,d) \leq \lceil \frac{n}{d+1} \rceil by considering a set of widely spaced unit simplices. Erdős asked for a proof of f(n,d)≥cn/df(n,d) \geq cn/d. Pollack [36] showed that f(n,2)≥n/4f(n,2) \geq n/4 by a simple planarity argument for the corresponding minimum-distance graph. No matching bounds are known in any dimension; the current best lower and upper bounds for the planar version, 8n/318n/31 and 5n/165n/16, are due to Swanepoel [42] and Pach and Tóth [34], respectively.

An earlier result of Csizmadia [13] shows the existence of an independent set of size 9n/35. Moreover, his proof gives an algorithm for finding a set of this size. His algorithm finds between one and nine new independent points in each step and runs in O(nlog⁡n)O(n \log n) time. Likewise, a similar algorithm is implicit in the result of Swanepoel [42], as mentioned by the author.

More generally, given an nn-element point set XX, and a subset D⊆A(X)D \subseteq A(X), let G(X,D)G(X, D) denote the nn-vertex graph on XX and whose edges are pairs of points in XX at a distance that appears in DD. Further, let g(X,D)g(X, D) denote the maximum size of a subset Y⊆XY \subseteq X avoiding every distance in DD; namely, g(X,D)g(X, D) is the size of a maximum independent set in G(X,D)G(X, D). Finally, let g(n,D)g(n, D) be the minimum of g(X,D)g(X, D) over all nn-element point sets XX; and g(n,k)g(n, k) be the minimum of g(X,D)g(X, D) over all nn-element point sets XX and kk-element distance sets D⊆A(X)D \subseteq A(X).

For example, if XX is the vertex set of a regular pentagon of unit side-length, then g(X,{1})=2g(X,\{1\})=2 and g(X,{1,(5+1)/2})=1g(X,\{1,(\sqrt{5}+1)/2\})=1. For another example, according to the results on the minimum distance mentioned above, we have

(1)

8n31≤g(n,{a1})≤5n16.\frac{8n}{31}\leq g(n,\{a_{1}\})\leq\frac{5n}{16}.

1.1. Motivating questions and our results. We consider several questions of the following kind:

(1) Given XX and x∈A(X)x \in A(X), how many points of XX can one retain so that among those points no pair is at distance xx?

(2) Given XX and a set DD of kk distances, how many points of XX can one retain so that among those points no pair is at distance x∈Dx \in D?

(3) What is the computational complexity of finding a maximum independent set in a distance graph? How well can one approximate the maximum independent set in a distance graph?

We give partial answers for some; however, obtaining precise estimates remains elusive for most of the questions. Throughout this paper we restrict ourselves to d=2d = 2. (Higher dimensions are briefly mentioned in Section 6.)

Among others, we show that:

(i) Given a set X of n points in the plane, an independent set of size 0.2293n in the unit distance graph determined by X can be found in O(n2)O(n^{2}) time (Theorem 3 in Section 3).

(ii) For any fixed k∈Nk \in \mathbb{N} there exists a constant ck>0c_k > 0 such that for any set XX of nn points in the plane, and set DD of size kk, there exists a subset X′⊆XX' \subseteq X of size ∣X′∣≥ck∣X∣|X'| \geq c_k |X| in which no pair of points is at some distance in DD (we say that X′X' avoids distances in DD). Such a subset can be found efficiently. (Theorem 8 in Section 4).

(iii) A (1/2)-approximation for MIS in the minimum distance graph of nn points in the plane can be found in O(nlog⁡n)O(n\log n) time. For any ε>0\varepsilon > 0, a (1−ε)(1 - \varepsilon)-approximation for MIS in the same graph can be found in 2O(1/ε)nO(1)2^{O(1/\varepsilon)}n^{O(1)} time. (Theorem 4 in Section 3).

(iv) There is a subset of X of size n/2n/2 that avoids the maximum distance; this bound is tight. Given a set X of n points in the plane, a maximum independent set in the graph of diameters G(X,{as})G(X, \{a_s\}) can be computed in O(n2)O(n^2) time. (Theorems 2 and 5 in Section 3).

(v) There is a subset of X of size 8n/47 that avoids both the minimum and maximum distance; on the other hand, there exists X such that at most 5n/16 points can be retained with this property. (Theorem 9 in Section 4). For any ε>0\varepsilon > 0, a (0.5−ε)(0.5 - \varepsilon)-approximation for MIS in the corresponding distance graph can be found in 2O(1/ε)nO(1)2^{O(1/\varepsilon)}n^{O(1)} time. (Theorem 14 in Section 4).

(vi) There is a subset of X of size n/7 whose diameter is at most half the original diameter; on the other hand, there exists X such that at most n/6 points can be retained with this property. (Theorem 16 in Section 5).