Optimization / Smooth optimization
Convexity
The property that makes optimization easy: every local minimum is global.
Contents 2 sections
By the end you can
- Define convex sets and convex functions
- Test convexity with second derivatives
- Explain why convex problems have no bad local minima
Helps to know: Optimality Conditions
§1Bowls, not egg crates
A twice-differentiable function is convex exactly when its Hessian is positive semidefinite everywhere; in one variable, when . Examples: , , , and any linear function.
Check yourself
- Q1Is convex?
- Q2Is convex on all of ?