Legendre transformation
In mathematics, the Legendre transformation (or Legendre transform), first introduced by Adrien-Marie Legendre in 1787 when studying the minimal surface problem,[1] is an involutive transformation on real-valued functions that are convex on a real variable. Specifically, if a real-valued multivariable function is convex on one of its independent real variables, then the Legendre transform with respect to this variable is applicable to the function.
In physical problems, the Legendre transform is used to convert functions of one quantity (such as position, pressure, or temperature) into functions of the conjugate quantity (momentum, volume, and entropy, respectively). In this way, it is commonly used in classical mechanics to derive the Hamiltonian formalism out of the Lagrangian formalism (or vice versa) and in thermodynamics to derive the thermodynamic potentials, as well as in the solution of differential equations of several variables.
For sufficiently smooth functions on the real line, the Legendre transform [math]\displaystyle{ f^* }[/math] of a function [math]\displaystyle{ f }[/math] can be specified, up to an additive constant, by the condition that the functions' first derivatives are inverse functions of each other. This can be expressed in Euler's derivative notation as [math]\displaystyle{ Df(\cdot) = \left( D f^* \right)^{-1}(\cdot)~, }[/math] where [math]\displaystyle{ D }[/math] is an operator of differentiation, [math]\displaystyle{ \cdot }[/math] represents an argument or input to the associated function, [math]\displaystyle{ (\phi)^{-1}(\cdot) }[/math] is an inverse function such that [math]\displaystyle{ (\phi) ^{-1}(\phi(x))=x }[/math],
or equivalently, as [math]\displaystyle{ f'(f^{*\prime}(x^*)) = x^* }[/math] and [math]\displaystyle{ f^{*\prime}(f'(x)) = x }[/math] in Lagrange's notation.
The generalization of the Legendre transformation to affine spaces and non-convex functions is known as the convex conjugate (also called the Legendre–Fenchel transformation), which can be used to construct a function's convex hull.
Definition
Definition in ℝ
Let [math]\displaystyle{ I \sub \R }[/math] be an interval, and [math]\displaystyle{ f:I \to \R }[/math] a convex function; then the Legendre transform of [math]\displaystyle{ f }[/math] is the function [math]\displaystyle{ f^*:I^* \to \R }[/math] defined by [math]\displaystyle{ f^*(x^*) = \sup_{x\in I}(x^*x-f(x)),\ \ \ \ I^*= \left \{x^*\in \R:f^*(x^*)\lt \infty \right \} ~ }[/math] where [math]\displaystyle{ \sup }[/math] denotes the supremum over [math]\displaystyle{ I }[/math], e.g., [math]\displaystyle{ x }[/math] in [math]\displaystyle{ I }[/math] is chosen such that [math]\displaystyle{ x^*x - f(x) }[/math] is maximized at each [math]\displaystyle{ x^* }[/math], or [math]\displaystyle{ x^* }[/math] is such that [math]\displaystyle{ x^*x-f(x) }[/math] as a bounded value throughout [math]\displaystyle{ x }[/math] exists (e.g., when [math]\displaystyle{ f(x) }[/math] is a linear function).
The transform is always well-defined when [math]\displaystyle{ f(x) }[/math] is convex. This definition requires [math]\displaystyle{ x^*x - f(x) }[/math] to be bounded from above in [math]\displaystyle{ X }[/math] in order for the supremum to exist.
Definition in ℝn
The generalization to convex functions [math]\displaystyle{ f:X \to \R }[/math] on a convex set [math]\displaystyle{ X \sub \R^n }[/math] is straightforward: [math]\displaystyle{ f^*:X^* \to \R }[/math] has domain [math]\displaystyle{ X^*= \left \{x^* \in \R^n:\sup_{x\in X}(\langle x^*,x\rangle-f(x))\lt \infty \right \} }[/math] and is defined by [math]\displaystyle{ f^*(x^*) = \sup_{x\in X}(\langle x^*,x\rangle-f(x)),\quad x^*\in X^* ~, }[/math] where [math]\displaystyle{ \langle x^*,x \rangle }[/math] denotes the dot product of [math]\displaystyle{ x^* }[/math] and [math]\displaystyle{ x }[/math].
The function [math]\displaystyle{ f^* }[/math] is called the convex conjugate function of [math]\displaystyle{ f }[/math]. For historical reasons (rooted in analytic mechanics), the conjugate variable is often denoted [math]\displaystyle{ p }[/math], instead of [math]\displaystyle{ x^* }[/math]. If the convex function [math]\displaystyle{ f }[/math] is defined on the whole line and is everywhere differentiable, then [math]\displaystyle{ f^*(p)=\sup_{x\in I}(px - f(x)) = \left( p x - f(x) \right)|_{x = (f')^{-1}(p)} }[/math] can be interpreted as the negative of the [math]\displaystyle{ y }[/math]-intercept of the tangent line to the graph of [math]\displaystyle{ f }[/math] that has slope [math]\displaystyle{ p }[/math].
The Legendre transformation is an application of the duality relationship between points and lines. The functional relationship specified by [math]\displaystyle{ f }[/math] can be represented equally well as a set of [math]\displaystyle{ (x,y) }[/math] points, or as a set of tangent lines specified by their slope and intercept values.
Understanding the Legendre transform in terms of derivatives
For a differentiable convex function [math]\displaystyle{ f }[/math] on the real line with the first derivative [math]\displaystyle{ f' }[/math] and its inverse [math]\displaystyle{ (f')^{-1} }[/math], the Legendre transform of [math]\displaystyle{ f }[/math], [math]\displaystyle{ f^* }[/math], can be specified, up to an additive constant, by the condition that the functions' first derivatives are inverse functions of each other, i.e., [math]\displaystyle{ f' = ((f^*)')^{-1} }[/math] and [math]\displaystyle{ (f^*)' = (f')^{-1} }[/math].
To see this, first note that if [math]\displaystyle{ f }[/math] as a convex function on the real line is differentiable and [math]\displaystyle{ \overline{x} }[/math] is a critical point of the function of [math]\displaystyle{ x \mapsto p \cdot x -f(x) }[/math], then the supremum is achieved at [math]\displaystyle{ \overline{x} }[/math] (by convexity, see the first figure in this Wikipedia page). Therefore, the Legendre transform of [math]\displaystyle{ f }[/math] is [math]\displaystyle{ f^*(p)= p \cdot \overline{x} - f(\overline{x}) }[/math].
Then, suppose that the first derivative [math]\displaystyle{ f' }[/math] is invertible and let the inverse be [math]\displaystyle{ g = (f')^{-1} }[/math]. Then for each [math]\displaystyle{ p }[/math], the point [math]\displaystyle{ g(p) }[/math] is the unique critical point [math]\displaystyle{ \overline{x} }[/math] of the function [math]\displaystyle{ x \mapsto px -f(x) }[/math] (i.e., [math]\displaystyle{ \overline{x} = g(p) }[/math]) because [math]\displaystyle{ f'(g(p))=p }[/math] and the function's first derivative with respect to [math]\displaystyle{ x }[/math] at [math]\displaystyle{ g(p) }[/math] is [math]\displaystyle{ p-f'(g(p))=0 }[/math]. Hence we have [math]\displaystyle{ f^*(p) = p \cdot g(p) - f(g(p)) }[/math] for each [math]\displaystyle{ p }[/math]. By differentiating with respect to [math]\displaystyle{ p }[/math], we find [math]\displaystyle{ (f^*)'(p) = g(p)+ p \cdot g'(p) - f'(g(p)) \cdot g'(p). }[/math] Since [math]\displaystyle{ f'(g(p))=p }[/math] this simplifies to [math]\displaystyle{ (f^*)'(p) = g(p) = (f')^{-1}(p) }[/math]. In other words, [math]\displaystyle{ (f^*)' }[/math] and [math]\displaystyle{ f' }[/math] are inverses to each other.
In general, if [math]\displaystyle{ h' = (f')^{-1} }[/math] as the inverse of [math]\displaystyle{ f' }[/math], then [math]\displaystyle{ h' = (f^*)' }[/math] so integration gives [math]\displaystyle{ f^* = h +c }[/math]. with a constant [math]\displaystyle{ c }[/math].
In practical terms, given [math]\displaystyle{ f(x) }[/math], the parametric plot of [math]\displaystyle{ xf'(x)-f(x) }[/math] versus [math]\displaystyle{ f'(x) }[/math] amounts to the graph of [math]\displaystyle{ f^*(p) }[/math] versus [math]\displaystyle{ p }[/math].
In some cases (e.g. thermodynamic potentials, below), a non-standard requirement is used, amounting to an alternative definition of f * with a minus sign, [math]\displaystyle{ f(x) - f^*(p) = xp. }[/math]
Formal Definition in Physics Context
In analytical mechanics and thermodynamics, Legendre transformation is usually defined as follows: suppose [math]\displaystyle{ f }[/math] is a function of [math]\displaystyle{ x }[/math], then we have
- [math]\displaystyle{ \mathrm{d} f = \frac{\mathrm{d} f}{\mathrm{d} x} \mathrm{d} x }[/math].
performing Legendre transformation on this function means that we take [math]\displaystyle{ p = \frac{\mathrm{d} f}{\mathrm{d} x} }[/math] as the independent variable, so that the above expression can be written as
- [math]\displaystyle{ \mathrm{d} f = p \mathrm{d} x }[/math],
and according to Leibniz's rule [math]\displaystyle{ \mathrm{d} (uv) = u\mathrm{d} v + v\mathrm{d} u }[/math], then we have
- [math]\displaystyle{ \mathrm{d} \left(x p - f \right) = x\mathrm{d} p }[/math],
and taking [math]\displaystyle{ f^* = xp-f }[/math], we have [math]\displaystyle{ \mathrm d f^* = x \mathrm{d} p }[/math], which means
- [math]\displaystyle{ \frac{\mathrm{d} f^*}{\mathrm{d} p} = x. }[/math]
When [math]\displaystyle{ f }[/math] is a function of [math]\displaystyle{ n }[/math] variables [math]\displaystyle{ x_1, x_2, \cdots, x_n }[/math], then we can perform the Legendre transformation on each one or several variables: we have
- [math]\displaystyle{ \mathrm{d} f = p_1\mathrm{d} x_1 + p_2 \mathrm{d} x_2 + \cdots + p_n \mathrm{d} x_n }[/math]
where [math]\displaystyle{ p_i = \frac{\partial f}{\partial x_i} }[/math]. Then if we want to perform Legendre transformation on, e.g. [math]\displaystyle{ x_1 }[/math], then we take [math]\displaystyle{ p_1 }[/math] together with [math]\displaystyle{ x_2, \cdots, x_n }[/math] as independent variables, and with Leibniz's rule we have
- [math]\displaystyle{ \mathrm{d} (f - x_1 p_1) = -x_1 \mathrm{d} p_1 + p_2 \mathrm{d} x_2 + \cdots + p_n \mathrm{d} x_n }[/math].
so for function [math]\displaystyle{ \varphi(p_1, x_2, \cdots, x_n) = f(x_1, x_2, \cdots, x_n) - x_1 p_1 }[/math], we have
- [math]\displaystyle{ \frac{\partial \varphi}{\partial p_1} = -x_1,\quad \frac{\partial \varphi}{\partial x_2} = p_2,\quad \cdots, \quad \frac{\partial \varphi}{\partial x_n} = p_n }[/math].
We can also do this transformation for variables [math]\displaystyle{ x_2, \cdots, x_n }[/math]. If we do it to all the variables, then we have
- [math]\displaystyle{ \mathrm{d} \varphi = -x_1 \mathrm d p_1 - x_2 \mathrm{d} p_2 - \cdots - x_n \mathrm{d} p_n }[/math] where [math]\displaystyle{ \varphi = f-x_1 p_1 - x_2 p_2 - \cdots - x_n p_n }[/math].
In analytical mechanics, people perform this transformation on variables [math]\displaystyle{ \dot q_1, \dot q_2, \cdots, \dot q_n }[/math] of the Lagrangian [math]\displaystyle{ L(q_1, \cdots, q_n, \dot{q}_1, \cdots, \dot{q}_n) }[/math] to get the Hamiltonian:
[math]\displaystyle{ H(q_1, \cdots, q_n, p_1, \cdots, p_n) = \sum_{i=1}^n p_i \dot{q}_i - L(q_1, \cdots, q_n, \dot{q}_1 \cdots, \dot{q}_n) }[/math]
and in thermodynamics, people perform this transformation on variables according to the type of thermodynamic system they want. E.g. starting from the cardinal function of state, the internal energy [math]\displaystyle{ U(S,V) }[/math], we have
- [math]\displaystyle{ \mathrm{d}U = T \mathrm{d} S - p \mathrm{d} V }[/math],
we can perform Legendre transformation on either or both of [math]\displaystyle{ S, V }[/math] yielding
- [math]\displaystyle{ \mathrm{d} H = \mathrm{d} (U + pV) \ \ \ \ \ \ \ \ \ \ = \ \ \ \ T\mathrm{d} S + V \mathrm{d} p }[/math]
- [math]\displaystyle{ \mathrm{d} F = \mathrm{d} (U - TS) \ \ \ \ \ \ \ \ \ \ = -S\mathrm{d} T - p \mathrm{d} V }[/math]
- [math]\displaystyle{ \mathrm{d} G = \mathrm{d} (U - TS + pV) = -S\mathrm{d} T + V \mathrm{d} p }[/math]
and each of these three expressions has a physical meaning.
This definition of Legendre transformation is the one originally introduced by Legendre in his work in 1787,[1] and still applied by physicists nowadays. Indeed, this definition can be mathematically rigorous if we treat all the variables and functions defined above, e.g. [math]\displaystyle{ f,x_1,\cdots,x_n,p_1,\cdots,p_n, }[/math] as differentiable functions defined on an open set of [math]\displaystyle{ \R^n }[/math] or on a differentiable manifold, and [math]\displaystyle{ \mathrm{d} f, \mathrm{d} x_i, \mathrm{d} p_i }[/math] their differentials (which are treated as cotangent vector field in the context of differentiable manifold). And this definition is equivalent to the modern mathematicians' definition as long as [math]\displaystyle{ f }[/math] is differentiable and convex for the variables [math]\displaystyle{ x_1, x_2, \cdots, x_n }[/math].
Properties
- The Legendre transform of a convex function, of which double derivative values are all positive, is also a convex function of which double derivative values are all positive.Proof. Let us show this with a doubly differentiable function [math]\displaystyle{ f(x) }[/math] with all positive double derivative values and with a bijective (invertible) derivative. For a fixed [math]\displaystyle{ p }[/math], let [math]\displaystyle{ \bar{x} }[/math] maximize or make the function [math]\displaystyle{ px - f(x) }[/math] bounded over [math]\displaystyle{ x }[/math]. Then the Legendre transformation of [math]\displaystyle{ f }[/math] is [math]\displaystyle{ f^*(p) = p\bar{x} - f(\bar{x}) }[/math], thus,[math]\displaystyle{ f'(\bar{x}) = p }[/math]by the maximizing or bounding condition [math]\displaystyle{ \frac{d}{dx}(px - f(x)) = p - f'(x)= 0 }[/math]. Note that [math]\displaystyle{ \bar{x} }[/math] depends on [math]\displaystyle{ p }[/math]. (This can be visually shown in the 1st figure of this page above.) Thus [math]\displaystyle{ \bar{x} = g(p) }[/math] where [math]\displaystyle{ g \equiv (f')^{-1} }[/math], meaning that [math]\displaystyle{ g }[/math] is the inverse of [math]\displaystyle{ f' }[/math] that is the derivative of [math]\displaystyle{ f }[/math] (so [math]\displaystyle{ f'(g(p))= p }[/math]). Note that [math]\displaystyle{ g }[/math] is also differentiable with the following derivative (Inverse function rule),[math]\displaystyle{ \frac{dg(p)}{dp} = \frac{1}{f''(g(p))} ~. }[/math]Thus, the Legendre transformation [math]\displaystyle{ f^*(p) = pg(p) - f(g(p)) }[/math] is the composition of differentiable functions, hence it is differentiable. Applying the product rule and the chain rule with the found equality [math]\displaystyle{ \bar{x} = g(p) }[/math] yields[math]\displaystyle{ \frac{d(f^{*})}{dp} = g(p) + \left(p - f'(g(p))\right)\cdot \frac{dg(p)}{dp} = g(p), }[/math]giving [math]\displaystyle{ \frac{d^2(f^{*})}{dp^2} = \frac{dg(p)}{dp} = \frac{1}{f''(g(p))} \gt 0, }[/math]so [math]\displaystyle{ f^* }[/math] is convex with its double derivatives are all positive.
- The Legendre transformation is an involution, i.e., [math]\displaystyle{ f^{**} = f ~ }[/math]. Proof. By using the above identities as [math]\displaystyle{ f'(\bar{x}) = p }[/math], [math]\displaystyle{ \bar{x} = g(p) }[/math], [math]\displaystyle{ f^*(p) = p\bar{x} - f(\bar{x}) }[/math] and its derivative [math]\displaystyle{ (f^*)'(p) = g(p) }[/math], [math]\displaystyle{ \begin{align} f^{**}(y) &{} = \left(y\cdot \bar{p} - f^{*}(\bar{p})\right)|_{(f^{*})'(\bar{p}) = y} \\[5pt] &{} = g(\bar{p})\cdot \bar{p} - f^{*}(\bar{p}) \\[5pt] &{} = g(\bar{p})\cdot \bar{p} - (\bar{p} g(\bar{p})-f(g(\bar{p})))\\[5pt] &{} = f(g(\bar{p})) \\[5pt] &{} = f(y)~. \end{align} }[/math]Note that this derivation does not require the condition to have all positive values in double derivative of the original function [math]\displaystyle{ f }[/math].
Identities
As shown above, for a convex function [math]\displaystyle{ f(x) }[/math], with [math]\displaystyle{ x = \bar{x} }[/math] maximizing or making [math]\displaystyle{ px - f(x) }[/math] bounded at each [math]\displaystyle{ p }[/math] to define the Legendre transform [math]\displaystyle{ f^*(p) = p\bar{x} - f(\bar{x}) }[/math] and with [math]\displaystyle{ g \equiv (f')^{-1} }[/math], the following identities hold.
- [math]\displaystyle{ f'(\bar{x}) = p }[/math],
- [math]\displaystyle{ \bar{x} = g(p) }[/math],
- [math]\displaystyle{ (f^*)'(p) = g(p) }[/math].
Examples
Example 1
Consider the exponential function [math]\displaystyle{ f(x) = e^x, }[/math] which has the domain [math]\displaystyle{ I=\mathbb{R} }[/math]. From the definition, the Legendre transform is [math]\displaystyle{ f^*(x^*) = \sup_{x\in \mathbb{R}}(x^*x-e^x),\quad x^*\in I^* }[/math] where [math]\displaystyle{ I^* }[/math] remains to be determined. To evaluate the supremum, compute the derivative of [math]\displaystyle{ x^*x-e^x }[/math] with respect to [math]\displaystyle{ x }[/math] and set equal to zero: [math]\displaystyle{ \frac{d}{dx} (x^*x-e^x) = x^*-e^x = 0. }[/math] The second derivative [math]\displaystyle{ -e^x }[/math] is negative everywhere, so the maximal value is achieved at [math]\displaystyle{ x = \ln(x^*) }[/math]. Thus, the Legendre transform is [math]\displaystyle{ f^*(x^*) = x^*\ln(x^*)-e^{\ln(x^*)} = x^*(\ln(x^*) - 1) }[/math] and has domain [math]\displaystyle{ I^* = (0, \infty). }[/math] This illustrates that the domains of a function and its Legendre transform can be different.
To find the Legendre transformation of the Legendre transformation of [math]\displaystyle{ f }[/math], [math]\displaystyle{ f^{**}(x) = \sup_{x^*\in \mathbb{R}}(xx^*-x^*(\ln(x^*) - 1)),\quad x\in I, }[/math] where a variable [math]\displaystyle{ x }[/math] is intentionally used as the argument of the function [math]\displaystyle{ f^{**} }[/math] to show the involution property of the Legendre transform as [math]\displaystyle{ f^{**} = f }[/math]. we compute [math]\displaystyle{ \begin{aligned} 0 &= \frac{d}{dx^*}\big( xx^*-x^*(\ln(x^*) - 1) \big) = x - \ln(x^*) \end{aligned} }[/math] thus the maximum occurs at [math]\displaystyle{ x^* = e^x }[/math] because the second derivative [math]\displaystyle{ \frac{d^2}{{dx^*}^2}f^{**}(x) = - \frac{1}{x^*} \lt 0 }[/math] over the domain of [math]\displaystyle{ f^{**} }[/math] as [math]\displaystyle{ I^* = (0, \infty). }[/math] As a result, [math]\displaystyle{ f^{**} }[/math] is found as [math]\displaystyle{ \begin{aligned} f^{**}(x) &= xe^x - e^x(\ln(e^x) - 1) = e^x, \end{aligned} }[/math] thereby confirming that [math]\displaystyle{ f = f^{**}, }[/math] as expected.
Example 2
Let f(x) = cx2 defined on R, where c > 0 is a fixed constant.
For x* fixed, the function of x, x*x − f(x) = x*x − cx2 has the first derivative x* − 2cx and second derivative −2c; there is one stationary point at x = x*/2c, which is always a maximum.
Thus, I* = R and [math]\displaystyle{ f^*(x^*)=\frac{ {x^*}^2}{4c} ~. }[/math]
The first derivatives of f, 2cx, and of f *, x*/(2c), are inverse functions to each other. Clearly, furthermore, [math]\displaystyle{ f^{**}(x)=\frac{1}{4 (1/4c)}x^2=cx^2~, }[/math] namely f ** = f.
Example 3
Let f(x) = x2 for x ∈ (I = [2, 3]).
For x* fixed, x*x − f(x) is continuous on I compact, hence it always takes a finite maximum on it; it follows that the domain of the Legendre transform of [math]\displaystyle{ f }[/math] is I* = R.
The stationary point at x = x*/2 (found by setting that the first derivative of x*x − f(x) with respect to [math]\displaystyle{ x }[/math] equal to zero) is in the domain [2, 3] if and only if 4 ≤ x* ≤ 6. Otherwise the maximum is taken either at x = 2 or x = 3 because the second derivative of x*x − f(x) with respect to [math]\displaystyle{ x }[/math] is negative as [math]\displaystyle{ -2 }[/math]; for a part of the domain [math]\displaystyle{ x^* \lt 4 }[/math] the maximum that x*x − f(x) can take with respect to [math]\displaystyle{ x \in [2,3] }[/math] is obtained at [math]\displaystyle{ x = 2 }[/math] while for [math]\displaystyle{ x^* \gt 6 }[/math] it becomes the maximum at [math]\displaystyle{ x = 3 }[/math]. Thus, it follows that [math]\displaystyle{ f^*(x^*)=\begin{cases} 2x^*-4, & x^*\lt 4\\ \frac{{x^*}^2}{4}, & 4\leq x^*\leq 6,\\ 3x^*-9, & x^*\gt 6. \end{cases} }[/math]
Example 4
The function f(x) = cx is convex, for every x (strict convexity is not required for the Legendre transformation to be well defined). Clearly x*x − f(x) = (x* − c)x is never bounded from above as a function of x, unless x* − c = 0. Hence f* is defined on I* = {c} and f*(c) = 0. (The definition of the Legendre transform requires the existence of the supremum, that requires upper bounds.)
One may check involutivity: of course, x*x − f*(x*) is always bounded as a function of x*∈{c}, hence I** = R. Then, for all x one has [math]\displaystyle{ \sup_{x^*\in\{c\}}(xx^*-f^*(x^*))=xc, }[/math] and hence f **(x) = cx = f(x).
Example 5: several variables
Let [math]\displaystyle{ f(x)=\langle x,Ax\rangle+c }[/math] be defined on X = Rn, where A is a real, positive definite matrix.
Then f is convex, and [math]\displaystyle{ \langle p,x\rangle-f(x)=\langle p,x \rangle-\langle x,Ax\rangle-c, }[/math] has gradient p − 2Ax and Hessian −2A, which is negative; hence the stationary point x = A−1p/2 is a maximum.
We have X* = Rn, and [math]\displaystyle{ f^*(p)=\frac{1}{4}\langle p,A^{-1}p\rangle-c. }[/math]
Behavior of differentials under Legendre transforms
The Legendre transform is linked to integration by parts, p dx = d(px) − x dp.
Let f(x,y) be a function of two independent variables x and y, with the differential [math]\displaystyle{ df = \frac{\partial f}{\partial x}\,dx + \frac{\partial f}{\partial y}\,dy = p\,dx + v\,dy. }[/math]
Assume that the function f is convex in x for all y, so that one may perform the Legendre transform on f in x, with p the variable conjugate to x (for information, there is a relation [math]\displaystyle{ \frac{\partial f}{\partial x} |_{\bar{x}} = p }[/math] where [math]\displaystyle{ \bar{x} }[/math] is a point in x maximizing or making [math]\displaystyle{ px - f(x,y) }[/math] bounded for given p and y). Since the new independent variable of the transform with respect to f is p, the differentials dx and dy in df devolve to dp and dy in the differential of the transform, i.e., we build another function with its differential expressed in terms of the new basis dp and dy.
We thus consider the function g(p, y) = f − px so that [math]\displaystyle{ dg = df - p\,dx - x\,dp = -x\,dp + v\,dy }[/math] [math]\displaystyle{ x = -\frac{\partial g}{\partial p} }[/math] [math]\displaystyle{ v = \frac{\partial g}{\partial y}. }[/math]
The function −g(p, y) is the Legendre transform of f(x, y), where only the independent variable x has been supplanted by p. This is widely used in thermodynamics, as illustrated below.
Applications
Analytical mechanics
A Legendre transform is used in classical mechanics to derive the Hamiltonian formulation from the Lagrangian formulation, and conversely. A typical Lagrangian has the form
[math]\displaystyle{ L(v,q)=\tfrac{1}2\langle v,Mv\rangle-V(q), }[/math] where [math]\displaystyle{ (v,q) }[/math] are coordinates on Rn × Rn, M is a positive real matrix, and [math]\displaystyle{ \langle x,y\rangle = \sum_j x_j y_j. }[/math]
For every q fixed, [math]\displaystyle{ L(v, q) }[/math] is a convex function of [math]\displaystyle{ v }[/math], while [math]\displaystyle{ V(q) }[/math] plays the role of a constant.
Hence the Legendre transform of [math]\displaystyle{ L(v, q) }[/math] as a function of [math]\displaystyle{ v }[/math] is the Hamiltonian function, [math]\displaystyle{ H(p,q)=\tfrac {1}{2} \langle p,M^{-1}p\rangle+V(q). }[/math]
In a more general setting, [math]\displaystyle{ (v, q) }[/math] are local coordinates on the tangent bundle [math]\displaystyle{ T\mathcal M }[/math] of a manifold [math]\displaystyle{ \mathcal M }[/math]. For each q, [math]\displaystyle{ L(v, q) }[/math] is a convex function of the tangent space Vq. The Legendre transform gives the Hamiltonian [math]\displaystyle{ H(p, q) }[/math] as a function of the coordinates (p, q) of the cotangent bundle [math]\displaystyle{ T^*\mathcal M }[/math]; the inner product used to define the Legendre transform is inherited from the pertinent canonical symplectic structure. In this abstract setting, the Legendre transformation corresponds to the tautological one-form.[further explanation needed]
Thermodynamics
The strategy behind the use of Legendre transforms in thermodynamics is to shift from a function that depends on a variable to a new (conjugate) function that depends on a new variable, the conjugate of the original one. The new variable is the partial derivative of the original function with respect to the original variable. The new function is the difference between the original function and the product of the old and new variables. Typically, this transformation is useful because it shifts the dependence of, e.g., the energy from an extensive variable to its conjugate intensive variable, which can often be controlled more easily in a physical experiment.
For example, the internal energy U is an explicit function of the extensive variables entropy S, volume V, and chemical composition Ni (e.g., [math]\displaystyle{ i = 1, 2, 3, \ldots }[/math]) [math]\displaystyle{ U = U \left (S,V,\{N_i\} \right ), }[/math] which has a total differential [math]\displaystyle{ dU = T\,dS - P\,dV + \sum \mu_i \,dN _i }[/math]
where [math]\displaystyle{ T = \left. \frac{\partial U}{\partial S} \right \vert _{V, N_{i\ for\ all\ i\ values}}, P = \left. -\frac{\partial U}{\partial V} \right \vert _{S, N_{i\ for\ all\ i\ values}}, \mu_i = \left. \frac{\partial U}{\partial N_i} \right \vert _{S,V, N_{j\ for\ all\ j \ne i}} }[/math].
(Subscripts are not necessary by the definition of partial derivatives but left here for clarifying variables.) Stipulating some common reference state, by using the (non-standard) Legendre transform of the internal energy U with respect to volume V, the enthalpy H may be obtained as the following.
To get the (standard) Legendre transform [math]\displaystyle{ U^* }[/math] of the internal energy U with respect to volume V, the function [math]\displaystyle{ u\left( p,S,V,\{{{N}_{i}}\} \right)=pV-U }[/math] is defined first, then it shall be maximized or bounded by V. To do this, the condition [math]\displaystyle{ \frac{\partial u}{\partial V} = p - \frac{\partial U}{\partial V} = 0 \to p = \frac{\partial U}{\partial V} }[/math] needs to be satisfied, so [math]\displaystyle{ U^* = \frac{\partial U}{\partial V}V - U }[/math] is obtained. This approach is justified because U is a linear function with respect to V (so a convex function on V) by the definition of extensive variables. The non-standard Legendre transform here is obtained by negating the standard version, so [math]\displaystyle{ -U^* = H = U - \frac{\partial U}{\partial V}V = U + PV }[/math].
H is definitely a state function as it is obtained by adding PV (P and V as state variables) to a state function [math]\displaystyle{ U = U \left (S,V,\{N_i\} \right ) }[/math], so its differential is an exact differential. Because of [math]\displaystyle{ dH = T\,dS + V\,dP + \sum \mu_i \,dN _i }[/math] and the fact that it must be an exact differential, [math]\displaystyle{ H = H(S,P,\{N_i\}) }[/math].
The enthalpy is suitable for description of processes in which the pressure is controlled from the surroundings.
It is likewise possible to shift the dependence of the energy from the extensive variable of entropy, S, to the (often more convenient) intensive variable T, resulting in the Helmholtz and Gibbs free energies. The Helmholtz free energy A, and Gibbs energy G, are obtained by performing Legendre transforms of the internal energy and enthalpy, respectively, [math]\displaystyle{ A = U - TS ~, }[/math][math]\displaystyle{ G = H - TS = U + PV - TS ~. }[/math]
The Helmholtz free energy is often the most useful thermodynamic potential when temperature and volume are controlled from the surroundings, while the Gibbs energy is often the most useful when temperature and pressure are controlled from the surroundings.
Variable capacitor
As another example from physics, consider a parallel conductive plate capacitor, in which the plates can move relative to one another. Such a capacitor would allow transfer of the electric energy which is stored in the capacitor into external mechanical work, done by the force acting on the plates. One may think of the electric charge as analogous to the "charge" of a gas in a cylinder, with the resulting mechanical force exerted on a piston.
Compute the force on the plates as a function of x, the distance which separates them. To find the force, compute the potential energy, and then apply the definition of force as the gradient of the potential energy function.
The electrostatic potential energy stored in a capacitor of the capacitance C(x) and a positive electric charge +Q or negative charge -Q on each conductive plate is (with using the definition of the capacitance as [math]\displaystyle{ C = \frac{Q}{V} }[/math]),
[math]\displaystyle{ U (Q, \mathbf{x}) = \frac{1}{2} QV(Q,\mathbf{x}) = \frac{1}{2} \frac{Q^2}{C(\mathbf{x})},~ }[/math]
where the dependence on the area of the plates, the dielectric constant of the insulation material between the plates, and the separation x are abstracted away as the capacitance C(x). (For a parallel plate capacitor, this is proportional to the area of the plates and inversely proportional to the separation.)
The force F between the plates due to the electric field created by the charge separation is then [math]\displaystyle{ \mathbf{F}(\mathbf{x}) = -\frac{dU}{d\mathbf{x}} ~. }[/math]
If the capacitor is not connected to any electric circuit, then the electric charges on the plates remain constant and the voltage varies when the plates move with respect to each other, and the force is the negative gradient of the electrostatic potential energy as [math]\displaystyle{ \mathbf{F}(\mathbf{x}) = \frac{1}{2} \frac{dC(\mathbf{x})}{d\mathbf{x}} \frac{Q^2}{{C(\mathbf{x})}^2} = \frac{1}{2} \frac{dC(\mathbf{x})}{d\mathbf{x}}V(\mathbf{x})^2 }[/math]
where [math]\displaystyle{ V(Q,\mathbf{x}) = V(\mathbf{x}) }[/math] as the charge is fixed in this configuration.
However, instead, suppose that the voltage between the plates V is maintained constant as the plate moves by connection to a battery, which is a reservoir for electric charges at a constant potential difference. Then the amount of charges [math]\displaystyle{ Q }[/math] is a variable instead of the voltage; [math]\displaystyle{ Q }[/math] and [math]\displaystyle{ V }[/math] are the Legendre conjugate to each other. To find the force, first compute the non-standard Legendre transform [math]\displaystyle{ U^* }[/math] with respect to [math]\displaystyle{ Q }[/math] (also with using [math]\displaystyle{ C = \frac{Q}{V} }[/math]),
[math]\displaystyle{ U^* = U - \left.\frac{\partial U}{\partial Q} \right|_\mathbf{x} \cdot Q =U - \frac{1}{2C(\mathbf{x})} \left. \frac{\partial Q^2}{\partial Q} \right|_\mathbf{x} \cdot Q = U - QV = \frac{1}{2} QV - QV = -\frac{1}{2} QV= - \frac{1}{2} V^2 C(\mathbf{x}). }[/math]
This transformation is possible because [math]\displaystyle{ U }[/math] is now a linear function of [math]\displaystyle{ Q }[/math] so is convex on it. The force now becomes the negative gradient of this Legendre transform, resulting in the same force obtained from the original function [math]\displaystyle{ U }[/math], [math]\displaystyle{ \mathbf{F}(\mathbf{x}) = -\frac{dU^*}{d\mathbf{x}} = \frac{1}{2} \frac{dC(\mathbf{x})}{d\mathbf{x}}V^2 . }[/math]
The two conjugate energies [math]\displaystyle{ U }[/math] and [math]\displaystyle{ U^* }[/math] happen to stand opposite to each other (their signs are opposite), only because of the linearity of the capacitance—except now Q is no longer a constant. They reflect the two different pathways of storing energy into the capacitor, resulting in, for instance, the same "pull" between a capacitor's plates.
Probability theory
In large deviations theory, the rate function is defined as the Legendre transformation of the logarithm of the moment generating function of a random variable. An important application of the rate function is in the calculation of tail probabilities of sums of i.i.d. random variables, in particular in Cramér's theorem.
If [math]\displaystyle{ X_n }[/math] are i.i.d. random variables, let [math]\displaystyle{ S_n=X_1+\cdots+X_n }[/math] be the associated random walk and [math]\displaystyle{ M(\xi) }[/math] the moment generating function of [math]\displaystyle{ X_1 }[/math]. For [math]\displaystyle{ \xi\in\mathbb R }[/math], [math]\displaystyle{ E[e^{\xi S_n}] = M(\xi)^n }[/math]. Hence, by Markov's inequality, one has for [math]\displaystyle{ \xi\ge 0 }[/math] and [math]\displaystyle{ a\in\mathbb R }[/math] [math]\displaystyle{ P(S_n/n \gt a) \le e^{-n\xi a}M(\xi)^n=\exp[-n(\xi a - \Lambda(\xi))] }[/math] where [math]\displaystyle{ \Lambda(\xi)=\log M(\xi) }[/math]. Since the left-hand side is independent of [math]\displaystyle{ \xi }[/math], we may take the infimum of the right-hand side, which leads one to consider the supremum of [math]\displaystyle{ \xi a - \Lambda(\xi) }[/math], i.e., the Legendre transform of [math]\displaystyle{ \Lambda }[/math], evaluated at [math]\displaystyle{ x=a }[/math].
Microeconomics
Legendre transformation arises naturally in microeconomics in the process of finding the supply S(P) of some product given a fixed price P on the market knowing the cost function C(Q), i.e. the cost for the producer to make/mine/etc. Q units of the given product.
A simple theory explains the shape of the supply curve based solely on the cost function. Let us suppose the market price for a one unit of our product is P. For a company selling this good, the best strategy is to adjust the production Q so that its profit is maximized. We can maximize the profit [math]\displaystyle{ \text{profit} = \text{revenue} - \text{costs} = PQ - C(Q) }[/math] by differentiating with respect to Q and solving [math]\displaystyle{ P - C'(Q_\text{opt}) = 0. }[/math]
Qopt represents the optimal quantity Q of goods that the producer is willing to supply, which is indeed the supply itself: [math]\displaystyle{ S(P) = Q_\text{opt}(P) = (C')^{-1}(P). }[/math]
If we consider the maximal profit as a function of price, [math]\displaystyle{ \text{profit}_\text{max}(P) }[/math], we see that it is the Legendre transform of the cost function [math]\displaystyle{ C(Q) }[/math].
Geometric interpretation
For a strictly convex function, the Legendre transformation can be interpreted as a mapping between the graph of the function and the family of tangents of the graph. (For a function of one variable, the tangents are well-defined at all but at most countably many points, since a convex function is differentiable at all but at most countably many points.)
The equation of a line with slope [math]\displaystyle{ p }[/math] and [math]\displaystyle{ y }[/math]-intercept [math]\displaystyle{ b }[/math] is given by ([math]\displaystyle{ y = p x + b. }[/math] ) For this line to be tangent to the graph of a function [math]\displaystyle{ f }[/math] at the point [math]\displaystyle{ \left(x_0, f(x_0)\right) }[/math] requires [math]\displaystyle{ f(x_0) = p x_0 + b }[/math] and [math]\displaystyle{ p = f'(x_0). }[/math]
Being the derivative of a strictly convex function, the function [math]\displaystyle{ f' }[/math] is strictly monotone and thus injective. The second equation can be solved for [math]\displaystyle{ x_0 = f^{\prime-1}(p), }[/math] allowing elimination of [math]\displaystyle{ x_0 }[/math] from the first, and solving for the [math]\displaystyle{ y }[/math]-intercept [math]\displaystyle{ b }[/math] of the tangent as a function of its slope [math]\displaystyle{ p, }[/math] [math]\displaystyle{ b = f(x_0) - p x_0 = f\left(f^{\prime-1}(p)\right) - p \cdot f^{\prime-1}(p) = -f^\star(p) }[/math] where [math]\displaystyle{ f^{\star} }[/math] denotes the Legendre transform of [math]\displaystyle{ f. }[/math]
The family of tangent lines of the graph of [math]\displaystyle{ f }[/math] parameterized by the slope [math]\displaystyle{ p }[/math] is therefore given by [math]\displaystyle{ y = p x - f^{\star}(p), }[/math] or, written implicitly, by the solutions of the equation [math]\displaystyle{ F(x,y,p) = y + f^{\star}(p) - p x = 0~. }[/math]
The graph of the original function can be reconstructed from this family of lines as the envelope of this family by demanding [math]\displaystyle{ \frac{\partial F(x,y,p)}{\partial p} = f^{\star\prime}(p) - x = 0. }[/math]
Eliminating [math]\displaystyle{ p }[/math] from these two equations gives [math]\displaystyle{ y = x \cdot f^{\star\prime-1}(x) - f^{\star}\left(f^{\star\prime-1}(x)\right). }[/math]
Identifying [math]\displaystyle{ y }[/math] with [math]\displaystyle{ f(x) }[/math] and recognizing the right side of the preceding equation as the Legendre transform of [math]\displaystyle{ f^{\star}, }[/math] yield [math]\displaystyle{ f(x) = f^{\star\star}(x) ~. }[/math]
Legendre transformation in more than one dimension
For a differentiable real-valued function on an open convex subset U of Rn the Legendre conjugate of the pair (U, f) is defined to be the pair (V, g), where V is the image of U under the gradient mapping Df, and g is the function on V given by the formula [math]\displaystyle{ g(y) = \left\langle y, x \right\rangle - f(x), \qquad x = \left(Df\right)^{-1}(y) }[/math] where [math]\displaystyle{ \left\langle u,v\right\rangle = \sum_{k=1}^n u_k \cdot v_k }[/math]
is the scalar product on Rn. The multidimensional transform can be interpreted as an encoding of the convex hull of the function's epigraph in terms of its supporting hyperplanes.[2] This can be seen as consequence of the following two observations. On the one hand, the hyperplane tangent to the epigraph of [math]\displaystyle{ f }[/math] at some point [math]\displaystyle{ (\mathbf x, f(\mathbf x))\in U\times \mathbb{R} }[/math] has normal vector [math]\displaystyle{ (\nabla f(\mathbf x),-1)\in\mathbb{R}^{n+1} }[/math]. On the other hand, any closed convex set [math]\displaystyle{ C\in\mathbb{R}^m }[/math] can be characterized via the set of its supporting hyperplanes by the equations [math]\displaystyle{ \mathbf x\cdot\mathbf n = h_C(\mathbf n) }[/math], where [math]\displaystyle{ h_C(\mathbf n) }[/math] is the support function of [math]\displaystyle{ C }[/math]. But the definition of Legendre transform via the maximization matches precisely that of the support function, that is, [math]\displaystyle{ f^*(\mathbf x)=h_{\operatorname{epi}(f)}(\mathbf x,-1) }[/math]. We thus conclude that the Legendre transform characterizes the epigraph in the sense that the tangent plane to the epigraph at any point [math]\displaystyle{ (\mathbf x,f(\mathbf x)) }[/math] is given explicitly by[math]\displaystyle{ \{\mathbf z\in\mathbb{R}^{n+1}: \,\, \mathbf z\cdot \mathbf x= f^*(\mathbf x)\}. }[/math]
Alternatively, if X is a vector space and Y is its dual vector space, then for each point x of X and y of Y, there is a natural identification of the cotangent spaces T*Xx with Y and T*Yy with X. If f is a real differentiable function over X, then its exterior derivative, df, is a section of the cotangent bundle T*X and as such, we can construct a map from X to Y. Similarly, if g is a real differentiable function over Y, then dg defines a map from Y to X. If both maps happen to be inverses of each other, we say we have a Legendre transform. The notion of the tautological one-form is commonly used in this setting.
When the function is not differentiable, the Legendre transform can still be extended, and is known as the Legendre-Fenchel transformation. In this more general setting, a few properties are lost: for example, the Legendre transform is no longer its own inverse (unless there are extra assumptions, like convexity).
Legendre transformation on manifolds
Let [math]\displaystyle{ M }[/math] be a smooth manifold, let [math]\displaystyle{ E }[/math] and [math]\displaystyle{ \pi : E\to M }[/math] be a vector bundle on [math]\displaystyle{ M }[/math] and its associated bundle projection, respectively. Let [math]\displaystyle{ L : E\to \R }[/math] be a smooth function. We think of [math]\displaystyle{ L }[/math] as a Lagrangian by analogy with the classical case where [math]\displaystyle{ M = \R }[/math], [math]\displaystyle{ E = TM = \Reals \times \Reals }[/math] and [math]\displaystyle{ L(x,v) = \frac 1 2 m v^2 - V(x) }[/math] for some positive number [math]\displaystyle{ m\in \Reals }[/math] and function [math]\displaystyle{ V : M \to \Reals }[/math].
As usual, the dual of [math]\displaystyle{ E }[/math] is denote by [math]\displaystyle{ E^* }[/math]. The fiber of [math]\displaystyle{ \pi }[/math] over [math]\displaystyle{ x\in M }[/math] is denoted [math]\displaystyle{ E_x }[/math], and the restriction of [math]\displaystyle{ L }[/math] to [math]\displaystyle{ E_x }[/math] is denoted by [math]\displaystyle{ L|_{E_x} : E_x\to \R }[/math]. The Legendre transformation of [math]\displaystyle{ L }[/math] is the smooth morphism[math]\displaystyle{ \mathbf F L : E \to E^* }[/math] defined by [math]\displaystyle{ \mathbf FL(v) = d(L|_{E_x})(v) \in E_x^* }[/math], where [math]\displaystyle{ x = \pi(v) }[/math]. In other words, [math]\displaystyle{ \mathbf FL(v)\in E_x^* }[/math] is the covector that sends [math]\displaystyle{ w\in E_x }[/math] to the directional derivative [math]\displaystyle{ \left.\frac d {dt}\right|_{t=0} L(v + tw)\in \R }[/math].
To describe the Legendre transformation locally, let [math]\displaystyle{ U\subseteq M }[/math] be a coordinate chart over which [math]\displaystyle{ E }[/math] is trivial. Picking a trivialization of [math]\displaystyle{ E }[/math] over [math]\displaystyle{ U }[/math], we obtain charts [math]\displaystyle{ E_U \cong U \times \R^r }[/math] and [math]\displaystyle{ E_U^* \cong U \times \R^r }[/math]. In terms of these charts, we have [math]\displaystyle{ \mathbf FL(x; v_1, \dotsc, v_r) = (x; p_1,\dotsc, p_r) }[/math], where [math]\displaystyle{ p_i = \frac {\partial L}{\partial v_i}(x; v_1, \dotsc, v_r) }[/math] for all [math]\displaystyle{ i = 1, \dots, r }[/math]. If, as in the classical case, the restriction of [math]\displaystyle{ L : E\to \mathbb R }[/math] to each fiber [math]\displaystyle{ E_x }[/math] is strictly convex and bounded below by a positive definite quadratic form minus a constant, then the Legendre transform [math]\displaystyle{ \mathbf FL : E\to E^* }[/math] is a diffeomorphism.[3] Suppose that [math]\displaystyle{ \mathbf FL }[/math] is a diffeomorphism and let [math]\displaystyle{ H : E^* \to \R }[/math] be the “Hamiltonian” function defined by [math]\displaystyle{ H(p) = p \cdot v - L(v), }[/math] where [math]\displaystyle{ v = (\mathbf FL)^{-1}(p) }[/math]. Using the natural isomorphism [math]\displaystyle{ E\cong E^{**} }[/math], we may view the Legendre transformation of [math]\displaystyle{ H }[/math] as a map [math]\displaystyle{ \mathbf FH : E^* \to E }[/math]. Then we have[3] [math]\displaystyle{ (\mathbf FL)^{-1} = \mathbf FH. }[/math]
Further properties
Scaling properties
The Legendre transformation has the following scaling properties: For a > 0,
[math]\displaystyle{ f(x) = a \cdot g(x) \Rightarrow f^\star(p) = a \cdot g^\star\left(\frac{p}{a}\right) }[/math] [math]\displaystyle{ f(x) = g(a \cdot x) \Rightarrow f^\star(p) = g^\star\left(\frac{p}{a}\right). }[/math]
It follows that if a function is homogeneous of degree r then its image under the Legendre transformation is a homogeneous function of degree s, where 1/r + 1/s = 1. (Since f(x) = xr/r, with r > 1, implies f*(p) = ps/s.) Thus, the only monomial whose degree is invariant under Legendre transform is the quadratic.
Behavior under translation
[math]\displaystyle{ f(x) = g(x) + b \Rightarrow f^\star(p) = g^\star(p) - b }[/math] [math]\displaystyle{ f(x) = g(x + y) \Rightarrow f^\star(p) = g^\star(p) - p \cdot y }[/math]
Behavior under inversion
[math]\displaystyle{ f(x) = g^{-1}(x) \Rightarrow f^\star(p) = - p \cdot g^\star\left(\frac{1}{p} \right) }[/math]
Behavior under linear transformations
Let A : Rn → Rm be a linear transformation. For any convex function f on Rn, one has [math]\displaystyle{ (A f)^\star = f^\star A^\star }[/math] where A* is the adjoint operator of A defined by [math]\displaystyle{ \left \langle Ax, y^\star \right \rangle = \left \langle x, A^\star y^\star \right \rangle, }[/math] and Af is the push-forward of f along A [math]\displaystyle{ (A f)(y) = \inf\{ f(x) : x \in X , A x = y \}. }[/math]
A closed convex function f is symmetric with respect to a given set G of orthogonal linear transformations, [math]\displaystyle{ f(A x) = f(x), \; \forall x, \; \forall A \in G }[/math] if and only if f* is symmetric with respect to G.
Infimal convolution
The infimal convolution of two functions f and g is defined as
[math]\displaystyle{ \left(f \star_\inf g\right)(x) = \inf \left \{ f(x-y) + g(y) \, | \, y \in \mathbf{R}^n \right \}. }[/math]
Let f1, ..., fm be proper convex functions on Rn. Then
[math]\displaystyle{ \left( f_1 \star_\inf \cdots \star_\inf f_m \right)^\star = f_1^\star + \cdots + f_m^\star. }[/math]
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 x ∈ X and p ∈ X*, i.e., independent x, p pairs, [math]\displaystyle{ \left\langle p,x \right\rangle \le f(x) + f^\star(p). }[/math]
See also
- Dual curve
- Projective duality
- Young's inequality for products
- Convex conjugate
- Moreau's theorem
- Integration by parts
- Fenchel's duality theorem
References
- ↑ 1.0 1.1 Legendre, Adrien-Marie (1789) (in French). Mémoire sur l'intégration de quelques équations aux différences partielles. In Histoire de l'Académie royale des sciences, avec les mémoires de mathématique et de physique. Paris: Imprimerie royale. pp. 309–351. https://www.biodiversitylibrary.org/page/28011033.
- ↑ "Legendre Transform | Nick Alger // Maps, art, etc". http://maze5.net/?page_id=733.
- ↑ 3.0 3.1 Ana Cannas da Silva. Lectures on Symplectic Geometry, Corrected 2nd printing. Springer-Verlag, 2008. pp. 147-148. ISBN:978-3-540-42195-5.
- Courant, Richard; Hilbert, David (2008). Methods of Mathematical Physics. 2. John Wiley & Sons. ISBN 978-0471504399.
- Arnol'd, Vladimir Igorevich (1989). Mathematical Methods of Classical Mechanics (2nd ed.). Springer. ISBN 0-387-96890-3. https://archive.org/details/mathematicalmeth0000arno.
- Fenchel, W. (1949). "On conjugate convex functions", Can. J. Math 1: 73-77.
- Rockafellar, R. Tyrrell (1996). Convex Analysis. Princeton University Press. ISBN 0-691-01586-4.
- Zia, R. K. P.; Redish, E. F.; McKay, S. R. (2009). "Making sense of the Legendre transform". American Journal of Physics 77 (7): 614. doi:10.1119/1.3119512. Bibcode: 2009AmJPh..77..614Z.
Further reading
- Nielsen, Frank (2010-09-01). "Legendre transformation and information geometry". https://www.lix.polytechnique.fr/~nielsen/Note-LegendreTransformation.pdf.
- Touchette, Hugo (2005-07-27). "Legendre-Fenchel transforms in a nutshell". http://appliedmaths.sun.ac.za/~htouchette/archive/notes/lfth2.pdf.
- Touchette, Hugo (2006-11-21). "Elements of convex analysis". http://www.physics.sun.ac.za/~htouchette/archive/pnotes/convex1.pdf.
External links
- Legendre transform with figures at maze5.net
- Legendre and Legendre-Fenchel transforms in a step-by-step explanation at onmyphd.com
Original source: https://en.wikipedia.org/wiki/Legendre transformation.
Read more |