Why is the conjugate of a function always convex?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite
1












The conjugate of a function $f$ is given (for some $y in operatornamedom(f)$) as:



$$f^*(y) = sup_x in operatornamedom(f)left(y^Tx - f(x)right)$$



It is known that $f^*$ is convex even if $f$ is not. I would like to know how prove this.










share|cite|improve this question

























    up vote
    2
    down vote

    favorite
    1












    The conjugate of a function $f$ is given (for some $y in operatornamedom(f)$) as:



    $$f^*(y) = sup_x in operatornamedom(f)left(y^Tx - f(x)right)$$



    It is known that $f^*$ is convex even if $f$ is not. I would like to know how prove this.










    share|cite|improve this question























      up vote
      2
      down vote

      favorite
      1









      up vote
      2
      down vote

      favorite
      1






      1





      The conjugate of a function $f$ is given (for some $y in operatornamedom(f)$) as:



      $$f^*(y) = sup_x in operatornamedom(f)left(y^Tx - f(x)right)$$



      It is known that $f^*$ is convex even if $f$ is not. I would like to know how prove this.










      share|cite|improve this question













      The conjugate of a function $f$ is given (for some $y in operatornamedom(f)$) as:



      $$f^*(y) = sup_x in operatornamedom(f)left(y^Tx - f(x)right)$$



      It is known that $f^*$ is convex even if $f$ is not. I would like to know how prove this.







      convex-analysis convex-optimization






      share|cite|improve this question













      share|cite|improve this question











      share|cite|improve this question




      share|cite|improve this question










      asked 3 hours ago









      Nurmister

      909




      909




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          3
          down vote



          accepted










          For any given $x in operatornamedom f$, the function:
          $$y mapsto y^top x - f(x)$$
          is an affine function, which is convex and lower semicontinuous (and, indeed, continuous). The epigraph of these functions is therefore closed and convex.



          Then, $f^*$ is the pointwise supremum of the above functions, and its epigraph is the intersection of the above affine functions' epigraphs. Each are closed and convex, proving the epigraph of $f^*$ is closed and convex, thus $f^*$ is convex and lower semicontinuous.






          share|cite|improve this answer




















          • I think my answer covers it, but your use of epigraphs to show convexity is a good technique I forgot about.
            – Nurmister
            1 hour ago

















          up vote
          2
          down vote













          As I wrote this question I recalled the following fact, and have attempted to prove this property of conjugate functions using it.




          If $h(y,,x)$ is convex in $y$ for each $x in mathcalA$, then $g(y) = sup_x in mathcalAh(y,,x)$ (the pointwise supremum) is convex.




          Let us try to apply this fact to our problem, finding the "equivalent terms":




          1. $f^*(y)$ is $g(y)$


          2. $mathcalA$ is $operatornamedom(f)$


          3. $y^Tx - f(x)$ is $h(y,,x)$

          Do these "equivalent" terms meet the conditions they need to for us to be able to use this fact? I.e.,




          $forall x in operatornamedom(f),,textis,h(y,,x) := y^Tx - f(x)$ convex in $y$?




          Let us try to prove this using Jensen's inequality.



          For some $x,,a,,b in operatornamedom(f),,theta in [0,,1]$ consider:
          beginequation*
          beginaligned
          & h(theta a + (1 - theta) b,,x)\
          & = (theta a + (1 - theta) b)^Tx - f(x)\
          & = theta a^T x + (1 - theta) b^T x - f(x)\
          & = theta a^T x - theta f(x) + (1 - theta) b^T x - (1 - theta) f(x)\
          & = theta (a^T x - f(x)) + (1 - theta) (b^T x - f(x))\
          & = theta h(a,,x) + (1 - theta) h(b,,x)\
          endaligned
          endequation*



          Since equality always holds, $h(y,,x)$ is convex in $y$.



          Now that I have done this, I realize the following: $h(y,,x)$ was just an affine function in $y$, meaning that the pointwise supremum, i.e. the conjugate of $f$, will also be convex.






          share|cite|improve this answer




















            Your Answer




            StackExchange.ifUsing("editor", function ()
            return StackExchange.using("mathjaxEditing", function ()
            StackExchange.MarkdownEditor.creationCallbacks.add(function (editor, postfix)
            StackExchange.mathjaxEditing.prepareWmdForMathJax(editor, postfix, [["$", "$"], ["\\(","\\)"]]);
            );
            );
            , "mathjax-editing");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "69"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            noCode: true, onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2940385%2fwhy-is-the-conjugate-of-a-function-always-convex%23new-answer', 'question_page');

            );

            Post as a guest






























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            3
            down vote



            accepted










            For any given $x in operatornamedom f$, the function:
            $$y mapsto y^top x - f(x)$$
            is an affine function, which is convex and lower semicontinuous (and, indeed, continuous). The epigraph of these functions is therefore closed and convex.



            Then, $f^*$ is the pointwise supremum of the above functions, and its epigraph is the intersection of the above affine functions' epigraphs. Each are closed and convex, proving the epigraph of $f^*$ is closed and convex, thus $f^*$ is convex and lower semicontinuous.






            share|cite|improve this answer




















            • I think my answer covers it, but your use of epigraphs to show convexity is a good technique I forgot about.
              – Nurmister
              1 hour ago














            up vote
            3
            down vote



            accepted










            For any given $x in operatornamedom f$, the function:
            $$y mapsto y^top x - f(x)$$
            is an affine function, which is convex and lower semicontinuous (and, indeed, continuous). The epigraph of these functions is therefore closed and convex.



            Then, $f^*$ is the pointwise supremum of the above functions, and its epigraph is the intersection of the above affine functions' epigraphs. Each are closed and convex, proving the epigraph of $f^*$ is closed and convex, thus $f^*$ is convex and lower semicontinuous.






            share|cite|improve this answer




















            • I think my answer covers it, but your use of epigraphs to show convexity is a good technique I forgot about.
              – Nurmister
              1 hour ago












            up vote
            3
            down vote



            accepted







            up vote
            3
            down vote



            accepted






            For any given $x in operatornamedom f$, the function:
            $$y mapsto y^top x - f(x)$$
            is an affine function, which is convex and lower semicontinuous (and, indeed, continuous). The epigraph of these functions is therefore closed and convex.



            Then, $f^*$ is the pointwise supremum of the above functions, and its epigraph is the intersection of the above affine functions' epigraphs. Each are closed and convex, proving the epigraph of $f^*$ is closed and convex, thus $f^*$ is convex and lower semicontinuous.






            share|cite|improve this answer












            For any given $x in operatornamedom f$, the function:
            $$y mapsto y^top x - f(x)$$
            is an affine function, which is convex and lower semicontinuous (and, indeed, continuous). The epigraph of these functions is therefore closed and convex.



            Then, $f^*$ is the pointwise supremum of the above functions, and its epigraph is the intersection of the above affine functions' epigraphs. Each are closed and convex, proving the epigraph of $f^*$ is closed and convex, thus $f^*$ is convex and lower semicontinuous.







            share|cite|improve this answer












            share|cite|improve this answer



            share|cite|improve this answer










            answered 2 hours ago









            Theo Bendit

            14.6k12045




            14.6k12045











            • I think my answer covers it, but your use of epigraphs to show convexity is a good technique I forgot about.
              – Nurmister
              1 hour ago
















            • I think my answer covers it, but your use of epigraphs to show convexity is a good technique I forgot about.
              – Nurmister
              1 hour ago















            I think my answer covers it, but your use of epigraphs to show convexity is a good technique I forgot about.
            – Nurmister
            1 hour ago




            I think my answer covers it, but your use of epigraphs to show convexity is a good technique I forgot about.
            – Nurmister
            1 hour ago










            up vote
            2
            down vote













            As I wrote this question I recalled the following fact, and have attempted to prove this property of conjugate functions using it.




            If $h(y,,x)$ is convex in $y$ for each $x in mathcalA$, then $g(y) = sup_x in mathcalAh(y,,x)$ (the pointwise supremum) is convex.




            Let us try to apply this fact to our problem, finding the "equivalent terms":




            1. $f^*(y)$ is $g(y)$


            2. $mathcalA$ is $operatornamedom(f)$


            3. $y^Tx - f(x)$ is $h(y,,x)$

            Do these "equivalent" terms meet the conditions they need to for us to be able to use this fact? I.e.,




            $forall x in operatornamedom(f),,textis,h(y,,x) := y^Tx - f(x)$ convex in $y$?




            Let us try to prove this using Jensen's inequality.



            For some $x,,a,,b in operatornamedom(f),,theta in [0,,1]$ consider:
            beginequation*
            beginaligned
            & h(theta a + (1 - theta) b,,x)\
            & = (theta a + (1 - theta) b)^Tx - f(x)\
            & = theta a^T x + (1 - theta) b^T x - f(x)\
            & = theta a^T x - theta f(x) + (1 - theta) b^T x - (1 - theta) f(x)\
            & = theta (a^T x - f(x)) + (1 - theta) (b^T x - f(x))\
            & = theta h(a,,x) + (1 - theta) h(b,,x)\
            endaligned
            endequation*



            Since equality always holds, $h(y,,x)$ is convex in $y$.



            Now that I have done this, I realize the following: $h(y,,x)$ was just an affine function in $y$, meaning that the pointwise supremum, i.e. the conjugate of $f$, will also be convex.






            share|cite|improve this answer
























              up vote
              2
              down vote













              As I wrote this question I recalled the following fact, and have attempted to prove this property of conjugate functions using it.




              If $h(y,,x)$ is convex in $y$ for each $x in mathcalA$, then $g(y) = sup_x in mathcalAh(y,,x)$ (the pointwise supremum) is convex.




              Let us try to apply this fact to our problem, finding the "equivalent terms":




              1. $f^*(y)$ is $g(y)$


              2. $mathcalA$ is $operatornamedom(f)$


              3. $y^Tx - f(x)$ is $h(y,,x)$

              Do these "equivalent" terms meet the conditions they need to for us to be able to use this fact? I.e.,




              $forall x in operatornamedom(f),,textis,h(y,,x) := y^Tx - f(x)$ convex in $y$?




              Let us try to prove this using Jensen's inequality.



              For some $x,,a,,b in operatornamedom(f),,theta in [0,,1]$ consider:
              beginequation*
              beginaligned
              & h(theta a + (1 - theta) b,,x)\
              & = (theta a + (1 - theta) b)^Tx - f(x)\
              & = theta a^T x + (1 - theta) b^T x - f(x)\
              & = theta a^T x - theta f(x) + (1 - theta) b^T x - (1 - theta) f(x)\
              & = theta (a^T x - f(x)) + (1 - theta) (b^T x - f(x))\
              & = theta h(a,,x) + (1 - theta) h(b,,x)\
              endaligned
              endequation*



              Since equality always holds, $h(y,,x)$ is convex in $y$.



              Now that I have done this, I realize the following: $h(y,,x)$ was just an affine function in $y$, meaning that the pointwise supremum, i.e. the conjugate of $f$, will also be convex.






              share|cite|improve this answer






















                up vote
                2
                down vote










                up vote
                2
                down vote









                As I wrote this question I recalled the following fact, and have attempted to prove this property of conjugate functions using it.




                If $h(y,,x)$ is convex in $y$ for each $x in mathcalA$, then $g(y) = sup_x in mathcalAh(y,,x)$ (the pointwise supremum) is convex.




                Let us try to apply this fact to our problem, finding the "equivalent terms":




                1. $f^*(y)$ is $g(y)$


                2. $mathcalA$ is $operatornamedom(f)$


                3. $y^Tx - f(x)$ is $h(y,,x)$

                Do these "equivalent" terms meet the conditions they need to for us to be able to use this fact? I.e.,




                $forall x in operatornamedom(f),,textis,h(y,,x) := y^Tx - f(x)$ convex in $y$?




                Let us try to prove this using Jensen's inequality.



                For some $x,,a,,b in operatornamedom(f),,theta in [0,,1]$ consider:
                beginequation*
                beginaligned
                & h(theta a + (1 - theta) b,,x)\
                & = (theta a + (1 - theta) b)^Tx - f(x)\
                & = theta a^T x + (1 - theta) b^T x - f(x)\
                & = theta a^T x - theta f(x) + (1 - theta) b^T x - (1 - theta) f(x)\
                & = theta (a^T x - f(x)) + (1 - theta) (b^T x - f(x))\
                & = theta h(a,,x) + (1 - theta) h(b,,x)\
                endaligned
                endequation*



                Since equality always holds, $h(y,,x)$ is convex in $y$.



                Now that I have done this, I realize the following: $h(y,,x)$ was just an affine function in $y$, meaning that the pointwise supremum, i.e. the conjugate of $f$, will also be convex.






                share|cite|improve this answer












                As I wrote this question I recalled the following fact, and have attempted to prove this property of conjugate functions using it.




                If $h(y,,x)$ is convex in $y$ for each $x in mathcalA$, then $g(y) = sup_x in mathcalAh(y,,x)$ (the pointwise supremum) is convex.




                Let us try to apply this fact to our problem, finding the "equivalent terms":




                1. $f^*(y)$ is $g(y)$


                2. $mathcalA$ is $operatornamedom(f)$


                3. $y^Tx - f(x)$ is $h(y,,x)$

                Do these "equivalent" terms meet the conditions they need to for us to be able to use this fact? I.e.,




                $forall x in operatornamedom(f),,textis,h(y,,x) := y^Tx - f(x)$ convex in $y$?




                Let us try to prove this using Jensen's inequality.



                For some $x,,a,,b in operatornamedom(f),,theta in [0,,1]$ consider:
                beginequation*
                beginaligned
                & h(theta a + (1 - theta) b,,x)\
                & = (theta a + (1 - theta) b)^Tx - f(x)\
                & = theta a^T x + (1 - theta) b^T x - f(x)\
                & = theta a^T x - theta f(x) + (1 - theta) b^T x - (1 - theta) f(x)\
                & = theta (a^T x - f(x)) + (1 - theta) (b^T x - f(x))\
                & = theta h(a,,x) + (1 - theta) h(b,,x)\
                endaligned
                endequation*



                Since equality always holds, $h(y,,x)$ is convex in $y$.



                Now that I have done this, I realize the following: $h(y,,x)$ was just an affine function in $y$, meaning that the pointwise supremum, i.e. the conjugate of $f$, will also be convex.







                share|cite|improve this answer












                share|cite|improve this answer



                share|cite|improve this answer










                answered 3 hours ago









                Nurmister

                909




                909



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2940385%2fwhy-is-the-conjugate-of-a-function-always-convex%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    What does second last employer means? [closed]

                    List of Gilmore Girls characters

                    Confectionery