lec06
Lecture 6. Convex Functions (cont’d)
6.1 Convexity-preserving operations
For the convex sets, we have known that if
Nonnegative Sums
If
Furthermore, if a two-dimension function
We can verify the convexity of objective functions via Jensen inequality.
Pointwise Maximum
If
Futhermore, if

The proof is immediate by noting that the epigraph of the pointwise maximum function is the intersection of the epigraphs of all
Affine mapping
Suppose
By the triangle inequality, it holds that
Scalar composition
Given two convex and differentiable functions
When
is convex if is convex and one of the following proposition is true: is increasing and is convex; is decreasing and is concave.
is convex if is concave and one of the following proposition is true: is increasing and is concave; is decreasing and is convex.
We just show the proof of case 2, the other three cases can reuse this proof. If
Note that for other four cases, we can not determine whether
is convex if (but if , we have no idea whether is convex or not).- If
and , then is neither convex nor concave. - If
and , then is concave. - (log-sum-exp) If
and , then is convex.
We should explain more on the log-sum-exp function. This function is very useful for approximately computing the maximum of
We usually hope the objective function of the optimization problem is differentiable. However
Given a series of points
Vector composition
Suppose
is convex if is convex and one of the following proposition is true: is increasing and is convex for all ; is decreasing and is concave for all .
is concave if is concave and one of the following proposition is true: is increasing and is concave for all ; is decreasing and is convex for all .
Minimization over convex sets
Suppose
We prove this theorem by verifying the Jensen's inequality. In other words, we want to show that
6.2 Applications of convexity
Now we consider the problem of the triangle inequality for general
To verify the triangle inequality for all
Let
- If
, . - If
. First we normalize . Let and (namely, ), then we have . Thus,
Recall the detail of the proof of
When considering general
Let
Without loss of generality, we assume that
We first claim that
Next, applying this claim to
Now we are going to show the triangle inequality for
For any two vectors
Assuming
6.3 Convex optimization problems
After defining and discussing properties of convex sets and convex functions, we now introduce what type of optimization problems we should consider in this course.
Recall that, in general, an optimization problem is to find the minimum value of
The following problem
- The domain of
is given by - The feasible set of
is given by - The optimal value of
is - The optimal solution of
(if exists) is
For convenience, we usually allow
if is infeasible (i.e., ); if is unbounded below over ; is an optimal solution iff and is a locally optimal point if there exists such that holds for all .
In particular, in this course, we mainly consider the convex optimization.
Given an optimization problem
Clearly, the domain of
We also note that the feasible set
- For a convex optimization problem, any local minimum is also a global minimum.
- The set of optimal solutions
is also convex. - In particular, if
is strictly convex, there is at most one optimal solution.
For any two optimal solutions
In fact, we can show that the
Similarly, we can also define the
Thus, another proof of item
Now we can say that a convex optimization problem is to compute the minimum value of a convex function over a convex set. However, the converse statement is not true. Calculating the minimum of a convex function on a convex set is not always a convex optimization problem. Consider the following example:
The following optimization problem has convex objective function and convex feasible set. But it is not a convex optimization problem.
Here are some canonical types of convex optimization problems.
Linear programming
A linear programming is a convex optimization where the objective function and constraint functions are all affine (linear).
Quadratic programming
A quadratic programming is a convex optimization where the objective function is quadratic and constraint functions are all affine.
Quadratically constrained quadratic programming
A quadratically constrained quadratic programming is a convex program where the objective function and inequality-constraint functions are all quadratic functions.
The linear least square regression is a typical QP or QCQP. Given