Issue with proof by contradiction of necessary second-order condition for convexity

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











up vote
-1
down vote

favorite












We wish to prove that if $f : K to Bbb R$ is a $mathcal C^2$, convex function on a convex domain $K subset Bbb R^n$, then it has a positive semidefinite Hessian matrix on every point $x in K$.



To do this, I have a proof by contradiction: we assume there's a point $bar x in K$ where the Hessian is not positive semidefinite. That should mean
$$
exists y in Bbb R^n : y^T nabla^2f(bar x) y < 0
$$
but then instead the proof seems to go on implying that $bar x^Tnabla^2f(bar x)bar x < 0$, while this does not seem true in general.



Or is it?



And hence how would you write such a proof (by contradiction)?







share|cite|improve this question

























    up vote
    -1
    down vote

    favorite












    We wish to prove that if $f : K to Bbb R$ is a $mathcal C^2$, convex function on a convex domain $K subset Bbb R^n$, then it has a positive semidefinite Hessian matrix on every point $x in K$.



    To do this, I have a proof by contradiction: we assume there's a point $bar x in K$ where the Hessian is not positive semidefinite. That should mean
    $$
    exists y in Bbb R^n : y^T nabla^2f(bar x) y < 0
    $$
    but then instead the proof seems to go on implying that $bar x^Tnabla^2f(bar x)bar x < 0$, while this does not seem true in general.



    Or is it?



    And hence how would you write such a proof (by contradiction)?







    share|cite|improve this question























      up vote
      -1
      down vote

      favorite









      up vote
      -1
      down vote

      favorite











      We wish to prove that if $f : K to Bbb R$ is a $mathcal C^2$, convex function on a convex domain $K subset Bbb R^n$, then it has a positive semidefinite Hessian matrix on every point $x in K$.



      To do this, I have a proof by contradiction: we assume there's a point $bar x in K$ where the Hessian is not positive semidefinite. That should mean
      $$
      exists y in Bbb R^n : y^T nabla^2f(bar x) y < 0
      $$
      but then instead the proof seems to go on implying that $bar x^Tnabla^2f(bar x)bar x < 0$, while this does not seem true in general.



      Or is it?



      And hence how would you write such a proof (by contradiction)?







      share|cite|improve this question













      We wish to prove that if $f : K to Bbb R$ is a $mathcal C^2$, convex function on a convex domain $K subset Bbb R^n$, then it has a positive semidefinite Hessian matrix on every point $x in K$.



      To do this, I have a proof by contradiction: we assume there's a point $bar x in K$ where the Hessian is not positive semidefinite. That should mean
      $$
      exists y in Bbb R^n : y^T nabla^2f(bar x) y < 0
      $$
      but then instead the proof seems to go on implying that $bar x^Tnabla^2f(bar x)bar x < 0$, while this does not seem true in general.



      Or is it?



      And hence how would you write such a proof (by contradiction)?









      share|cite|improve this question












      share|cite|improve this question




      share|cite|improve this question








      edited Jul 28 at 12:26
























      asked Jul 28 at 12:16









      mattecapu

      667617




      667617




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          -1
          down vote













          I think the problem is a subtle issue with the meaning of "positive semidefinite Hessian matrix on every point $x in K$".



          The actual theorem should be:




          Theorem. If $f : K to Bbb R$ is twice differentiable, convex function on the convex domain $K subseteq Bbb R^n$, then for every point $x in K$, the Hessian matrix $nabla^2 f(x)$ is positive semidefinite on every point $x in K$:
          $$
          forall y in K, quad y^Tnabla^2f(x)y geq 0
          $$




          So that the definiteness condition is stated for $K$. Now the negation of this fact is precisely that there exists an $bar x in K$ such that
          $$
          exists y in K, quad y^Tnabla^2(bar x)y < 0.
          $$






          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%2f2865208%2fissue-with-proof-by-contradiction-of-necessary-second-order-condition-for-convex%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            -1
            down vote













            I think the problem is a subtle issue with the meaning of "positive semidefinite Hessian matrix on every point $x in K$".



            The actual theorem should be:




            Theorem. If $f : K to Bbb R$ is twice differentiable, convex function on the convex domain $K subseteq Bbb R^n$, then for every point $x in K$, the Hessian matrix $nabla^2 f(x)$ is positive semidefinite on every point $x in K$:
            $$
            forall y in K, quad y^Tnabla^2f(x)y geq 0
            $$




            So that the definiteness condition is stated for $K$. Now the negation of this fact is precisely that there exists an $bar x in K$ such that
            $$
            exists y in K, quad y^Tnabla^2(bar x)y < 0.
            $$






            share|cite|improve this answer

























              up vote
              -1
              down vote













              I think the problem is a subtle issue with the meaning of "positive semidefinite Hessian matrix on every point $x in K$".



              The actual theorem should be:




              Theorem. If $f : K to Bbb R$ is twice differentiable, convex function on the convex domain $K subseteq Bbb R^n$, then for every point $x in K$, the Hessian matrix $nabla^2 f(x)$ is positive semidefinite on every point $x in K$:
              $$
              forall y in K, quad y^Tnabla^2f(x)y geq 0
              $$




              So that the definiteness condition is stated for $K$. Now the negation of this fact is precisely that there exists an $bar x in K$ such that
              $$
              exists y in K, quad y^Tnabla^2(bar x)y < 0.
              $$






              share|cite|improve this answer























                up vote
                -1
                down vote










                up vote
                -1
                down vote









                I think the problem is a subtle issue with the meaning of "positive semidefinite Hessian matrix on every point $x in K$".



                The actual theorem should be:




                Theorem. If $f : K to Bbb R$ is twice differentiable, convex function on the convex domain $K subseteq Bbb R^n$, then for every point $x in K$, the Hessian matrix $nabla^2 f(x)$ is positive semidefinite on every point $x in K$:
                $$
                forall y in K, quad y^Tnabla^2f(x)y geq 0
                $$




                So that the definiteness condition is stated for $K$. Now the negation of this fact is precisely that there exists an $bar x in K$ such that
                $$
                exists y in K, quad y^Tnabla^2(bar x)y < 0.
                $$






                share|cite|improve this answer













                I think the problem is a subtle issue with the meaning of "positive semidefinite Hessian matrix on every point $x in K$".



                The actual theorem should be:




                Theorem. If $f : K to Bbb R$ is twice differentiable, convex function on the convex domain $K subseteq Bbb R^n$, then for every point $x in K$, the Hessian matrix $nabla^2 f(x)$ is positive semidefinite on every point $x in K$:
                $$
                forall y in K, quad y^Tnabla^2f(x)y geq 0
                $$




                So that the definiteness condition is stated for $K$. Now the negation of this fact is precisely that there exists an $bar x in K$ such that
                $$
                exists y in K, quad y^Tnabla^2(bar x)y < 0.
                $$







                share|cite|improve this answer













                share|cite|improve this answer



                share|cite|improve this answer











                answered Jul 28 at 12:26









                mattecapu

                667617




                667617






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2865208%2fissue-with-proof-by-contradiction-of-necessary-second-order-condition-for-convex%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Comments

                    Popular posts from this blog

                    What is the equation of a 3D cone with generalised tilt?

                    Color the edges and diagonals of a regular polygon

                    Relationship between determinant of matrix and determinant of adjoint?