1 Introduction

Let R and B be two disjoint point sets in the plane with \(|R|=|B|=n\), \(n\ge 2\). The points in R are red, and those in B are blue. A matching of \(R\cup B\) is a partition of \(R\cup B\) into n pairs such that each pair consists of a red and a blue point. A point \(p\in R\) and a point \(q\in B\) are matched if and only if the (unordered) pair (pq) is in the matching. For every \(p,q\in \mathbb {R}^2\), we use pq to denote the segment connecting p and q, and \(\Vert p-q\Vert \) to denote its length, which is the Euclidean norm of the vector \(p-q\). Let \(D_{pq}\) denote the disk with diameter equal to \(\Vert p-q\Vert \), that is centered at the midpoint \(\frac{p+q}{2}\) of the segment pq. For any matching \({\mathcal {M}}\), we use \(D_{\mathcal {M}}\) to denote the set of the disks associated with the matching, that is, \(D_{\mathcal {M}}=\{D_{pq} \mid (p,q) \in {\mathcal {M}}\}\).

Huemer et al. [18] proved that if \({\mathcal {M}}\) is any matching that maximizes the total squared Euclidean distance of the matched points, i.e., it maximizes \(\sum _{(p,q)\in {\mathcal {M}}}\Vert p-q\Vert ^2\), then all disks of \(D_{\mathcal {M}}\) have a point in common.

In this paper, we will consider the max-sum matching \({\mathcal {E}}\), as the matching that maximizes the total Euclidean distance of the matched points. For any matching \({\mathcal {M}}\), let \({\text {cost}}({\mathcal {M}})\) denote the sum \(\sum _{(p,q)\in {\mathcal {M}}}\Vert p-q\Vert \). Thus, \({\mathcal {E}}\) is such that \({\text {cost}}({\mathcal {E}})\) is maximum among all matchings. As our first result, we prove in Section 2, that every pair of disks in \({\mathcal {E}}\) have a common point, but it cannot be guaranteed that all disks have a common point.

We will also consider max-sum matchings of sets of 2n uncolored points in the plane, where a matching is just a partition of the points into n pairs. As the main result of this paper, we prove in Section 3, that for any point set P of 2n uncolored points in the plane and a max-sum matching \({\mathcal {M}}\) of P, all disks in \(D_{{\mathcal {M}}}\) have a common intersection. We use Helly’s theorem, that is, we prove the claim for \(n\le 3\). Let \(X_1,X_2,\ldots ,X_n\) be a collection of n convex subsets of \(\mathbb {R}^d\), with \(n \ge d + 1\). Helly’s theorem [16] asserts that if the intersection of every \(d + 1\) of these sets is nonempty, then the whole collection has a nonempty intersection. That is why we prove our claim only for \(n\le 3\), since we are considering n disks in \(\mathbb {R}^2\).

1.1 Related problems

Fingerhut [12], motivated by a problem in designing communication networks [14], conjectured that given a set P of 2n uncolored points in the plane and a max-sum matching \(\{(a_i,b_i),i=1,\dots ,n\}\) of P, there exists a point o of the plane, not necessarily a point of P, such that

$$\begin{aligned} \Vert a_i-o\Vert +\Vert b_i-o\Vert ~\le ~ \frac{2}{\sqrt{3}}\cdot \Vert a_i-b_i\Vert \text {for all } i\in \{1,\ldots ,n\}, ~\text {where } 2/\sqrt{3}\approx 1.1547.\nonumber \\ \end{aligned}$$
(1)

The statement of equation (1) is equivalent to stating that the intersection \(E_{a_1b_1}\cap E_{a_2b_2}\cap \dots \cap E_{a_nb_n}\) is not empty, where \(E_{pq}\) is the region bounded by the ellipse with foci p and q, and semimajor axis length \((1/\sqrt{3})\cdot \Vert p-q\Vert \) [12]. Then, by Helly’s Theorem, it is sufficient to prove equation (1) for \(n\le 3\). The factor \(2/\sqrt{3}\) is the minimum possible [12]: It is enough to consider an equilateral triangle, where at each vertex two points are located. The max-sum matching of the six points is made of pairs of vertex-opposed points, and the regions defined by the three ellipses have exactly one point in common, which is the center of the triangle.

Eppstein [12] proved that the result holds with 2.5 instead of \(2/\sqrt{3}\). The proof is simple and does not require Helly’s theorem. Let o be the midpoint of the shortest edge in the matching. Namely, for all \(i\in \{1,\ldots ,n\}\),

$$\begin{aligned} \Vert a_i-o\Vert +\Vert b_i-o\Vert ~\le ~ 2.5\cdot \Vert a_i-b_i\Vert . \end{aligned}$$
(2)

In Section 3, we show that the constant in this inequality can be improved to \(\sqrt{5}\approx 2.236\) by using the same point o, but refined arguments. Our main result, stating that for any point set P of 2n uncolored points in the plane and a max-sum matching \({\mathcal {E}}=\{(a_i,b_i),i=1,\dots ,n\}\) of P, all disks in \(D_{{\mathcal {E}}}\) have a common intersection, implies that any point o in the common intersection satisfies

$$\begin{aligned} \Vert a_i-o\Vert +\Vert b_i-o\Vert ~\le ~ \sqrt{2}\cdot \Vert a_i-b_i\Vert \end{aligned}$$

for all \(i\in \{1,\ldots ,n\}\), where \(\sqrt{2}\approx 1.4142\).

Assuming that the above conjecture is true, if we sum the inequality of Equation (1) over all \(i\in \{1,\ldots ,n\}\), we get that the total length of the Steiner star of P with center o is at most \(2/\sqrt{3}\) times the total cost of the maximum matching, which is also satisfied if o is the geometric median of P (i.e., it minimizes the sum of distances to the points of P). Fekete and Meijer [13] proved this last fact implied by the conjecture. It is worth noting that if o is the geometric median, then o is not necessarily in the common intersection of the ellipses, not satisfying Equation (1). Consider for example the 6 points \(A=(0,0)\), \(B = (0,0)\), \(C = (1,0)\), \(D = (1/2, \sqrt{3}/2)\), \(E = (1/2 + 0.01, \sqrt{3}/6 + 0.01)\), and \(F = (1/2, 2)\). We have that \(\{(A,D), (B,C), (E,F)\}\) is the max-sum matching, and the geometric median is above the line \(y=\sqrt{3}/6\), so not included in the ellipse \(E_{BC}\).

Recently, Adiprasito et al. [3] proved a no-dimension version of Tverberg’s theorem: For any set P of n points in \(\mathbb {R}^d\) and \(k\in \{2,\ldots ,n\}\), there exists a point \(o \in \mathbb {R}^d\) and a partition of P into k sets \(P_1,\ldots , P_k\) such that, for all \(i\in \{1,\ldots ,k\}\), \(d(o,conv(P_i)) \le (2+\sqrt{2})\sqrt{\frac{k}{n}}~diam(P)\), where \(conv(P_i)\) is the convex hull of \(P_i\), \(d(o,conv(P_i))\) is the Euclidean distance from o to \(conv(P_i)\), and diam(P) is the diameter of P. Our result can improve the bound to \(d(o,conv(P_i)) \le \frac{1}{2}~diam(P_i) \le \frac{1}{2}~diam(P)\) for \(d=2\) and \(n=2k\) (using the max-sum matching for P and taking o in the intersection of the disks). For \(d=2\) and arbitrary values of k, another bound of \(d(o,conv(P_i)) \le \frac{1}{\sqrt{3}}~diam(P) \) is implied by Jung’s theorem [19] (taking as o the center of the smallest disk enclosing P).

As described by Huemer et al. [18], this class of problems is well studied in discrete and computational geometry, starting from the classic result that n red points and n blue points can always be perfectly matched with n pairwise non-crossing segments, where each segment connects a red point with a blue point [20]. The study has been continued in plenty of directions, for both the monochromatic and bichromatic versions, by using pairwise disjoint objects inducing the matching: segments [4, 11], rectangles [1, 2, 6, 7, 9], and more general geometric objects [5].

Our results, as that of Huemer et al. [18], are in the direction opposite to that of above mentioned known results on matching points: The goal is that all matching objects (i.e., the disks in \(D_{{\mathcal {M}}}\)) have a common intersection, whereas in previous work it is required that all matching objects are pairwise disjoint. Concerning disks with a common intersection, Soberón and Tang [22] proved recently that if G is the complete geometric graph on n points in the plane, there exists a Hamiltonian cycle (or path) H in G such that all the disks \(D_{e}\), where e is an edge of H, have a common intersection. Recently, Pirahmad et al. [21] have extended the results of Huemer et al. [18]. They gave an alternative proof that for any n red and n blue points in the plane, there exists a perfect red-blue matching such that the disks associated with the matching have a common intersection. Furthermore, they extended this result for higher dimensions, that is, for \(d\ge 3\).

The problem of stabbing a finite set of pairwise intersecting disks with four or five points [8, 10, 15], is also related with this paper, since we deal with finite sets of pairwise intersecting disks.

2 Red-blue matchings

Let R and B be two disjoint point sets defined as above, where \(|R|=|B|=n\), \(n\ge 2\). In this section, we prove that the perfect matching \({\mathcal {E}}\) of R and B that maximizes the total Euclidean distance \({\text {cost}}({\mathcal {E}})\) does not always ensure the common intersection property of the disks in \(D_{\mathcal {E}}\). Nevertheless, although the common intersection is not always possible, all disks must be pairwise intersecting, as proved in the next proposition.

Proposition 2.1

Every pair of disks in \(D_{\mathcal {E}}\) have a non-empty intersection.

Proof

Let \((a,a')\) and \((b,b')\) be two different pairs of \({\mathcal {E}}\), with \(a,b\in R\) and \(a',b'\in B\). Since \({\mathcal {E}}\) is a maximum matching, we must have \(\Vert a-b'\Vert +\Vert a'-b\Vert \le \Vert a-a'\Vert + \Vert b-b'\Vert \). Equality holds, for instance, when \(a'\), a, b, and \(b'\) are in this order consecutive vertices of a square. Note that, in the contrary case, we will have \({\text {cost}}(({\mathcal {E}}\setminus \{(a,a'),(b,b')\})\cup \{(a,b'),(b,a')\})>{\text {cost}}({\mathcal {E}})\).

The disks \(D_{aa'},D_{bb'}\in D_{\mathcal {E}}\) have a common point if and only if the distance \(\left\| \frac{a+a'}{2}-\frac{b+b'}{2}\right\| \) between the centers \(\frac{a+a'}{2}\) and \(\frac{b+b'}{2}\) of \(D_{aa'}\) and \(D_{bb'}\), respectively, is at most the sum \(\frac{\Vert a-a'\Vert }{2} + \frac{\Vert b-b'\Vert }{2}\) of their radii. The following equations ensure this condition:

$$\begin{aligned} \left\| (a+a')-(b+b')\right\|= & {} \left\| (a-b')+(a'-b)\right\| \\\le & {} \Vert a-b'\Vert +\Vert a'-b\Vert \\\le & {} \Vert a-a'\Vert + \Vert b-b'\Vert . \end{aligned}$$

Hence, we conclude that \(D_{aa'}\cap D_{bb'}\ne \emptyset \) for every pair of disks \(D_{aa'}\) and \(D_{bb'}\) of \(D_{\mathcal {E}}\). \(\square \)

Theorem 2.2

There exist point sets \(R\cup B\), with \(R\cap B=\emptyset \) and \(|R|=|B|=3\), such that, for any max-sum matching \({\mathcal {E}}\) of R and B, the intersection of the disks of \(D_{{\mathcal {E}}}\) is the empty set.

Proof

Let \(R=\{a,b,c\}\) and \(B=\{a',b',c'\}\), with \(a=(-1,0)\), \(b=(1,0)\), \(c=(0,\sqrt{3})\), \(c'=(0,3)\), and \(a'\in bc\) and \(b'\in ac\) such that \(\Vert c-a'\Vert =\Vert c-b'\Vert =\varepsilon \), for a parameter \(\varepsilon >0\) that ensures that \({\mathcal {E}}=\{(a,a'),(b,b'),(c,c')\}\) is the only maximum matching of \(R\cup B\) (see Figure 1).

Fig. 1
figure 1

Proof of Theorem 2.2

Note that

$$\begin{aligned} \Vert a-b'\Vert +\Vert b-c'\Vert +\Vert c-a'\Vert= & {} \Vert a-c'\Vert +\Vert b-a'\Vert +\Vert c-b'\Vert \\= & {} \sqrt{10} + (2-\varepsilon ) + \varepsilon \\= & {} 2+\sqrt{10}, \end{aligned}$$

and we need to ensure that

$$\begin{aligned} 2+\sqrt{10} ~<~ \Vert a-a'\Vert +\Vert b-b'\Vert +\Vert c-c'\Vert ~=~ {\text {cost}}({\mathcal {E}}). \end{aligned}$$

That is, the matching \(\{(a,a'),(b,b'),(c,c')\}\) has larger total Euclidean distance than the matchings \(\{(a,b'),(b,c'),(c,a')\}\) and \(\{(a,c'),(b,a'),(c,b')\}\). Since

$$\begin{aligned} \Vert a-a'\Vert +\Vert b-b'\Vert +\Vert c-c'\Vert= & {} 2\Vert a-a'\Vert +\Vert c-c'\Vert \\= & {} 2\Vert a-a'\Vert +(3-\sqrt{3}) \\> & {} 2(\Vert a-c\Vert -\varepsilon )+ (3-\sqrt{3}) \\= & {} 7 - \sqrt{3} - 2\varepsilon , \end{aligned}$$

it suffices to ensure

$$\begin{aligned} 2+\sqrt{10} ~<~ 7 - \sqrt{3} - 2\varepsilon ~~\Longleftrightarrow ~~ \varepsilon ~<~ \frac{5-\sqrt{10}-\sqrt{3}}{2} ~\approx ~ 0.0528. \end{aligned}$$
(3)

Furthermore, since

$$\begin{aligned} \Vert a-c'\Vert +\Vert b-b'\Vert +\Vert c-a'\Vert= & {} \Vert a-a'\Vert +\Vert b-c'\Vert +\Vert c-b'\Vert \\< & {} (2+\varepsilon ) + \sqrt{10} + \varepsilon \\= & {} 2+\sqrt{10}+2\varepsilon , \end{aligned}$$

to ensure that \(\{(a,a'),(b,b'),(c,c')\}\) has larger total Euclidean distance than \(\{(a,c'),(b,b'),(c,a')\}\) and \(\{(a,a'),(b,c'),(c,b')\}\), it suffices to guarantee that

$$\begin{aligned} 2+\sqrt{10} +2\varepsilon ~<~ 7 - \sqrt{3} - 2\varepsilon ~~\Longleftrightarrow ~~ \varepsilon ~<~ \frac{5-\sqrt{10}-\sqrt{3}}{4} ~\approx ~ 0.0264. \end{aligned}$$
(4)

Hence, any \(\varepsilon >0\) satisfying (4) (and then also (3)) is such that \({\mathcal {E}}=\{(a,a'),(b,b'),(c,c')\}\) is the only maximum matching of \(R\cup B\). It remains to show that \(D_{aa'}\cap D_{bb'}\cap D_{cc'}=\emptyset \). To see that, it is straightforward to show (based on the fact that \(c\notin D_{aa'}\) and \(c\notin D_{bb'}\)) that all points of \(D_{aa'}\cap D_{cc'}\) have negative x-coordinates, and all points of \(D_{bb'}\cap D_{cc'}\) have positive x-coordinates. \(\square \)

Let \(|R|=|B|=n\). If \(n=2\), then the disks of \(D_{{\mathcal {E}}}\) always intersect by Proposition 2.1. If \(n=3\), then the disks of \(D_{{\mathcal {E}}}\) may not intersect by Theorem 2.2. One could expect that the disks of \(D_{{\mathcal {E}}}\) always intersect if n is sufficiently large. Next, we answer this question negatively.

Theorem 2.3

For any \(n\ge 4\), there exist point sets \(R\cup B\), with \(R\cap B=\emptyset \) and \(|R|=|B|=n\), such that, for any max-sum matching \({\mathcal {E}}\) of R and B, the intersection of the disks of \(D_{{\mathcal {E}}}\) is the empty set.

Proof

We construct a set R of n red points, and a set B of n blue points, as follows. First, take six points \(a,b,c\in R\) and \(a',b',c'\in B\) as in Theorem 2.2. Second, we add \(n-3\) red points and \(n-3\) blue points in the \(\varepsilon \)-neighborhood of point c, as explained below (see Figure 2, a zoomed-in view of Figure 1), where \(\varepsilon >0\) is a sufficiently small number that will be specified later.

Fig. 2
figure 2

Proof of Theorem 2.3

Add \(n-3\) blue points, denoted \(a'_1,a'_2,\dots ,a'_{n-3}\), on the segment \(b'a'\). Note that they are within distance \(\varepsilon \) from c since \(\Vert c-b'\Vert =\Vert c-a'\Vert =\varepsilon \). Add \(n-3\) red points, denoted \(a_1,a_2,\dots ,a_{n-3}\), on the horizontal line through c (perpendicular to \(cc'\)), and within distance \(\varepsilon \) from c (see Figure 2). Then, we have \(\Vert c'-a_i\Vert \ge \Vert c'-c\Vert \) for all \(i\in \{1,\ldots ,n-3\}\).

Consider two matchings \({\mathcal {M}}_1\) and \({\mathcal {M}}_2\) such that: in \({\mathcal {M}}_1\) point \(c'\) is matched to c or to some \(a_i\), \(i\in \{1,\dots ,n-3\}\); and in \({\mathcal {M}}_2\) point \(c'\) is matched to a or to b. Given \(p\in R\cup B\), and a matching \({\mathcal {M}}\) of \(R\cup B\), let \({\mathcal {M}}(p)\) be the point such that p and \({\mathcal {M}}(p)\) are matched in \({\mathcal {M}}\). Clearly, it holds that

$$\begin{aligned} \Vert c'-{\mathcal {M}}_1(c')\Vert ~\ge ~\Vert c'-c\Vert ~=~3-\sqrt{3}~~\text {and}~~\Vert a-{\mathcal {M}}_1(a)\Vert ~\ge ~ \Vert a-c\Vert -\varepsilon ~=~2-\varepsilon . \end{aligned}$$

Similarly, \(\Vert b-{\mathcal {M}}_1(b)\Vert \ge 2-\varepsilon \). Then, \({\text {cost}}({\mathcal {M}}_1)\ge 3-\sqrt{3}+2(2-\varepsilon )=7 - \sqrt{3} - 2\varepsilon \).

By symmetry, we can assume that \((a,c')\in {\mathcal {M}}_2\). In \({\mathcal {M}}_2\), point b is matched to \(a'\), to \(b'\), or to some \(a'_i\), \(i\in \{1,\dots ,n-3\}\). Then, we have that

$$\begin{aligned} \Vert b-{\mathcal {M}}_2(b)\Vert ~\le ~\Vert b-b'\Vert ~\le ~ \Vert b-c\Vert +\varepsilon ~=~ 2+\varepsilon . \end{aligned}$$

Furthermore, the members of the remaining \(n-2\) pairs of \({\mathcal {M}}_2\) are within distance \(\varepsilon \) from c. Thus, \({\text {cost}}({\mathcal {M}}_2)\le \sqrt{10}+2+\varepsilon +2(n-2)\varepsilon \). We choose \(\varepsilon >0\) such that

$$\begin{aligned} 7 - \sqrt{3} - 2\varepsilon ~>~ \sqrt{10}+2+\varepsilon +2(n-2)\varepsilon , \end{aligned}$$

or what is the same,

$$\begin{aligned} 5 - \sqrt{3} - \sqrt{10} ~>~ (2n-1) \varepsilon . \end{aligned}$$

Since \(5-\sqrt{3}-\sqrt{10}\approx 0.10567\), we can choose \(\varepsilon <\frac{1}{10(2n-1)}\) to ensure \({\text {cost}}({\mathcal {M}}_1)>{\text {cost}}({\mathcal {M}}_2)\).

Therefore, \({\mathcal {E}}\ne {\mathcal {M}}_2\) and we can assume that \({\mathcal {E}}={\mathcal {M}}_1\). To show that the intersection of the disks in \(D_{{\mathcal {E}}}\) is empty, it suffices to show that the disks \(D_{a{\mathcal {M}}_1(a)},D_{b{\mathcal {M}}_1(b)}\) and \(D_{c'{\mathcal {M}}_1(c')}\) do not have a common point. To this end, note that (which is straightforward to prove by construction) that all points of \(D_{a{\mathcal {M}}_1(a)}\cap D_{c'{\mathcal {M}}_1(c')}\) have negative x-coordinates, and all points of \(D_{b{\mathcal {M}}_1(b)}\cap D_{c'{\mathcal {M}}_1(c')}\) have positive x-coordinates. The result thus follows. \(\square \)

3 On monochromatic matchings

In this section, we first show that the constant in inequality (2) can be improved to \(\sqrt{5}\approx 2.236\). We start by proving the next technical lemma:

Lemma 3.1

Let p and q be two points of the plane, and let \(r_{pq}\) be the radius of disk \(D_{pq}\). Let D be a second disk with center o and radius \(r\le r_{pq}\) such that \(D\cap D_{pq}\ne \emptyset \). Then,

$$\begin{aligned} \Vert p-o\Vert +\Vert q-o\Vert ~\le ~ \sqrt{5}\cdot \Vert p-q\Vert . \end{aligned}$$

Proof

Let \(o_{pq}\) denote the center of \(D_{pq}\), and note that \(\Vert o-o_{pq}\Vert \le r+r_{pq}\le 2\cdot r_{pq}=\Vert p-q\Vert \), because \(D\cap D_{pq}\ne \emptyset \). Then, we have that:

$$\begin{aligned} (\Vert p-o\Vert +\Vert q-o\Vert )^2&~\le ~ 2\cdot (\Vert p-o\Vert ^2+\Vert q-o\Vert ^2)&\text {(Cauchy-Schwarz's inequality)} \\&~=~ 2\left( \frac{1}{2}\Vert p-q\Vert ^2+2\cdot \Vert o-o_{pq}\Vert ^2\right)&\text {(Apollonius' theorem)} \\&~=~ \Vert p-q\Vert ^2+4\cdot \Vert o-o_{pq}\Vert ^2 \\&~\le ~ 5\cdot \Vert p-q\Vert ^2, \end{aligned}$$

which implies the lemma. \(\square \)

Lemma 3.1 and Proposition 2.1 imply the following theorem.

Theorem 3.2

For any \(n\ge 2\), and any planar n-point sets R and B such that \(R\cap B=\emptyset \), consider any max-sum matching \({\mathcal {E}}=\{(a_i,b_i), i=1,\dots ,n\}\) of \(R\cup B\). Let o be the midpoint of the shortest segment in the matching \({\mathcal {E}}\). Then, for all \(i\in \{1,\ldots ,n\}\),

$$\begin{aligned} \Vert a_i-o\Vert +\Vert b_i-o\Vert ~\le ~ \sqrt{5}\cdot \Vert a_i-b_i\Vert . \end{aligned}$$

Note that the bound of \(\sqrt{5}\) is tight if the point o is always the midpoint of the shortest segment. Namely, consider 2 red points and 2 blue points, as vertices of a square, such that diagonal-opposed vertices have the same color.

We now strengthen Theorem 3.2. Precisely, we prove that for any point set P of 2n uncolored points in the plane and a max-sum matching \({\mathcal {M}}=\{(a_i,b_i),i=1,\dots ,n\}\) of P, all disks in \(D_{{\mathcal {M}}}\) have a common intersection. We will use Helly’s theorem, that is, we will prove the claim for \(n=3\).

We note that P might contain different points with the same coordinates. Furthermore, the common intersection might be a singleton. Namely, consider six points a, b, c, \(a'\), \(b'\), and \(c'\), where a, b, and c are the vertices of a non-empty triangle, and \(a'\), \(b'\), and \(c'\) coincide with a point z in the interior of the triangle. By the triangle inequality, the matching \(\{(a,a'),(b,b'),(c,c')\}\) is max-sum, and z is the only point in the common intersection \(D_{aa'}\cap D_{bb'}\cap D_{cc'}\). For any matching \({\mathcal {M}}\), the segments of \({\mathcal {M}}\) is the segment set \(\{pq\mid (p,q)\in {\mathcal {M}}\}\).

Let p, q, and r be three points of the plane. We denote by \(\Delta pqr\) the triangle with vertices p, q, and r; by \(\ell (p,q)\) the straight line through p and q oriented from p to q; by \(\tau (p,q)\) the ray with apex p that goes through q; by \(\vec {pq}\) the segment pq oriented from p to q; and by \(C_{pq}\) the circle bounding \(D_{pq}\). Furthermore, given a fourth point s, we say that \(\vec {pq}\) points to rs if q is in the interior of \(\Delta prs \cap D_{rs}\). See Figure 3 (left), where segment \(\vec {cd}\) points to ab.

The first observation that we state is that if \({\mathcal {M}}\) is a max-sum matching, then the disks of \(D_{{\mathcal {M}}}\) intersect pairwise, as a consequence of Proposition 2.1. Second, every pair of segments of \({\mathcal {M}}\) either cross or one oriented segment points to the other one, as formally proved in the following lemma. Third, the four vertices of any two disjoint segments cannot be in convex position, because the matching would not be max-sum by the triangle inequality.

Fig. 3
figure 3

(Left) \(\vec {cd}\) points to ab. (Right) Proof of Lemma 3.3

Lemma 3.3

Let \(\{a,b,c,d\}\) be a set of four points such that \(\{(a,b),(c,d)\}\) is a max-sum matching of \(\{a,b,c,d\}\) and d belongs to the interior of \(\Delta abc\). Then, d belongs to the interior of disk \(D_{ab}\). That is, \(\vec {cd}\) points to ab.

Proof

Let \(d'\) be the reflection of d about the midpoint \(m=(a+b)/2\) of segment ab, also the center of \(D_{ab}\), and assume w.l.o.g. that d belongs to triangle \(\Delta acd'\). Refer to Figure 3 (right). Then,

$$\begin{aligned} \Vert c-d\Vert + \Vert d-d'\Vert ~<~ \Vert c-a\Vert + \Vert a-d'\Vert . \end{aligned}$$

Namely, the perimeter of triangle \(\Delta dcd'\) is smaller than the perimeter of triangle \(\Delta acd'\), which implies the inequality. Using that \(\Vert a-d'\Vert =\Vert d-b\Vert \) because the quadrilateral with vertex set \(\{a,d',b,d\}\) is a parallelogram (or rhomboid), and that \(\Vert c-a\Vert + \Vert d-b\Vert \le \Vert a-b\Vert + \Vert c-d\Vert \) because \(\{(a,b),(c,d)\}\) is a max-sum matching, the equation can be extended to

$$\begin{aligned} \Vert c-d\Vert + \Vert d-d'\Vert&~<~ \Vert c-a\Vert + \Vert a-d'\Vert \\&~=~ \Vert c-a\Vert + \Vert d-b\Vert \\&~\le ~ \Vert a-b\Vert + \Vert c-d\Vert , \end{aligned}$$

which implies that \(\Vert d-d'\Vert <\Vert a-b\Vert \). That is, \(\Vert d-m\Vert =\Vert d-d'\Vert /2\) is smaller than the radius \(\Vert a-m\Vert =\Vert a-b\Vert /2\) of \(D_{ab}\), whose center is m. These observations imply the result. \(\square \)

As mentioned above, we will elaborate a proof for \(n=3\), that is, matchings of three segments. Since every pair of segments of a max-sum matching cross, or one of them points to the other one, we distinguish ten cases of relative position (or order-type) of the three segments, as shown in Figure 4, enumerated from (A) to (J). In the rest of this section, we will first show with direct proofs that in each of the cases from (A) to (G) the three disks have a common point. After that, we will use a proof by contradiction for each of the cases from (H) to (J).

The general idea of these latter proofs by contradiction is the following: Since the disks pairwise intersect, but they do not have a common intersection, we can extend one of the segments (by moving one of its vertices) such that the new three disks have a singleton common intersection. In this new setting, the three new segments must fall again in one of the cases from (H) to (J). Then, we show that the new segments must correspond to a max-sum matching given that the original ones do, but contradictorily such a new matching is not max-sum.

Fig. 4
figure 4

The ten different relative positions of three segments

Lemma 3.4

If the segments of a max-sum matching of six points fall in one of the cases from (A) to (G), then the three disks of the matching have a common intersection.

Proof

Let \(\{a,b,c,a',b',c'\}\) be a 6-point set, and let \({\mathcal {M}}=\{(a,a'),(b,b'),(c,c')\}\) be a max-sum matching. In any case, refer to Figure 5 for the location of each point.

Case (A): At least one altitude of the triangle T bounded by the three segments goes through the interior of T. Let u be the vertex of such an altitude in a side of T. By Thales’ theorem, each of the three disks \(D_{aa'}\), \(D_{bb'}\), and \(D_{cc'}\) contains u.

Case (B): Let u be the intersection point between \(bb'\) and \(cc'\). If \(D_{bb'}\) contains a, then we are done since \(a\in D_{cc'}\) because \(\vec {a'a}\) points to \(cc'\) (Lemma 3.3). Similarly, if \(D_{cc'}\) contains \(a'\), then we are done since \(a'\in D_{bb'}\) because \(\vec {aa'}\) points to \(bb'\). Otherwise, if \(a\notin D_{bb'}\) and \(a'\notin D_{cc'}\), then the triangle \(\Delta aa'u\) is such that the interior angles at a and \(a'\), respectively, are both acute. Hence, the altitude h from vertex u goes through the interior of \(\Delta aa'u\), and let \(v\in aa'\) be the other vertex of h. Since \(\vec {a'a}\) points to \(cc'\), and \(\vec {aa'}\) points to \(bb'\), each of the disks \(D_{aa'}\), \(D_{bb'}\), and \(D_{cc'}\) contains v, by Thales’ theorem. The proof for Case (C) is both similar and simpler.

Case (D): If \(D_{bb'}\) contains \(c'\), then we are done since \(c'\in D_{aa'}\) because \(\vec {cc'}\) points to \(aa'\) (Lemma 3.3). Similarly, if \(D_{cc'}\) contains b, then we are done since \(b\in D_{aa'}\) because \(\vec {b'b}\) points to \(aa'\). Otherwise, if \(c'\notin D_{bb'}\) and \(b\notin D_{cc'}\), then the triangle \(\Delta c'bu\) is such that the interior angles at \(c'\) and b, respectively, are both acute. Hence, the altitude h from vertex u goes through the interior of \(\Delta c'bu\), and let \(v\in c'b\) be the other vertex of h. We have \(v\in D_{bb'}\cap D_{cc'}\), by Thales’ theorem. Furthermore, since \(c',b\in D_{aa'}\), we have that segment \(c'b\) is contained in \(D_{aa'}\). Hence, \(v\in D_{aa'}\cap D_{bb'}\cap D_{cc'}\).

Cases (E)(F), and (G): In each of these cases, the same oriented segment points to each of the other two ones: Say, segment \(\vec {aa'}\) points to both \(bb'\) and \(cc'\). Then, we have that \(a'\in D_{bb'}\cap D_{cc'}\), by Lemma 3.3. Hence, \(a'\in D_{aa'}\cap D_{bb'}\cap D_{cc'}\). This completes the proof. \(\square \)

Fig. 5
figure 5

Proof of Lemma 3.4

We now prove several technical lemmas, which will be used for the cases from (H) to (J). The following lemma guarantee that if we extend one segment by moving one of the points, then the resulting segments correspond to a max-sum matching of the resulting point set. The rest of the lemmas impose monotone properties, and situations in which \(\{(a,a'),(b,b'),(c,c')\}\) is not a max-sum matching of point set \(\{a,b,c,a',b',c'\}\), all of them associated with cases from (H) to (J).

Lemma 3.5

Let \({\mathcal {M}}=\{(a_i,b_i),i=1,\dots ,n\}\) be a max-sum matching of the set P of 2n uncolored points, and let \(c\notin P\) be a point such that \(b_1\) belongs to the interior of the segment \(a_1c\). Then, \({\mathcal {M}}^*=({\mathcal {M}}\setminus \{(a_1,b_1)\})\cup \{(a_1,c)\}\) is a max-sum matching of \((P\setminus \{b_1\})\cup \{c\}\).

Proof

Let \({\mathcal {M}}'\) denote any matching of \((P\setminus \{b_1\})\cup \{c\}\), and note that \(({\mathcal {M}}'\setminus \{(c,{\mathcal {M}}'(c))\})\cup \{(b_1,{\mathcal {M}}'(c))\}\) is a matching of P. Then,

$$\begin{aligned} {\text {cost}}({\mathcal {M}}')&~=~ {\text {cost}}\left( {\mathcal {M}}'\setminus \{(c,{\mathcal {M}}'(c))\}\right) + \Vert {\mathcal {M}}'(c)-c\Vert \\&~\le ~ {\text {cost}}\left( {\mathcal {M}}'\setminus \{(c,{\mathcal {M}}'(c))\}\right) + \Vert {\mathcal {M}}'(c)-b_1\Vert + \Vert b_1-c\Vert&\text {(triangle inequality)} \\&~=~ {\text {cost}}(({\mathcal {M}}'\setminus \{(c,{\mathcal {M}}'(c))\})\cup \{(b_1,{\mathcal {M}}'(c))\}) + \Vert b_1-c\Vert \\&~\le ~ {\text {cost}}({\mathcal {M}}) + \Vert b_1-c\Vert \\&~=~ {\text {cost}}({\mathcal {M}}^*). \end{aligned}$$

Hence, the lemma follows. \(\square \)

Lemma 3.6

Let p, \(p'\), q, and \(q'\) be four points such that \(\vec {pp'}\) points to \(qq'\), and q is to the right of \(\ell (p,p')\). Let z be a point to the left of both \(\ell (p,p')\) and \(\ell (q,q')\) such that: (i) q is to the left of \(\ell (z,p)\); (ii) vectors \(p-z\) and \(p'-z\) are orthogonal, and vectors \(q-z\) and \(q'-z\) are also orthogonal. Refer to Figure 6a. Then, we have that

$$\begin{aligned} \Vert p-z\Vert -\Vert q-z\Vert ~<~ \Vert p-q'\Vert -\Vert q-q'\Vert . \end{aligned}$$
(5)

Proof

Rearranging terms in equation (5), we need to prove that

$$\begin{aligned} \Vert p-z\Vert +\Vert q-q'\Vert ~<~ \Vert p-q'\Vert +\Vert q-z\Vert . \end{aligned}$$
(6)

Conditions (i) and (ii), the fact that \(\vec {pp'}\) points to \(qq'\), and the location of z, imply that q is to the right of \(\ell (z,p')\) if and only if segments \(pq'\) and qz have a common point.

Suppose that q is to the right of \(\ell (z,p')\) (see Figure 6b), case where segments \(pq'\) and qz have a common point. Then, p, q, \(q'\), and z are the vertices of a convex quadrilateral with non-empty interior and diagonals \(pq'\) and zq. Hence, Equation (6) holds by the triangle inequality.

Suppose now that q is not to the right of \(\ell (z,p')\) (see Figure 6c), then segments \(pq'\) and qz do not intersect. Let \(z'\) be the reflection of z about the center of segment \(qq'\), also the center of \(D_{qq'}\). Then, we have \(\Vert q-z\Vert =\Vert q'-z'\Vert \) and \(\Vert q-q'\Vert =\Vert z-z'\Vert \), by condition (ii) and Thales’ theorem. The fact that \(p'\) belongs to the interior of \(D_{qq'}\) given that \(\vec {pp'}\) points to \(qq'\), implies that \(z'\) must be to the right of line \(\ell (p,z)\). Then, since \(pq'\) and qz do not intersect, we have that z belongs to triangle \(\Delta pz'q'\). This implies

$$\begin{aligned} \Vert p-z\Vert +\Vert z-z'\Vert ~<~\Vert p-q'\Vert +\Vert q'-z'\Vert , \end{aligned}$$

then equation (5) and the result. \(\square \)

Fig. 6
figure 6

(a) Statement of Lemma 3.6. (b-c) Proof of Lemma 3.6.

Lemma 3.7

Let p, \(p'\), q, and \(q'\) be four points in convex position such that q and \(q'\) are to the right and left of line \(\ell (p,p')\), respectively. Let z be a point to the left of both \(\ell (p,p')\) and \(\ell (q,q')\) such that: vectors \(p-z\) and \(p'-z\) are orthogonal, and vectors \(q-z\) and \(q'-z\) are also orthogonal. Then, we again have that \(\Vert p-z\Vert -\Vert q-z\Vert < \Vert p-q'\Vert -\Vert q-q'\Vert \).

Proof

The proof is now simpler. In this case, segments \(pq'\) and qz have a common point, and the proof continues as that of Lemma 3.6. \(\square \)

Lemma 3.8

Let a, b, c, \(a'\), \(b'\), \(c'\), and z be seven points such that: c is to the left of line \(\ell (a,b)\); segments \(\vec {aa'}\), \(\vec {bb'}\), and \(\vec {cc'}\) point to \(bb'\), \(cc'\), and \(aa'\), respectively; and for each \(u\in \{a,b,c\}\), point z is to the left of line \(\ell (u,u')\), and vectors \(u-z\) and \(u'-z\) are orthogonal. Refer to Figure 7a. Then, \(\{(a,a'),(b,b'),(c,c')\}\) is not a max-sum matching of point set \(\{a,b,c,a',b',c'\}\).

Proof

We will prove

$$\begin{aligned} \Vert a-a'\Vert +\Vert b-b'\Vert +\Vert c-c'\Vert ~<~ \Vert a-b'\Vert +\Vert b-c'\Vert +\Vert c-a'\Vert . \end{aligned}$$
(7)

The conditions of the lemma guarantee (three times) the conditions of Lemma 3.6. That is, we can apply Lemma 3.6 for a, \(a'\), b, \(b'\), and z (where a and b play the role of p and q, respectively); for b, \(b'\), c, \(c'\), and z (where b and c play the role of p and q, respectively); and for c, \(c'\), a, \(a'\), and z (where c and a play the role of p and q, respectively). Hence, we obtain the following three inequalities:

$$\begin{aligned} \Vert a-z\Vert -\Vert b-z\Vert&~<~ \Vert a-b'\Vert -\Vert b-b'\Vert ,&(\text {Lemma~3.6})\\ \Vert b-z\Vert -\Vert c-z\Vert&~<~ \Vert b-c'\Vert -\Vert c-c'\Vert ,&(\text {Lemma~3.6})\\ \Vert c-z\Vert -\Vert a-z\Vert&~<~ \Vert c-a'\Vert -\Vert a-a'\Vert .&(\text {Lemma~3.6}) \end{aligned}$$

Adding the above three inequalities, we obtain inequality (7). The result thus follows. \(\square \)

Fig. 7
figure 7

(a) Lemma 3.8. (b) Lemma 3.9

Lemma 3.9

Let a, b, c, \(a'\), \(b'\), \(c'\), and z be seven points such that: c is to the left of line \(\ell (a,b)\); segments \(\vec {aa'}\) and \(\vec {bb'}\) point to \(bb'\) and \(cc'\), respectively; segments \(aa'\) and \(cc'\) have a common point with a and \(a'\) to the right and left of line \(\ell (c,c')\), respectively; and for each \(u\in \{a,b,c\}\), point z is to the left of line \(\ell (u,u')\), and vectors \(u-z\) and \(u'-z\) are orthogonal. Refer to Figure 7b. Then, \(\{(a,a'),(b,b'),(c,c')\}\) is not a max-sum matching of point set \(\{a,b,c,a',b',c'\}\).

Proof

The conditions of the lemma guarantee (twice) the conditions of Lemma 3.6. That is, we can apply Lemma 3.6 for a, \(a'\), b, \(b'\), and z (where a and b play the role of p and q, respectively); and for b, \(b'\), c, \(c'\), and z (where b and c play the role of p and q, respectively). Furthermore, we can apply Lemma 3.7 for c, \(c'\), a, \(a'\), and z (where c and a play the role of p and q, respectively). Hence, we obtain the following three inequalities:

$$\begin{aligned} \Vert a-z\Vert -\Vert b-z\Vert&~<~ \Vert a-b'\Vert -\Vert b-b'\Vert ,&(\text {Lemma~3.6})\\ \Vert b-z\Vert -\Vert c-z\Vert&~<~ \Vert b-c'\Vert -\Vert c-c'\Vert ,&(\text {Lemma~3.6})\\ \Vert c-z\Vert -\Vert a-z\Vert&~<~ \Vert c-a'\Vert -\Vert a-a'\Vert .&(\text {Lemma~3.7}) \end{aligned}$$

Adding the three inequalities above, we obtain again inequality (7). The result thus follows. \(\square \)

Let \(\alpha \) be a planar (open or closed) curve that splits the plane into two open regions. Given a point p not in \(\alpha \), let \(H(\alpha ,p)\) denote the region (between the two above ones) that contains p.

Proposition 3.10

Let a, b, \(a'\), and \(b'\) be four points such that \(\{(a,a'),(b,b')\}\) is a max-sum matching of \(\{a,b,a',b'\}\). Let \(\alpha \) be the arc of the hyperbola with foci a and b that goes through \(b'\). Then, we have that \(a'\in \alpha \cup H(\alpha ,b)\).

Proof

The arc \(\alpha \) is the locus of the points x of the plane such that \(\Vert a-x\Vert -\Vert b-x\Vert =\Vert a-b'\Vert -\Vert b-b'\Vert \). Since \(\{(a,a'),(b,b')\}\) is a max-sum matching, we have that \(\Vert a-b'\Vert -\Vert b-b'\Vert \le \Vert a-a'\Vert -\Vert b-a'\Vert \), which implies the proposition. \(\square \)

Fig. 8
figure 8

(a,b,c) Proof of Lemma 3.11

Lemma 3.11

Let p, \(p'\), and o be three points such that o is the midpoint of segment \(pp'\). Let z be a point of the circle \(C_{pp'}\) to the left of line \(\ell (p,p')\), q a point of segment \(zp'\) with \(q\ne p'\), and \(q'\) a point of ray \(\tau (o,z)\) not in segment oz. Then, \(\Vert p-p'\Vert + \Vert q-q'\Vert < \Vert p-q\Vert + \Vert p'-q'\Vert \).

Proof

We divide the proof into two cases: \(\Vert p-p'\Vert \ge \Vert q'-p'\Vert \); and \(\Vert p-p'\Vert < \Vert q'-p'\Vert \). In both cases, let \(\alpha \) be the arc of the hyperbola with foci p and \(q'\) that goes through \(p'\).

In the first case (see Figure 8a), let \(z'\) be the intersection point of \(C_{pp'}\) and \(pq'\). Note that \(\Vert p-p'\Vert \ge \Vert q'-p'\Vert \) implies that the region \(H(\alpha ,q')\) is convex. Furthermore, line \(\ell (p',z')\) is perpendicular to the line \(\ell (p,q')\) through the foci of \(\alpha \), and this implies that \(z'\) belongs to \(H(\alpha ,q')\), and then z belongs to the convex intersection \(H(\ell (p',z'),q')\cap H(\alpha ,q')\). Given that z belongs to the interior of \(\alpha \cup H(\alpha ,q')\), \(p'\) is on the boundary of \(\alpha \cup H(\alpha ,q')\), and that \(q\in zp'\), \(q\ne p'\), we also have that q belongs to \(H(\alpha ,q')\). This last fact, equivalent to \(q\notin \alpha \cup H(\alpha ,p)\), implies \(\Vert q'-q\Vert -\Vert p-q\Vert <\Vert q'-p'\Vert -\Vert p-p'\Vert \), by Proposition 3.10, hence the result.

Consider now the second case, \(\Vert p-p'\Vert < \Vert q'-p'\Vert \) (see Figure 8b). Let \(\beta \) be the bisector of the interior angle at \(p'\) of triangle \(\Delta op'q'\). By well-known properties of hyperbolas, \(\beta \) is the tangent of \(\alpha \) at \(p'\). Furthermore, \(\Vert p-p'\Vert < \Vert q'-p'\Vert \) implies that \(\beta \) separates \(\alpha \) from vertex \(q'\). Let \(z'\) be the intersection point between \(oq'\) and \(\beta \). We use the following claim to show that \(\Vert o-z'\Vert <\Vert o-p'\Vert \): If A, B, and C are the vertices of a triangle, and point E belongs to side AB, such that line \(\ell (C,E)\) is the bisector of the interior angle at C, then \(\Vert C-B\Vert >\Vert B-E\Vert \). The claim follows from the fact that in any triangle, precisely in \(\Delta BCE\), larger sides correspond to larger opposed interior angles (see Figure 8c). Applying the claim to \(\Delta op'q'\), we have \(\Vert o-z'\Vert <\Vert o-p'\Vert \), which implies that \(\beta \) separates point z and arc \(\alpha \). Furthermore, \(\beta \) separates point q and \(\alpha \) because \(q\in zp'\setminus \{p'\}\). This last fact shows that q is to left of \(\alpha \) in the direction from \(q'\) to p (i.e. \(q\notin \alpha \cup H(\alpha ,p)\)), implying \(\Vert q'-q\Vert -\Vert p-q\Vert <\Vert q'-p'\Vert -\Vert p-p'\Vert \), by Proposition 3.10. The results thus follows. \(\square \)

Lemma 3.12

Let a, b, c, \(a'\), \(b'\), \(c'\), and z be seven points such that: none of them is to the right of line \(\ell (a,a')\); segments \(\vec {b'b}\), \(\vec {bb'}\), and \(\vec {cc'}\) point to \(aa'\), \(cc'\), and \(aa'\), respectively; and for each \(u\in \{a,b,c\}\), point z is to the left of line \(\ell (u,u')\), and vectors \(u-z\) and \(u'-z\) are orthogonal. Refer to Figure 9a. Then, \(\{(a,a'),(b,b'),(c,c')\}\) is not a max-sum matching of \(\{a,b,c,a',b',c'\}\).

Fig. 9
figure 9

(a,b) Proof of Lemma 3.12

Proof

We can apply Lemma 3.6 for b, \(b'\), c, \(c'\), and z (where b and c play the role of p and q, respectively); and for c, \(c'\), a, \(a'\), and z (where c and a play the role of p and q, respectively). Hence, we obtain the following two inequalities:

$$\begin{aligned} \Vert b-z\Vert -\Vert c-z\Vert&~<~ \Vert b-c'\Vert -\Vert c-c'\Vert ,&(\text {Lemma~3.6})\\ \Vert c-z\Vert -\Vert a-z\Vert&~<~ \Vert c-a'\Vert -\Vert a-a'\Vert .&(\text {Lemma~3.6}) \end{aligned}$$

Let o denote the midpoint of segment \(aa'\), also the center of \(D_{aa'}\). Given that \(z-c\) and \(z-c'\) are orthogonal, and \(\vec {cc'}\) points to \(aa'\), we have that c is to the left of line \(\ell (o,z)\). Note that if c is to the right of, or in, \(\ell (o,z)\), then \(c'\) would not belong to the interior of \(D_{aa'}\). Similarly, since \(z-b\) and \(z-b'\) are orthogonal, and \(\vec {b'b}\) points to \(aa'\), we have that \(b'\) is to the right of line \(\ell (o,z)\). Then, since \(\vec {bb'}\) points to \(cc'\), we have that rays \(\tau (b,b')\) and \(\tau (o,z)\) must intersect.

If point b belongs to triangle \(\Delta aa'z\) (see Figure 9b), then the facts that \(z-b\) and \(z-b'\) are orthogonal, and \(\tau (b,b')\cap \tau (o,z)\ne \emptyset \) imply that segments bz and \(ab'\) have a common point. Hence, \(\Vert a-z\Vert +\Vert b-b'\Vert <\Vert b-z\Vert +\Vert a-b'\Vert \) by the triangle inequality. That is,

$$\begin{aligned} \Vert a-z\Vert -\Vert b-z\Vert ~<~ \Vert a-b'\Vert -\Vert b-b'\Vert . \end{aligned}$$

Adding the three inequalities above, we obtain again inequality (7), implying the result.

In the contrary case, b does not belong to \(\Delta aa'z\), (see Figure 9a), let us assume by contradiction that the matching \(\{(a,a'), (b,b'),(c,c')\}\) is max-sum. Then, the matching \(\{(a,a'),(b,b')\}\) is also max-sum. Let w and \(w'\) be the intersection points of \(\ell (b,b')\) with \(\tau (o,z)\) and \(za'\), respectively. Note that \(bb'\subset ww'\), and by Lemma 3.5, \(\{(a,a'),(w,w')\}\) is a max-sum matching of \(\{a,a',w,w'\}\). But we can apply Lemma 3.11, where a and w play the role of p and q, respectively, to have that \(\{(a,a'),(w,w')\}\) is not max-sum, which implies the result. \(\square \)

We are now ready to give the proofs to the missing cases, those from (H) to (J).

Lemma 3.13

If the segments of a max-sum matching of six points fall in one of the cases from (H) to (J), then the three disks of the matching have a common intersection.

Proof

Suppose by contradiction that the three disks, denoted \(D_1\), \(D_2\), and \(D_3\), intersect pairwise, but without a common intersection (see Figure 10). Let \(u_{1,2}\), \(u_{2,3}\), and \(u_{3,1}\) be the vertices of the pairwise disjoint lenses \(D_1\cap D_2\), \(D_2\cap D_3\), and \(D_3\cap D_1\), respectively, located in the triangle with vertices the centers of \(D_1\), \(D_2\), and \(D_3\), respectively.

Fig. 10
figure 10

Proof of Lemma 3.13

The idea is to use Lemma 3.5, in combination with Lemmas 3.83.9, and 3.12, such that the point z of these lemmas is among \(u_{1,2}\), \(u_{2,3}\), and \(u_{3,1}\). To this end, we need to guarantee that point z is not an extreme point of some segment of the matching. This is done in the next paragraph.

Note that two vertices among \(u_{1,2}\), \(u_{2,3}\), and \(u_{3,1}\) cannot be the extreme points of a same segment of the matching. Furthermore, if each of the three vertices is an extreme point of some segment of the matching, then at least one pair of disjoint segments violates Lemma 3.3. That is, the extreme point of one segment, in the interior of the convex hull of the four involved points, is not in the interior of the disk corresponding to the other segment. Hence, we can assume that at least one vertex among \(u_{1,2}\), \(u_{2,3}\), and \(u_{3,1}\) is not an extreme point of a segment of the matching: say vertex \(u_{1,2}\). This implies that we can extend the segment of disk \(D_3\) by moving one of its extreme points such that the new three matching disks have a singleton common intersection at \(u_{1,2}\). Let \(z=u_{1,2}\), where z is distinct from all the new six points.

Let the new six points be denoted as a, b, c, \(a'\), \(b'\), and \(c'\), in such a way that the new segments are precisely \(aa'\), \(bb'\), and \(cc'\), and for each \(u\in \{a,b,c\}\) point z is to the left of line \(\ell (u,u')\). By Lemma 3.5, \(\{(a,a'),(b,b'),(c,c')\}\) is a max-sum matching of \(\{a,b,c,a',b',c'\}\).

It is important to note the following: If the original segments are in Case (H), then by extending one segment we can stay in Case (H), or go to Case (I). If the original segments are in Case (I), then by extending one segment we can stay in Case (I), or go to Case (C) with a non-singleton common intersection of the three disks. Otherwise, if the original segments are in Case (J), then by extending one segment we can stay in Case (J), or go to Case (B) or (D) with a non-singleton common intersection of the three disks. Hence, since the common intersection of the new three disks \(D_{aa'}\), \(D_{bb'}\), and \(D_{cc'}\) is singleton, we can ensure that the new segments \(aa'\), \(bb'\), and \(cc'\) are again in a case from (H) to (J), and the proof continues as follows.

If \(aa'\), \(bb'\), and \(cc'\) fall in Case (H), then by Lemma 3.8\(\{(a,a'),(b,b'),(c,c')\}\) is not max-sum. If they are in in Case (I), then by Lemma 3.9\(\{(a,a'),(b,b'),(c,c')\}\) is not max-sum. Otherwise, if they are in in Case (J), then by Lemma 3.12 we have that \(\{(a,a'),(b,b'),(c,c')\}\) is not max-sum. There exists a contradiction in each of the cases, thus the original three disks must have a common intersection. The lemma thus follows. \(\square \)

Combining Lemma 3.4 and Lemma 3.13, with Helly’s theorem, we state now the main results of this paper:

Theorem 3.14

Let P be a set of 2n (uncolored) points in the plane. Any max-sum matching \({\mathcal {M}}\) of P is such that all disks of \(D_{{\mathcal {M}}}\) have a common intersection.

Corollary 3.15

Let P be a set of 2n (uncolored) points in the plane, and let \(\{(a_i,b_i),i=1,\dots ,n\}\) be a max-sum matching of P. Then, there exists a point o of the plane such that for all \(i\in \{1,\ldots ,n\}\) we have:

$$\begin{aligned} \Vert a_i-o\Vert +\Vert b_i-o\Vert ~\le ~ \sqrt{2}\cdot \Vert a_i-b_i\Vert . \end{aligned}$$