Convexity¶
Core Idea¶
A set is convex when the straight line between any two members stays inside it; a function is convex when the chord between two points on its graph lies on or above the graph. Both express one shape: mixtures preserve membership, and the average of values dominates the value of the average — from which an unusual number of well-behaved properties follow.
How would you explain it like I'm…
The Marble Bowl
The Smiling Bowl
Chord Above the Graph
Broad Use¶
- Optimization: convex sets and functions are the dividing line between tractable and intractable problems.
- Economics: convex preferences and production sets underlie general-equilibrium existence; risk-aversion is convexity of disutility.
- Statistics and ML: concave log-likelihoods make maximum-likelihood convex, and convex relaxations (LP, Lasso, nuclear norm) make hard tasks tractable.
- Probability: the set of distributions is convex, and Jensen's inequality is the canonical bound behind many results.
- Decision theory: utilitarian aggregation, mixed strategies, and veil-of-ignorance arguments all use convex combinations.
- Engineering and physics: Lyapunov functions are convex stability certificates; thermodynamic free energy is convex in extensive variables.
Clarity¶
Relocates the question of difficulty from "is the data noisy?" to a structural property of the feasible set and objective — once a problem is seen as convex, the local-versus-global distinction collapses and "stuck in a local optimum" stops being a worry.
Manages Complexity¶
Converts a global question ("is this the best solution anywhere?") into a local one ("does any nearby direction improve?"), answerable by inspection at a single point — the hard accounting of trajectories and competing basins replaced by one shape check.
Abstract Reasoning¶
Unlocks reusable templates: Jensen's inequality (source of AM–GM, entropy bounds, risk premia), the separating hyperplane (dual certificates, Farkas, supporting prices), the convex hull as feasibility envelope, Carathéodory's bound, and convex relaxation.
Knowledge Transfer¶
- Optimization → policy: "local incentives reach a global optimum when the welfare function is concave" tells when decentralized markets succeed.
- Statistics → diagnosis: "this objective is non-convex" warns that estimation is sensitive to initialization, in econometrics and deep learning alike.
- Thermodynamics → economics: the common-tangent construction resolving a non-convex free energy is the same convexification turning a non-convex production set into two-firm specialization.
Example¶
Minimizing portfolio variance over the probability simplex is convex (any mixture of two allocations is an allocation), so the optimum is unique and found by any gradient method regardless of starting point, with dual prices on the constraints.
Relationships to Other Abstractions¶
Current abstraction Convexity Prime
Parents (1) — outgoing typed relations
-
Convexity presupposes Optimization Prime
Convexity presupposes Optimization, whose structure must already obtain for the child mechanism to be meaningful or operational.
Children (14) — abstractions linked here by typed relations
-
0/1-polytope Domain-specific is a kind of Convexity
It remains its own entry because its identity is fixed by the ambient dimension, selected binary vectors, convex-hull definition, affine hull and dimension, vertex minimality, facet inequalities, symmetry and any simple or full-dimensional qualification.
-
Convex body Domain-specific is a kind of Convexity
A convex body is exactly a case where the convexity mixture property holds, restricted to a compact, full-dimensional Euclidean set.
-
Convex hull Domain-specific is a kind of Convexity
What makes it its own entry: the domain-specific identity determined by the ambient affine space and scalar field are fixed and the result both contains the source set and is minimal among convex containing sets.
-
Gauss–Lucas theorem Domain-specific is a kind of Convexity
The conclusion is containment in the convex hull of source roots.
-
Geodesic convexity Domain-specific is a kind of Convexity
What makes it its own entry: Global uniqueness can fail on manifolds with cut loci, so weak, strong, and local geodesic-convexity conventions must not be conflated.
- Hadamard space Domain-specific is a kind of Convexity
It remains its own entry because its identity is fixed by the nonempty metric space, completeness, geodesic existence, CAT(0) triangle-comparison or midpoint inequality, unique midpoint and geodesic, squared-distance convexity, projection onto closed convex sets, flatness condition and distinction from Hadamard manifolds.
- Mazur's lemma Domain-specific is a kind of Convexity
It remains its own entry because its identity is fixed by the normed space and weak topology, weakly convergent sequence and limit, convex combinations drawn from successive tails and norm convergence of the constructed sequence.
- Non-convexity (economics) Domain-specific is a kind of Convexity
The identity is the failure of convexity within economic choice or production sets.
- Proper Convex Function Domain-specific is a kind of Convexity
Proper Convex Function is a strict specialization of `prime:convexity`: every member carries the convex-function chord inequality, with additional extended-value admissibility conditions.
- Quasiconvex Function Domain-specific is a kind of Convexity
**Convexity** is the broader abstraction this entry instantiates.
- Simplex Domain-specific is a kind of Convexity
A simplex is defined as a convex hull with unique convex coordinates.
- Subharmonic function Domain-specific is a kind of Convexity
What makes it its own entry: the domain-specific identity determined by the domain and dimension, upper semicontinuity, allowed balls or spheres, local integrability and mean-value or comparison inequality are explicit under the selected convention.
- Log-Sum Inequality Domain-specific presupposes Convexity
Log-Sum Inequality presupposes Convexity: the parent's defining role is necessary to the child's frozen mechanism or criterion.
- Normal Cone Domain-specific presupposes Convexity
A convex-analysis normal cone presupposes a convex feasible carrier.
Hierarchy path (1) — routes to 1 parentless root
- Convexity → presupposes Optimization
Not to Be Confused With¶
- Convexity is not Optimization because optimization is the activity of finding a best feasible point, whereas convexity is a structural property of the set and objective that guarantees the search succeeds globally.
- Convexity is not Linearity because linearity demands the chord lie on the graph (equality), whereas convexity demands only on or above (inequality) — admitting curvature like diminishing returns that linearity forbids.
- Convexity is not Pareto Efficiency because Pareto efficiency is a property of an outcome, whereas convexity is a property of the feasible region's shape — a convex set makes the frontier well-behaved, but the two are distinct.