The Legendre transform of ##f(x) = \exp(\lvert x\rvert )##

Click For Summary
SUMMARY

The Legendre transform of the function f(x) = e^{|x|} is defined as f^{\ast}(p) = sup{xp - f(x) | x ∈ ℝ}. The resulting piecewise function is f^{\ast}(p) = p(ln p - 1) for p > 0, -1 for p = 0, and f(-p) for p < 0. However, the discussion reveals that this function is neither convex nor continuous across ℝ, raising concerns about the correctness of the Legendre transform application. The participant seeks clarification on potential misunderstandings or errors in their approach.

PREREQUISITES
  • Understanding of convex functions in real analysis
  • Familiarity with the concept of the Legendre transform
  • Knowledge of supremum and optimization techniques
  • Basic skills in plotting functions for analysis
NEXT STEPS
  • Study the properties of convex functions in detail
  • Learn about the conditions for the continuity of Legendre transforms
  • Explore optimization techniques for finding global maxima
  • Practice plotting functions like f(x) = e^{|x|} to visualize behavior
USEFUL FOR

Students and researchers in mathematics, particularly those focusing on real analysis, optimization, and convex analysis, will benefit from this discussion.

Wuberdall
Messages
32
Reaction score
0

Homework Statement


Let the single variable real function f:\mathbb{R}\rightarrow\mathbb{R} be given by f(x)=e^{|x|}.
Determine the Legendre transform of f.

Homework Equations


Let I\subseteq\mathbb{R}be an interval, and f:I\rightarrow\mathbb{R}a convex function. Then its Legendre transform is the function f^{\ast}:I^{\ast}\rightarrow\mathbb{R}defined by : f^{\ast}(p) = \sup\lbrace xp - f(x)\hspace{1mm}\vert\hspace{1mm}x\in\mathbb{R}\rbrace.

The Attempt at a Solution


The function f is clearly a convex function and the supremum can easily by evaluated by finding the global maximum for xp-f(x). This yields

f^{\ast}(p) = \left\lbrace<br /> \begin{aligned}<br /> &amp;p\big(\ln p - 1\big) \hspace{6pt},\hspace{12pt}p&gt;0 \\<br /> &amp;-1 \hspace{6pt},\hspace{46pt}p=0\\<br /> &amp;f(-p) \hspace{6pt},\hspace{36pt}p&lt;0<br /> \end{aligned}<br /> \right.

My problem is that this function isn't convex nor isn't continuous on \mathbb{R} as I would expect the Legendre transform to be... Have I misunderstood something or simply done the legendre transform wrong? If the latter what have I then done wrong?

Thanks in advance.
 
Physics news on Phys.org
Wuberdall said:

Homework Statement


Let the single variable real function f:\mathbb{R}\rightarrow\mathbb{R} be given by f(x)=e^{|x|}.
Determine the Legendre transform of f.

Homework Equations


Let I\subseteq\mathbb{R}be an interval, and f:I\rightarrow\mathbb{R}a convex function. Then its Legendre transform is the function f^{\ast}:I^{\ast}\rightarrow\mathbb{R}defined by : f^{\ast}(p) = \sup\lbrace xp - f(x)\hspace{1mm}\vert\hspace{1mm}x\in\mathbb{R}\rbrace.

The Attempt at a Solution


The function f is clearly a convex function and the supremum can easily by evaluated by finding the global maximum for xp-f(x). This yields

f^{\ast}(p) = \left\lbrace<br /> \begin{aligned}<br /> &amp;p\big(\ln p - 1\big) \hspace{6pt},\hspace{12pt}p&gt;0 \\<br /> &amp;-1 \hspace{6pt},\hspace{46pt}p=0\\<br /> &amp;f(-p) \hspace{6pt},\hspace{36pt}p&lt;0<br /> \end{aligned}<br /> \right.

My problem is that this function isn't convex nor isn't continuous on \mathbb{R} as I would expect the Legendre transform to be... Have I misunderstood something or simply done the legendre transform wrong? If the latter what have I then done wrong?

Thanks in advance.

I suggest you plot y = exp(|x|) over some x-interval (-a,a) to clarify your thoughts about the function.
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 17 ·
Replies
17
Views
2K
  • · Replies 6 ·
Replies
6
Views
2K
Replies
9
Views
2K
  • · Replies 2 ·
Replies
2
Views
9K
  • · Replies 1 ·
Replies
1
Views
2K