The Legendre transform

Jordan Bell
April 25, 2014

1 Convexity

Write ℝ¯=[-∞,∞]. We define ∞+∞=∞, -∞-∞=-∞, and ∞-∞ is nonsense. If a∈ℝ, we define a+∞=∞ and a-∞=-∞.

If X is a vector space and f:X→ℝ¯ is a function, we define the epigraph of f to be the set

epi⁢f={(x,α)∈X×ℝ:α≥f⁢(x)},

and if epi⁢f is a convex subset of the vector space X×ℝ, we say that f is convex. We define the effective domain of a convex function f to be

dom⁢f={x∈X:f⁢(x)<∞}.

We say that a convex function f:X→ℝ¯ is proper if dom⁢f≠∅ and f does not take the value -∞. If C is a convex subset of X and f:C→ℝ is a function, we extend f to X by defining f⁢(x)=∞ for x∈X∖C.

Lemma 1.

If X is a vector space, C is a convex subset of X, and f:C→R satisfies

f⁢((1-t)⁢x1+t⁢x2)≤(1-t)⁢f⁢(x1)+t⁢f⁢(x2),x1,x2∈C,0≤t≤1,

then f:X→R¯ is convex.

Proof.

Let (x1,α1),(x2,α2)∈epi⁢f and 0≤t≤1. The fact that the pairs (xi,αi) belong to epi⁢f means in particular that f⁢(xi)<∞, and hence that xi∈C, as otherwise we would have f⁢(xi)=∞. But

(1-t)⁢(x1,α1)+t⁢(x2,α2)=((1-t)⁢x1+t⁢x2,(1-t)⁢α1+t⁢α2),

and, as x1,x2∈C,

f⁢((1-t)⁢x1+t⁢x2)≤(1-t)⁢f⁢(x1)+t⁢f⁢(x2)≤(1-t)⁢α1+t⁢α2,

showing that (1-t)⁢(x1,α1)+t⁢(x2,α2)∈epi⁢f, and hence that f:X→ℝ¯ is convex. ∎

2 Definition of the Legendre transform

Let V be a locally convex space and let V* be the dual space of V, i.e. the set of all continuous linear maps V→ℝ. With the weak-* topology, V* is itself a locally convex space and V=(V*)*, with the isomorphism of locally convex spaces x↦(λ↦λx). If f:V→ℝ¯ is a function, the Legendre transform or convex conjugate of f is the function f*:V*→ℝ¯ defined by

f*⁢(λ)=sup⁡{λ⁢v-f⁢(v):v∈V}=sup⁡{λ⁢v-f⁢(v):v∈dom⁢f}.

Like how the Fourier transform of a function from a locally compact abelian group to ℂ is itself a function from the Pontryagin dual of the group to ℂ, the Legendre transform of a function from a locally convex space to ℝ¯ is itself a function from the dual space to ℝ¯.

Theorem 2.

If V is a locally convex space and f:V→R¯ is convex, then its Legendre transform f*:V*→R¯ is convex.

Proof.

Let (λ1,α1),(λ2,α2)∈epi⁢f*, and let 0≤t≤1. We have

f*⁢((1-t)⁢λ1+t⁢λ2) = sup⁡{((1-t)⁢λ1+t⁢λ2)⁢v-f⁢(v):v∈dom⁢f}
= sup⁡{(1-t)⁢(λ1⁢v-f⁢(v))+t⁢(λ2⁢v-f⁢(v)):v∈dom⁢f}
≤ sup⁡{(1-t)⁢(λ1⁢v-f⁢(v)):v∈dom⁢f}
+sup⁡{t⁢(λ2⁢v-f⁢(v)):v∈dom⁢f}
= (1-t)⁢f*⁢(λ1)+t⁢f*⁢(λ2)
≤ (1-t)⁢α1+t⁢α2,

which means that (1-t)⁢(λ1,α1)+t⁢(λ2,α2)∈epi⁢f*, and hence that f* is convex. ∎

3 Lower semicontinuity

If X is a topological vector space and f:X→ℝ¯ is a function, we say that f is lower semicontinuous if epi⁢f is a closed subset of X×ℝ.

Theorem 2 shows that the Legendre transform of a convex function is itself convex. The following lemma states that if a proper convex function is lower semicontinuous, then its Legendre transform is proper; one proves the lemma using the Hahn-Banach separation theorem.11 1 Viorel Barbu and Teodor Precupanu, Convexity and Optimization in Banach Spaces, fourth ed., p. 78, Corollary 2.21. We use this lemma in the proof of the theorem that comes after.

Lemma 3.

If V is a locally convex space and f:V→R¯ is a lower semicontinuous proper convex function, then its Legendre transform f*:V*→R¯ is proper.

Theorem 4.

If V is a locally convex space and f:V→R¯ is a lower semicontinuous proper convex convex, then f**=f.

Proof.

For any λ∈V* we have f*⁢(λ)=sup⁡{λ⁢v-f⁢(v):v∈V}, and hence for any v∈V we have f*⁢(λ)≥λ⁢v-f⁢(v). Thus, for any v∈V and λ∈V* we have

λ⁢v-f*⁢(λ)≤f⁢(v).

Using this, for any v∈V we have

f**⁢(v)=sup⁡{v⁢λ-f*⁢(λ):λ∈dom⁢f*}=sup⁡{λ⁢v-f*⁢(λ):λ∈dom⁢f*}≤f⁢(v).

Suppose by contradiction that there were some v0∈V for which f**⁢(v0)<f⁢(v0). First, by Lemma 3 we have that f* is proper, so in particular dom⁢f*≠∅, and this tells us that f** does not take the value -∞. Hence -∞<f**⁢(v0)<f⁢(v0), which tells us that (v0,f**⁢(v0))∈V×ℝ∖epi⁢f. Therefore, epi⁢f and the singleton {(v0,f**⁢(v0))} are disjoint closed convex sets (epi⁢f is closed because f is lower semicontinuous), and so we can apply the Hahn-Banach separation theorem: there is some Λ∈(V×ℝ)* and some γ∈ℝ for which

Λ⁢(v,α)<γ<Λ⁢(v0,f**⁢(v0)),(v,α)∈epi⁢f.

As Λ∈(V×ℝ)*, there is some λ∈V* and some β∈ℝ*=ℝ for which Λ⁢(v,α)=λ⁢v+β⁢α, and so

λ⁢v+β⁢α<γ<λ⁢v0+β⁢f**⁢(v0),(v,α)∈epi⁢f. (1)

If β>0 then we get a contradiction because for a fixed v∈dom⁢f there are arbitrarily large positive α for which (v,α)∈epi⁢f. Hence, β≤0. Assume by contradiction that β=0, and hence that

λ⁢v<γ<λ⁢v0,v∈dom⁢f. (2)

If v0∈dom⁢f then we get λ⁢v0<γ<λ⁢v0, a contradiction. If v0∉dom⁢f, we shall still obtain a contradiction. Let μ∈dom⁢f*. For any h>0,

f*⁢(μ+h⁢λ) = sup⁡{(μ+h⁢λ)⁢v-f⁢(v):v∈dom⁢f}
= sup⁡{μ⁢v-f⁢(v)+h⁢λ⁢v:v∈dom⁢f}
≤ sup⁡{μ⁢v-f⁢(v):v∈dom⁢f}+sup⁡{h⁢λ⁢v:v∈dom⁢f}
= f*⁢(μ)+h⁢sup⁡{λ⁢v:v∈dom⁢f}.

Therefore,

f**⁢(v0) ≥ (μ+h⁢λ)⁢v0-f*⁢(μ+h⁢λ)
≥ (μ+h⁢λ)⁢v0-f*⁢(μ)-h⁢sup⁡{λ⁢v:v∈dom⁢f}
= μ⁢v0-f*⁢(μ)+h⁢(λ⁢v0-sup⁡{λ⁢v:v∈dom⁢f}).

But by (2) we have λ⁢v0-sup⁡{λ⁢v:v∈dom⁢f}>0, and therefore the right-hand side of

f**⁢(v0)≥μ⁢v0-f*⁢(μ)+h⁢(λ⁢v0-sup⁡{λ⁢v:v∈dom⁢f})

can be an arbitrarily large positive number (as f*⁢(μ)<∞), contradicting that f**⁢(v0)<∞. Therefore, β<0, and dividing (1) by β then yields

1β⁢λ⁢v+α>γβ>1β⁢λ⁢v0+f**⁢(v0),(v,α)∈epi⁢f.

Hence,

(-1β⁢λ)⁢v0-f**⁢(v0) > sup⁡{-1β⁢λ⁢v-α:(v,α)∈epi⁢f}
= sup⁡{-1β⁢λ⁢v-f⁢(v):v∈dom⁢f}
= f*⁢(-1β⁢λ),

which contradicts

(-1β⁢λ)⁢v0-f**⁢(v0)≤f*⁢(-1β⁢λ).

Therefore, there is no v0∈V for which f**⁢(v0)<f⁢(v0), i.e., for all v∈V we have

f⁢(v0)≤f**⁢(v0).

∎

4 Example in Rn

Let V:ℝn→ℝ be a function, let A be an n×n symmetric positive definite matrix, and define L:T⁢ℝn→ℝ by

L⁢(q,v)=12⁢⟨v,A⁢v⟩-V⁢(q).

Fix any q∈ℝn, let X=Tq⁢ℝn=ℝn, and write Lq⁢(v)=L⁢(q,v), for which Lq:X→ℝ. The Legendre transform of Lq is Lq*:X*→ℝ¯, defined by

Lq*⁢(λ)=sup⁡{λ⁢v-Lq⁢(v):v∈X}.

Because A is symmetric, for any v∈X we obtain

D⁢(λ-Lq)⁢(v)=λ-A⁢v.

Hence, D⁢(λ-Lq)⁢(v)=0 is equivalent to

v=A-1⁢λ,

and with this,

Lq⁢(A-1⁢λ)=12⁢⟨A-1⁢λ,A⁢A-1⁢λ⟩-V⁢(q)=12⁢⟨A-1⁢λ,λ⟩-V⁢(q),

and therefore

Lq*⁢(λ)=λ⁢(A-1⁢λ)-12⁢⟨A-1⁢λ,λ⟩+V⁢(q)=12⁢⟨A-1⁢λ,λ⟩+V⁢(q).

5 Derivatives

Let Ω be a domain in ℝn and let f∈Cs⁢(Ω) for some s≥2. We define ϕ:Ω→ℝn by ϕ⁢(x)=(D⁢f)⁢(x); we have ϕ∈Cs-1⁢(Ω,ℝn). Following Giaquinta and Hildebrandt,22 2 Mariano Giaquinta and Stefan Hildebrandt, Calculus of Variations II, p. 6. we call ϕ a gradient mapping. The following theorem gives conditions under which ϕ:Ω→ϕ⁢(Ω) is invertible.33 3 Mariano Giaquinta and Stefan Hildebrandt, Calculus of Variations II, p. 6, Lemma 1. (To be locally invertible means that for each point there is an open neighborhood such that the restriction of ϕ to that neighborhood is invertible.)

Theorem 5.

If

det⁡(D2⁢f)⁢(x)≠0,x∈Ω,

then ϕ is locally invertible on Ω. If Ω is convex and for all x∈Ω the matrix (D2⁢f)⁢(x) is positive definite, then ϕ:Ω→ϕ⁢(Ω) is a Cs-1 diffeomorphism.

Proof.

Because ϕ∈Cs-1⁢(Ω,ℝn) and det⁡(D⁢ϕ)⁢(x)=det⁡(D2⁢f)⁢(x)≠0 for all x∈Ω, by the inverse function theorem44 4 Jerrold E. Marsden and Michael J. Hoffman, Elementary Classical Analysis, second ed., p. 393, Theorem 7.1.1. we have that ϕ:Ω→ϕ⁢(Ω) is a local Cs-1 diffeomorphism.

Suppose that ϕ⁢(x1)=ϕ⁢(x2) for some distinct x1,x2∈Ω. Put x=x2-x1. Because x1,x1+x=x2∈Ω and Ω is convex, for any 0≤t≤1 we have x1+t⁢x∈Ω. Now define

A⁢(t)=(D2⁢f)⁢(x1+t⁢x),0≤t≤1;

because f∈Cs⁢(Ω) with s≥2, we have that A is continuous. Because

dd⁢t⁢ϕ⁢(x1+t⁢x)=(D⁢ϕ)⁢(x1+t⁢x)⁢x=(D2⁢f)⁢(x1+t⁢x)⁢x=A⁢(t)⁢x,

we have

⟨x,ϕ⁢(x2)-ϕ⁢(x1)⟩ = ⟨x,∫01dd⁢t⁢ϕ⁢(x1+t⁢x)⁢𝑑t⟩
= ⟨x,∫01A⁢(t)⁢𝑑t⟩
= ∫01⟨x,A⁢(t)⁢x⟩⁢𝑑t.

For each 0≤t≤1 we have that A⁢(t) is a positive definite matrix, and because x≠0, this gives us that ⟨x,A⁢(t)⁢x⟩>0. Moreover, t↦⟨x,A⁢(t)⁢x⟩ is continuous, so it follows that

∫01⟨x,A⁢(t)⁢x⟩⁢𝑑t>0.

But ⟨x,ϕ⁢(x2)-ϕ⁢(x1)⟩=0, a contradiction. Therefore, ϕ is one-to-one. It is a fact that a local diffeomorphism that is one-to-one is a diffeomorphism, thus ϕ:Ω→ϕ⁢(Ω) is a Cs-1 diffeomorphism. ∎

Suppose that the gradient mapping ϕ:Ω→ϕ⁢(Ω) is a Cs-1 diffeomorphism. We write ψ=ϕ-1, so ψ:ϕ⁢(Ω)→Ω is a Cs-1 diffeomorphism. The following theorem gives an explicit expression for the Legendre transform of certain functions.55 5 Mariano Giaquinta and Stefan Hildebrandt, Calculus of Variations II, p. 9.

Theorem 6.

If Ω is a convex domain in Rn, f∈C2⁢(Ω), and for all x∈Ω the matrix (D2⁢f)⁢(x) is positive definite, then

f*⁢(ξ)=ξ⁢ψ⁢(ξ)-f⁢(ψ⁢(ξ)),ξ∈ϕ⁢(Ω).
Proof.

Fix ξ∈ϕ⁢(Ω) and define g:Ω→ℝ by

g⁢(x)=ξ⁢x-f⁢(x).

We have g∈C2⁢(Ω), and we have (D⁢g)⁢(x)=ξ-(D⁢f)⁢(x) and (D2⁢g)⁢(x)=-(D2⁢f)⁢(x). Thus, for each x∈Ω, the matrix (D2⁢g)⁢(x) is negative definite. It follows that if there is a point x0∈Ω at which (D⁢g)⁢(x0)=0, then for all other x∈Ω we have g⁢(x)<g⁢(x0). To have (D⁢g)⁢(x0)=0 is equivalent (D⁢f)⁢(x0)=ξ, and because ϕ:Ω→ϕ⁢(Ω) is a bijection, there is indeed a unique x0∈Ω for which (D⁢f)⁢(x0)=ϕ⁢(x0)=ξ. Therefore,

f*⁢(ξ) = sup⁡{ξ⁢x-f⁢(x):x∈Ω}
= sup⁡{g⁢(x):x∈Ω}
= g⁢(x0)
= ξ⁢x0-f⁢(x0)
= ξ⁢ψ⁢(ξ)-f⁢(ψ⁢(ξ)).

∎

Using the above expression for the Legendre transform of a C2 function with positive definite Hessian, we show in the following theorem that the Legendre transform of a Cs function with positive definite Hessian is itself a C2 function.66 6 Mariano Giaquinta and Stefan Hildebrandt, Calculus of Variations II, p. 7, Lemma 2.

Theorem 7.

If Ω is a convex domain in Rn, f∈Cs⁢(Ω) with s≥2, and for all x∈Ω the matrix (D2⁢f)⁢(x) is positive definite, then D⁢f*=ψ and f*∈Cs⁢(ϕ⁢(Ω)).

Proof.

For all ξ∈ϕ⁢(Ω) we have by Theorem 6,

f*⁢(ξ)=ξ⁢ψ⁢(ξ)-f⁢(ψ⁢(ξ)).

Thus,

(D⁢f*)⁢(ξ) = ψ⁢(ξ)+ξ⁢(D⁢ψ)⁢(ξ)-(D⁢f)⁢(ψ⁢(ξ))⁢(D⁢ψ)⁢(ξ)
= ψ⁢(ξ)+ξ⁢(D⁢ψ)⁢(ξ)-ϕ⁢(ψ⁢(ξ))⁢(D⁢ψ)⁢(ξ)
= ψ⁢(ξ)+ξ⁢(D⁢ψ)⁢(ξ)-ξ⁢(D⁢ψ)⁢(ξ)
= ψ⁢(ξ).

Hence D⁢f*=ψ. Because ψ∈Cs-1⁢(ϕ⁢(Ω)), it follows that f∈Cs⁢(ϕ⁢(Ω)). ∎

For all x∈Ω, because ψ⁢(ϕ⁢(x))=x we have (D⁢ψ)⁢(ϕ⁢(x))⁢(D⁢ϕ)⁢(x)=I, i.e. (D2⁢f*)⁢(ϕ⁢(x))⁢(D2⁢f)⁢(x)=I, so

(D2⁢f)⁢(x)=((D2⁢f*)⁢(ϕ⁢(x)))-1.

For all ξ∈ϕ⁢(Ω), because ϕ⁢(ψ⁢(ξ))=ξ, we have (D⁢ϕ)⁢(ψ⁢(ξ))⁢(D⁢ψ)⁢(ξ)=I, i.e. (D2⁢f)⁢(ψ⁢(ξ))⁢(D2⁢f*)⁢(ξ)=I, so

(D2⁢f*)⁢(ξ)=((D2⁢f)⁢(ψ⁢(ξ)))-1.

6 Example in R2

Suppose that Ω is a convex domain in ℝ2, that f∈C2⁢(Ω), and that for all x∈Ω, the matrix (D2⁢f)⁢(x) is positive definite. Write ρ⁢(x)=det⁡(D2⁢f)⁢(x); ρ⁢(x)>0 for all x∈Ω. Because (D2⁢f)⁢(x)=((D2⁢f*)⁢(ϕ⁢(x)))-1 for all x∈Ω, we have

(f11⁢(x)f12⁢(x)f21⁢(x)f22⁢(x)) = (f11*⁢(ϕ⁢(x))f12*⁢(ϕ⁢(x))f21*⁢(ϕ⁢(x))f22*⁢(ϕ⁢(x)))-1
= 1det⁡(D2⁢f*)⁢(ϕ⁢(x))⁢(f22*⁢(ϕ⁢(x))-f12*⁢(ϕ⁢(x))-f21*⁢(ϕ⁢(x))f11*⁢(ϕ⁢(x)))
= ρ⁢(x)⁢(f22*⁢(ϕ⁢(x))-f12*⁢(ϕ⁢(x))-f21*⁢(ϕ⁢(x))f11*⁢(ϕ⁢(x)).)

Giaquinta and Hildebrandt77 7 Mariano Giaquinta and Stefan Hildebrandt, Calculus of Variations II, p. 14. give the following consequence of what we have just written out. If f satisfies the above conditions and satisfies the equation

(1+f22)⁢f11-2⁢f1⁢f2⁢f12+(1+f12)⁢f22=2⁢H⁢(1+f12+f22)3/2,

on Ω, where H is some constant, then

(1+f2⁢(x)2)⁢ρ⁢(x)⁢f22*⁢(ϕ⁢(x))+2⁢f1⁢(x)⁢f2⁢(x)⁢ρ⁢(x)⁢f12*⁢(ϕ⁢(x))+(1+f1⁢(x)2)⁢ρ⁢(x)⁢f11*⁢(ϕ⁢(x))=2⁢H⁢(1+f1⁢(x)2+f2⁢(x)2)3/2

for all x∈Ω. Therefore,

(1+ξ22)⁢ρ⁢(ψ⁢(ξ))⁢f22*⁢(ξ)+2⁢ξ1⁢ξ2⁢ρ⁢(ψ⁢(ξ))⁢f12*⁢(ξ)+(1+ξ12)⁢ρ⁢(ψ⁢(ξ))⁢f11*⁢(ξ)=2⁢H⁢(1+ξ12+ξ22)3/2

for all ξ∈ϕ⁢(Ω), ξ=(ξ1,ξ2). In the case where H=0, then, dividing by ρ⁢(ψ⁢(ξ)), which is >0, we obtain

(1+ξ22)⁢f22*⁢(ξ)+2⁢ξ1⁢ξ2⁢f12*⁢(ξ)+(1+ξ12)⁢f11*⁢(ξ)=0.

In the case H=0, the equation satisfied by f is called the minimal surface equation, and we have thus found a partial differential equation satisfied by the Legendre transform of a solution of the minimal surface equation that satisfies the conditions we imposed at the start of the example. Writing the equation satisfied by f* in the form

A⁢f11*+2⁢B⁢f12*+C⁢f22*=0,

we have A=(1+ξ12), B=ξ1⁢ξ2, C=(1+ξ22), with which

B2-A⁢C=ξ12⁢ξ22-(1+ξ12)⁢(1+ξ22)=-1-ξ12-ξ22≤-1,

which means that partial differential equation satisfied by f* is elliptic.

7 Lagrangians and Hamiltonians

Theorem 6 states that if Ω is a convex domain in ℝn, f∈C2⁢(Ω), and for all x∈Ω the matrix (D2⁢f)⁢(x) is positive definite, then

f*⁢(ξ)=ξ⁢ψ⁢(ξ)-f⁢(ψ⁢(ξ)),ξ∈ϕ⁢(Ω).

Suppose that L:ℝn×ℝn×ℝ is a function such that for each q∈ℝn and t∈ℝ, the function v↦L⁢(q,v,t) satisfies the above conditions. Fix q∈ℝn and t∈ℝ. With D⁢L=(∂⁡L∂⁡q,∂⁡L∂⁡v,∂⁡L∂⁡t) and ϕ⁢(v)=∂⁡L∂⁡v⁢(q,v,t), ψ=ϕ-1, we have

L*⁢(q,p,t)=p⁢ψ⁢(p)-L⁢(q,ψ⁢(p),t),p∈ϕ⁢(ℝn),

or with H=L*,

H⁢(q,p,t)=p⁢ψ⁢(p)-L⁢(q,ψ⁢(p),t),p∈ϕ⁢(ℝn).

We have

∂⁡H∂⁡q⁢(q,p,t)=-∂⁡L∂⁡q⁢(q,ψ⁢(p),t),

and

∂⁡H∂⁡p⁢(q,p,t) = ψ⁢(p)+p⁢(D⁢ψ)⁢(p)-∂⁡L∂⁡v⁢(q,ψ⁢(p),t)⁢(D⁢ψ)⁢(p)
= ψ⁢(p)+p⁢(D⁢ψ)⁢(p)-ϕ⁢(ψ⁢(p))⁢(D⁢ψ)⁢(p)
= ψ⁢(p)+p⁢(D⁢ψ)⁢(p)-p⁢(D⁢ψ)⁢(p)
= ψ⁢(p),

and

∂⁡H∂⁡t⁢(q,p,t)=-∂⁡L∂⁡t⁢(q,ψ⁢(p),t).

For a path (q⁢(t),v⁢(t),t) to satisfy the Euler-Lagrange equation means that

dd⁢t⁢(∂⁡L∂⁡v⁢(q⁢(t),v⁢(t),t))=∂⁡L∂⁡q⁢(q⁢(t),v⁢(t),t).

With p⁢(t)=ϕ⁢(v⁢(t)), this yields

d⁢pd⁢t⁢(t)=∂⁡L∂⁡q⁢(q⁢(t),ψ⁢(p⁢(t)),t),

and hence

d⁢pd⁢t⁢(t)=-∂⁡H∂⁡q⁢(q⁢(t),p⁢(t),t).

8 Physical units

First, if a Lagrangian L, L⁢(q,v,t), has units J, then the Hamiltonian H=L*, H⁢(q,p,t), has the same units J, and it follows that p⁢ψ⁢(p) has units J. Second, [ψ⁢(p)]=[v], and so [H]=[p]⁢[ψ⁢(p)]=[p]⁢[v]. Therefore, [p]⁢[v]=J. If we take [v]=m/s, then this implies that [p]=kg⁢m/s.

9 More books

V. I. Arnold, Mathematical Methods of Classical Mechanics, second ed., p. 61, §14; Ralph Abraham and Jerrold E. Marsden, Foundations of Mechanics, second ed., p. 218, §3.6; Jerrold E. Marsden and Tudor S. Ratiu, Introduction to Mechanics and Symmetry, second ed., p. 183, §7.2; Jürgen Jost and Xianqing Li-Jost, Calculus of Variations, chapter 4; David Yang Gao, Duality Principles in Nonconvex Systems: Theory, Methods and Applications.

10 History

As best as I can tell, the thing we call the Legendre transform is named after Legendre because of the following paper: Adrien-Marie Legendre, Mémoire sur l’intégration de quelques Équations aux différences partielles, Histoire de l’Académie royale des sciences (1787), 309–351. The following is a partial bibliography of works that refer to this paper of Legendre’s. No historical summary of the Legendre transform exists in the literature, and the following is presented as an aid to the preparation of one. To properly tell the story of the Legendre transform, one would be well served by carefully digging through sources and attentively reading Legendre’s original paper, and also by making oneself comfortable with how it appears in convex analysis, minimal surfaces, contact geometry, thermodynamics, etc. Such a comprehensive history would require meticulously scanning through Legendre’s monumental Traite on elliptic integrals lest relevant material is included there. The best biography of Legendre that exists is the one by Itard in the Dictionary of Scientific Biography, who mentions that something relevant to the Legendre transform appears in volume II of the 1826 Traite, concerning arc lengths. One should also scan through the work of Lagrange, including his 1788 Méchanique analitique, and the work of Euler on the calculus of variations.

Correspondance de Leonhard Euler avec A. C. Clairaut, J. d’Alembert et J. L. Lagrange, pp. 440–441, Note 6; S. S. Demidov, The study of partial differential equations of the first order in the 18th and 19th centuries, Arch. Hist. Exact Sci. 26 (1982), no. 4, 325–350; Erwin Kreyszig, On the Theory of Minimal Surfaces, The Problem of Plateau (Themistocles M. Rassias, ed.), 1992, 138–164, p. 145; Julian Lowell Coolidge, A History of Geometrical Methods, p. 377; Alfred Enneper, Bemerkungen über einige Flächen von constantem Krümmungsmaaß, Nachrichten von der Königl. Gesellschaft der Wissenschaften und der Georg-Augusts-Universität zu Göttingen (1876), 597–619, p. 614; Alfred Enneper, Ueber Flächen mit besonderen Meridiancurven, Abhandlungen der Königlichen Gesellschaft der Wissenschaften in Göttingen 29 (1882), 3–87, p. 6; Gaston Darboux, Leçons sur la théorie générale des surfaces, vol. 1, p. 271, §177; Édouard Goursat, Leçons sur l’intégration des équations aux dérivées partielles du second ordre, à deux variables indépendantes, tome 2, p. 32, chapter V, §113; René Taton, L’œuvre scientifique de Monge, p. 262; Karin Reich, Die Geschichte der Differentialgeometrie von Gauß bis Riemann (1828–1868), Arch. Hist. Exact Sci. 11 (1973), no. 4, 273–376, p. 315; Ivor Grattan-Guinness, Convolutions in French Mathematics, 1800-1840, vol. I, p. 152; Morris Kline, Mathematical Thought From Ancient to Modern Times, chapter 22; João Caramalho Domingues, Lacroix and the Calculus, p. 223; Ernst Hairer, Syvert Paul Nørsett and Gerhard Wanner, Solving Ordinary Differential Equations I: Nonstiff Problems, p. 32; Paul Mansion, Théorie des équations aux dérivées partielles du premier ordre, p. 76; A. R. Forsyth, A Treatise on Differential Equations, sixth ed., pp. 418, 476; Lagrange, Méchanique analitique (1788), tome 1, partie 2, §IV; Ernesto Pascal, Die Variationsrechnung, p. 125; Bernhard Riemann, Ueber die Fläche vom kleinsten Inhalt bei gegebener Begrenzung; Courant and Hilbert, vol. II; Cornelius Lanczos, The Variational Principles of Mechanics, fourth ed., §VI.1; Ed. Combescure, Remarques sur un Mémoire de Legendre, Comptes rendus hebdomadaires des séances de l’Académie des sciences 74 (1872), 798–802; Johannes C. C. Nitsche, Vorlesungen über Minimalflächen, p. 147; A. W. Conway and J. L. Synge (ed.), The Mathematical Papers of Sir William Rowan Hamilton, vol. I, (1931), p. 474.