* [[Characterizing Functions for Optimizations]]
* [[Convex Hull, Convex Span]]
* [[Set Addition]]
* [[Caratheodory Theorem]]
* [[Introducing Cone]]
* [[Polar Cone]]
---
### **Intro**
Support function is special and play an important analysis role.
It incorporate ideas from convex sets and their properties and packaged them into an extended value convex function.
This allows us to reuse existing claims on convex function to assert more claims about convex sets, and vice versa.
#### **Definition | Support Functions**
> A support function is parameterized by a set $C\subset \mathbb E$. And it's defined as:
>
> $
> \begin{aligned}
> \delta_C^{\star}(x) := \sup_{y\in C} \left\lbrace
> \langle y, x\rangle
> \right\rbrace
> \end{aligned}
> $
**Observations**
Choose a vector from $C$, given a vector $x$, the $x$ finds the best vector $y$ whose that is pointing to the same direction as $x$ as close as possible, and also as long as possible.
The function is also convex because it's the supremum over all affine function of the form $\langle c, x\rangle$ where $c\in C$, and using the fact that the pointwise supremum/maximum over a list of convex function is still going to be convex. (See [Convexity Preserving Operations for Functions](../CVX%20Geometry/Convexity%20Preserving%20Operations%20for%20Functions.md) for more information).
This function has domain $\mathbb R^n$ as long as $C \neq \emptyset$, because it's the supremum of infinitely many affine functions.
**Remarks**
In some literature, $\sigma_C$ is used for denoting the support unction for a set $C$.
When the set $C$ is not closed, the $\sup$ operator is closing it automatically by supping over a set of affine functions (usually infinite many of those), therefore the epigraph of the function is closed for all $C\neq \emptyset$.
When dealing with the support function for analysis purposes, keep in mind these good properties for all subsets $C$ of the Euclidean space:
1. It's convex. proper when $C$ is non-empty, and lower semi-continuous.
2. $\delta_{C}^\star \equiv \delta^\star_{\text{cl}(C)}\equiv \delta^\star_{\text{cvxh}(C)}$
3. $\delta^\star_{A + B} \equiv \delta^\star_{A} + \delta^\star_{B}$
4. Positive Homogeneous: $\alpha\delta_C^\star(x) = \delta_C^\star(\alpha x)\;\forall \alpha \ge 0$
* Its epigraph is a cone, literally.
5. It's sub-additive: $\delta_C^\star(x_1 + x_2) \le \delta_C^\star(x_1) + \delta_C^\star(x_2)$
6. Support function of set $C$ is the conjugate of the indicator function of the same set. For more about conjugation, see: [[../Duality/Convex Conjugation Introduction]] for more.
We will prove some of the properties that are not trivial to prove.
The properties 4., 5, shows that support function is also a sublinear function.
Property 4, positive homogeneuity shows that the epigraph of the support function is a cone.
One consequence of property 4. would mean that $f(0x) = 0f(x) = 0$ for all $x \in \mathbb E$.
That is assume that $f$ is a positive homogeneous function.
Therefore $f(0) = 0$, therefore the support function $\delta^\star$ would have an epigraph that is also a cone.
**References**:
Amir's first order op textbook, section 2.4.
---
### **Basic Theorems and Results**
We prove a trivial results different than what we did in the observations parts after the definition.
#### **Theorem | Support Function is Convex**
> The support function of any nonempty $C$ is closed and convex.
**Proof**:
It's closed because of the $\sup$ in the definition. To characterize the convexity of the function we consider $\lambda \in [0, 1]$:
$
\begin{aligned}
\delta_C^\star(\lambda x_1 + (1 - \lambda)x_2) &= \sup_{y\in C}\left\lbrace
\langle \lambda x_1 + (1 - \lambda)x_2, y\rangle
\right\rbrace
\\
&= \sup\left\lbrace
\langle \lambda x_1, y \rangle
+
\langle (1 - \lambda)x_2, y\rangle
\right\rbrace
\\
&\le
\lambda\sup_{y_1}\langle x_1, y_1\rangle + (1 - \lambda)\sup_{y_2}\langle x_2, y_2\rangle
\\
&= \lambda\delta_{C}^\star(x_1) + (1 - \lambda)\delta_C^\star(x_2)
\end{aligned}
$
Therefore it's convex.
#### **Theorem | Support Function Bounded if and only if $C$ is Bounded**
> $C$ is bounded if and only if $\sigma_C$ is a bounded function.
---
### **Thm-2 | Support Functions Equivalence Under Convex or Closure or Both**
> For any set $C$, these functions are equivalent:
> $
> \delta_{C}^\star \equiv \delta^\star_{\text{cl}(C)}\equiv \delta^\star_{\text{cvxh}(C)}
> $
> Suppose that $x\in \mathbb R^k$.
**Proof**:
The first inequality is easy because $C\subseteq\text{cl(C)}$ by def, and hence the $\sup$ of them yields $\delta_C^\star(x) \le \delta_{\text{cl}(C)}^\star(x)$, the other inequality $\delta^\star_{C}(x) \ge \delta_{\text{cl}(C)}^\star(x)$ by the property of $\sup$.
For the proof of the second equality, recall the [Caratheodory Theorem](Caratheodory%20Theorem.md) for convex set.
Let $x$ be arbitrary.
Using the fact that the set $\text{cvxh}(C)$ is closed set, the supremum can be obtained by the set $\{y_n\}_{n \ge 1}$ such that $\lim_{n\rightarrow \infty}\langle x, y_n\rangle = \delta_{C}^\star(x)$. Then for any $y_n$, it can be supported by $\{z_i\}_{i = 1}^{k + 1}$ using the Caratheodory Theorem (Note, the supports can be less than $k - 1$):
$
\begin{aligned}
& \forall y_n \exists \lambda^{(n)} \in \Delta_{k + 1}, \{z_i^{(n)}\}_{i}^{k + 1}:
\sum_{i = 1}^{k + 1} \lambda_i^{(n)}z_i^{(n)} = y_n
\\
\implies &
\forall n: \langle x, y_n\rangle =
\sum_{i = 1}^{k + 1}\lambda_i^{(n)} \langle z_i^{(n)}, x\rangle
\\
&\le
\sum_{i= 1}^{k + 1}\lambda_i^{(n)}\sup_{z_i^{(n)}\in C}\langle z_i^{(n)}, x\rangle
\\
&= \sum_{i = 1}^{k + 1}\delta_{C}^\star(x)
\\
\implies
\delta_{\text{cvxh(C)}}^{\star}(x) &\le \delta_C^\star(x)
\end{aligned}
$
The direction where $\delta_{C}^\star(x) \le \delta_{\text{cvxh}(C)}^\star(x)$ is obvious.Using the previous results we obtain the equivalence between all these 3 functions.
**Remarks**
The magic here is the function inside of the sup can be super-positioned, and we take advantage of the properties of convex hull to support any points that are in convex hull using points from the original set $C$.
---
### **Support Function for Closed Convex Sets**
> Let $A, B$ be non-empty closed and convex subsets of the Euclidean space. then we have $A= B \iff \sigma_A = \sigma_B$, the support functions of both sets are equaled to each other.
**Observations**:
One can conclude this directly using the [Thm-2](#**Thm-2%20Support%20Functions%20Equivalence%20Under%20Convex%20or%20Closure%20or%20Both**). Or we can assume that we don't know that and prove it differently.
**Remarks**
#UNFINISHED, #HEINZ, Lemma 8.15
---
### **Support functions and Subgradient Constraints Qualifications**
---
### **Example 1 | Support Function of Finite Sets**
> Given a nonempty convex set of vector in $C\subset \mathbb E$: $\{b_i\}_{i = 1}^n$, the support function of the set is: $\delta_C^\star(y) = \max_{i\in [n]}\{\langle y, b_i\rangle\}$.
proof: Too easy skipped
---
### **Example 2 | Support Function for a Cone**
> Given a non-empty cone: $K$, the support function of the cone is: $\delta^\star_K(x) \equiv \delta_{K^\circ}(x)$. It's the activation function on the polar of the cone.
Proof: Too easy skipped
---
### **Example 3 | Supporting Polyhedral Cone**
> Suppose a polyhedral cone $K = \{x: Ax \le \mathbf 0\}$, then it's polar is $\{A^Ty: y\ge \mathbf 0\}$, which means that the support function of $K$ is the indicator function of the polar cone:
> $
> \begin{aligned}
> \delta_K^{\star}(x) = \delta_{\{A^Ty: y\ge \mathbf 0\}}(x)
> \end{aligned}
> $
---
### **Example 3 | Supporting the Unit Simplex**
#### **Def | Simplex**
> $
> \Delta_n := \text{cvxh}\left\lbrace
> \mathbf e_1, \mathbf e_2, \cdots, \mathbf e_n
> \right\rbrace
> $
> It's the convex hull of all the standard basis vectors.
**Proof**:
Because the set is finite, we can apply example 1 to obtain: $\max_{i\in [n]}\{y_i\}$, which is just $\Vert y\Vert_\infty = \delta_{\Delta_n}(y)$.
---
### **Example 4 | Supporting the Affine Space**