Maximizing the Sum of the Distances between Four Points on the Unit Hemisphere††thanks: Supported by NSFC under Grant Nos. 12071282, 61772203.
Abstract
In this paper, we prove a geometrical inequality which states that for any four points on a hemisphere with the unit radius, the largest sum of distances between the points is . In our method, we have constructed a rectangular neighborhood of the local maximum point in the feasible set, which size is explicitly determined, and proved that (1): the objective function is bounded by a quadratic polynomial which takes the local maximum point as the unique critical point in the neighborhood, and (2): the rest part of the feasible set can be partitioned into a finite union of a large number of very small cubes so that on each small cube the conjecture can be verified by estimating the objective function with exact numerical computation.
1 Introduction
Assume that four points are placed on the hemisphere of the unit radius:
we want to find the largest value of the sum of distances between them. A similar problem for maximizing the sum of distances between points on the unit sphere has been studied by many people in past (see [1], [2], and [3] for example), where we can see that the problem for four points is very easy and for it becomes very difficult. To our knowledge, the question for points on hemispheres seems not settled yet in the literature.
As we will prove in Lemma 1, if the sum of distances between four points is maximal, then the center of the sphere must lie in the interior or on one of the surfaces of the tetrahedron formed by the four points, which immediately implies that, as shown in Fig. 1, at least three of the four points must lie on the equator of the hemisphere:

In the beginning, we guessed that the optimal configuration is formed by three vertices of an equilateral triangle inscribed in the equator with the fourth point at the North Pole, so the largest sum is equal to . Soon we found that is not the maximal, since if we put all four points on the equator in a regular square form, then the sum of distances is:
Indeed, it is easy to see that if are arbitrary points on the equator and the point is located very close to the North Pole , namely, if the distance , then we have
and therefore, is not the optimal configuration.
Considering that the optimal configuration is invariant under the rotation around the -axis, we can express the optimal problem to a non-linear programming as follows:
(1) | |||||
s.t. | |||||
We may try to solve this problem by using the Lagrangian multiplier method and symbolic computer algebra. It is easy to prove that
form a local optimal solution of Problem (1), but it is hard to prove that it is also a global maximum. The attempt for proving that is the unique critical point of was not successful since too large objects occurred in the elimination process. We have also applied several numerical algorithms to search the optimal configuration and found from experiments that seems to be the real global maximum. In this paper, we devote ourselves to construct a proof of this fact by combining numerical and symbolic computation. Our strategy is as follows. In the first stage (the numerical global search stage) we prove that
Theorem 1.
If and form an optimal configuration for Problem (1), then, up to a rotation of hemisphere around the -axis, we have
where
(2) | |||
(3) | |||
(4) |
and .
In this stage, we divide the set of the feasible points of Problem (1), namely, , into a disjoint union of finitely many small cubes and check the conjecture on each cube through estimating the upper bound of the objective function on that cube with exact numerical computation of computer algebra software like Maple, throw away those cubes where the conjecture is proved, and do branch-and-bound process recursively on the remained cubes. According to the Borel-Lebesgue covering theorem and the continuity of the objective function, this process will be terminated in finitely many rounds if the strict inequality is actually true on the consideration set.
In the second stage (the local critical analysis stage), we use symbolic computation to prove the following inequality:
Theorem 2.
If are defined in Theorem 1. Then for any , the following inequality is valid:
In this stage, we first verify that , constitute a critical point of , and the objective function can be expressed in the form
where are determined by
and
is a positive definite polynomial, is a negative semi-definite symmetric matrix, and h.o.t. stands for higher order terms of polynomials, then construct a symmetric matrix , in a mechanical way, so that
and is negative semi-definite when satisfies that , and .
Certainly, by combining Theorem 1 and Theorem 2 together, we get a complete solution to Problem (1). It is also clear that if we can construct larger neighborhoods in the local critical analysis stage, then the computation will be reduced significantly in the global numerical search stage, since is changing very slowly when approaches critical points. The first work to use this two-stage method for proving geometric inequality can be traced to 1988 when Jingzhong Zhang of Chengdu Branch of the Chinese Academy of Sciences gave a machine proof (unpublished) on a Sharp PC-1500 pocket computer to a geometric inequality of Zirakzadeh [4], which says that given a triangle , any points on the boundary of which divide the perimeter of into three equal lengths satisfy . A detailed explanation of Zhang’s method is given in [5]. Related to the automated deduction in the local critical analysis stage, a general construction method for computing the size of the locally optimal regions of multivariable homogeneous polynomials is presented in [6]. Notice also that in [7] Hou et al. reported a solution for maximizing the distance sum between five points on the unit sphere essentially using the two-stage method.
For the sake of page limitation, we will concentrate mainly to make an explanation to the local critical analysis (stage 2) for Problem (1) in this paper. The paper is organized as follows. In Section 2 we transform Problem (1) to an equivalent non-linear optimization problem which has relatively simple objective function . In Section 3 we prove a stronger version of Theorem 2. In Section 4 we concisely describe the process of global numerical search for proving Theorem 1.
2 Prelimnaries
Lemma 1.
If are four points on the upper hemisphere such that the sum of distances between them is maximal, then the sphere center is contained in the interior of or lies on one surface of .
Proof.
It is easy to see that the convex hull of any four points on a sphere is either a tetrahedron or a planar (convex) quadrilateral, and in the latter case, if the sum of distances between them is maximal, then they are all on the equator and is contained in the interior of the quadrilateral.
Now we assume that the convex of is a tetrahedron and that the center of the sphere lies in the outside of , then, without loss of generality, we can assume further that and lie at different sides of the plane . Let be the radius of the circumcircle of the triangle , the center of the circle.
If , then the plane determined by cuts the unit sphere into two spherical caps, whereas lies on the smaller one (denoted by ), and lies in the interior of the convex hull of the larger one (denoted by ). Construct the sphere with center at and radius . Then are on a great circle on and the plane cuts into two hemispheres. Let be the hemisphere of which lies in the same side of the plane with . Then, is contained in the interior of and is contained in the interior of the convex hull of . Let be the point on so that . Then it is easy to see that
and therefore,
which is impossible since .
If and is neither in the interior of and nor in the triangle and its edges, then are on the equator of . Without loss of generality, we may assume that lie on different sides of line . Let be the radius of the circumcircle of the triangle , the center of the circle. Construct the sphere with center at and radius . Then the plane cuts into two hemispheres. Let be the hemisphere that lies on the same side of the plane with . Then is contained in the interior of . Let be the point satisfying . Then we will have
which is also impossible since .
Finally we proved that if form an optimal solution of Problem (1), then are on the equator of the hemisphere, and is in the interior or edges of , up to a permutation of the four points. ∎
According to Lemma 1, we may assume that , and and search the maximal sum of the distances between the four points. It is clear that for any two points with , we have
Define the “warp distance” between two points in the unit disk as follows:
Let
(5) |
be the -projection. Then for on the equator and on the hemisphere , we have
for . Thus, we can transform Problem (1) into the following optimization problem on :
s.t. | (6) | ||||
It is clear that is an optimal configuration of Problem (1) if and only if is an optimal configuration of Problem (2). We will prove the following result:
Theorem 3.
If and satisfy the following conditions:
then
and the equality holds if and only if .
This result is stronger than Theorem 2, since if , and
then their -projections satisfy the conditions (i), (ii) and (iii) in Theorem 3. To prove Theorem 3 we first setup a parametric representation for the coordinates of points in Problem (2). Notice that the property in Lemma 1 implies that so we may assume that
for , and since the optimal configuration satisfies
so without loss of generality, we may take such that
and therefore , and we assumed that
for and . Furthermore, the condition together with implies that . Thus, the constraint conditions of Problem (2) can be expressed as
We also need the following two lemmas in the proof of Theorem 3.
Lemma 2.
For ,
Proof.
∎
Lemma 3.
If are positive real numbers such that , then
(7) |
where .
Proof.
Let be a permutation of the following numbers
then and
Now we compute
as follows.
Therefore,
as claimed. ∎
3 Automated Local Critical Analysis
Now we give the proof of Theorem 3.
Proof.
For simplicity we drop the subscripts of . Assume that
and
Then, the conditions (i), (ii), (iii) in Theorem 3 can be transformed into
and the condition (iv) that is in the inside (or on the edges) of can be represented by that the oriented area of is positive,
(8) |
Applying Lemma 2, we have
(9) | ||||
(10) | ||||
(11) | ||||
(12) |
(13) |
(14) |
Summer up the right sides of (9) to (14), we have
where is a polynomial of with monomials, and the lowerest and higher degree of the monomials are and , respectively. Let be the homogeneous terms of degree . To prove Theorem 3, we need to verify that for all with extra condition .
The the expanded form of has terms, respectively,
(15) | ||||
(16) | ||||
(17) |
The number of monomials in are listed as follows:
and
Let . Let
be the absolute values and the transformation
be defined by
where
Then
(18) |
here
has 797 monomials, in which , and has
monomials, respectively. It is clear that for odd , and have the equal number of monomials, and for even , the number of monomials in might have less than that in .
Now variables and coefficients of polynomials for are all positive. We use the following transformation to map them to quadratic polynomials. For each , we define a transformation over homogeneous polynomials of degree to a quadratic polynomial of as follows:
Here, we take , and
Since we assumed that , so , and the inequality
is valid for all , according to Lemma 3. Therefore, we have following inequalities:
and
The computation of is as follows:
Here the equality holds if and only if . Thus, the inequality (18) implies that
(19) |
Notice that from (15), (16) and (17), we have
where are polynimials of , and
Let and
Then is a polynomial of of degree , and
so its critical point is
which is outside cube , which means that has no local maximal or minimal point inside the cube. It is also verified that , and on each face of this cube, is also negative, therefore, we have
for all . Therefore, we have the following inequality.
(20) |
here
Applying Lemma 3 we can get the following inequality for .
(21) |
For , applying Lemma 3 we get:
(22) |
Combining (20), (21), (22), we proved that under the assumption and ,
(29) |
With computer algebra or hand computation, it is easy now to check that the matrix in (3) is a negative semidefinite. Therefore, the inequality
is valid for all under the condition . This completes the proof of Theorem 3. ∎
Remark 1.
The constant can be enlarged to .
4 Sketch of the Global Numerical Search
In this section, we briefly describe the global numerical search process for proving Theorem 1. We need the following property of the optimal configuration.
Lemma 4.
Suppose that , and is maximal, and is a permutation of . Then
We will not show the proof of Lemma 4 here because of space limitation. The global numerical search for Theorem 1 is composed of three steps as follows.
Step 1. Dividing the unit square into squares of edge , then we will see that of them have non-empty intersection with , and of them have non-empty intersection with . From them, we build a set of cubes of edge (called -cubes) in to cover the feasible set of Problem (2). Applying Lemma 4 to test the bounds of six distances (called the distance bound test) we can see that only are possible combinations to locate the optimal solution of Problem 2; applying the exact numerical computation to estimate the sum of the six distances (called the distance sum test) we see that among the -cubes there are only need to be divided and checked in the next round. The first round checking has used seconds on a notebook computer with Intel COREi7 8th Gen CPU.
Step 2. Partition each -cube into equal cubes of edge (called -cubes), we get a set of cubes in , among them there are having non-empty intersection with . Apply the distance bound test) we can verify that are possible to locate the optimal solution. From these suspect cubes, remove -cubes that are contained , where are defined in Theorem 1 and is the -projection defined in (5), and do the distance sum test so to remove another -cubes that are clearly non-optimal combination. Therefore, there are cubes of edge to be ckecked further. Computation in this step has used seconds.
Step 3. In the first two steps we do breadth-first search (BFS), in this step we do deep-first search (DFS) on each -cube using only distance sum test. Namely, we take one and divide it to cubes of edge and estimate the sum of distance, if some of the have not passed the test, we take first of them and divide it into cubes of edge , and so on, and return to parent level until all children-cubes passed the test. The computation has shown that among the -cubes, has passed the DFS checking on children-cubes of edge , and the rest cubes passed on when the edge of children-cubes is . The computation has been completed in seconds.
References
- [1] Fejes-Tóth, L.. On the sum of distances determined by a pointset. Acta Math. Acad. Sci. Hungar., 7 (1956), 397–401
- [2] Stolarsky, K. B.. Sums of distances between points on a sphere II. Proc. Amer. Math. Soc., 41 (1973), 575–582. 10.1090/S0002-9939-1973-0333995-9
- [3] Brass, P., Moser, M., Pach, J.. Research Problems in Discrete Geometry. Springer-Verlag New York, 2005
- [4] Zirakzadeh, A., A property of a triangle inscribed in a convex curve, Canad. J. Math. 16 (1964) 777–786.
- [5] Zeng, Z., Zhang, J.. A Mechanical Proof to a Geometric Inequality of Zirakzadeh Through Rectangular Partition of Polyhedra (in Chinese). Journal of Systems Science and Complexity, 2010, 30(11): 1430-1458.
- [6] Zeng, Z., Yang, Z.. How large is the locally optimal region of a locally-optimal point? International Workshop on Certified and Reliable Computation Nanning, Guangxi, China, July 17-20, 2011.
- [7] Hou, Z., Shao, J.. Spherical Distribution of 5 Points with Maximal Distance Sum. Discrete Comput Geom (2011) 46: 156–174. 10.1007/s00454-010-9307-7