Skip to main content

Midconvexity for finite sets

Abstract

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.

MSC:26A51, 26B25.

1 Introduction

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 Z N [1].

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 R N . 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 [13] 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 R N . 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 R N a closed set V is convex if and only if it is the preimage of the set (,0] for some convex function f: R N R.

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 R N 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 R N . By N 0 we denote the set of nonnegative integers and by R + the set of nonnegative real numbers. We adapt the classical definitions of a midconvex set and a midconvex function to our setting [4].

Definition 2.1 We say that WX is X-midconvex if

v,wW: v + w 2 X v + w 2 W.

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 f:WR, where WX, is X-midconvex (shortly midconvex) if W is X-midconvex and

v,wW: v + w 2 Wf ( v + w 2 ) f ( v ) + f ( w ) 2 .

We will need some of their properties with respect to the following definition of a midconvex set.

Proposition 2.3 LetWXbe an X-midconvex set, letc>0and letf:WR, g:WRbe X-midconvex functions. Thenmax(f,g)and cf are X-midconvex functions.

Proof It is obvious that cf is X-midconvex. We show that max(f,g) is X-midconvex. Consider arbitrary u,vW such that u + v 2 W. Then we have

f ( u + v 2 ) f ( u ) + f ( v ) 2

and

g ( u + v 2 ) g ( u ) + g ( v ) 2 .

Whence we obtain

max ( f ( u + v 2 ) , g ( u + v 2 ) ) max ( f ( u ) + f ( v ) 2 , g ( u ) + g ( v ) 2 ) 1 2 ( max ( f ( u ) , g ( u ) ) + max ( f ( v ) , g ( v ) ) ) .

 □

To explain the unintuitive behavior of X-midconvexity, we need the notion of a discrete interval (for m N 0 ):

[ a , b ] m := { k m a + ( 1 k m ) b : k { 0 , , m } } .

One could expect that if W is X-midconvex and a,bW are such that [ a , b ] m X, then [ a , b ] m W. It occurs that this is not the case.

Example 2.4 Let N=1, X={0,1,2,3} and W={0,3}. Then W is X-midconvex and 0,3W, but [ 0 , 3 ] 3 =XW.

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 A R N is convex if and only if there exists a convex function f: R N R such that A={x R N :f(x)0} (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 WX is function X-midconvex (shortly X-fmidconvex) if there exists an X-midconvex function f:XR such that

W= { x X : f ( x ) 0 } .

Clearly, f:XR, f0 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 W:={xX:f(x)0} for a certain X-midconvex function f:XR. Consider arbitrary x 1 , x 2 W such that x 1 + x 2 2 X. Then we have

f ( x 1 + x 2 2 ) f ( x 1 ) + f ( x 2 ) 2 0.

Hence x 1 + x 2 2 W. □

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

a,bW,m N 0 : [ a , b ] m X [ a , b ] m W.

Proof The proof follows a similar approach from [5].

Since W is X-fmidconvex, there exists a midconvex function f:XR such that W={xX:f(x)0}. Suppose, for the proof by contradiction, that there exist a,bW, mN, such that [ a , b ] m X but [ a , b ] m W. It means that there exists a k{0,,m} such that

x k := k m a+ ( 1 k m ) bW,

i.e., that f( x k )>0. Then

C:=maxf | [ a , b ] m >0.

Let l{0,,m} be chosen such that f( x l )=C. Two cases can occur.

  1. 1.

    l m 2 . Then x 2 l [ a , b ] m , and we obtain that

    C = f ( x l ) = f ( l m a + ( 1 l m ) b ) = f ( 2 l m a + ( 1 2 l m ) b + b 2 ) f ( 2 l m a + ( 1 2 l m ) b ) + f ( b ) 2 = f ( 2 l m a + ( 1 2 l m ) b ) 2 = f ( x 2 l ) 2 .

Whence we have f( x 2 l )2C>C, a contradiction.

  1. 2.

    l> m 2 . Then x 2 l m [ a , b ] m , 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 N=1, m=3, X={0,1,2,3}, W={0,3}. Then [ 0 , 3 ] m =X, and hence [ 0 , 3 ] 3 W. 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 Let W 2 W 1 Xand let W 1 be X-fmidconvex and W 2 be W 1 -fmidconvex. Then W 2 is X-fmidconvex.

Proof There exist midconvex functions f 1 :XR, f 2 : W 1 R such that W 1 = f 1 1 ((,0]) and W 2 = f 2 1 ((,0]). Multiplying any of those functions by a positive real number, we do not destroy the above property. Therefore, we may assume that

max x W 1 f 2 (x) 1 2 min x X W 1 f 1 (x).
(1)

We define a function f:X R + as follows:

f(x)={ f 1 ( x ) for  x X W 1 , f 2 ( x ) for  x W 1 .

Evidently, f 1 ((,0])= W 2 . We have to prove yet that f is X-midconvex. Consider arbitrary x 1 , x 2 X such that x 1 + x 2 2 X. We distinguish five cases.

1o. x 1 , x 2 X W 1 , x 1 + x 2 2 X W 1 . Then we have

f ( x 1 + x 2 2 ) = f 1 ( x 1 + x 2 2 ) f 1 ( x 1 ) + f 1 ( x 2 ) 2 = f ( x 1 ) + f ( x 2 ) 2 .

2o. x 1 , x 2 X W 1 , x 1 + x 2 2 W 1 . Making use of (1), we get

f ( x 1 + x 2 2 ) = f 2 ( x 1 + x 2 2 ) f 1 ( x ) 2 f 1 ( x 1 ) + f 1 ( x 2 ) 2 = f ( x 1 ) + f ( x 2 ) 2 .

3o. x 1 , x 2 W 1 . By Observation 2.6, W 1 is X-midconvex and therefore x 1 + x 2 2 W 1 . As a consequence, we have

f ( x 1 + x 2 2 ) = f 2 ( x 1 + x 2 2 ) f 2 ( x 1 ) + f 2 ( x 2 ) 2 = f ( x 1 ) + f ( x 2 ) 2 .

4o. x 1 X W 1 , x 2 W 1 , x 1 + x 2 2 X W 1 . Then we have

f ( x 1 + x 2 2 ) = f 1 ( x 1 + x 2 2 ) f 1 ( x 1 ) + f 1 ( x 2 ) 2 = f 1 ( x 1 ) 2 = f ( x 1 ) 2 = f ( x 1 ) + f ( x 2 ) 2 .

5o. x 1 X W 1 , x 2 W 1 , x 1 + x 2 2 W 1 . Applying (1), we get

f ( x 1 + x 2 2 ) = f 2 ( x 1 + x 2 2 ) f 1 ( x 1 ) 2 f 1 ( x 1 ) + f 2 ( x 2 ) 2 = f ( x 1 ) + f ( x 2 ) 2 .

We have proved that f is X-midconvex. □

Now, we define an X-fmidconvex hull of a given set AX. We begin with important remarks.

Proposition 2.10 Let W 1 , W 2 be X-fmidconvex subsets of X. Then W 1 W 2 is X-fmidconvex.

Proof There exist midconvex functions f 1 :XR, f 2 :XR such that W 1 = f 1 1 ((,0]) and W 2 = f 2 1 ((,0]). We define the function f:X R + as follows:

f(x)=max { f 1 ( x ) , f 2 ( x ) } for xX.

By Proposition 2.3 f is X-midconvex. Furthermore, f 1 ((,0])= W 1 W 2 . This finishes the proof. □

Proposition 2.11 Let X 1 R N 1 , X 2 R N 2 be finite sets and let W 1 Xbe X 1 -fmidconvex and W 2 X 2 be X 2 -fmidconvex. Then W 1 × W 2 is( X 1 × X 2 )-fmidconvex.

Proof There exist an X 1 -midconvex function f 1 : X 1 R and an X 2 -midconvex function f 2 : X 2 R such that

We define the function f: X 1 × X 2 R as follows:

f(x,y)=max ( f 1 ( x ) , f 2 ( y ) ) ,for (x,y) X 1 × X 2 .

We are going to show that f is ( X 1 × X 2 )-midconvex and that

{ ( x , y ) X 1 × X 2 : f ( x , y ) 0 } = W 1 × W 2 .

Consider arbitrary ( x 1 , x 2 ),( y 1 , y 2 ) X 1 × X 2 and assume that ( x 1 , x 2 ) + ( y 1 , y 2 ) 2 X 1 × X 2 . Then x 1 + y 1 2 X 1 , x 2 + y 2 2 X 2 and

Whence we obtain

f ( ( x 1 , x 2 ) + ( y 1 , y 2 ) 2 ) = max ( f 1 ( x 1 + y 1 2 ) , f 2 ( x 2 + y 2 2 ) ) max ( f 1 ( x 1 ) + f 1 ( y 1 ) 2 , f 2 ( x 2 ) + f 2 ( y 2 ) 2 ) max ( f 1 ( x 1 ) , f 2 ( x 2 ) ) + max ( f 1 ( y 1 ) , f 2 ( y 2 ) ) 2 = f ( x 1 , x 2 ) + f ( y 1 , y 2 ) 2 .

It means that f is ( X 1 × X 2 )-midconvex. Furthermore, we have

{ ( x , y ) X 1 × X 2 : f ( x , y ) 0 } = { ( x , y ) X 1 × X 2 : max ( f 1 ( x ) , f 2 ( y ) ) 0 } = { ( x , y ) X 1 × X 2 : f 1 ( x ) 0 , f 2 ( y ) 0 } = W 1 × W 2 .

 □

We are going to define now an X-midconvex hull and an X-fmidconvex hull of a given set AX. We follow the classical definition of a midconvex hull [4].

Definition 2.12 Let AX.

The intersection of all X-midconvex sets containing A is called an X-midconvex hull of A and is denoted by mconv X (A).

The intersection of all X-fmidconvex sets containing A is called an X-fmidconvex hull of A and is denoted by fmconv X (A).

One can directly verify that mconv X (A) 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 fmconv X (A) 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 N=2, X={(1,0),(0,0),(0,1),(0,2),(1,1),(1,0),(1,1),(2,1)} (see Figure 1). Clearly, W:={(1,0),(0,2),(1,1),(2,1)} is X-midconvex. Hence, mconv X (W)=W. One can show (it follows directly from the results of the next section) that fmconv X (W)=X.

Figure 1
figure 1

Example of X -midconvex hull and an X -fmidconvex hull of a given set - see Example 2.13.

3 Extremal points

We begin with the definition of an extremal point.

Definition 3.1 Let W R N . A point aW is called an extremal point of W if

u,vW: u + v 2 =au=v=a.

We denote the set of all extremal points of W by extW. As we know [6], by the Krein-Milman theorem, a compact convex set in R N is the convex hull of its extremal points. However, its analogue does not hold for X-midconvexity-just consider X={0,1,2,3} which is not the X-midconvex hull of the set W={0,3} 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 IfW R N is nonempty and finite, then theextW.

Proof Take a convex hull of W in R N . It is nonempty, convex and compact (because W is finite). Therefore, [6] it has an extremal point. □

We will need the notion of index.

Definition 3.3 Let WX. We say that a sequence ( x 0 ,, x n )W is a J-chain of length n in W if either n=0 or n1 and

x k +( x k x k 1 )Wfor k{1,,n}.
(2)

We call x 0 the beginning and x n the end of the J-chain.

Condition (2) means that x k is the middle of x k 1 and a certain point in W (or, in another words, that the symmetric point to x k 1 with respect to x k belongs to W).

Proposition 3.4 LetWX. Then for eachxW, there exists a J-chain in W beginning in extW and ending at x.

Proof Fix arbitrarily xW 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 xZ, and hence Z. By Observation 3.2, there exists zextZ. Let ( y 0 ,, y n ), y 0 =z, y n =x, be the J-chain with beginning at z and end at x.

We show that zextW. Suppose, for an indirect proof, that zextW. Since zW, there exist v,wW, vw such that z=(v+w)/2. Clearly, (v, y 0 ,, y n ) and (w, y 0 ,, y n ) are J-chains starting at v and w, respectively, and with end at x. This implies that v,wZ, which contradicts the assumption that zextZ. □

Let WX be nonempty. By Observation 3.2, extW. For xW by i W (x), 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

i W := sup x W i W (x).

i W (x) is called the index of x and i W -the index of W.

Remark 3.5 It follows from the proof of Proposition 3.4 that if i W (x)=n, where nN, then there exists an element x ¯ W such that i W ( x ¯ )=n1. Therefore, if i W =n, n N 0 , then for each m{0,,n}, we can find xW such that i W (x)=m. Hence, the set of indices of elements of W coincides with the set {0,,n}.

One can easily notice that i W (x)=0 if and only if xextW.

We illustrate the above notations by a simple example.

Example 3.6 Let N=2, W=X={(1,1),(1,0),(1,1),(0,0),(1,1),(1,0),(1,1)}. One can easily notice (see Figure 2) that

extX= { ( 1 , 1 ) , ( 1 , 1 ) , ( 1 , 1 ) , ( 1 , 1 ) } .

We have

Figure 2
figure 2

Illustration of the set W from Example 3.6.

Proposition 3.7 We assume thatWX. Then

i W card(W)card(extW).

Proof

Let

W k = { x W : i W ( x ) k } for k N 0 .

Clearly, the sequence { W k } k N 0 is ascending. Since W is finite, there exists a k N 0 such that W k = W k + 1 . Let k be the smallest integer with this property. Then

W 0 W 1 W k ,

and hence

card( W k )card( W 0 )+k=card(extW)+k,

which implies that

kcard( W k )card(extW).

We are going to show that W k =W, which will complete the proof. Suppose that this is not the case. Let P:=W W k . 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 q,rW, qr such that

p= q + r 2 .

Since p is an extremal point of P either qP or rP. Assume that qP. Then q W k and since p+(pq)=rW, we obtain that p W k + 1 . Hence, W k + 1 W k , a contradiction. Thus p is an extremal point of W and hence p W 0 W k , a contradiction. We have proved that W k =W. □

Now, we prove the main result of this section.

Theorem 3.8 LetWXbe an X-fmidconvex set. Then

W= fmconv X (extW).

Proof

Evidently, we have

fmconv X (extW)W.

Suppose that

W fmconv X (extW).
(3)

There exists a midconvex function f:X R + such that

f 1 ( ( , 0 ] ) = fmconv X (extW).

If follows from this equality and (3) that

C:=max { f ( x ) : x W } >0.

Let aW be such that f(a)=C and that

i W (a)=min { i W ( x ) : x W , f ( x ) = C } .

By Propositions 3.4 and 3.7, there exists a finite J-chain in W starting in extW and ending at a. Let ( a 0 ,, a n ) be the shortest J-chain with these properties. Then n1, 2a a n 1 W and since i W ( a n 1 )=n1, we have that f( a n 1 )<C. By midconvexity of f, we obtain

C = f ( a ) = f ( a n 1 + ( 2 a a n 1 ) 2 ) f ( a n 1 ) + f ( 2 a n a n 1 ) 2 f ( a n 1 ) 2 + C 2 < C ,

a contradiction. □

Theorem 3.9 LetWX. Iff:WRis X-midconvex, then the maximum of f is achieved at an extreme point of W.

Proof

Consider the case when

WextW

and denote

C:=max { f ( x ) : x W } .

For an indirect proof, suppose that

f(x)<Cfor xextW.

Since i W (x)=0 iff xextW, we have then

min { i W ( x ) : f ( x ) = C } >0.

We can find an aWextW such that

f(a)=Cand i W (a)=min { i W ( x ) : f ( x ) = C } .

We choose the shortest J-chain ( a 0 ,, a n =a) in W starting in extW and ending at a. Then 2a a n 1 W and since i W ( a n 1 )=n1, we have that f( a n 1 )<C. By midconvexity of f, we obtain now

C = f ( a ) = f ( a n 1 + ( 2 a a n 1 ) 2 ) f ( a n 1 ) + f ( 2 a n a n 1 ) 2 f ( a n 1 ) 2 + C 2 < C ,

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 WX. In this section, we present an algorithm for finding fmconv X (W), which can be easily implemented in high level programming languages.

We start with the following auxiliary result.

Proposition 4.1 LetWXand x ¯ X. The following conditions are equivalent:

  1. 1.

    x ¯ fmconv X (W),

  2. 2.

    there exists an X-midconvex functionf:XRsuch thatf | W 0andf( x ¯ )=1.

Proof Observe first that multiplying a midconvex function by a positive real number, we do not destroy midconvexity.

We show that (2) (1). Let f:XR be an X-midconvex function such that f | W 0 and f( x ¯ )=1. We put

W 1 := { x X : f ( x ) 0 } .

Then W W 1 , x ¯ W 1 and W 1 is X-fmidconvex. By Proposition 2.10 we obtain that W 1 fmconv X (W) is X-fmidconvex. It follows from Definition 2.12 that fmconv X (W) W 1 . Thus x ¯ fmconv X (W).

For the proof of the converse implication, assume that x ¯ fmconv X (W). As we have noticed directly after Definition 2.12 fmconv X (W) is X-fmidconvex. Hence, there exists an X-midconvex function g:XR such that

fmconv X (W)= { x X : g ( x ) 0 } .

Then g( x ¯ )>0. We put

By Proposition 2.3 f is X-midconvex. Furthermore, we have

f(x)=0for x fmconv X (W)

and f( x ¯ )=1. □

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 extW=W.

Figure 3
figure 3

Examples of X -fmidconvex hull of a set ( X consists of all dots, W consists of big black dots, and the X -fmidconvex hull of W is represented by big dots).

Proposition 4.1 gives the way to determine fmconv X (A). Namely, by condition (2) we can eliminate from X, step by step, elements of the set X fmconv X (A).

To encode the result included in Proposition 4.1, we introduce some additional notations. Let X={ x 1 ,, x n }. Let WX be fixed. Without loss of generality, we may assume that the elements { x 1 ,, x n } are ordered in such a way that

{ x 1 ,, x n card W }=XWand{ x n card W + 1 ,, x n }=W.
(4)

We denote

K(X):= { ( x , y ) | x , y X : x y  and  x + y 2 X } .

Observe that m:=cardK(X) is finite as m n 2 .

Let us now fix vX. We want to check if there exists an X-midconvex function f:XR such that f | W 0 and f(v)=1.

Such a function f has to fulfill the following condition:

f ( x + y 2 ) f ( x ) + f ( y ) 2 for (x,y)K(X).
(5)

We enumerate the elements of K(X) and write K(X) in the form

K(X)= { ( y k , z k ) } k { 1 , , m } .

Proposition 4.2 Letf:XR, and lety:= [ f ( x 1 ) , , f ( x n ) ] T . We put

A f := [ a i j ] i = 1 , , m ; j = 1 , , n M m × n ,

where

a i j ={ 1 , if x j = y i + z i 2 , 1 2 , if x j = y i or x j = z i , 0 , otherwise ,

and( y i , z i )K(X), i{1,,m}.

Then f is midconvex iff

A f y 0 m ,
(6)

where 0 m denotes zero in R m (we will often omit the subscript m and write 0).

Proof Observe that the system of inequalities (5) is equivalent to the following one:

{ f ( y 1 + z 1 2 ) 1 2 f ( y 1 ) 1 2 f ( z 1 ) 0 , f ( y m + z m 2 ) 1 2 f ( y m ) 1 2 f ( z m ) 0
(7)

for all ( y i , z i )K(X), i{1,,m}.

Let us now fix i{1,,m} and consider the inequality corresponding to the i th element of K(X) (the i th inequality of system (7))

f ( y i + z i 2 ) 1 2 f ( y i ) 1 2 f ( z i ) 0.

It is equivalent to the following one:

[ a i 1 ,, a i n ][ f ( x 1 ) f ( x n ) ]0,

where [ a i j ] j = 1 , , n is the i th row of the matrix A f . 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 (y,z) and (z,y), since the inequalities f( y + z 2 ) f ( y ) + f ( z ) 2 and f( z + y 2 ) f ( z ) + f ( y ) 2 are equivalent.

Proposition 4.4 Letf:XRbe such thatf | W 0. Let A f be a matrix defined in Proposition 4.2. We put

A W := [ A f ] i = 1 , , m ; j = 1 , , n card W , y W := [ f ( x 1 ) , , f ( x n card W ) ] T .

Then the following conditions are equivalent:

  1. 1.

    f is midconvex,

  2. 2.

    A W y W 0.

Proof Let A f = [ A f i ] i = 1 , , n , where A f i denotes the i th column of the matrix A f . Then the matrix A f can be represented as the following block matrix:

A f =[ A W B],

where B:= [ A f i ] i = n card W + 1 , , n M m × card W .

Now, we use condition (4). By the condition f | W 0, we have that f( x i )=0 for x i X, i{ncardW+1,,n}. Thus

y= [ f ( x 1 ) , , f ( x n card W ) , 0 , , 0 ] T ,

which can be written as the following block vector:

y=[ y W 0 card W ].

By Proposition 4.2, f is midconvex iff A f y0, which is equivalent in our situation to the following inequality:

[ A W B][ y W 0 card W ] 0 m .

The above inequality is equivalent to the following one:

A W y W +B 0 card W 0 m .

This completes the proof since B 0 card W = 0 m . □

We illustrate the above considerations by a simple example.

Example 4.5 Let N=1, X={0,1,2,3,4}, W={0,3}. Then K(X)={(0,2),(1,3),(2,0),(3,1)}. In this case, the system of linear inequalities (6) contains the following objects:

If we additionally want to consider only functions such that f | W 0, we have to remove the two last columns and consider the solutions of A W y W 0 for y W = [ f ( 1 ) , f ( 2 ) , f ( 4 ) ] T and

A W =[ 1 1 / 2 0 1 / 2 1 0 1 1 / 2 0 1 / 2 1 0 ] M 4 × 3 .

Making use of Remark 4.3, we may replace the matrix A W by

A W =[ 1 1 / 2 0 1 / 2 1 0 ] M 2 × 3 .

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 f:XR such that f | W 0 and f(v)=1? 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 [7]. It can be expressed in a canonical form:

maximize  c T ysubject to Ayb,y0,

where y represents the vector of variables (to be determined). In our case b=0. The system of inequalities Axb 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 f(v)=1 (which is equivalent to f(v)>0, as we can divide f by f(v)). In other words, we ask if we can find a function satisfying the previously defined systems of inequalities and such that f(v)>0. To do this, we put c:= [ 0 , , 1 i , , 0 ] T , where i{1,,n} is such that v= x i , x i X (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 WX:

Example 4.6

We will continue the discussion of Example 4.5. By the previous considerations, we have the following LP problem:

maximize  c T [ f ( 1 ) f ( 2 ) f ( 4 ) ]subject to [ 1 1 / 2 0 1 / 2 1 0 ][ f ( 1 ) f ( 2 ) f ( 4 ) ]0,[ f ( 1 ) f ( 2 ) f ( 4 ) ]0.

Firstly, we check if 1 is in the X-fmidconvex hull of the set W. We put c= [ 1 , 0 , 0 ] T . It is easy to get the following solution: f(1)=0, f(2)=0 and f(4)=a, aR, a0 (this means that f(4) can be arbitrary, e.g., f(4)=0) this solution is bounded, so 1 fmconv X (W). The same consideration shows that also 2 fmconv X (W). On the contrary, for 4 the value f(4) is unbounded so 4 fmconv X (W). Finally, we obtain that fmconv X (W)={0,1,2,3}.

There are many methods for solving LP (checking whether a solution exists is just as difficult as finding a solution): simplex algorithm of Dantzig [8], criss-cross algorithm [9], projective algorithm of Karmarkar [10], 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.

References

  1. Murota K 10. In Discrete Convex Analysis. SIAM, Philadelphia; 2003.

    Chapter  Google Scholar 

  2. Jarczyk W, Laczkovich M: Convexity on Abelian groups. J. Convex Anal. 2009, 16: 33–48.

    MATH  MathSciNet  Google Scholar 

  3. Van de Vel M 50. In Theory of Convex Structures. North-Holland, Amsterdam; 1993.

    Google Scholar 

  4. 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.

    Book  Google Scholar 

  5. Tabor J, Tabor J: Generalized approximate midconvexity. Control Cybern. 2009, 38(3):655–669.

    MATH  MathSciNet  Google Scholar 

  6. Rockafellar R 28. In Convex Analysis. Princeton University Press, Princeton; 1997.

    Google Scholar 

  7. Luenberger DG, Ye Y 36. In Linear and Nonlinear Programming. Springer, Berlin; 2008.

    Google Scholar 

  8. Dantzig GB: Maximization of a Linear Function of Variables Subject to Linear Inequalities. Wiley, New York; 1951:339–347.

    Google Scholar 

  9. Fukuda K, Terlaky T: Criss-cross methods: a fresh view on pivot algorithms. Math. Program. 1997, 79: 369–395.

    MATH  MathSciNet  Google Scholar 

  10. 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

    Article  MATH  MathSciNet  Google Scholar 

Download references

Acknowledgements

The first author was supported by National Centre of Science (Poland) Grant No. 2011/01/B/ST6/01887.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Krzysztof Misztal.

Additional information

Competing interests

The authors declare that they have no competing interests.

Authors’ contributions

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.

Authors’ original submitted files for images

Below are the links to the authors’ original submitted files for images.

Authors’ original file for figure 1

Authors’ original file for figure 2

Authors’ original file for figure 3

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 2.0 International License ( https://creativecommons.org/licenses/by/2.0 ), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

Reprints and permissions

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

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/1029-242X-2013-42

Keywords