Convex Optimization
Motivation: why this matters in quant finance
Portfolio construction, calibration, and regularised estimation all become safer when the objective is convex. Convexity turns local improvement into global reliability.
The informal idea
A convex optimisation problem minimises a bowl-shaped objective over a bowl-shaped feasible set. Lines between feasible points stay feasible, and the objective along those lines never arches above the chord.
Formal definitions
A set is convex if for and . A function is convex if .
Key properties
Local minima are global
This is the central computational value of convexity.
First-order conditions certify optima
For differentiable unconstrained convex , is sufficient.
Quadratic risk problems are convex when covariance is positive semidefinite
That is why mean-variance optimisation is tractable.
Worked example
Minimising is convex when . The first-order condition gives .
Common confusions and pitfalls
"Every optimisation problem solved by a computer is convex." Many calibration and trading problems are non-convex.
"Convex means linear." Quadratic, norm, and exponential losses can be convex too.
"Constraints are bookkeeping." Constraints define the feasible set and can change the solution.
Where this goes next
- Lagrange Multipliers and KKT Conditions: gives optimality conditions for constrained convex problems.
- Quadratic Programming: specialises convex optimisation.
- Mean-Variance Optimisation: is the portfolio application.