8.13. ContinuityΒΆ

This section focuses on topological properties of convex functions in normed linear spaces. In particular, we discuss closure of convex functions, continuity of convex functions at interior points.

Main references for this section are [5, 10, 31].

Throughout this section, we assume that V is a finite dimensional real normed linear space equipped with a norm β€–β‹…β€–:Vβ†’R. It is also equipped with a metric d(x,y)=β€–xβˆ’yβ€–. Wherever necessary, it is also equppied with an real inner product βŸ¨β‹…,β‹…βŸ©:VΓ—Vβ†’R.

We recall that a function f:V→R is L-Lipschitz if

|f(x)βˆ’f(y)|≀Lβ€–xβˆ’yβ€–βˆ€x,y∈V.

The concept of semicontinuity, inferior and superior limits and closedness of real valued functions in metric spaces is discussed in detail in Real Valued Functions.

We recall some results.

Let f:V→R with S=domf be a function.

Let a be an accumulation point of S. The limit superior of f at a is defined by

lim supxβ†’af(x)=infΞ΄>0supx∈Bd(a,r)∩Sf(x).

The limit inferior of f at a is defined by

lim infxβ†’af(x)=supΞ΄>0infx∈Bd(a,r)∩Sf(x).

f is lower-semicontinuous at a∈S if for every ϡ>0, there exists δ>0 such that

f(a)βˆ’Ο΅<f(x) for every x∈B(a,Ξ΄)∩S.

f is upper-semicontinuous at a∈S if for every ϡ>0, there exists δ>0 such that

f(x)<f(a)+Ο΅ for every x∈B(a,Ξ΄)∩S.

We say that f is lower semicontinuous (l.s.c.) if f is l.s.c. at every point of S. Similarly, we say that f is upper semicontinuous (u.s.c.) if f is u.s.c. at every point of S.

f is continuous at a∈S if and only if f is l.s.c. as well as u.s.c. at a.

Let a∈S be an accumulation point of S. Then, f is lower semicontinuous at a if and only if

lim infxβ†’af(x)β‰₯f(a).

Similarly, f is upper semicontinuous at a if and only if

lim supxβ†’af(x)≀f(a).

Let a∈S. Then, f is l.s.c. at a if and only if for every sequence {xn} of S that converges to a,

lim infnβ†’βˆžf(xn)β‰₯f(a).

Similarly, f is upper semicontinuous at a if and only if every sequence {xk} of S that converges to a,

lim supnβ†’βˆžf(xn)≀f(a).

The following conditions are equivalent.

  1. f is l.s.c.

  2. f is closed; i.e., every sublevel set of f is closed with respect to the subspace topology (S,β€–β‹…β€–).

  3. epif is closed in VβŠ•R.

8.13.1. ClosureΒΆ

Definition 8.63 (Closure of a convex function)

Let f:V→R be a convex function. Then, its closure is defined to be the lower semicontinuous hull of f.

If g is the closure of f, then

epig=clepif.

If f:Vβ†’(βˆ’βˆž,∞] is a proper convex function, then also, its closure is defined to be the lower semicontinuous hull.

If f:Vβ†’R― is an improper convex function which attains a value f(x)=βˆ’βˆž at some x∈V, then its closure is defined to be the constant function g(x)=βˆ’βˆž for all x∈V.

The closure of a convex function is denoted by clf.

Theorem 8.172 (Closure of a convex function is convex)

The closure of a convex function is convex.

Proof. Let f be a convex function. Then, epif is convex. Let g be its closure.

  1. If f is improper, then g is a constant function, hence convex.

  2. Otherwise, epig=clepif.

  3. Since f is convex, hence epif is convex.

  4. Due to Theorem 8.123, the closure of a convex set is convex.

  5. Hence, epig is convex.

  6. Hence, g is convex.

Definition 8.64 (Closed convex function)

A convex function f:Vβ†’R― is called closed if

clf=f.

For a proper convex function, closedness is same as lower semicontinuity.

The only closed improper convex functions are

  1. f(x)=βˆžβˆ€x∈V. Here epif=βˆ….

  2. f(x)=βˆ’βˆžβˆ€x∈V. Here epif=VΓ—R.

Example 8.62 (Closed convex function with open domain)

Let f:Rβ†’(βˆ’βˆž,∞] be given as

f(x)={1x,x>0∞,x≀0.

Then, domf=(0,∞).

  1. domf is an open interval in R.

  2. f is continuous at every x>0.

  3. Thus, f is l.s.c. at every x>0.

  4. Thus, f is l.s.c.

  5. Let the sublevel set for r∈R be given by

    Tr={x∈(0,∞)|f(x)≀r}.
  6. We can see that Tr=βˆ… for r≀0.

  7. For r>0,

    f(x)=1x≀r⟺xβ‰₯1r.
  8. Thus, Tr=[1r,∞).

  9. Tr is indeed closed in the topology (domf,|β‹…|).

  10. Since f is l.s.c., hence epif is closed.

  11. Thus, clf=f.

  12. Thus, f is a closed convex function.

Remark 8.11 (Closure of proper convex functions and epigraph)

Let f:Vβ†’(βˆ’βˆž,∞] be a proper convex function. Then,

epiclf=clepif.

This follows from the definition, since g=clf is defined by the fact that

epig=clepif.

8.13.2. ContinuityΒΆ

Recall from Definition 3.38 that a function f:Vβ†’(βˆ’βˆž,∞] is continuous at a point a∈domf if for every Ο΅>0, there exists Ξ΄>0 (depending on Ο΅ and a) such that for every x∈domf

β€–xβˆ’aβ€–<δ⟹|f(x)βˆ’f(a)|<Ο΅

holds true. In other words,

|f(x)βˆ’f(a)|<Ο΅ for every x∈B(a,Ξ΄)∩S.

Convex functions are not necessarily continuous on non-open sets.

Example 8.63 (A convex function which is not continuous)

Let f:R→R be given by

f(x)={1,x=0,x20<x≀1.

We can see that domf=[0,1]. f is continuous on (0,1) but f is not continuous (from the right) at x=0. It is continuous (from the left) at x=1.

Convex functions are continuous at points in the interior of their domain.

8.13.2.1. Continuity of Univariate Closed Convex FunctionsΒΆ

Theorem 8.173 (Continuity of closed convex univariate functions)

Let f:Rβ†’(βˆ’βˆž,∞] be a proper closed and convex function. Then, f is continuous over domf.

Proof. Since f is convex, hence its domain is convex. Hence domf must be an interval I.

  1. If intI=βˆ…, then I must be a singleton.

  2. In that case f is continuous obviously.

  3. Now consider the case where intIβ‰ βˆ….

  4. Then, due to Theorem 8.174, f is continuous at every x∈intI.

  5. If I is open (i.e., it has no endpoints), then there is nothing more to prove.

  6. We are left with showing the (one sided) continuity of f at one of the endpoints of I if it has any.

  7. Since, the argument will be identical for either of the endpoints, without loss of generality, let us assume that I has a left endpoint a and we show the continuity from the right at a; i.e. limx→a+f(x)=f(a).

  8. Pick any c∈I such that c>a.

  9. Define a function

    g(t)=f(cβˆ’t)βˆ’f(c)t.
  10. Clearly, g is defined over (0,cβˆ’a].

  11. We shall show that g is nondecreasing and upper bounded over (0,cβˆ’a].

  12. Pick any t,s satisfying 0<t≀s≀cβˆ’a.

  13. Then,

    cβˆ’t=(1βˆ’ts)c+ts(cβˆ’s).
  14. ts is well defined and ts∈(0,1].

  15. Thus, cβˆ’t is a convex combination of c and cβˆ’s.

  16. Since f is convex, hence

    f(cβˆ’t)≀(1βˆ’ts)f(c)+tsf(cβˆ’s)⟺f(cβˆ’t)βˆ’f(c)≀ts(f(cβˆ’s)βˆ’f(c))⟺f(cβˆ’t)βˆ’f(c)t≀f(cβˆ’s)βˆ’f(c)s.
  17. Thus,

    g(t)≀g(s)βˆ€0<t≀s≀cβˆ’a.
  18. Thus, g is nondecreasing over (0,cβˆ’a].

  19. Finally g(cβˆ’a)=f(a)βˆ’f(c)cβˆ’a is finite since both c,a∈domf.

  20. Since g is nondecreasing, hence

    g(t)≀g(cβˆ’a)βˆ€t∈(0,cβˆ’a].
  21. Thus, g is upper bounded.

  22. Since g is nondecreasing and upper bounded, hence due to Theorem 2.37, the left hand limit of g(t) at cβˆ’a exists and is equal to some real number, say,

    limtβ†’(cβˆ’a)βˆ’g(t)=β„“.

    Note that we haven’t said that g is continuous from the left at cβˆ’a.

  23. Recall from the definition of g that

    f(cβˆ’t)=f(c)+tg(t).
  24. Hence

    limtβ†’(cβˆ’a)βˆ’f(cβˆ’t)=f(c)+(cβˆ’a)β„“.
  25. Replacing cβˆ’t by r, we get

    limrβ†’a+f(r)=f(c)+(cβˆ’a)β„“.
  26. We have shown so far that the limit from the right at a exists for f and is equal to f(c)+(cβˆ’a)β„“.

  27. Using the upper bound on g, we can say that

    f(cβˆ’t)=f(c)+tg(t)≀f(c)+(cβˆ’a)g(cβˆ’a)=f(c)+f(a)βˆ’f(c)=f(a)

    holds true for every t∈(0,cβˆ’a].

  28. Thus,

    limrβ†’a+f(r)=limtβ†’(cβˆ’a)βˆ’f(cβˆ’t)≀f(a).
  29. On the other hand, since f is closed, hence it is also lower semicontinuous. This means that

    limrβ†’a+f(r)β‰₯f(a).
  30. Combining these two inequalities, we get

    limr→a+f(r)=f(a).
  31. Thus, f is indeed continuous from the right at a.

  32. Similarly, if I has a right endpoint b, then f is continuous from the left at b.

  33. Thus, f is continuous at every point in its domain.

8.13.2.2. Local Lipschitz ContinuityΒΆ

Theorem 8.174 (Local Lipschitz continuity of convex functions)

Let V be an n-dimensional real normed linear space. Let f:Vβ†’R be a convex function with S=domf. Let a∈intS. Then, there exists r>0 and L>0 such that B(a,r)βŠ†S and

|f(x)βˆ’f(a)|≀Lβ€–xβˆ’aβ€–

for every x∈B[a,r].

In other words, f is locally Lipschitz continuous at every interior point of its domain.

We recall from Theorem 8.125 that if dimaffS<n then S has an empty interior. Thus, if intS is nonempty, then, affS=V.

Proof. We shall structure the proof as follows. For any a∈intS:

  1. We show that f is bounded on a closed ball B[a,r]βŠ†S.

  2. Then, we show that f satisfies the Lipschitz inequality |f(x)βˆ’f(a)|≀Lβ€–xβˆ’aβ€– on the closed ball B[a,r] for a specific choice of L depending on a and r.

We first introduce β€–β‹…β€–βˆž norm on V and describe its implications.

  1. Choose a basis B={e1,…,en} for V.

  2. For every x∈V, we have a unique representation

    x=βˆ‘i=1nxiei.
  3. Let T:Vβ†’Rn be a coordinate mapping which maps every vector x∈V to its coordinate vector (x1,…,xn)∈Rn.

  4. T is an isomorphism.

  5. Define β€–β‹…β€–βˆž:Vβ†’R as

    β€–xβ€–βˆž=β€–T(x)β€–βˆž=maxi=1,…,n|xi|.
  6. It is easy to show that β€–β‹…β€–βˆž is a norm on V.

  7. By Theorem 4.62, all norms are equivalent.

  8. Thus, β€–β‹…β€– and β€–β‹…β€–βˆž are equivalent norms for V.

  9. By Definition 4.86, the norm topology is identical for all norms in a finite dimensional space.

  10. Thus, a point is an interior point of S irrespective of the norm chosen.

  11. We introduce the closed and open balls in (V,β€–β‹…β€–βˆž) as

    B∞[a,Ξ΄]={x∈V|β€–xβˆ’aβ€–βˆžβ‰€Ξ΄} and B∞(a,Ξ΄)={x∈V|β€–xβˆ’aβ€–βˆž<Ξ΄}.
  12. Let a∈intS.

  13. Then, there exists r1>0 such that B∞[a,r1]βŠ†S. due to Remark 3.2.

  14. Then, B∞(a,r1)βŠ†B∞[a,r1].

  15. By Theorem 3.25, there is an r2>0 such that B(a,r2)βŠ†B∞(a,r1).

  16. By Theorem 3.2, we can pick an 0<r<r2 such that

    B[a,r]βŠ†B(a,r2)βŠ†B∞(a,r1)βŠ†B∞[a,r1]βŠ†S.

We now show that f is bounded on B[a,r].

  1. B∞[a,r1] is closed and bounded.

  2. Hence B∞[a,r1] is compact due to Theorem 4.68.

  3. By Krein Milman theorem, a compact convex set is convex hull of its extreme points. Thus,

    B∞[a,r1]=convextB∞[a,r1].
  4. Let v1,…,vN be the N=2n extreme points of B∞[a,r1].

    1. These extreme points are given by

      vi=a+r1wi

      where wi are the vectors with coordinates {βˆ’1,1}n.

    2. In other words,

      wi=βˆ‘j=1nwjiej

      where wji∈{βˆ’1,1}.

    3. Note that

      β€–viβˆ’aβ€–βˆž=rβ€–wiβ€–βˆž=r1max{|wji|}=r1.
    4. Thus, vi∈bdB∞[a,r1].

    5. Readers can verify that these are indeed the extreme points of B∞[a,r1] and there are no other extreme points.

  5. Then, by Krein Milman theorem,

    B∞[a,r1]=conv{v1,…,vN}.
  6. Thus, every x∈B∞[a,r1] is a convex combination of the extreme points. Specially, there exists tβˆˆΞ”N (unit simplex of RN) such that

    x=βˆ‘i=1Ntivi.
  7. Now, by Jensen's inequality,

    f(x)β‰€βˆ‘i=1Ntif(vi).
  8. Let M=max{f(v1),…,f(vN)}.

  9. Then,

    f(x)β‰€βˆ‘i=1Ntif(vi)β‰€βˆ‘i=1NtiM=Mβˆ‘i=1Nti=M.
  10. Since B[a,r]βŠ†B∞[a,r1], hence f(x)≀M for every x∈B[a,r].

We have shown that f(x)≀M for every x∈B[a,r]. We next find an L such that

f(x)βˆ’f(a)≀Lβ€–xβˆ’aβ€–

for every x∈B[a,r].

  1. Let x∈Bd[a,r] (the deleted neighborhood).

  2. Then, β€–xβˆ’a‖≀r and f(x)≀M.

  3. Let Ξ±=1rβ€–xβˆ’aβ€–. Note that by definition α≀1.

  4. Define

    y=a+1Ξ±(xβˆ’a).
  5. Note that

    β€–yβˆ’aβ€–=rβ€–xβˆ’aβ€–β€–xβˆ’aβ€–=r.
  6. Thus, y∈B[a,r].

  7. Hence f(y)≀M.

  8. We can rewrite the above equation (defining y) as

    x=Ξ±y+(1βˆ’Ξ±)a.
  9. Thus, x is a convex combination of y,a.

  10. Then, by convexity,

    f(x)≀αf(y)+(1βˆ’Ξ±)f(a)=f(a)+Ξ±(f(x)βˆ’f(a))≀f(a)+Ξ±(Mβˆ’f(a))=f(a)+1rβ€–xβˆ’aβ€–(Mβˆ’f(a)).
  11. Consequently,

    f(x)βˆ’f(a)≀Mβˆ’f(a)rβ€–xβˆ’aβ€–.
  12. Let L=Mβˆ’f(a)r.

  13. Then, for every x∈B[a,r], we have

    f(x)βˆ’f(a)≀Lβ€–xβˆ’aβ€–.

We next show that for this choice of L

f(a)βˆ’f(x)≀Lβ€–xβˆ’aβ€–

for every x∈B[a,r].

  1. Define

    z=a+1Ξ±(aβˆ’x).
  2. It is easy to see that β€–aβˆ’zβ€–=r.

  3. Hence, z∈B[a,r] and f(z)≀M.

  4. Rearranging, we have

    x=a+Ξ±(aβˆ’z).
  5. Now, note that:

    a=11+Ξ±(a+Ξ±(aβˆ’z))+Ξ±1+Ξ±z.
  6. Thus, a is a convex combination of x=a+Ξ±(aβˆ’z) and z.

  7. Also, both x,z∈B[a,r].

  8. Applying convexity,

    f(a)≀11+Ξ±f(x)+Ξ±1+Ξ±f(z).
  9. Thus,

    (1+Ξ±)f(a)≀f(x)+Ξ±f(z).
  10. Thus,

    f(x)β‰₯(1+Ξ±)f(a)βˆ’Ξ±f(z)=f(a)+Ξ±(f(a)βˆ’f(z)).
  11. Continuing from here

    f(x)β‰₯f(a)+Ξ±(f(a)βˆ’f(z))β‰₯f(a)βˆ’Ξ±(Mβˆ’f(a))=f(a)βˆ’Mβˆ’f(a)rβ€–xβˆ’aβ€–=f(a)βˆ’Lβ€–xβˆ’aβ€–.
  12. Thus, f(a)βˆ’f(x)≀Lβ€–xβˆ’aβ€–.

Combining, we see that with L=Mβˆ’f(a)r,

|f(x)βˆ’f(a)|≀Lβ€–xβˆ’aβ€–

for every x∈B[a,r].

Thus, f is locally Lipschitz at every interior point of S=domf.

8.13.2.3. Continuity of Proper Convex FunctionsΒΆ

Theorem 8.175 (Continuity of proper convex functions)

Let V be an n-dim real normed linear space. Let f:Vβ†’R be a real valued convex function. Then it is continuous. More generally, if f:Vβ†’(βˆ’βˆž,∞] is a proper convex function, then f, restricted to domf, is continuous over the relative interior of domf.

Proof. We will restrict our attention to the affine hull of the domain of f. We shall assume that origin belongs to ridomf. We shall use a transformation argument as needed.

  1. Let S=domf.

  2. Let A=affS.

  3. Let L the linear subspace parallel to A.

  4. Let a∈riS. If 0∈riS, we can pick a=0.

  5. Define the function

    g(x)=f(x+a).
  6. Clearly g(0)=f(a).

  7. We can see that domg=Sβˆ’a and affdomg=L.

  8. Consider the restriction of g to L defined as h:Lβ†’(βˆ’βˆž,∞] given by h(x)=g(x).

  9. domh=Sβˆ’a.

  10. We note that relative interior of Sβˆ’a w.r.t. V is the same as the interior of Sβˆ’a w.r.t. L.

  11. By Theorem 8.174, h is locally Lipschitz continuous at every interior point of Sβˆ’a (relative to L).

  12. Hence g is continuous over the relative interior of Sβˆ’a.

  13. Hence f is continuous over the relative interior of S.

Corollary 8.12 (Closedness of real valued convex functions)

Let V be an n-dim real normed linear space. A real valued convex function f:V→R with V=domf is closed.

Proof. By Theorem 8.175, f is continuous over V.

  1. For real valued convex functions, V=domf.

  2. V is a closed set in the topology of (V,β€–β‹…β€–).

  3. By Theorem 3.96, continuity and closed domain imply that f is closed.