Note
Convex Functions
Topics: Convex Optimization
Definition
A function is convex if and only if:
- its domain is a convex set
- lies below the line segment connecting any two of its points
That is

First-Order Conditions
If is differentiable, then is convex if and only if its domain is a convex set and
holds for all .
This condition also constitutes a useful property for algorithm design with convex functions: a differentiable convex function is lower-bounded by its local first-order approximation.

Second-Order Conditions
If is twice-differentiable, then is convex if and only if its domain is a convex set and its Hessian is positive semidefinite
Operations Preserving Convexity
- Positive scaling
- Sum
- Composition with affine mapping:
- Special compositions:
- convex, non-decreasing & convex
- concave, non-increasing & convex
- Pointwise maximum:
- Pointwise supremum:
References
- S. Boyd and L. Vandenberghe, Convex Optimization. Cambridge: Cambridge University Press, 2004.
- Convex Optimization for Trajectory Generation - A Tutorial on Generating Dynamically Feasible Trajectories Reliably and Efficiently
Backlinks
Notes that reference this page.
Connections
Direct relationships to this note.