Back

Convexification

In optimization, convexification is an important notion. The reason is that optimizing a linear function seems to be easier over a convex set than an arbitrary set. We now look at some fundamental notions involved in convexification.

Let \(\mathbf{v}^1, \mathbf{v}^2, \ldots, \mathbf{v}^k \in \mathbb{R}^n\). Let \(\lambda_1, \ldots, \lambda_k \in \mathbb{R}\) be such that \(\lambda_1,\ldots, \lambda_k \geq 0\) and \(\lambda_1 + \cdots + \lambda_k = 1\). Then \(\lambda_1 \mathbf{v}^1 + \cdots + \lambda_k \mathbf{v}^k\) is called a convex combination of \(\mathbf{v}^1, \mathbf{v}^2, \ldots, \mathbf{v}^k\).

For example, the line segment between \(\mathbf{u}, \mathbf{v} \in \mathbb{R}^n\) is the set of all convex combinations of \(\mathbf{u}\) and \(\mathbf{v}\).

Proposition 8.8. Let \(C \subseteq \mathbb{R}^n\) be a convex set. if \(\mathbf{v}^1, \mathbf{v}^2, \ldots, \mathbf{v}^k \in C\), then \(C\) contains all convex combinations of \(\mathbf{v}^1, \mathbf{v}^2, \ldots, \mathbf{v}^k\).

The proposition can be proved by induction on \(k\) and is left as an exercise.

It can be shown that the set of all convex combinations of \(\mathbf{v}^1, \mathbf{v}^2, \ldots, \mathbf{v}^k\) is a convex set. The case when \(k = 2\) was proved previously.

Given a set \(S \subseteq \mathbb{R}^n\), the convex hull of \(S\), denoted \(\operatorname{conv}(S)\), is the intersection of all convex sets containing \(S\). It is not difficult to show that \(\operatorname{conv}(S)\) is given by the minimal (smallest) convex set containing \(S\).

Note that \(\operatorname{conv}(\emptyset) = \emptyset\) because the empty set is a convex set that contains the empty set.

Theorem 8.9. Let \(S\) be a subset of \(\mathbb{R}^n\). Then \(\operatorname{conv}(S)\) is the same as the set of all possible convex combinations of elements of \(S\).

Proof. Let \(Q\) denote the set of all possible convex combinations of elements of \(S\). Then \[Q = \{ \lambda_1 \mathbf{v}^1 + \cdots + \lambda_k \mathbf{v}^k : k \in \mathbb{N}, \lambda_1,\ldots, \lambda_k \geq 0, \lambda_1 + \ldots + \lambda_k = 1, \mathbf{v}^1,\ldots, \mathbf{v}^k \in S\}.\] By Proposition 8.8, any convex set containing \(S\) must also contain \(Q\). Hence, \(\operatorname{conv}(S) \supseteq Q\). To show equality, it suffices to show that \(Q\) is a convex set since \(S \subseteq Q\).

Let \(\mathbf{u},\mathbf{v} \in Q\). Then, there exist positive integers \(k_u, k_v\) and nonnegative real numbers \(\alpha_1,\ldots, \alpha_{k_u}\), \(\beta_1,\ldots, \beta_{k_v}\), and \(\mathbf{u}^1,\ldots,\mathbf{u}^{k_u}, \mathbf{v}^1,\ldots,\mathbf{v}^{k_v} \in S\), such that \(\mathbf{u} = \displaystyle\sum_{i = 1}^{k_u} \alpha_i \mathbf{u}^i\), \(\mathbf{v} =\displaystyle \sum_{i = 1}^{k_v} \beta_i \mathbf{v}^i\), and \(\displaystyle\sum_{i=1}^{k_u} \alpha_i = \sum_{i=1}^{k_v} \beta_i = 1\). Then, for any \(\lambda \in [0,1]\), \begin{eqnarray*} && (1-\lambda) \mathbf{u} + \lambda\mathbf{v} & = & \sum_{i = 1}^{k_u} ((1-\lambda)\alpha_i) \mathbf{u}^i + \sum_{i = 1}^{k_v} (\lambda \beta_i) \mathbf{v}^i. \end{eqnarray*} Since \(\displaystyle\sum_{i = 1}^{k_u} (1-\lambda)\alpha_i + \displaystyle\sum_{i = 1}^{k_v} \lambda \beta_i = (1-\lambda) \displaystyle\sum_{i = 1}^{k_u} \alpha_i + \lambda \displaystyle\sum_{i = 1}^{k_v} \beta_i = (1-\lambda) + \lambda = 1\), and \((1-\lambda)\alpha_i \geq 0\) for \(i = 1,\ldots, k_u\) and \(\lambda\beta_i \geq 0\) for \(i = 1,\ldots, k_v\), we see that \((1-\lambda) \mathbf{u} + \lambda\mathbf{v}\) is a convex combination of elements of \(S\) and therefore is in \(Q\). This shows that \(Q\) is convex.

Worked examples

  1. Let \(\mathbf{u}^1 = \begin{bmatrix} 0 \\ -1 \end{bmatrix}\), \(\mathbf{u}^2 = \begin{bmatrix} 1 \\ 2 \end{bmatrix}\), \(\mathbf{u}^3 = \begin{bmatrix} 3 \\ 0 \end{bmatrix}\), and \(\mathbf{u}^4 = \begin{bmatrix} 2 \\ -2 \end{bmatrix}\). Let \(\mathbf{v} = \begin{bmatrix} 2 \\ -1\end{bmatrix}\).

    1. Show that \(\mathbf{v}\) is in the convex hull of \(\{\mathbf{u^1},\mathbf{u^2},\mathbf{u^3}, \mathbf{u^4}\}\).

    2. Show that \(\mathbf{v}\) is not in the convex hull of \(\{\mathbf{u^1},\mathbf{u^2}, \mathbf{u^3}\}\).

  2. Let \(C \subseteq \mathbb{R}^n\) be a convex set. Prove that if \(\mathbf{v}^1, \mathbf{v}^2, \ldots, \mathbf{v}^k \in C\), then \(C\) contains all convex combinations of \(\mathbf{v}^1, \mathbf{v}^2, \ldots, \mathbf{v}^k\).

  3. Let \(S = \left\{ \begin{bmatrix} x_1 \\ x_2\end{bmatrix} : x_1^2 + x_2^2 = 1\right\}\). Describe the convex hull of \(S\).

  4. Let \(\mathbf{x},\mathbf{d}^1,\ldots,\mathbf{d}^k \in \mathbb{R}^n\) where \(k\) is a positive integer. Let \(S = \left\{\mathbf{x}+ \displaystyle\sum_{i=1}^k \lambda_i\mathbf{d}^i : \lambda_1,\ldots,\lambda_k \in \mathbb{Z}\right\}\). Prove that \(\operatorname{conv}(S) = \left\{\mathbf{x}+\displaystyle\sum_{i=1}^k \lambda_i\mathbf{d}^i : \lambda_1,\ldots,\lambda_k \in \mathbb{R}\right\}\).