17

Let $\langle f_i \rangle _{i \in I}$ be a family of affine functions on a convex and compact set $\Omega \subset \mathbb{R^d}$ such that $f_i = a_i.x +b_i$ for $x \in \Omega$. Prove that f, defined by $f(x) = sup_{i \in I}f_i(x)$ for $x \in \Omega$ is a convex function. Explain this geometrically.

I understand that since f is in $C^1(\Omega)$, f is convex if $sup(a_ix + b_i) \le sup(a_iy+b_i) + a_i(x-y)$, but i am having trouble proving this.

bobdylan
  • 2,452
  • 5
  • 30
  • 39

2 Answers2

30

Let $(g_i)_{i\in I}$ be a family of convex functions on a convex compact set $\Omega\subseteq \mathbb{R}^d$. We will show that the sup of this family is convex. We will use the standard definition of convexity.

Let $g:=\sup_{i\in I} g_i$.

Take $x,y\in\Omega$ and $t\in[0,1]$.

Fix $i\in I$. Since $g_i$ is convex and bounded above by $g$, we have $$ g_i(tx+(1-t)y)\leq tg_i(x)+(1-t)g_i(y)\leq tg(x)+(1-t)g(y). $$ Since the latter holds for every $i\in I$, we can take the sup and find $$ g(tx+(1-t)y)\leq tg(x)+(1-t)g(y). $$

This holds for every $x,y\in \Omega$ and every $t\in[0,1]$. So $g$ is convex.

Now every affine function $f_i$ is convex, so the result follows from the general case above.

Geometrically? A function is convex iff its epigraph is convex. See here for a definition of the epigraph. It is clear that the epigraph of $\sup g_i$ is the intersection of the epigraphs of all the $g_i$. Now the intersection of convex sets is convex, which yields a more geometric proof of the statement above.

Julien
  • 45,674
  • I am wondering, when $g_i$ have non-identical domains, if the claim holds and can still be proved via epigraphs. Pointwise supremum of a convex function collection. – antonio May 26 '13 at 14:39
  • @antonio How do you define $\sup g_i$ if the $g_i$ don't have the same domain? – Julien May 26 '13 at 18:04
  • Well, I suppose there are two possibilities: one is defining

    $$ g(x) = \sup {g_i(x) \mid i \in I, x\in \mathrm{dom}, g_i }
    $$

    So, for every $x^0$, I include only the $g_i(x^0)$ value when the function is defined at $x^0$, like to say that, if a function is not defined at point, then the function does not exist there and so no value is (can be) included in the set.

    Another possibility is to assume the function is $+\infty$ when not defined. I don't know if there is some established convention ruling out these options.

    – antonio May 26 '13 at 18:49
  • @antonio I see your point, but I think the rule is: define $\sup g_i$ on the intersection of the domains of the $g_i$'s. I have never seen any advantage of doing otherwise. But maybe there are situations where this is helpful... – Julien May 26 '13 at 18:53
  • I am no expert, anyway I have seen that in convex analysis often they use the notion of 'proper function', which is $+\infty$ outside its 'effective domain'.

    I see often notations like $\sup\limits_{i\in I} f_i$ or $\sup\limits_{y\in A} f(x,y)$ without a definition. Can you address me to a formal definition?

    – antonio May 26 '13 at 19:20
  • @antonio Right. You can always extend a function by $+\infty$ outside its domain. But whether this is relevant or not depends very much on what you are doing with that afterwards. For instance in this case, assume I have $(f_n)$ a family of convex functions on $\mathbb{R}$. So $\sup f_n$ is convex. But if I remove, say, $0$, from the domain of $f_1$ your first sup definition will still yield a convex sup on $\mathbb{R}$. But not the second one in general. Again, this is all very context-dependent. So there is no general answer to your question whether it makes sense to extend the notion. – Julien May 26 '13 at 19:33
  • 2
    @antonio The best formal definition is essentially what you gave. Take $(f_i){i\in I}$ a family of functions from some set $X$ to $\mathbb{R}\cup{+infty}$. Then for every $x\in X$, define $(\sup{i\in I}f_i)(x)$ to be the sup of the set of real numbers ${f_i(x),;,i\in I}$. It belongs to $\mathbb{R}\cup {+\infty}$. It is defined as the least upper bound of the latter set. You can find that in any book on Real Analysis. – Julien May 26 '13 at 19:38
  • @antonio Precision. If $S$ is a subset of $\mathbb{R}\cup{+\infty}$. Case 1: $S$ is unbounded above or contains $+\infty$, then $\sup S=+\infty$. Case 2: $S$ is bounded above. Then there exists a least element in the set of all upper bounds, which is called $\sup S$ and is a real number. It is characterized, among upper bounds of $S$, by: $\forall \epsilon>0$, there exists $s\in S$ such that $\sup S-\epsilon< s\leq \sup S$. – Julien May 26 '13 at 19:41
  • What about the $\inf$ of this family? Is it too convex? – Evan Aad Nov 22 '18 at 08:37
2

I can't comment because I don't have enough reputation, hence posting as an answer. I don't think $f \in C^1(\Omega)$. Easiest example is take $\Omega = [0,1]$, $I = \{1,2\}$. $f_1(x) = \frac12$ and $f_2(x) = x$. Then, $f(x) = \frac12$ if $x \le \frac12$ and $x$ if $x > \frac12$. In particular, at $\frac12$ there is a kink.

avk255
  • 431