Convex conjugate
In mathematics and mathematical optimization, the convex conjugate of a function is a generalization of the Legendre transformation which applies to non-convex functions. It is also known as Legendre–Fenchel transformation, Fenchel transformation, or Fenchel conjugate (after Adrien-Marie Legendre and Werner Fenchel). It allows in particular for a far reaching generalization of Lagrangian duality.
Definition
Let [math]\displaystyle{ X }[/math] be a real topological vector space and let [math]\displaystyle{ X^{*} }[/math] be the dual space to [math]\displaystyle{ X }[/math]. Denote by
- [math]\displaystyle{ \langle \cdot , \cdot \rangle : X^{*} \times X \to \mathbb{R} }[/math]
the canonical dual pairing, which is defined by [math]\displaystyle{ \left( x^*, x \right) \mapsto x^* (x). }[/math]
For a function [math]\displaystyle{ f : X \to \mathbb{R} \cup \{ - \infty, + \infty \} }[/math] taking values on the extended real number line, its convex conjugate is the function
- [math]\displaystyle{ f^{*} : X^{*} \to \mathbb{R} \cup \{ - \infty, + \infty \} }[/math]
whose value at [math]\displaystyle{ x^* \in X^{*} }[/math] is defined to be the supremum:
- [math]\displaystyle{ f^{*} \left( x^{*} \right) := \sup \left\{ \left\langle x^{*}, x \right\rangle - f (x) ~\colon~ x \in X \right\}, }[/math]
or, equivalently, in terms of the infimum:
- [math]\displaystyle{ f^{*} \left( x^{*} \right) := - \inf \left\{ f (x) - \left\langle x^{*}, x \right\rangle ~\colon~ x \in X \right\}. }[/math]
This definition can be interpreted as an encoding of the convex hull of the function's epigraph in terms of its supporting hyperplanes.[1]
Examples
For more examples, see § Table of selected convex conjugates.
- The convex conjugate of an affine function [math]\displaystyle{ f(x) = \left\langle a, x \right\rangle - b }[/math] is [math]\displaystyle{ f^{*}\left(x^{*} \right) = \begin{cases} b, & x^{*} = a \\ +\infty, & x^{*} \ne a. \end{cases} }[/math]
- The convex conjugate of a power function [math]\displaystyle{ f(x) = \frac{1}{p}|x|^p, 1 \lt p \lt \infty }[/math] is [math]\displaystyle{ f^{*}\left(x^{*} \right) = \frac{1}{q}|x^{*}|^q, 1\lt q\lt \infty, \text{where} \tfrac{1}{p} + \tfrac{1}{q} = 1. }[/math]
- The convex conjugate of the absolute value function [math]\displaystyle{ f(x) = \left| x \right| }[/math] is [math]\displaystyle{ f^{*}\left(x^{*} \right) = \begin{cases} 0, & \left|x^{*} \right| \le 1 \\ \infty, & \left|x^{*} \right| \gt 1. \end{cases} }[/math]
- The convex conjugate of the exponential function [math]\displaystyle{ f(x)= e^x }[/math] is [math]\displaystyle{ f^{*}\left(x^{*} \right) = \begin{cases} x^{*} \ln x^{*} - x^{*} , & x^{*} \gt 0 \\ 0 , & x^{*} = 0 \\ \infty , & x^{*} \lt 0. \end{cases} }[/math]
The convex conjugate and Legendre transform of the exponential function agree except that the domain of the convex conjugate is strictly larger as the Legendre transform is only defined for positive real numbers.
Connection with expected shortfall (average value at risk)
Let F denote a cumulative distribution function of a random variable X. Then (integrating by parts), [math]\displaystyle{ f(x):= \int_{-\infty}^x F(u) \, du = \operatorname{E}\left[\max(0,x-X)\right] = x-\operatorname{E} \left[\min(x,X)\right] }[/math] has the convex conjugate [math]\displaystyle{ f^{*}(p)= \int_0^p F^{-1}(q) \, dq = (p-1)F^{-1}(p)+\operatorname{E}\left[\min(F^{-1}(p),X)\right] = p F^{-1}(p)-\operatorname{E}\left[\max(0,F^{-1}(p)-X)\right]. }[/math]
Ordering
A particular interpretation has the transform [math]\displaystyle{ f^\text{inc}(x):= \arg \sup_t t\cdot x-\int_0^1 \max\{t-f(u),0\} \, du, }[/math] as this is a nondecreasing rearrangement of the initial function f; in particular, [math]\displaystyle{ f^\text{inc}= f }[/math] for f nondecreasing.
Properties
The convex conjugate of a closed convex function is again a closed convex function. The convex conjugate of a polyhedral convex function (a convex function with polyhedral epigraph) is again a polyhedral convex function.
Order reversing
Declare that [math]\displaystyle{ f \le g }[/math] if and only if [math]\displaystyle{ f(x) \le g(x) }[/math] for all [math]\displaystyle{ x. }[/math] Then convex-conjugation is order-reversing, which by definition means that if [math]\displaystyle{ f \le g }[/math] then [math]\displaystyle{ f^* \ge g^*. }[/math]
For a family of functions [math]\displaystyle{ \left(f_\alpha\right)_\alpha }[/math] it follows from the fact that supremums may be interchanged that
- [math]\displaystyle{ \left(\inf_\alpha f_\alpha\right)^*(x^*) = \sup_\alpha f_\alpha^*(x^*), }[/math]
and from the max–min inequality that
- [math]\displaystyle{ \left(\sup_\alpha f_\alpha\right)^*(x^*) \le \inf_\alpha f_\alpha^*(x^*). }[/math]
Biconjugate
The convex conjugate of a function is always lower semi-continuous. The biconjugate [math]\displaystyle{ f^{**} }[/math] (the convex conjugate of the convex conjugate) is also the closed convex hull, i.e. the largest lower semi-continuous convex function with [math]\displaystyle{ f^{**} \le f. }[/math] For proper functions [math]\displaystyle{ f, }[/math]
- [math]\displaystyle{ f = f^{**} }[/math] if and only if [math]\displaystyle{ f }[/math] is convex and lower semi-continuous, by the Fenchel–Moreau theorem.
Fenchel's inequality
For any function f and its convex conjugate f *, Fenchel's inequality (also known as the Fenchel–Young inequality) holds for every [math]\displaystyle{ x \in X }[/math] and [math]\displaystyle{ p \in X^{*} }[/math]:
- [math]\displaystyle{ \left\langle p,x \right\rangle \le f(x) + f^*(p). }[/math]
Furthermore, the equality holds only when [math]\displaystyle{ p \in \partial f(x) }[/math]. The proof follows from the definition of convex conjugate: [math]\displaystyle{ f^*(p) = \sup_{\tilde x} \left\{ \langle p,\tilde x \rangle - f(\tilde x) \right\} \ge \langle p,x \rangle - f(x). }[/math]
Convexity
For two functions [math]\displaystyle{ f_0 }[/math] and [math]\displaystyle{ f_1 }[/math] and a number [math]\displaystyle{ 0 \le \lambda \le 1 }[/math] the convexity relation
- [math]\displaystyle{ \left((1-\lambda) f_0 + \lambda f_1\right)^{*} \le (1-\lambda) f_0^{*} + \lambda f_1^{*} }[/math]
holds. The [math]\displaystyle{ {*} }[/math] operation is a convex mapping itself.
Infimal convolution
The infimal convolution (or epi-sum) of two functions [math]\displaystyle{ f }[/math] and [math]\displaystyle{ g }[/math] is defined as
- [math]\displaystyle{ \left( f \operatorname{\Box} g \right)(x) = \inf \left\{ f(x-y) + g(y) \mid y \in \mathbb{R}^n \right\}. }[/math]
Let [math]\displaystyle{ f_1, \ldots, f_{m} }[/math] be proper, convex and lower semicontinuous functions on [math]\displaystyle{ \mathbb{R}^{n}. }[/math] Then the infimal convolution is convex and lower semicontinuous (but not necessarily proper),[2] and satisfies
- [math]\displaystyle{ \left( f_1 \operatorname{\Box} \cdots \operatorname{\Box} f_m \right)^{*} = f_1^{*} + \cdots + f_m^{*}. }[/math]
The infimal convolution of two functions has a geometric interpretation: The (strict) epigraph of the infimal convolution of two functions is the Minkowski sum of the (strict) epigraphs of those functions.[3]
Maximizing argument
If the function [math]\displaystyle{ f }[/math] is differentiable, then its derivative is the maximizing argument in the computation of the convex conjugate:
- [math]\displaystyle{ f^\prime(x) = x^*(x):= \arg\sup_{x^{*}} {\langle x, x^{*}\rangle} -f^{*}\left( x^{*} \right) }[/math] and
- [math]\displaystyle{ f^{{*}\prime}\left( x^{*} \right) = x\left( x^{*} \right):= \arg\sup_x {\langle x, x^{*}\rangle} - f(x); }[/math]
hence
- [math]\displaystyle{ x = \nabla f^{{*}}\left( \nabla f(x) \right), }[/math]
- [math]\displaystyle{ x^{*} = \nabla f\left( \nabla f^{{*}}\left( x^{*} \right)\right), }[/math]
and moreover
- [math]\displaystyle{ f^{\prime\prime}(x) \cdot f^{{*}\prime\prime}\left( x^{*}(x) \right) = 1, }[/math]
- [math]\displaystyle{ f^{{*}\prime\prime}\left( x^{*} \right) \cdot f^{\prime\prime}\left( x(x^{*}) \right) = 1. }[/math]
Scaling properties
If for some [math]\displaystyle{ \gamma\gt 0, }[/math] [math]\displaystyle{ g(x) = \alpha + \beta x + \gamma \cdot f\left( \lambda x + \delta \right) }[/math], then
- [math]\displaystyle{ g^{*}\left( x^{*} \right)= - \alpha - \delta\frac{x^{*}-\beta} \lambda + \gamma \cdot f^{*}\left(\frac {x^{*}-\beta}{\lambda \gamma}\right). }[/math]
Behavior under linear transformations
Let [math]\displaystyle{ A : X \to Y }[/math] be a bounded linear operator. For any convex function [math]\displaystyle{ f }[/math] on [math]\displaystyle{ X, }[/math]
- [math]\displaystyle{ \left(A f\right)^{*} = f^{*} A^{*} }[/math]
where
- [math]\displaystyle{ (A f)(y) = \inf\{ f(x) : x \in X , A x = y \} }[/math]
is the preimage of [math]\displaystyle{ f }[/math] with respect to [math]\displaystyle{ A }[/math] and [math]\displaystyle{ A^{*} }[/math] is the adjoint operator of [math]\displaystyle{ A. }[/math][4]
A closed convex function [math]\displaystyle{ f }[/math] is symmetric with respect to a given set [math]\displaystyle{ G }[/math] of orthogonal linear transformations,
- [math]\displaystyle{ f(A x) = f(x) }[/math] for all [math]\displaystyle{ x }[/math] and all [math]\displaystyle{ A \in G }[/math]
if and only if its convex conjugate [math]\displaystyle{ f^{*} }[/math] is symmetric with respect to [math]\displaystyle{ G. }[/math]
Table of selected convex conjugates
The following table provides Legendre transforms for many common functions as well as a few useful properties.[5]
[math]\displaystyle{ g(x) }[/math] | [math]\displaystyle{ \operatorname{dom}(g) }[/math] | [math]\displaystyle{ g^*(x^*) }[/math] | [math]\displaystyle{ \operatorname{dom}(g^*) }[/math] |
---|---|---|---|
[math]\displaystyle{ f(ax) }[/math] (where [math]\displaystyle{ a \neq 0 }[/math]) | [math]\displaystyle{ X }[/math] | [math]\displaystyle{ f^*\left(\frac{x^*}{a}\right) }[/math] | [math]\displaystyle{ X^* }[/math] |
[math]\displaystyle{ f(x + b) }[/math] | [math]\displaystyle{ X }[/math] | [math]\displaystyle{ f^*(x^*) - \langle b,x^* \rangle }[/math] | [math]\displaystyle{ X^* }[/math] |
[math]\displaystyle{ a f(x) }[/math] (where [math]\displaystyle{ a \gt 0 }[/math]) | [math]\displaystyle{ X }[/math] | [math]\displaystyle{ a f^*\left(\frac{x^*}{a}\right) }[/math] | [math]\displaystyle{ X^* }[/math] |
[math]\displaystyle{ \alpha+ \beta x+ \gamma \cdot f(\lambda x+\delta) }[/math] | [math]\displaystyle{ X }[/math] | [math]\displaystyle{ -\alpha- \delta\frac{x^*-\beta}\lambda+ \gamma \cdot f^* \left(\frac {x^*-\beta}{\gamma \lambda}\right)\quad (\gamma\gt 0) }[/math] | [math]\displaystyle{ X^* }[/math] |
[math]\displaystyle{ \frac{|x|^p}{p} }[/math] (where [math]\displaystyle{ p \gt 1 }[/math]) | [math]\displaystyle{ \mathbb{R} }[/math] | [math]\displaystyle{ \frac{|x^*|^q}{q} }[/math] (where [math]\displaystyle{ \frac{1}{p} + \frac{1}{q} = 1 }[/math]) | [math]\displaystyle{ \mathbb{R} }[/math] |
[math]\displaystyle{ \frac{-x^p}{p} }[/math] (where [math]\displaystyle{ 0 \lt p \lt 1 }[/math]) | [math]\displaystyle{ \mathbb{R}_+ }[/math] | [math]\displaystyle{ \frac{-(-x^*)^q}q }[/math] (where [math]\displaystyle{ \frac 1 p + \frac 1 q = 1 }[/math]) | [math]\displaystyle{ \mathbb{R}_{--} }[/math] |
[math]\displaystyle{ \sqrt{1 + x^2} }[/math] | [math]\displaystyle{ \mathbb{R} }[/math] | [math]\displaystyle{ -\sqrt{1 - (x^*)^2} }[/math] | [math]\displaystyle{ [-1,1] }[/math] |
[math]\displaystyle{ -\log(x) }[/math] | [math]\displaystyle{ \mathbb{R}_{++} }[/math] | [math]\displaystyle{ -(1 + \log(-x^*)) }[/math] | [math]\displaystyle{ \mathbb{R}_{--} }[/math] |
[math]\displaystyle{ e^x }[/math] | [math]\displaystyle{ \mathbb{R} }[/math] | [math]\displaystyle{ \begin{cases}x^* \log(x^*) - x^* & \text{if }x^* \gt 0\\ 0 & \text{if }x^* = 0\end{cases} }[/math] | [math]\displaystyle{ \mathbb{R}_{+} }[/math] |
[math]\displaystyle{ \log\left(1 + e^x\right) }[/math] | [math]\displaystyle{ \mathbb{R} }[/math] | [math]\displaystyle{ \begin{cases}x^* \log(x^*) + (1 - x^*) \log(1 - x^*) & \text{if }0 \lt x^* \lt 1\\ 0 & \text{if }x^* = 0,1\end{cases} }[/math] | [math]\displaystyle{ [0,1] }[/math] |
[math]\displaystyle{ -\log\left(1 - e^x\right) }[/math] | [math]\displaystyle{ \mathbb{R}_{--} }[/math] | [math]\displaystyle{ \begin{cases}x^* \log(x^*) - (1 + x^*) \log(1 + x^*) & \text{if }x^* \gt 0\\ 0 & \text{if }x^* = 0\end{cases} }[/math] | [math]\displaystyle{ \mathbb{R}_+ }[/math] |
See also
References
- ↑ "Legendre Transform". https://physics.stackexchange.com/a/9360/821. Retrieved April 14, 2019.
- ↑ Phelps, Robert (1993). Convex Functions, Monotone Operators and Differentiability (2 ed.). Springer. p. 42. ISBN 0-387-56715-1. https://archive.org/details/convexfunctionsm00phel.
- ↑ Bauschke, Heinz H.; Goebel, Rafal; Lucet, Yves; Wang, Xianfu (2008). "The Proximal Average: Basic Theory". SIAM Journal on Optimization 19 (2): 766. doi:10.1137/070687542.
- ↑ Ioffe, A.D. and Tichomirov, V.M. (1979), Theorie der Extremalaufgaben. Deutscher Verlag der Wissenschaften. Satz 3.4.3
- ↑ Borwein, Jonathan; Lewis, Adrian (2006). Convex Analysis and Nonlinear Optimization: Theory and Examples (2 ed.). Springer. pp. 50–51. ISBN 978-0-387-29570-1. https://archive.org/details/convexanalysisno00borw_812.
- Arnol'd, Vladimir Igorevich (1989). Mathematical Methods of Classical Mechanics (Second ed.). Springer. ISBN 0-387-96890-3. https://archive.org/details/mathematicalmeth0000arno.
- Template:Rockafellar Wets Variational Analysis 2009 Springer
- Rockafellar, R. Tyrell (1970). Convex Analysis. Princeton: Princeton University Press. ISBN 0-691-01586-4.
Further reading
- Touchette, Hugo (2014-10-16). "Legendre-Fenchel transforms in a nutshell". http://www.physics.sun.ac.za/~htouchette/archive/notes/lfth2.pdf. Retrieved 2017-01-09.
- Touchette, Hugo (2006-11-21). "Elements of convex analysis". http://www.physics.sun.ac.za/~htouchette/archive/convex1.pdf. Retrieved 2008-03-26.
- "Legendre and Legendre-Fenchel transforms in a step-by-step explanation". http://www.onmyphd.com/?p=legendre.fenchel.transform. Retrieved 2013-05-18.
- "Chapter 12: Parallel Addition, Series-Parallel Duality, and Financial Mathematics". Intellectual Trespassing as a Way of Life: Essays in Philosophy, Economics, and Mathematics. G - Reference, Information and Interdisciplinary Subjects Series (illustrated ed.). Rowman & Littlefield Publishers, Inc.. 1995-03-21. pp. 237–268. ISBN 0-8476-7932-2. https://books.google.com/books?id=NgJqXXk7zAAC&pg=PA237. Retrieved 2019-08-09. [1] (271 pages)
- "Introduction to Series-Parallel Duality". University of California at Riverside. May 2004. http://www.ellerman.org/wp-content/uploads/2012/12/Series-Parallel-Duality.CV_.pdf. [2] (24 pages)
Original source: https://en.wikipedia.org/wiki/Convex conjugate.
Read more |