Maths Olympiad Prep

Library / Indian National Mathematical Olympiad /97 of 103

Indian National Mathematical Olympiad

Geometry Difficulty 7.2 National Olympiad, round 2 Prove it India

Euler marks nn different points in the Euclidean plane. For each pair of marked points, Gauss writes down the number ⌊log⁡2d⌋\lfloor \log_2 d \rfloor where dd is the distance between the two points. Prove that Gauss writes down less than 2n2n distinct values.

Note: For any d>0d > 0, ⌊log⁡2d⌋\lfloor \log_2 d \rfloor is the unique integer kk such that 2k≤d<2k+12^k \le d < 2^{k+1}.

Solution

Let the nn points be P1,P2,…,PnP_1, P_2, \ldots, P_n.

Let DD be the set of all pairwise distances between the nn points. For each d∈Dd \in D, Gauss writes down ⌊log⁡2d⌋\lfloor \log_2 d \rfloor.

Let dmin⁡d_{\min} and dmax⁡d_{\max} be the minimal and maximal pairwise distances among the nn points.

All values written by Gauss are integers kk such that 2k≤d<2k+12^k \le d < 2^{k+1} for some dd in DD.

Thus, the set of distinct values written is contained in the set of all integers kk such that 2k≤dmax⁡2^k \le d_{\max} and 2k+1>dmin⁡2^{k+1} > d_{\min}, i.e.,
⌊log⁡2dmin⁡⌋≤k≤⌊log⁡2dmax⁡⌋ \lfloor \log_2 d_{\min} \rfloor \le k \le \lfloor \log_2 d_{\max} \rfloor

So the number of distinct values is at most ⌊log⁡2dmax⁡⌋−⌊log⁡2dmin⁡⌋+1\lfloor \log_2 d_{\max} \rfloor - \lfloor \log_2 d_{\min} \rfloor + 1.

Now, we bound this quantity in terms of nn.

Let us fix the configuration of nn points. The minimal distance dmin⁡d_{\min} is the smallest distance between any two points, and the maximal distance dmax⁡d_{\max} is the largest.

Let us consider the ratio dmax⁡/dmin⁡d_{\max}/d_{\min}.

For nn points in the plane, the maximal distance between any two points is at most the diameter of the convex hull of the points, and the minimal distance is at least the minimal separation between any two points.

Let us fix dmin⁡d_{\min} and consider the maximal possible dmax⁡d_{\max}.

Suppose all points are placed so that the minimal distance is dmin⁡d_{\min}, and the maximal distance is dmax⁡d_{\max}.

Consider the following: For any point PiP_i, the number of other points within distance 2kdmin⁡2^k d_{\min} is at most the number of points that can be packed in a disk of radius 2kdmin⁡2^k d_{\min} with pairwise separation at least dmin⁡d_{\min}.

In the plane, the maximal number of points that can be packed in a disk of radius RR with pairwise separation at least rr is at most (2Rr+1)2\left(\frac{2R}{r}+1\right)^2.

But we can use a simpler argument:

Let dmax⁡≤Cndmin⁡d_{\max} \leq C n d_{\min} for some constant CC (since the diameter of nn points with minimal separation dmin⁡d_{\min} is at most proportional to ndmin⁡n d_{\min}).

Then,
dmax⁡dmin⁡<Cn \frac{d_{\max}}{d_{\min}} < C n

Therefore,
⌊log⁡2dmax⁡⌋−⌊log⁡2dmin⁡⌋+1<log⁡2(Cn)+2 \lfloor \log_2 d_{\max} \rfloor - \lfloor \log_2 d_{\min} \rfloor + 1 < \log_2 (C n) + 2

But we need to show that the number of distinct values is less than 2n2n.

Let us consider the following extremal configuration:

Suppose the nn points are placed on a straight line with equal spacing dmin⁡d_{\min} between consecutive points. Then the maximal distance is (n−1)dmin⁡(n-1)d_{\min}.

So,
dmax⁡dmin⁡=n−1 \frac{d_{\max}}{d_{\min}} = n-1

Thus,
⌊log⁡2dmax⁡⌋−⌊log⁡2dmin⁡⌋+1≤⌊log⁡2(n−1)dmin⁡⌋−⌊log⁡2dmin⁡⌋+1=⌊log⁡2(n−1)⌋+1 \lfloor \log_2 d_{\max} \rfloor - \lfloor \log_2 d_{\min} \rfloor + 1 \leq \lfloor \log_2 (n-1) d_{\min} \rfloor - \lfloor \log_2 d_{\min} \rfloor + 1 = \lfloor \log_2 (n-1) \rfloor + 1

So the number of distinct values is at most 1+⌊log⁡2(n−1)⌋1 + \lfloor \log_2 (n-1) \rfloor.

But in general, for any configuration, the number of distinct values is at most 1+⌊log⁡2dmax⁡dmin⁡⌋1 + \lfloor \log_2 \frac{d_{\max}}{d_{\min}} \rfloor.

But the number of distinct pairwise distances is at most (n2)\binom{n}{2}, so the number of distinct ⌊log⁡2d⌋\lfloor \log_2 d \rfloor values is at most the number of distinct pairwise distances, which is (n2)<2n\binom{n}{2} < 2n for n≥3n \geq 3.

But we can do better:

Let us consider the set {⌊log⁡2dij⌋:1≤i<j≤n}\{ \lfloor \log_2 d_{ij} \rfloor : 1 \leq i < j \leq n \}.

For each kk, the set of pairs with 2k≤dij<2k+12^k \leq d_{ij} < 2^{k+1} is the set of pairs whose distance falls in that interval.

But for nn points, the number of possible intervals [2k,2k+1)[2^k, 2^{k+1}) that contain at least one pairwise distance is at most n−1n-1 (since the minimal and maximal distances differ by at most a factor of n−1n-1).

Thus, the number of distinct values is at most 1+⌊log⁡2(n−1)⌋<2n1 + \lfloor \log_2 (n-1) \rfloor < 2n for all n≥1n \geq 1.

Therefore, Gauss writes down less than 2n2n distinct values.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.