Homepage › Solution manuals › Dimitris Bertsimas › Introduction to Linear Optimization › Exercise 1.2 (Sum of convex functions)
Exercise 1.2 (Sum of convex functions)
Suppose that are convex functions from into and let .
- (a)
- Show that if each is convex, so is .
- (b)
- Show that if each is piecewise linear and convex, so is .
Answers
- (a)
-
Proof. Let and . By convexity assumption on each of , we have
□ - (b)
-
Proof. We induct on the number of functions . The base case is trivial. Now assume inductively that we have proven the theorem assertion for some . We then have
By definition, we can write for some vectors and scalars . At this point, we can employ the induction hypothesis and find some and such that . We then have
Using the fact that , we obtain
Enumerating all tuples and renaming the (at most ) vectors and scalars, we see that is piecewise convex linear per definitionem. This closes the induction. □
Comments
-
In part a, the second = should be $\ge$ by the definition of convexity, right?plodmatics • 2022-05-14
-
Correction added, thanks.eluthingol • 2022-05-17
-
how does summation of \(f(x)\) equals to piecewise linear convex function? \(\sum_{i=1}^{m} f_i(\mathbf{x}) = \max_{i=1,\ldots,k} (\mathbf{c}_i'\mathbf{x} + d_i)\)octocarl • 2022-10-08
-
@octocarl Summation of \(f(x)\) is not \(\sum_{i=1}^{m}f_i(\mathbf{x})\), it is \(\sum_{i=1}^{m+1}f_i(\mathbf{x})\). The fact that the latter is piecewise linear and convex follows by induction hypothesis, i.e., sum of any $m$ piecewise linear and convex functions is piecewise linear and convex. We then proceed to demonstrate that the same holds for \(m+1\), which is \(f(\mathbf{x})\).eluthingol • 2022-10-23
-
I'm also wondering how does the $\sum_{i=1}^m f_i(\mathbf{x})=\max _{i=1, \ldots, k}\left(\mathbf{c}_i^{\prime} \mathbf{x}+d_i\right)$? If $f_i$ is a piecewise linear convex function, doesn't that mean $f_i(\mathbf{x})=\max _{i=1, \ldots, k}\left(\mathbf{c}_i^{\prime} \mathbf{x}+d_i\right)$? Why the summation can be eliminated?johndst • 2023-09-28
-
The summation can be eliminated because \max_i a_i+\max_j b_j = \max_{i,j} {a_i+b_j}. Basically it means the summation of piecewise linear convex functions is still piecewise linear convex.Yulin • 2023-10-19