- Open Access
Midconvexity for finite sets
Journal of Inequalities and Applications volume 2013, Article number: 42 (2013)
Let X be a finite subset of a real vector space. We study Jensen-type convexity on subsets of X. In particular for subsets of X, we introduce the definition of X-midconvex sets. We show that such a notion corresponds well to the classical notion of a convex set. Moreover, we prove that a function X-midconvex set is a midconvex hull of all its extremal points. Other analogues of some classical results are also given. At the end we present an algorithmic approach to finding the midconvex hull of a given set.
Thanks to the growing role of computers, one can recently notice an increasing interest in discrete (finite) sets in many parts of mathematics. In particular, one has to mention the recent development of convexity on subsets of .
Therefore, there appears a natural need to introduce and develop (mid-)convexity on finite sets. Since we are going to study finite subsets of a real vector space, we may restrict ourselves to finite subsets of . Since the middle point of an interval is one of the most important geometrical notions, we start our investigations with the simplest and earliest version of convexity-midconvexity.
The main difference between our approach and that of [1–3] is that we restrict our considerations to X, that is, we treat X as a space. Hence, our notions have relative character since we study convexity on the subsets of X. One can say that we investigate midconvexity on a restricted domain.
Now, we briefly describe the contents of the paper. First of all, we propose a proper definition of a midconvex set for finite sets. By ‘proper’ we mean here that we are looking for the notion which has possibly many properties analogous to those of convex sets in . We consider two different definitions of midconvexity. The first one, which is intuitively very similar to the classical definition, occurs to have weak properties. The other one, which we call function midconvexity, at a first glance seems a little bit artificial, but it corresponds well to the classical definition. It is based on the observation that in a closed set V is convex if and only if it is the preimage of the set for some convex function .
Next, we study the properties of function midconvexity. In particular in Section 3, we prove an analogue of the theorem stating that a compact convex set in is the convex hull of its extremal points. We introduce also the notion of a convex function on a finite domain. We prove that the maximum of such a convex function is achieved at an extreme point of its domain.
2 Midconvexity on finite sets
In the whole paper, we assume that X is a finite subset of . By we denote the set of nonnegative integers and by the set of nonnegative real numbers. We adapt the classical definitions of a midconvex set and a midconvex function to our setting .
Definition 2.1 We say that is X-midconvex if
Evidently, X and a singleton are X-midconvex sets. It is also obvious that the intersection of X-midconvex sets is X-midconvex.
Definition 2.2 We say that a function , where , is X-midconvex (shortly midconvex) if W is X-midconvex and
We will need some of their properties with respect to the following definition of a midconvex set.
Proposition 2.3 Letbe an X-midconvex set, letand let, be X-midconvex functions. Thenand cf are X-midconvex functions.
Proof It is obvious that cf is X-midconvex. We show that is X-midconvex. Consider arbitrary such that . Then we have
Whence we obtain
To explain the unintuitive behavior of X-midconvexity, we need the notion of a discrete interval (for ):
One could expect that if W is X-midconvex and are such that , then . It occurs that this is not the case.
Example 2.4 Let , and . Then W is X-midconvex and , but .
Therefore, we need another definition of a midconvex set.
Let us present the idea which, in our opinion, leads to the ‘right’ definition. The observation that a closed set is convex if and only if there exists a convex function such that (the part ‘if’ of the statement is obvious; for the converse, take as f the distance from A) leads us to the following definition.
Definition 2.5 We say that is function X-midconvex (shortly X-fmidconvex) if there exists an X-midconvex function such that
Clearly, , is X-midconvex. Hence, X is X-fmidconvex.
Observation 2.6 Every X-fmidconvex set is X-midconvex.
Proof Let W be X-fmidconvex. Then for a certain X-midconvex function . Consider arbitrary such that . Then we have
Hence . □
As one could expect, the implication converse to Observation 2.6 does not hold. To notice this (see Example 2.8), we will need the following result, which shows that fmidconvexity resembles classical convexity.
Theorem 2.7 Let W be X-fmidconvex. Then
Proof The proof follows a similar approach from .
Since W is X-fmidconvex, there exists a midconvex function such that . Suppose, for the proof by contradiction, that there exist , , such that but . It means that there exists a such that
i.e., that . Then
Let be chosen such that . Two cases can occur.
. Then , and we obtain that
Whence we have , a contradiction.
. Then , and by reasoning analogous to case 1, we obtain a contradiction.
Now, we show that the implication converse to that from Observation 2.6 does not hold.
Example 2.8 We continue considerations from Example 2.4. Let , , , . Then , and hence . W is an X-midconvex set which is not X-fmidconvex. It shows also that an analogue of Theorem 2.7 for X-midconvex set does not hold.
Proposition 2.9 Letand letbe X-fmidconvex andbe-fmidconvex. Thenis X-fmidconvex.
Proof There exist midconvex functions , such that and . Multiplying any of those functions by a positive real number, we do not destroy the above property. Therefore, we may assume that
We define a function as follows:
Evidently, . We have to prove yet that f is X-midconvex. Consider arbitrary such that . We distinguish five cases.
1o. , . Then we have
2o. , . Making use of (1), we get
3o. . By Observation 2.6, is X-midconvex and therefore . As a consequence, we have
4o. , , . Then we have
5o. , , . Applying (1), we get
We have proved that f is X-midconvex. □
Now, we define an X-fmidconvex hull of a given set . We begin with important remarks.
Proposition 2.10 Let, be X-fmidconvex subsets of X. Thenis X-fmidconvex.
Proof There exist midconvex functions , such that and . We define the function as follows:
By Proposition 2.3 f is X-midconvex. Furthermore, . This finishes the proof. □
Proposition 2.11 Let, be finite sets and letbe-fmidconvex andbe-fmidconvex. Thenis-fmidconvex.
Proof There exist an -midconvex function and an -midconvex function such that
We define the function as follows:
We are going to show that f is -midconvex and that
Consider arbitrary and assume that . Then , and
Whence we obtain
It means that f is -midconvex. Furthermore, we have
We are going to define now an X-midconvex hull and an X-fmidconvex hull of a given set . We follow the classical definition of a midconvex hull .
Definition 2.12 Let .
The intersection of all X-midconvex sets containing A is called an X-midconvex hull of A and is denoted by .
The intersection of all X-fmidconvex sets containing A is called an X-fmidconvex hull of A and is denoted by .
One can directly verify that is X-midconvex. By Proposition 2.10, we obtain that the intersection of a finite family of X-fmidconvex sets is X-fmidconvex, and consequently, by the finiteness of X, we obtain that is X-fmidconvex. Consequently, the X-fmidconvex hull of A is the smallest X-fmidconvex set containing A.
The example below illustrates Definition 2.12 and shows that an X-midconvex hull and an X-fmidconvex hull of a given set are, in general, different.
Example 2.13 Let , (see Figure 1). Clearly, is X-midconvex. Hence, . One can show (it follows directly from the results of the next section) that .
3 Extremal points
We begin with the definition of an extremal point.
Definition 3.1 Let . A point is called an extremal point of W if
We denote the set of all extremal points of W by extW. As we know , by the Krein-Milman theorem, a compact convex set in is the convex hull of its extremal points. However, its analogue does not hold for X-midconvexity-just consider which is not the X-midconvex hull of the set of its extremal points.
In this section, we prove a version of the classical Krein-Milman theorem for function midconvexity. We begin with the following observation.
Observation 3.2 Ifis nonempty and finite, then the.
Proof Take a convex hull of W in . It is nonempty, convex and compact (because W is finite). Therefore,  it has an extremal point. □
We will need the notion of index.
Definition 3.3 Let . We say that a sequence is a J-chain of length n in W if either or and
We call the beginning and the end of the J-chain.
Condition (2) means that is the middle of and a certain point in W (or, in another words, that the symmetric point to with respect to belongs to W).
Proposition 3.4 Let. Then for each, there exists a J-chain in W beginning in extW and ending at x.
Proof Fix arbitrarily and denote by Z the set of points z of W such that there exists a J-chain in W beginning at z and ending at x. Obviously , and hence . By Observation 3.2, there exists . Let , , , be the J-chain with beginning at z and end at x.
We show that . Suppose, for an indirect proof, that . Since , there exist , such that . Clearly, and are J-chains starting at v and w, respectively, and with end at x. This implies that , which contradicts the assumption that . □
Let be nonempty. By Observation 3.2, . For by , we denote the length of the shortest J-chain in W beginning in extW and ending at x. It follows from Proposition 3.4 that such a J-chain exists.
We also put
is called the index of x and -the index of W.
Remark 3.5 It follows from the proof of Proposition 3.4 that if , where , then there exists an element such that . Therefore, if , , then for each , we can find such that . Hence, the set of indices of elements of W coincides with the set .
One can easily notice that if and only if .
We illustrate the above notations by a simple example.
Example 3.6 Let , . One can easily notice (see Figure 2) that
Proposition 3.7 We assume that. Then
Clearly, the sequence is ascending. Since W is finite, there exists a such that . Let k be the smallest integer with this property. Then
which implies that
We are going to show that , which will complete the proof. Suppose that this is not the case. Let . Let p be an extremal point of P. We will prove that p is an extremal point of W. Suppose that it is not the case. Then there exist , such that
Since p is an extremal point of P either or . Assume that . Then and since , we obtain that . Hence, , a contradiction. Thus p is an extremal point of W and hence , a contradiction. We have proved that . □
Now, we prove the main result of this section.
Theorem 3.8 Letbe an X-fmidconvex set. Then
Evidently, we have
There exists a midconvex function such that
If follows from this equality and (3) that
Let be such that and that
By Propositions 3.4 and 3.7, there exists a finite J-chain in W starting in extW and ending at a. Let be the shortest J-chain with these properties. Then , and since , we have that . By midconvexity of f, we obtain
a contradiction. □
Theorem 3.9 Let. Ifis X-midconvex, then the maximum of f is achieved at an extreme point of W.
Consider the case when
For an indirect proof, suppose that
Since iff , we have then
We can find an such that
We choose the shortest J-chain in W starting in extW and ending at a. Then and since , we have that . By midconvexity of f, we obtain now
a contradiction. □
4 Construction of X-fmidconvex hull
There is a problem to find a convenient procedure to determinate an X-fmidconvex hull for a given set . In this section, we present an algorithm for finding , which can be easily implemented in high level programming languages.
We start with the following auxiliary result.
Proposition 4.1 Letand. The following conditions are equivalent:
there exists an X-midconvex functionsuch thatand.
Proof Observe first that multiplying a midconvex function by a positive real number, we do not destroy midconvexity.
We show that (2) ⇒ (1). Let be an X-midconvex function such that and . We put
Then , and is X-fmidconvex. By Proposition 2.10 we obtain that is X-fmidconvex. It follows from Definition 2.12 that . Thus .
For the proof of the converse implication, assume that . As we have noticed directly after Definition 2.12 is X-fmidconvex. Hence, there exists an X-midconvex function such that
Then . We put
By Proposition 2.3 f is X-midconvex. Furthermore, we have
and . □
Two examples of X-fmidconvex hull are presented in Figure 3. X consists of all dots, W consists of big black dots, an X-fmidconvex hull of W is represented by big dots. Notice that .
Proposition 4.1 gives the way to determine . Namely, by condition (2) we can eliminate from X, step by step, elements of the set .
To encode the result included in Proposition 4.1, we introduce some additional notations. Let . Let be fixed. Without loss of generality, we may assume that the elements are ordered in such a way that
Observe that is finite as .
Let us now fix . We want to check if there exists an X-midconvex function such that and .
Such a function f has to fulfill the following condition:
We enumerate the elements of and write in the form
Proposition 4.2 Let, and let. We put
Then f is midconvex iff
wheredenotes zero in (we will often omit the subscript m and write 0).
Proof Observe that the system of inequalities (5) is equivalent to the following one:
for all , .
Let us now fix and consider the inequality corresponding to the i th element of (the i th inequality of system (7))
It is equivalent to the following one:
where is the i th row of the matrix . This finishes the proof. □
Remark 4.3 To save time and memory in practical implementation, in Proposition 4.2 we take into account only one of the pairs and , since the inequalities and are equivalent.
Proposition 4.4 Letbe such that. Letbe a matrix defined in Proposition 4.2. We put
Then the following conditions are equivalent:
f is midconvex,
Proof Let , where denotes the i th column of the matrix . Then the matrix can be represented as the following block matrix:
Now, we use condition (4). By the condition , we have that for , . Thus
which can be written as the following block vector:
By Proposition 4.2, f is midconvex iff , which is equivalent in our situation to the following inequality:
The above inequality is equivalent to the following one:
This completes the proof since . □
We illustrate the above considerations by a simple example.
Example 4.5 Let , , . Then . In this case, the system of linear inequalities (6) contains the following objects:
If we additionally want to consider only functions such that , we have to remove the two last columns and consider the solutions of for and
Making use of Remark 4.3, we may replace the matrix by
Further discussion of this example can be found in Example 4.6.
The main question is still unanswered: Does there exist an X-midconvex function such that and ? To answer this question we use linear programming (shortly LP), which is an efficient technique for finding a solution of optimization problems: to minimize or maximize a linear objective function subject to linear equality/inequality constrains . It can be expressed in a canonical form:
where y represents the vector of variables (to be determined). In our case . The system of inequalities denotes the constraints which specify a convex polygon, over which the objective function is to be optimized.
We still need to ‘insert’ additional information that (which is equivalent to , as we can divide f by ). In other words, we ask if we can find a function satisfying the previously defined systems of inequalities and such that . To do this, we put , where is such that , (according to (4)), and find a solution to the system of inequalities defined above.
Now, we are ready to present a full algorithm for finding an X-fmidconvex hull of :
We will continue the discussion of Example 4.5. By the previous considerations, we have the following LP problem:
Firstly, we check if 1 is in the X-fmidconvex hull of the set W. We put . It is easy to get the following solution: , and , , (this means that can be arbitrary, e.g., ) this solution is bounded, so . The same consideration shows that also . On the contrary, for 4 the value is unbounded so . Finally, we obtain that .
There are many methods for solving LP (checking whether a solution exists is just as difficult as finding a solution): simplex algorithm of Dantzig , criss-cross algorithm , projective algorithm of Karmarkar , etc.
However, the method for finding an X-fmidconvex hull presented in this section is not sufficiently efficient in practice because for each point of investigated space X, we solve LP. Moreover, if we use a classical simplex method, we can perform really badly since the worst-case complexity of the simplex method has exponential time.
Sample implementation of the algorithm described in this section with nice graphical interface prepared in Java programming language is available at http://www.ii.uj.edu.pl/~misztalk.
Murota K 10. In Discrete Convex Analysis. SIAM, Philadelphia; 2003.
Jarczyk W, Laczkovich M: Convexity on Abelian groups. J. Convex Anal. 2009, 16: 33–48.
Van de Vel M 50. In Theory of Convex Structures. North-Holland, Amsterdam; 1993.
Kuczma M, Gilányi A: An Introduction to the Theory of Functional Equations and Inequalities: Cauchy’s Equation and Jensen’s Inequality. PWN, Warsaw; 2009.
Tabor J, Tabor J: Generalized approximate midconvexity. Control Cybern. 2009, 38(3):655–669.
Rockafellar R 28. In Convex Analysis. Princeton University Press, Princeton; 1997.
Luenberger DG, Ye Y 36. In Linear and Nonlinear Programming. Springer, Berlin; 2008.
Dantzig GB: Maximization of a Linear Function of Variables Subject to Linear Inequalities. Wiley, New York; 1951:339–347.
Fukuda K, Terlaky T: Criss-cross methods: a fresh view on pivot algorithms. Math. Program. 1997, 79: 369–395.
Adler I, Resende M, Veiga G, Karmarkar N: An implementation of Karmarkar’s algorithm for linear programming. Math. Program. 1989, 44: 297–335. 10.1007/BF01587095
The first author was supported by National Centre of Science (Poland) Grant No. 2011/01/B/ST6/01887.
The authors declare that they have no competing interests.
JaT carried out the conception studies, participated in the theorems proving and drafted the manuscript. JóT participated in its design and coordination. KM performed the algorithm implementation and description. All authors read and approved the final manuscript.
About this article
Cite this article
Tabor, J., Tabor, J. & Misztal, K. Midconvexity for finite sets. J Inequal Appl 2013, 42 (2013). https://doi.org/10.1186/1029-242X-2013-42
- midconvex set
- midconvex function
- midconvex hull