How to check for local extrema or saddle point given an semidefinite matrix

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











up vote
2
down vote

favorite












I've computed the Hessian of a given function $f(a,b,c) = y-asin(bx-c)$ and got the following result:



$beginpmatrix
0 & -xcdotcos(bx - c) & cos(bx - c) \
-xcdotcos(bx - c) & ax^2cdotsin(bx - c) & -axsin(bx - c) \
cos(bx - c) & -axcdotsin(bx - c) & acdotsin(bx - c)
endpmatrix$



This matrix is positive semi-definite and thus one can not state for a given point $P=(a_i,b_i,c_i)$ if it is a local min, max or a saddle point. Is there any other way to explicitly determine if we have a loc. min, max or saddle point?







share|cite|improve this question





















  • Would you please tell us how $f$ is defined?
    – José Carlos Santos
    Aug 2 at 15:15










  • oh absolutely! I apologize for missing this. I'll edit my question.
    – Daniyal
    Aug 2 at 15:16










  • positive or negative semi definite ?
    – Ahmad Bazzi
    Aug 2 at 15:18










  • how have you determined the signature?
    – gimusi
    Aug 2 at 15:20











  • @AhmadBazzi, positive-semidefinite. I've set in this particular case x=4, y=3 and introduced as the point P = (1,3,2). Given x,y and P I computed the determinant for each of the leading principal minors
    – Daniyal
    Aug 2 at 15:24














up vote
2
down vote

favorite












I've computed the Hessian of a given function $f(a,b,c) = y-asin(bx-c)$ and got the following result:



$beginpmatrix
0 & -xcdotcos(bx - c) & cos(bx - c) \
-xcdotcos(bx - c) & ax^2cdotsin(bx - c) & -axsin(bx - c) \
cos(bx - c) & -axcdotsin(bx - c) & acdotsin(bx - c)
endpmatrix$



This matrix is positive semi-definite and thus one can not state for a given point $P=(a_i,b_i,c_i)$ if it is a local min, max or a saddle point. Is there any other way to explicitly determine if we have a loc. min, max or saddle point?







share|cite|improve this question





















  • Would you please tell us how $f$ is defined?
    – José Carlos Santos
    Aug 2 at 15:15










  • oh absolutely! I apologize for missing this. I'll edit my question.
    – Daniyal
    Aug 2 at 15:16










  • positive or negative semi definite ?
    – Ahmad Bazzi
    Aug 2 at 15:18










  • how have you determined the signature?
    – gimusi
    Aug 2 at 15:20











  • @AhmadBazzi, positive-semidefinite. I've set in this particular case x=4, y=3 and introduced as the point P = (1,3,2). Given x,y and P I computed the determinant for each of the leading principal minors
    – Daniyal
    Aug 2 at 15:24












up vote
2
down vote

favorite









up vote
2
down vote

favorite











I've computed the Hessian of a given function $f(a,b,c) = y-asin(bx-c)$ and got the following result:



$beginpmatrix
0 & -xcdotcos(bx - c) & cos(bx - c) \
-xcdotcos(bx - c) & ax^2cdotsin(bx - c) & -axsin(bx - c) \
cos(bx - c) & -axcdotsin(bx - c) & acdotsin(bx - c)
endpmatrix$



This matrix is positive semi-definite and thus one can not state for a given point $P=(a_i,b_i,c_i)$ if it is a local min, max or a saddle point. Is there any other way to explicitly determine if we have a loc. min, max or saddle point?







share|cite|improve this question













I've computed the Hessian of a given function $f(a,b,c) = y-asin(bx-c)$ and got the following result:



$beginpmatrix
0 & -xcdotcos(bx - c) & cos(bx - c) \
-xcdotcos(bx - c) & ax^2cdotsin(bx - c) & -axsin(bx - c) \
cos(bx - c) & -axcdotsin(bx - c) & acdotsin(bx - c)
endpmatrix$



This matrix is positive semi-definite and thus one can not state for a given point $P=(a_i,b_i,c_i)$ if it is a local min, max or a saddle point. Is there any other way to explicitly determine if we have a loc. min, max or saddle point?









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited Aug 2 at 15:28









Cornman

2,27521027




2,27521027









asked Aug 2 at 15:14









Daniyal

15317




15317











  • Would you please tell us how $f$ is defined?
    – José Carlos Santos
    Aug 2 at 15:15










  • oh absolutely! I apologize for missing this. I'll edit my question.
    – Daniyal
    Aug 2 at 15:16










  • positive or negative semi definite ?
    – Ahmad Bazzi
    Aug 2 at 15:18










  • how have you determined the signature?
    – gimusi
    Aug 2 at 15:20











  • @AhmadBazzi, positive-semidefinite. I've set in this particular case x=4, y=3 and introduced as the point P = (1,3,2). Given x,y and P I computed the determinant for each of the leading principal minors
    – Daniyal
    Aug 2 at 15:24
















  • Would you please tell us how $f$ is defined?
    – José Carlos Santos
    Aug 2 at 15:15










  • oh absolutely! I apologize for missing this. I'll edit my question.
    – Daniyal
    Aug 2 at 15:16










  • positive or negative semi definite ?
    – Ahmad Bazzi
    Aug 2 at 15:18










  • how have you determined the signature?
    – gimusi
    Aug 2 at 15:20











  • @AhmadBazzi, positive-semidefinite. I've set in this particular case x=4, y=3 and introduced as the point P = (1,3,2). Given x,y and P I computed the determinant for each of the leading principal minors
    – Daniyal
    Aug 2 at 15:24















Would you please tell us how $f$ is defined?
– José Carlos Santos
Aug 2 at 15:15




Would you please tell us how $f$ is defined?
– José Carlos Santos
Aug 2 at 15:15












oh absolutely! I apologize for missing this. I'll edit my question.
– Daniyal
Aug 2 at 15:16




oh absolutely! I apologize for missing this. I'll edit my question.
– Daniyal
Aug 2 at 15:16












positive or negative semi definite ?
– Ahmad Bazzi
Aug 2 at 15:18




positive or negative semi definite ?
– Ahmad Bazzi
Aug 2 at 15:18












how have you determined the signature?
– gimusi
Aug 2 at 15:20





how have you determined the signature?
– gimusi
Aug 2 at 15:20













@AhmadBazzi, positive-semidefinite. I've set in this particular case x=4, y=3 and introduced as the point P = (1,3,2). Given x,y and P I computed the determinant for each of the leading principal minors
– Daniyal
Aug 2 at 15:24




@AhmadBazzi, positive-semidefinite. I've set in this particular case x=4, y=3 and introduced as the point P = (1,3,2). Given x,y and P I computed the determinant for each of the leading principal minors
– Daniyal
Aug 2 at 15:24










1 Answer
1






active

oldest

votes

















up vote
0
down vote













With reference to the given matrix, we have that



$$det(asin(bx - c))=asin(bx - c)$$



$$beginvmatrix
0 & -xcos(bx - c) \
-xcos(bx - c) & ax^2sin(bx - c) \
endvmatrix=-x^2cos^2(bx - c)$$



$$beginvmatrix
0 & -xcdotcos(bx - c) & cos(bx - c) \
-xcdotcos(bx - c) & ax^2cdotsin(bx - c) & -axsin(bx - c) \
cos(bx - c) & -axcdotsin(bx - c) & acdotsin(bx - c)
endvmatrix=$$
$$=xcdotcos(bx - c)(-axcos(bx - c)sin(bx - c)+axcos(bx - c)sin(bx - c))+cos(bx - c)(ax^2cos(bx - c)sin(bx - c)-ax^2cos(bx - c)sin(bx - c))=0$$



therefore for $x^2cos^2(bx - c)neq 0$



  • $asin(bx - c)le 0$ the matrix is negative semidefinite


  • $asin(bx - c)>0$ the matrix is indefinite


and for $x^2cos^2(bx - c)= 0$



  • $asin(bx - c)< 0$ the matrix is negative semidefinite


  • $asin(bx - c)>0$ the matrix is positive semidefinite


Note that the condition for critical points implies



  • $f_a=-sin(bx - c)=0implies sin(bx - c)=0$


  • $f_b=-axsin(bx - c)=0implies sin(bx - c)=0 lor x=0$


  • $f_c=asin(bx - c)=0implies sin(bx - c)=0$


therefore



  • $cos(bx - c)=pm 1$

and the expression for the Hessian simplifies.






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%2f2870172%2fhow-to-check-for-local-extrema-or-saddle-point-given-an-semidefinite-matrix%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
    0
    down vote













    With reference to the given matrix, we have that



    $$det(asin(bx - c))=asin(bx - c)$$



    $$beginvmatrix
    0 & -xcos(bx - c) \
    -xcos(bx - c) & ax^2sin(bx - c) \
    endvmatrix=-x^2cos^2(bx - c)$$



    $$beginvmatrix
    0 & -xcdotcos(bx - c) & cos(bx - c) \
    -xcdotcos(bx - c) & ax^2cdotsin(bx - c) & -axsin(bx - c) \
    cos(bx - c) & -axcdotsin(bx - c) & acdotsin(bx - c)
    endvmatrix=$$
    $$=xcdotcos(bx - c)(-axcos(bx - c)sin(bx - c)+axcos(bx - c)sin(bx - c))+cos(bx - c)(ax^2cos(bx - c)sin(bx - c)-ax^2cos(bx - c)sin(bx - c))=0$$



    therefore for $x^2cos^2(bx - c)neq 0$



    • $asin(bx - c)le 0$ the matrix is negative semidefinite


    • $asin(bx - c)>0$ the matrix is indefinite


    and for $x^2cos^2(bx - c)= 0$



    • $asin(bx - c)< 0$ the matrix is negative semidefinite


    • $asin(bx - c)>0$ the matrix is positive semidefinite


    Note that the condition for critical points implies



    • $f_a=-sin(bx - c)=0implies sin(bx - c)=0$


    • $f_b=-axsin(bx - c)=0implies sin(bx - c)=0 lor x=0$


    • $f_c=asin(bx - c)=0implies sin(bx - c)=0$


    therefore



    • $cos(bx - c)=pm 1$

    and the expression for the Hessian simplifies.






    share|cite|improve this answer



























      up vote
      0
      down vote













      With reference to the given matrix, we have that



      $$det(asin(bx - c))=asin(bx - c)$$



      $$beginvmatrix
      0 & -xcos(bx - c) \
      -xcos(bx - c) & ax^2sin(bx - c) \
      endvmatrix=-x^2cos^2(bx - c)$$



      $$beginvmatrix
      0 & -xcdotcos(bx - c) & cos(bx - c) \
      -xcdotcos(bx - c) & ax^2cdotsin(bx - c) & -axsin(bx - c) \
      cos(bx - c) & -axcdotsin(bx - c) & acdotsin(bx - c)
      endvmatrix=$$
      $$=xcdotcos(bx - c)(-axcos(bx - c)sin(bx - c)+axcos(bx - c)sin(bx - c))+cos(bx - c)(ax^2cos(bx - c)sin(bx - c)-ax^2cos(bx - c)sin(bx - c))=0$$



      therefore for $x^2cos^2(bx - c)neq 0$



      • $asin(bx - c)le 0$ the matrix is negative semidefinite


      • $asin(bx - c)>0$ the matrix is indefinite


      and for $x^2cos^2(bx - c)= 0$



      • $asin(bx - c)< 0$ the matrix is negative semidefinite


      • $asin(bx - c)>0$ the matrix is positive semidefinite


      Note that the condition for critical points implies



      • $f_a=-sin(bx - c)=0implies sin(bx - c)=0$


      • $f_b=-axsin(bx - c)=0implies sin(bx - c)=0 lor x=0$


      • $f_c=asin(bx - c)=0implies sin(bx - c)=0$


      therefore



      • $cos(bx - c)=pm 1$

      and the expression for the Hessian simplifies.






      share|cite|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        With reference to the given matrix, we have that



        $$det(asin(bx - c))=asin(bx - c)$$



        $$beginvmatrix
        0 & -xcos(bx - c) \
        -xcos(bx - c) & ax^2sin(bx - c) \
        endvmatrix=-x^2cos^2(bx - c)$$



        $$beginvmatrix
        0 & -xcdotcos(bx - c) & cos(bx - c) \
        -xcdotcos(bx - c) & ax^2cdotsin(bx - c) & -axsin(bx - c) \
        cos(bx - c) & -axcdotsin(bx - c) & acdotsin(bx - c)
        endvmatrix=$$
        $$=xcdotcos(bx - c)(-axcos(bx - c)sin(bx - c)+axcos(bx - c)sin(bx - c))+cos(bx - c)(ax^2cos(bx - c)sin(bx - c)-ax^2cos(bx - c)sin(bx - c))=0$$



        therefore for $x^2cos^2(bx - c)neq 0$



        • $asin(bx - c)le 0$ the matrix is negative semidefinite


        • $asin(bx - c)>0$ the matrix is indefinite


        and for $x^2cos^2(bx - c)= 0$



        • $asin(bx - c)< 0$ the matrix is negative semidefinite


        • $asin(bx - c)>0$ the matrix is positive semidefinite


        Note that the condition for critical points implies



        • $f_a=-sin(bx - c)=0implies sin(bx - c)=0$


        • $f_b=-axsin(bx - c)=0implies sin(bx - c)=0 lor x=0$


        • $f_c=asin(bx - c)=0implies sin(bx - c)=0$


        therefore



        • $cos(bx - c)=pm 1$

        and the expression for the Hessian simplifies.






        share|cite|improve this answer















        With reference to the given matrix, we have that



        $$det(asin(bx - c))=asin(bx - c)$$



        $$beginvmatrix
        0 & -xcos(bx - c) \
        -xcos(bx - c) & ax^2sin(bx - c) \
        endvmatrix=-x^2cos^2(bx - c)$$



        $$beginvmatrix
        0 & -xcdotcos(bx - c) & cos(bx - c) \
        -xcdotcos(bx - c) & ax^2cdotsin(bx - c) & -axsin(bx - c) \
        cos(bx - c) & -axcdotsin(bx - c) & acdotsin(bx - c)
        endvmatrix=$$
        $$=xcdotcos(bx - c)(-axcos(bx - c)sin(bx - c)+axcos(bx - c)sin(bx - c))+cos(bx - c)(ax^2cos(bx - c)sin(bx - c)-ax^2cos(bx - c)sin(bx - c))=0$$



        therefore for $x^2cos^2(bx - c)neq 0$



        • $asin(bx - c)le 0$ the matrix is negative semidefinite


        • $asin(bx - c)>0$ the matrix is indefinite


        and for $x^2cos^2(bx - c)= 0$



        • $asin(bx - c)< 0$ the matrix is negative semidefinite


        • $asin(bx - c)>0$ the matrix is positive semidefinite


        Note that the condition for critical points implies



        • $f_a=-sin(bx - c)=0implies sin(bx - c)=0$


        • $f_b=-axsin(bx - c)=0implies sin(bx - c)=0 lor x=0$


        • $f_c=asin(bx - c)=0implies sin(bx - c)=0$


        therefore



        • $cos(bx - c)=pm 1$

        and the expression for the Hessian simplifies.







        share|cite|improve this answer















        share|cite|improve this answer



        share|cite|improve this answer








        edited Aug 2 at 17:46


























        answered Aug 2 at 15:43









        gimusi

        63.8k73480




        63.8k73480






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2870172%2fhow-to-check-for-local-extrema-or-saddle-point-given-an-semidefinite-matrix%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?