Fenchel–Young gap Created 2026-10-05 Updated 2026-10-14
The Fenchel–Young gap is the nonnegative discrepancy
for a proper convex function and its convex conjugate. It can be . When is finite, it is the vertical distance between and its affine minorant . The Fenchel–Young gap vanishes exactly when , so it measures whether an input and a slope satisfy the subgradient relation.
For the convex quadratic function , completing the square gives
At and , the function value is and the tangent line has value , giving a Fenchel–Young gap of . In , the same calculation for gives and , half the squared Euclidean norm of the mismatch.
Figure 1. . The left panel fixes and marks the distance between the convex quadratic function and its tangent line . The right panel plots the Fenchel–Young gap , which vanishes at the matching input . Details.
An exact optimization error certificate. Fix a slope with and minimize the linearly tilted objective function . By the definition of the convex conjugate, , so
This identity holds even when the infimum is not attained. Thus a computed finite Fenchel–Young gap is exactly the error in objective value for this minimization problem. For the convex quadratic function, implies . A general proper convex function need not convert a small gap into a small distance: the absolute value has zero gap at for every .
The Fenchel–Young gap also connects convex analysis to optimal transport. For a proper convex function , define Kantorovich potentials and . The half-squared Euclidean distance cost satisfies . For a transport plan with finite integrated cost and integrable Kantorovich potentials, integrating this identity gives the difference between transport cost and the potentials' bound. This is the same local subgradient mismatch summed over transported pairs.
For continuous functions on a compact metric space satisfying , set . The triangle inequality makes -Lipschitz, while the constraint gives and evaluation at gives . Thus the feasible pair has at least as large an objective against any two probability measures. This explains why metric optimal transport duality reduces to a single -Lipschitz function.
Use the Lipschitz constant convention in the final quantity; it is a seminorm, with constants having value zero. Also interpret the coupling space as . The printed has an undefined . The third quantity has a duplicated printed label; it is placed in part iii here, with the fourth in part iv.
First prove weak optimal transport duality. For any feasible continuous pair and any coupling of probability distributions with marginals ,
Taking the supremum over pairs and infimum over couplings gives . These quantities are finite: is a coupling and the continuous cost is bounded on the compact metric space . The zero pair is feasible, so .
The reverse inequality is established in part ii by finite approximation and a proof of the required finite linear programming duality. Parts iii and iv then show that all the dual formulations agree.
Transportation problem Created 2026-09-24 Updated 2026-10-14
The transportation problem minimizes linear shipping cost while matching prescribed row supplies and column demands.
This is the finite discrete optimal transport problem with prescribed supply and demand marginals.