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.
Let and let denote its convex conjugate. Its Fenchel–Young gap
is nonnegative by the Fenchel–Young inequality, and the hypothesis says .
First justify the integrability needed for the certificate. Finite second moments and the Cauchy-Schwarz inequality imply, for every transport plan ,
Since and , the identity proves by the marginal distribution property. In particular, no subtraction of infinite integrals is being used.
Set
These are integrable Kantorovich potentials. The Fenchel–Young inequality gives . More precisely, for every transport plan ,
Taking the infimum in the first inequality therefore proves
The factor in the quadratic cost is essential for this exact gap identity.