Legendre transformation Guide, Meaning , Facts, Information and Description
In mathematics, two differentiable functions f and g are said to be Legendre transforms of each other if their first derivatives are inverse functions of each other:
A Legendre transformation is its own inverse, and is related to integration by parts.
Legendre transformations are used in thermodynamics to transform between the different thermodynamic potentials, and in classical mechanics to derive Hamiltonian mechanics from Lagrangian mechanics, as well as the other way around.
The exponential function ex has x ln x − x as a Legendre transform since the respective first derivatives ex and lnx are inverse to each other. This example shows that the respective domainss of a function and its Legendre transform need not agree.
Similarly, the quadratic form
In one dimension, a Legendre transform to a function f : R → R with an invertible first derivative may be found using the formula
Applications
Examples
with A an invertible n-by-n-matrix has
as a Legendre transform.Legendre transformation in one dimension
This can be seen by integrating both sides of the defining condition restricted to one-dimension
from x0 to x1, making use of the Fundamental theorem of calculus on the left hand side and substituting
on the right hand side to find
with g′(y0) = x0, g′(y1) = x1. Using integration by parts the last integral simplifies to
For a strictly convex function the Legendre-transformation can be interpreted as the mapping between the graph of the function and the family of tangents of the graph. (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 m and y-intercept b is given by
For a differentiable real-valued function on an open 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
Geometric interpretation
For this line to be tangent to the graph of a function f at the point (x0, f(x0)) requires
and
f′ is strictly monotone as the derivative of a strictly convex function, and the second equation can be solved for x0, allowing to eleminate x0 from the first giving the y-intercept b of the tangent as a function of its slope m:Legendre transformation in more than one dimension
where
is the scalar product on Rn.
For a function
The convex conjugate of an affine function
Convex conjugates
Definition
taking values on the extended real number line the Legendre transformation can be generalized to the Legendre-Fenchel transformation or convex conjugate of f byExamples of convex conjugates
is
The convex conjugate of the absolute value function
Properties of convex conjugation
Convex-conjugation is order-reversing: if f ≤ g then f* ≥ g*. 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. For any proper convex function f and its convex conjugate f* Fenchel's inequality (also known as the Fenchel-Young inequality) holds:
Further properties
Scaling properties
The Legendre transformation has the following scaling properties:
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.Behavior under translation
Behavior under inversion
Behavior under linear transformations
Let A be a linear transformation from Rn to Rm. For any convex function f on Rn, one has
where A* is the adjoint operator of A defined by
This is an Article on Legendre transformation. Page Contains Information, Facts Details or Explanation Guide About Legendre transformation Infimal convolution
The infimal convolution of two functions f and g is defined as
Let f1, …, fm be proper convex functions on Rn. Then
References
