Niles
- 1,834
- 0
Hi guys
I am looking at f(x) = (|x|+1)2. I write this as
<br /> f(x) = \left\{ {\begin{array}{*{20}c}<br /> {x^2 + 1 + 2x\,\,\,\,\,\,\,\,\,\,\,\,\,for\,\,\,\,x > 0} \\<br /> {x^2 + 1 - 2x\,\,\,\,\,\,\,\,\,\,\,\,\,for\,\,\,\,x < 0} \\<br /> {1\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,for\,\,\,\,x = 0} \\<br /> \end{array}} \right.<br />
I want to find the Legendre transform of this function. For x>0 I get the Legendre transform
f*(p) = p2/4-p-1/2.
I am a little unsure of how this works. Because I need to find the Legendre transform of f for x<0 and x=0. But how do these solutions get "patched" together?
I am looking at f(x) = (|x|+1)2. I write this as
<br /> f(x) = \left\{ {\begin{array}{*{20}c}<br /> {x^2 + 1 + 2x\,\,\,\,\,\,\,\,\,\,\,\,\,for\,\,\,\,x > 0} \\<br /> {x^2 + 1 - 2x\,\,\,\,\,\,\,\,\,\,\,\,\,for\,\,\,\,x < 0} \\<br /> {1\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,for\,\,\,\,x = 0} \\<br /> \end{array}} \right.<br />
I want to find the Legendre transform of this function. For x>0 I get the Legendre transform
f*(p) = p2/4-p-1/2.
I am a little unsure of how this works. Because I need to find the Legendre transform of f for x<0 and x=0. But how do these solutions get "patched" together?