Convex conjugate Created 2026-09-28 Updated 2026-10-14
The convex conjugate records a function using slopes rather than input positions. Let be a proper extended-real function: it is finite somewhere and never takes . Its convex conjugate is
where is the dot product and is the effective domain. An infinite value of excludes that input from the supremum. The value can be , but cannot be because an input with finite supplies a finite lower bound.
The convex conjugate is automatically a convex function, even when is not convex: each fixed input gives an affine function , and their supremum is convex. It is also lower semicontinuous. It need not be proper: for on , is unbounded above for every . The definition and the automatic convexity are discussed in Boyd and Vandenberghe, Convex Optimization (2004), §3.3.1.
The best lower bound with a prescribed slope. Whenever is finite, the affine function
is an affine minorant of . Indeed, an affine function lies below everywhere exactly when . Thus is the largest possible intercept at slope . The convex conjugate trades positions for slopes: specifies where to inspect , whereas specifies which global affine minorant to use. Taking the supremum over all these affine minorants produces the biconjugate; the Fenchel-Moreau theorem says this recovers a proper convex function when it is lower semicontinuous.
A quadratic, computed by completing the square. For the convex quadratic function ,
Consequently , and the unique maximizing input is . The affine minorant is the tangent line at : its slope is and its intercept is . For example, gives and the tangent line , touching at . This is the same curve described either by its point values or by the intercepts of its tangent lines.
Figure 1.
The convex conjugate determines the intercept of each tangent line of a convex quadratic function
. For the convex quadratic function , the colored tangent lines have slopes and touch at . The right panel plots the convex conjugate and marks the matching slope-value pairs. The highlighted tangent line has intercept . Details.
A corner turns into a constraint on slopes. For the absolute value , if then , with value zero at . If , taking makes ; if , taking does the same. Therefore its convex conjugate is zero on and outside: it is the indicator functional of a constraint set for this interval. For the unique maximizing input is zero; for every maximizes, and for every maximizes. The corner's many supporting slopes are exactly the subdifferential .
A supremum need not be attained. For a differentiable convex function finite on all of , an input maximizes exactly when . If is strictly convex, there is at most one such input; existence is a separate issue. For the exponential function , the derivative is positive. At , solving gives and . At , the supremum of is zero as , with no maximizing input. At , as . Thus a strictly convex differentiable function can have both unattained finite conjugate values and infinite conjugate values.
This is a proper convex function that has degree-one positive homogeneity, with . It need not be even or nonnegative; linear functionals are examples. Its subdifferential satisfies
The two tests and prove equality; the subgradient inequality then gives the global upper bound. Conversely that bound and equality prove the subgradient condition. Hence a subgradient at also supports every nonnegative multiple of . Requiring gives an absolutely one-homogeneous functional.
Under the finite-valued assumptions, subgradients of an infimal convolution are obtained as its attained dual optimizers. Equivalently . Splitting the latter subdifferential into two separate ones needs a subdifferential sum rule qualification; solving the aggregate dual objective avoids that extra assumption.
Kernel support-vector coefficient from hinge activity Created 2026-10-05 Updated 2026-10-31
For the kernel support vector machine objective , assume , , and that the kernel matrix is invertible. The subdifferential optimality equation gives
Thus strict margins greater than one force zero coefficients, while misclassified observations have nonzero coefficients. Invertibility matters: a singular kernel matrix allows coefficient changes in its null space without changing the fitted function or objective.
Fix with nonempty subdifferential for a convex function . If and , monotonicity of a convex subdifferential gives for any fixed . Hence
The Cauchy-Schwarz inequality proves the bound uniformly for . If has an -Lipschitz gradient, this makes the remainder in the proximal gradient mapping descent bound at most . Thus the big O notation is justified despite the dependence of the proximal gradient mapping on .
Target: convex-optimization.bigb, under Coordinate descent.
Adding the two subgradient inequalities for and gives
Thus the subdifferential is a monotone operator. This inequality proves uniqueness of its resolvent: two solutions of must coincide when .
For each unordered pair, and with centred columns and regression residuals. The subdifferential of the Euclidean norm is the unit ball at zero and otherwise. These KKT conditions are necessary and sufficient for the convex paired objective and explain joint edge deletion.
Partial subdifferential 2026-10-06
For a convex scalar function , the partial subdifferential means the subdifferential of at . It is not differentiation of a set-valued subdifferential. If this section is differentiable, the partial subdifferential is the singleton containing .
For , differentiation in the symmetric tensor space gives . Therefore the Bingham fluid viscous dissipation potential gives
The deviatoric stress is trace free since is trace free; an arbitrary pressure reaction completes the Cauchy stress tensor.
At the yield term is not differentiable, and the correct relation is the subdifferential condition. A symmetric trace-free stress is admissible there if
The Cauchy-Schwarz inequality shows that this is equivalent to ; necessity follows by choosing proportional to . Hence the no-strain-rate restriction is
The quadratic term has zero derivative at zero and does not change this restriction. This is the unyielded part of the Bingham plastic law.
For flow along the plates, write , and take as the pressure-drop magnitude. The only nonzero rate-of-strain tensor entries are , so and the yielded shear stress law is
Force balance gives . The prescribed odd, continuous shear stress fixes its integration constant to zero, proving
For the inverse shear law is
The original PDF also calls odd. That assumption is inconsistent with a nonzero flow between identical fixed plates: the inverse shear law makes odd, whereas the derivative of an odd is even. Both can hold only if , and the no-slip wall values then give . Thus with the literal odd-velocity requirement, there is no admissible flowing solution when . The standard pressure-driven velocity is even; replacing that erroneous parity yields the intended profile below.
If , the whole gap is unyielded and the fixed no-slip walls force . Otherwise let . The plug flow of a yield-stress fluid occupies . In the upper yielded layer , and integration from gives
In the plug the velocity is the constant , and reflection gives the lower layer. The complete plane Poiseuille flow of a Bingham fluid answer is
The profile is continuous with continuous first derivative at the plug boundaries, vanishes at both walls and tends to the ordinary parabolic profile when . If signed pressure gradients of either direction are allowed, the threshold is , and reversing the gradient reverses the velocity.
Let . Maximizing a linear functional over this line segment occurs at an endpoint, so
This identifies as a support function. Its convex conjugate is the indicator functional : if , then for every , with equality at zero; if , strict separation and positive scaling of the separating vector make the supremum infinite.
For a convex function, equality in the Fenchel–Young inequality characterizes its subdifferential. Hence
This is support-function subgradients as exposed faces. In particular a maximizing really is a subgradient, since for every .
Writing , with , now gives
If , the last line is the singleton , so the formula includes that case.
Compute the convex conjugate of at a general pair . With , the independent variables become and , so
Therefore the Lagrange dual function is
Using strong duality from the preceding solution gives
Equivalently the conjugate of an infimal convolution is , and the continuous convex equals its biconjugate.
For practical subgradient computation, minimize the known convex dual objective
Every optimizer, and only an optimizer, belongs to by Fenchel–Young inequality. The full characterization is
This is infimal-convolution dual subgradients; the set is nonempty because is finite convex everywhere. If both conjugates are differentiable at the optimizer, solve . For nonsmooth conjugates, use the displayed aggregate subdifferential or a convex minimization algorithm. Replacing it by requires the usual subdifferential sum rule qualification; it is not automatically justified solely by knowing the two conjugates.
For a step size , define the set-valued maps
The forward subgradient step maps to the set . If is differentiable this is the explicit gradient step . The backward subgradient step consists of the satisfying , an implicit step for the subgradient flow. It is the resolvent of a monotone operator associated with .
Suppose . Then . The two defining subgradient inequalities are
Their sum proves monotonicity of a convex subdifferential, . But , so
Convexity supplies the subgradient inequalities and monotonicity; membership in the subdifferential ensures the two function values are finite, so subtraction is legitimate. Positivity of supplies the decisive sign. Properness rules out the identically infinite and negative-infinity pathologies in the overall setting, but lower semicontinuity is not needed for this at-most-one argument. Its role is in existence, proved next. The backward step cannot have two values, though uniqueness alone has not yet shown its domain is all of .
Put , the precision matrix. The conditional independence graph has an edge between and exactly when and are not conditionally independent given all the remaining components. For the multivariate normal distribution,
Indeed, the conditional density of the pair given the others has its quadratic term determined by the corresponding two-by-two principal submatrix of ; its cross term vanishes exactly when , making the two conditional Gaussian variables independent. This is a Gaussian graphical model.
To derive the conditional law of one component, isolate in the multivariate normal density and complete the square. The terms involving it are
Therefore
Equivalently, its mean is and its variance is the Schur complement . These forms agree because the block of gives , and its block then identifies the variance. This proves the relevant conditional multivariate normal distribution formula.
In particular, the population regression of component on the other components has coefficients
intercept , and a Gaussian residual independent of the predictors with variance . These are the conditional regression coefficients from a Gaussian precision matrix. The coefficient is zero exactly when the corresponding edge is absent. Its counterpart has the same zero pattern and sign, but generally a different magnitude.
This motivates nodewise regression: for each , regress on , estimating an intercept as well. For sparse graph estimation, use the Nodewise Lasso criterion
The Lasso penalty encourages many fitted coefficients to be zero and remains usable when the number of predictors exceeds the sample size. Ordinary unpenalized sample regressions would usually give a dense estimated graph. Separate regressions can disagree about a pair, so an undirected graph can use the OR rule for nodewise graph selection, retaining an edge if either fitted direction is nonzero, or the more conservative AND rule for nodewise graph selection, retaining it only if both are nonzero. These are choices for combining estimated neighbourhoods, rather than identities forced by finite-sample fits.
The printed joint objective uses a Group Lasso penalty on the unordered pairs
This is paired group Lasso for Gaussian graph estimation. Each group represents a single undirected edge, coupling its two directional regressions. A sum of group norms encourages entire pairs to be zero; a squared group norm would give smooth ridge-type shrinkage instead of edge deletion. The constraint removes self-prediction, and the intercepts are not penalized.
The free symbols called in the objective are regression intercepts, not generally the marginal means of the original Gaussian vector. Profiling them out gives
and replaces all columns by their centred versions in the squared-error terms. This is profiling intercepts in nodewise regression. Scaling predictors to comparable units can also help interpret a common penalty, although the displayed objective itself is well defined on the given data.
The grouped KKT conditions make the sparsity mechanism precise. With centred residuals , define
The subdifferential of the Euclidean norm at zero is its closed unit ball, and away from zero is . Hence a minimizer satisfies
These are the paired group Lasso optimality conditions. They jointly threshold the two directional scores, matching the population fact that both directions represent the same edge.
Estimate the graph by including exactly when . This graph is undirected by construction. The penalty does not impose , nor does it mathematically require both coordinates of every selected pair to be nonzero. That distinction is appropriate because the population regression coefficients themselves need not have equal magnitudes. The fitted coefficient matrix is not automatically a symmetric positive definite precision matrix; its pair supports, rather than its entries as a precision estimate, supply the requested conditional independence graph.
Use the extended real numbers . A proper convex function never takes and is finite somewhere. Its effective domain is
For a proper extended-real function, convexity means
The endpoint cases are identities; taking avoids the ambiguous product . Equivalently, its epigraph is a convex set. In particular, the effective domain is a convex set. Properness is an additional condition: it rules out the identically function and all values, rather than requiring finiteness everywhere.
For , the subdifferential is the set of supporting slopes
Each element is a subgradient. Define outside . The defining subgradient inequality must hold globally, not merely in a neighborhood of . For a differentiable finite convex function, .
Write the objective as with . Each hinge loss is finite and convex, so the subdifferential sum rule applies without a qualification gap. Its subdifferential is
This formula also covers , if such a sample is allowed, because the loss is then constant. For a convex function, zero in the subdifferential is necessary and sufficient for global optimality. Thus is optimal exactly when there are weights such that
Equivalently, using and ,
The notation denotes the segment between and , also when . This avoids reversing interval endpoints for negative-class samples.
Because , the objective is strongly convex, and makes it coercive. It is continuous, so a minimizer exists and is unique for every finite data vector . The weights at exact margins need not be unique even though is. These are the hinge-loss optimality weights for the one-dimensional support vector machine.
For , the subdifferential at zero is . Choose the allowed interior subgradient . Its supporting line is horizontal, so the Bregman distance is the vertical gap from to at the selected input:
More generally, an interior choice gives . The sketch shows the particular choice .
Figure 1.
Bregman distance for the absolute-value function at x=1 from the reference point zero, using the subgradient p=0
. Details.
For a proper convex function on a real Hilbert space, its subdifferential at is
In a Banach space, interpret the pairing with an element of the dual space. For a chosen subgradient , the Bregman distance is
If also , its symmetric Bregman distance is
The subgradient inequality proves nonnegativity. These quantities depend on the chosen subgradients and generally are not metrics: they need not distinguish different points or obey the triangle inequality.
Use the scaled proximal operator ; take for each unscaled resolvent.
For the quadratic case, write and . Since is an orthogonal matrix, the quadratic proximal term becomes . The subgradient optimality condition gives
All , so each diagonal entry is positive, including when . Multiplying by the inverse diagonal matrix gives
The proximal operator of Poisson data fidelity separates pointwise. At each , the scalar optimality equation on is
Since , the two roots have opposite signs. Only the positive root is admissible in the logarithm:
The negative root is outside the effective domain. The second derivative of the proximal objective is positive, establishing the unique pointwise minimizer. The integral formula is understood on the function spaces where these quantities are admissible.
Finally, for , positive and negative minimizers obey and , respectively. At zero the subdifferential condition is . Combining these cases yields soft thresholding:
Thus supplies all three requested closed forms.