logo

Legendre Transformation 📂Partial Differential Equations

Legendre Transformation

  • Regarding x and p, when emphasizing that they are variables of a partial differential equation, it is indicated with regular font x,pRnx,p \in \mathbb{R}^{n}, and when emphasizing that it is a function of ss, it is indicated with bold font x,pRn\mathbf{x}, \mathbf{p} \in \mathbb{R}^{n}.

Definition 1

For simplicity, let’s say the Lagrangian is a function of variable vRnv\in \mathbb{R}^{n} only.

L(v)=L:RnR L(v) = L : \mathbb{R}^{n} \to \mathbb{R}

Let’s say the Lagrangian LL satisfies the following two conditions

  • (a) LL is a convex function.

    λL(v1)+(1λ)L(v2)L(λv1+(1λ)v2) v1,v2Rn, 0λ1 \lambda L(v_{1}) + (1-\lambda)L(v_{2}) \le L\big( \lambda v_{1} +(1-\lambda)v_{2} \big) \quad \forall\ v_{1},v_{2}\in \mathbb{R}^{n},\quad \forall\ 0\le \lambda \le 1

  • (b) limvL(v)v=+\lim \limits_{ |v|\to \infty} \dfrac{ L(v) }{ |v| }=+\infty

Then the Legendre transform L:RnRL^{\ast} : \mathbb{R}^{n} \to \mathbb{R} of LL is defined as follows.

L(p):=supvRn{pvL(v)} pRn L^{\ast} (p) := \sup \limits_{v \in \mathbb{R}^{n}} \left\{ p\cdot v -L(v) \right\} \quad \forall \ p \in \mathbb{R}^{n}

It is also called the Fenchel transform.

Explanation

At this time, pp is the same as the variable p=DvL(x˙, x)\mathbf{p}= D_{v}L\big( \dot{\mathbf{x}},\ \mathbf{x}\big) of the Hamiltonian. That LL^{\ast} is well defined can be proved as follows. Also, although it is defined as sup\sup, it can also be shown to actually be the same as max\max.

Theorem

The Legendre transform L(p)L^{\ast}(p) is well defined. Also, sup{pvL(v)}=max{pvL(v)}\sup \left\{ p\cdot v -L(v) \right\} = \max \left\{ p\cdot v -L(v) \right\} holds.

Proof

Well-definedness

The fact that L(p)L^{\ast}(p) has a real value is proved by reductio ad absurdum. The fact that LL is continuous due to condition (a) is trivial. And by the definition of the Legendre transform(sup)(\sup), -\infty cannot be a value.

L(p)=sup{pvL(v)}(,] L^{\ast}(p) = \sup \left\{ p\cdot v -L(v) \right\} \in (-\infty, \infty]

Now, if we assume L(p)=L^{\ast}(p)=\infty and show a contradiction, it is proved to have a real value.


L(p)=L^{\ast}(p)=\infty Let’s assume. Then there exists a sequence {vk}k=1\left\{ v_{k} \right\}_{k=1}^\infty that satisfies the conditions below.

ak:=pvkL(vk)as k \begin{equation} a_{k}:= p\cdot v_{k} -L(v_{k}) \to \infty \quad \text{as } k \to \infty \label{eq1} \end{equation}

And let’s assume vk0v_{k} \ne 0 for all kk. The reason this assumption is valid is because there can only be a finite number of cases where vk=0v_{k}=0 due to aka_{k} \to \infty, and a subsequence excluding them can be re-assigned as vkv_{k}. Now there are two cases where {vk}\left\{ v_{k} \right\} is bounded or not. Showing that a contradiction arises in both cases ends the proof.

  • Case 1. If {vk}\left\{ v_{k} \right\} is bounded

    Since {vk}\left\{ v_{k} \right\} is bounded, there exists a subsequence converging to some point, let’s call it again vkv_{k}. Then there exists a {vk}\left\{ v_{k} \right\} like below.

    vkv0as k,for some v0Rn v_{k} \to v_{0} \quad \text{as } k \to \infty,\quad \mathrm{for\ some}\ v_{0}\in \mathbb{R}^{n}

    Since LL is continuous, akpv0L(v0)Rnas ka_{k} \to p \cdot v_{0} -L(v_{0}) \in \mathbb{R}^{n} \quad \text{as } k \to \infty and this is a contradiction by (eq1)\eqref{eq1}.

  • Case 2. If {vk}\left\{ v_{k} \right\} is unbounded

    Since it is unbounded, it can be assumed as follows.

    vkas k |v_{k}| \to \infty \quad \text{as } k \to \infty

    By the assumption, since vk0|v_{k}| \ne 0, dividing both sides of ak=pvkL(vk)a_{k}=p \cdot v_{k}-L(v_{k}) by vk|v_{k}| gives the following.

    akvk=pvkvkL(vk)vk \dfrac{a_{k}}{|v_{k}|}=\dfrac{p\cdot v_{k}}{|v_{k}|}-\dfrac{L(v_{k})}{|v_{k}|}

    Here, applying the Cauchy-Schwarz inequality to the first term on the right-hand side gives the following.

    pvkvkpvkvk=p \left| \dfrac{p\cdot v_{k}}{|v_{k}|} \right| \le |p| \left| \dfrac{v_{k}}{|v_{k}|}\right| = | p |

    Then, taking the limit where kk \to \infty, by (b) the following is obtained.

    limvkakvklimvkpL(vk)vk= \lim \limits_{ |v_{k}|\to \infty} \dfrac{a_{k}}{|v_{k}|} \le \lim \limits_{ |v_{k}|\to \infty} |p| -\dfrac{L(v_{k})}{|v_{k}|} = -\infty At this time, by the assumption that vk=|v_{k}|=\infty, aka_{k} must diverge faster to -\infty. However, this contradicts (eq1)\eqref{eq1}.

Since a contradiction is found in both possible cases, the assumption L(p)=L^{\ast}(p)=\infty is wrong. Therefore, the Legendre transform is well defined.

L(p)R L^{\ast}(p) \in \mathbb{R}

sup=max\sup=\max

This is equivalent to showing that there exists vpRnv_{p} \in \mathbb{R}^{n} satisfying the following conditions.

L(p)=pvpL(vp) L^{\ast}(p) = p\cdot v_{p}-L(v_{p})

First, by the definition of the Legendre transform(sup)(\sup), there exists a sequence {vk}\left\{ v_{k} \right\} satisfying the conditions below.

ak:=pvkL(vk)L(p)as k \begin{equation} a_{k} := p\cdot v_{k}-L(v_{k}) \to L^{\ast}(p) \quad \text{as } k \to \infty \label{eq2} \end{equation}

First, let’s assume that {vk}\left\{ v_{k} \right\} is not bounded. Then vk|v_{k}| \to \infty and as shown above, aka_{k} \to -\infty and this is a contradiction. Therefore, {vk}\left\{ v_{k} \right\} is bounded. Since {vk}\left\{ v_{k} \right\} is bounded, there exists a subsequence converging to vkvpv_{k} \to v_{p}. Therefore, the following holds.

pvkL(vk)pvpL(vp)as k p\cdot v_{k} - L(v_{k}) \to p \cdot v_{p} -L(v_{p}) \quad \text{as } k \to \infty

But since it was pvkL(vk)L(p)p\cdot v_{k}-L(v_{k}) \to L^{\ast}(p) from (eq2)\eqref{eq2}, the following holds.

pvpL(vp)=L(p) p \cdot v_{p} -L(v_{p})=L^{\ast}(p)


  1. Lawrence C. Evans, Partial Differential Equations (2nd Edition, 2010), p120 ↩︎