Worksheet 7-1: Convex Functions#
Download: CMSE382-WS7_1.pdf
Warning
This is an AI-generated transcript of the worksheet and may contain errors or inaccuracies. Please refer to the original course materials for authoritative content.
Atom functions (assume convex unless you are proving directly from the definition):
\(f(t) = mt + b\), \(m,b \in \mathbb{R}\) |
\(f(t) = t^2\) |
\(f(t) = e^t\) |
\(f(t) = t^4\) |
\(f(t) = -\ln(t)\), \(t > 0\) |
Worksheet 7-1: Q1#
Justify each step (i)–(vi) in the following proof that \(f(t) = t^2\) is convex. Pick any \(\lambda \in [0,1]\) and \(t_1, t_2 \in \mathbb{R}\). Then:
Worksheet 7-1: Q2#
Show that each of the following functions is convex. Use the theorems from lecture to justify your answer.
(a) \(f(x,y) = x^2 + 3y^2\)
(b) \(h(x,y) = \exp(x + y)\)
(c) \(f(x,y) = x^2 + 2xy + 3y^2 + 2x - 3y\)
(d) \(f(x,y,z) = \exp(x - y + z) + \exp(2y) + x\)
(e) \(f(x,y) = -\ln(xy)\), for \(x > 0\), \(y > 0\)
Worksheet 7-1: Q3#
Are the following functions convex? Justify your answer.
(a) \(f(x,y) = xy\)
(b) \(\|\mathbf{x}\|\) for any norm on \(\mathbb{R}^n\). Use the definition of convex function.
(c) \(h(\mathbf{x}) = \exp(\|\mathbf{x}\|)\)
(d) \(\|\mathbf{x}\|^2\) for any norm on \(\mathbb{R}^n\)