Find critical points (minima) from gradient (2D vector)

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











up vote
0
down vote

favorite












I'm trying to find critical points (minima) for a gradient in 2D space. The following are partial derivative and its polynomial equation:
enter image description here



partial derivative



To find critical points I will need to set gradient to 0 and solve for 2 vectors span across $x_1$ and $x_2$. Could anyone provide steps in finding critical point for multi-variable equations? I'm trying to self-study and having this problem solved as a reference will be very helpful to my learning progress.



Thank you!







share|cite|improve this question

















  • 2




    The main problem is the solution for a nonlinear equations system. In general this should be done using iterative numerical methods but in the present case, due to a special formula structure, the solution is quite simple. Think that adding the two equations you get $8(x_1+x_2) = 0$ so $x_1 = - x_2$ and now the solution appears $-4x_1^3+8 x_1+1=0$ that can be solved by Cardano's formula.
    – Cesareo
    Jul 22 at 8:31










  • The objective function is polynomial. Hence, so is the gradient. Thus, finding where the gradient vanishes boils down to solving a system of polynomial equations. In this case, it is easy. For harder systems, take a look at Gröbner bases.
    – Rodrigo de Azevedo
    Jul 22 at 15:22











  • @RodrigodeAzevedo My initial thought of the question was not about the concept , but more of how I’m able solve the problem in exam setting with limited time available. Is Cardano the only way to solve for minima vectors?
    – lydias
    Jul 22 at 15:28










  • If you add the two cubic equations, you obtain $8 x_1 + 8 x_2 = 0$. Hence, $x_2 = -x_1$, or $x_1 = - x_2$. Substituting, you obtain a cubic equation in either $x_1$ or $x_2$. Some cubic equations can be solved by visual inspection, if the exam question is designed properly. I do not know what you mean by "Cardano".
    – Rodrigo de Azevedo
    Jul 22 at 15:33











  • @RodrigodeAzevedo Cardano as in Cardano formula, which will be very time consuming in exam setting.
    – lydias
    Jul 22 at 15:35














up vote
0
down vote

favorite












I'm trying to find critical points (minima) for a gradient in 2D space. The following are partial derivative and its polynomial equation:
enter image description here



partial derivative



To find critical points I will need to set gradient to 0 and solve for 2 vectors span across $x_1$ and $x_2$. Could anyone provide steps in finding critical point for multi-variable equations? I'm trying to self-study and having this problem solved as a reference will be very helpful to my learning progress.



Thank you!







share|cite|improve this question

















  • 2




    The main problem is the solution for a nonlinear equations system. In general this should be done using iterative numerical methods but in the present case, due to a special formula structure, the solution is quite simple. Think that adding the two equations you get $8(x_1+x_2) = 0$ so $x_1 = - x_2$ and now the solution appears $-4x_1^3+8 x_1+1=0$ that can be solved by Cardano's formula.
    – Cesareo
    Jul 22 at 8:31










  • The objective function is polynomial. Hence, so is the gradient. Thus, finding where the gradient vanishes boils down to solving a system of polynomial equations. In this case, it is easy. For harder systems, take a look at Gröbner bases.
    – Rodrigo de Azevedo
    Jul 22 at 15:22











  • @RodrigodeAzevedo My initial thought of the question was not about the concept , but more of how I’m able solve the problem in exam setting with limited time available. Is Cardano the only way to solve for minima vectors?
    – lydias
    Jul 22 at 15:28










  • If you add the two cubic equations, you obtain $8 x_1 + 8 x_2 = 0$. Hence, $x_2 = -x_1$, or $x_1 = - x_2$. Substituting, you obtain a cubic equation in either $x_1$ or $x_2$. Some cubic equations can be solved by visual inspection, if the exam question is designed properly. I do not know what you mean by "Cardano".
    – Rodrigo de Azevedo
    Jul 22 at 15:33











  • @RodrigodeAzevedo Cardano as in Cardano formula, which will be very time consuming in exam setting.
    – lydias
    Jul 22 at 15:35












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I'm trying to find critical points (minima) for a gradient in 2D space. The following are partial derivative and its polynomial equation:
enter image description here



partial derivative



To find critical points I will need to set gradient to 0 and solve for 2 vectors span across $x_1$ and $x_2$. Could anyone provide steps in finding critical point for multi-variable equations? I'm trying to self-study and having this problem solved as a reference will be very helpful to my learning progress.



Thank you!







share|cite|improve this question













I'm trying to find critical points (minima) for a gradient in 2D space. The following are partial derivative and its polynomial equation:
enter image description here



partial derivative



To find critical points I will need to set gradient to 0 and solve for 2 vectors span across $x_1$ and $x_2$. Could anyone provide steps in finding critical point for multi-variable equations? I'm trying to self-study and having this problem solved as a reference will be very helpful to my learning progress.



Thank you!









share|cite|improve this question












share|cite|improve this question




share|cite|improve this question








edited Jul 22 at 15:29
























asked Jul 22 at 4:07









lydias

808




808







  • 2




    The main problem is the solution for a nonlinear equations system. In general this should be done using iterative numerical methods but in the present case, due to a special formula structure, the solution is quite simple. Think that adding the two equations you get $8(x_1+x_2) = 0$ so $x_1 = - x_2$ and now the solution appears $-4x_1^3+8 x_1+1=0$ that can be solved by Cardano's formula.
    – Cesareo
    Jul 22 at 8:31










  • The objective function is polynomial. Hence, so is the gradient. Thus, finding where the gradient vanishes boils down to solving a system of polynomial equations. In this case, it is easy. For harder systems, take a look at Gröbner bases.
    – Rodrigo de Azevedo
    Jul 22 at 15:22











  • @RodrigodeAzevedo My initial thought of the question was not about the concept , but more of how I’m able solve the problem in exam setting with limited time available. Is Cardano the only way to solve for minima vectors?
    – lydias
    Jul 22 at 15:28










  • If you add the two cubic equations, you obtain $8 x_1 + 8 x_2 = 0$. Hence, $x_2 = -x_1$, or $x_1 = - x_2$. Substituting, you obtain a cubic equation in either $x_1$ or $x_2$. Some cubic equations can be solved by visual inspection, if the exam question is designed properly. I do not know what you mean by "Cardano".
    – Rodrigo de Azevedo
    Jul 22 at 15:33











  • @RodrigodeAzevedo Cardano as in Cardano formula, which will be very time consuming in exam setting.
    – lydias
    Jul 22 at 15:35












  • 2




    The main problem is the solution for a nonlinear equations system. In general this should be done using iterative numerical methods but in the present case, due to a special formula structure, the solution is quite simple. Think that adding the two equations you get $8(x_1+x_2) = 0$ so $x_1 = - x_2$ and now the solution appears $-4x_1^3+8 x_1+1=0$ that can be solved by Cardano's formula.
    – Cesareo
    Jul 22 at 8:31










  • The objective function is polynomial. Hence, so is the gradient. Thus, finding where the gradient vanishes boils down to solving a system of polynomial equations. In this case, it is easy. For harder systems, take a look at Gröbner bases.
    – Rodrigo de Azevedo
    Jul 22 at 15:22











  • @RodrigodeAzevedo My initial thought of the question was not about the concept , but more of how I’m able solve the problem in exam setting with limited time available. Is Cardano the only way to solve for minima vectors?
    – lydias
    Jul 22 at 15:28










  • If you add the two cubic equations, you obtain $8 x_1 + 8 x_2 = 0$. Hence, $x_2 = -x_1$, or $x_1 = - x_2$. Substituting, you obtain a cubic equation in either $x_1$ or $x_2$. Some cubic equations can be solved by visual inspection, if the exam question is designed properly. I do not know what you mean by "Cardano".
    – Rodrigo de Azevedo
    Jul 22 at 15:33











  • @RodrigodeAzevedo Cardano as in Cardano formula, which will be very time consuming in exam setting.
    – lydias
    Jul 22 at 15:35







2




2




The main problem is the solution for a nonlinear equations system. In general this should be done using iterative numerical methods but in the present case, due to a special formula structure, the solution is quite simple. Think that adding the two equations you get $8(x_1+x_2) = 0$ so $x_1 = - x_2$ and now the solution appears $-4x_1^3+8 x_1+1=0$ that can be solved by Cardano's formula.
– Cesareo
Jul 22 at 8:31




The main problem is the solution for a nonlinear equations system. In general this should be done using iterative numerical methods but in the present case, due to a special formula structure, the solution is quite simple. Think that adding the two equations you get $8(x_1+x_2) = 0$ so $x_1 = - x_2$ and now the solution appears $-4x_1^3+8 x_1+1=0$ that can be solved by Cardano's formula.
– Cesareo
Jul 22 at 8:31












The objective function is polynomial. Hence, so is the gradient. Thus, finding where the gradient vanishes boils down to solving a system of polynomial equations. In this case, it is easy. For harder systems, take a look at Gröbner bases.
– Rodrigo de Azevedo
Jul 22 at 15:22





The objective function is polynomial. Hence, so is the gradient. Thus, finding where the gradient vanishes boils down to solving a system of polynomial equations. In this case, it is easy. For harder systems, take a look at Gröbner bases.
– Rodrigo de Azevedo
Jul 22 at 15:22













@RodrigodeAzevedo My initial thought of the question was not about the concept , but more of how I’m able solve the problem in exam setting with limited time available. Is Cardano the only way to solve for minima vectors?
– lydias
Jul 22 at 15:28




@RodrigodeAzevedo My initial thought of the question was not about the concept , but more of how I’m able solve the problem in exam setting with limited time available. Is Cardano the only way to solve for minima vectors?
– lydias
Jul 22 at 15:28












If you add the two cubic equations, you obtain $8 x_1 + 8 x_2 = 0$. Hence, $x_2 = -x_1$, or $x_1 = - x_2$. Substituting, you obtain a cubic equation in either $x_1$ or $x_2$. Some cubic equations can be solved by visual inspection, if the exam question is designed properly. I do not know what you mean by "Cardano".
– Rodrigo de Azevedo
Jul 22 at 15:33





If you add the two cubic equations, you obtain $8 x_1 + 8 x_2 = 0$. Hence, $x_2 = -x_1$, or $x_1 = - x_2$. Substituting, you obtain a cubic equation in either $x_1$ or $x_2$. Some cubic equations can be solved by visual inspection, if the exam question is designed properly. I do not know what you mean by "Cardano".
– Rodrigo de Azevedo
Jul 22 at 15:33













@RodrigodeAzevedo Cardano as in Cardano formula, which will be very time consuming in exam setting.
– lydias
Jul 22 at 15:35




@RodrigodeAzevedo Cardano as in Cardano formula, which will be very time consuming in exam setting.
– lydias
Jul 22 at 15:35










1 Answer
1






active

oldest

votes

















up vote
0
down vote













Setting the gradient of a multi variable equation equal to zero will give you the (local)minimum, (local)maximum or saddle points.



In your case, even though the gradient equation system is non-linear, we note that adding the two equations we get $$8x_1 + 8x_2 = 0 Rightarrow x_1=-x_2.$$



Now we just substitute it in either the first or the second equation of the gradient system. Doing it for the first equation yields
$$-4(x_2+x_2)^3+8x_2-1=0Rightarrow-32x_2^3+8x_2-1=0$$
Solving it (using numerical methods, for example) and using the fact that $x_1 = -x_2$, we get the following points:
$$(-0.13480, 0.13480), quad (-0.41878, 0.41878), quad (0.55358, -0.55358).$$



This is the contour plot of $F(x)$
enter image description here



Analyzing this plot (or doing it numerically) we conclude that:



  • $(-0.13480, 0.13480)$: saddle point;

  • $(-0.41878, 0.41878)$: local minimum;

  • $(0.55358, -0.55358)$: global minimum.





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%2f2859082%2ffind-critical-points-minima-from-gradient-2d-vector%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













    Setting the gradient of a multi variable equation equal to zero will give you the (local)minimum, (local)maximum or saddle points.



    In your case, even though the gradient equation system is non-linear, we note that adding the two equations we get $$8x_1 + 8x_2 = 0 Rightarrow x_1=-x_2.$$



    Now we just substitute it in either the first or the second equation of the gradient system. Doing it for the first equation yields
    $$-4(x_2+x_2)^3+8x_2-1=0Rightarrow-32x_2^3+8x_2-1=0$$
    Solving it (using numerical methods, for example) and using the fact that $x_1 = -x_2$, we get the following points:
    $$(-0.13480, 0.13480), quad (-0.41878, 0.41878), quad (0.55358, -0.55358).$$



    This is the contour plot of $F(x)$
    enter image description here



    Analyzing this plot (or doing it numerically) we conclude that:



    • $(-0.13480, 0.13480)$: saddle point;

    • $(-0.41878, 0.41878)$: local minimum;

    • $(0.55358, -0.55358)$: global minimum.





    share|cite|improve this answer

























      up vote
      0
      down vote













      Setting the gradient of a multi variable equation equal to zero will give you the (local)minimum, (local)maximum or saddle points.



      In your case, even though the gradient equation system is non-linear, we note that adding the two equations we get $$8x_1 + 8x_2 = 0 Rightarrow x_1=-x_2.$$



      Now we just substitute it in either the first or the second equation of the gradient system. Doing it for the first equation yields
      $$-4(x_2+x_2)^3+8x_2-1=0Rightarrow-32x_2^3+8x_2-1=0$$
      Solving it (using numerical methods, for example) and using the fact that $x_1 = -x_2$, we get the following points:
      $$(-0.13480, 0.13480), quad (-0.41878, 0.41878), quad (0.55358, -0.55358).$$



      This is the contour plot of $F(x)$
      enter image description here



      Analyzing this plot (or doing it numerically) we conclude that:



      • $(-0.13480, 0.13480)$: saddle point;

      • $(-0.41878, 0.41878)$: local minimum;

      • $(0.55358, -0.55358)$: global minimum.





      share|cite|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        Setting the gradient of a multi variable equation equal to zero will give you the (local)minimum, (local)maximum or saddle points.



        In your case, even though the gradient equation system is non-linear, we note that adding the two equations we get $$8x_1 + 8x_2 = 0 Rightarrow x_1=-x_2.$$



        Now we just substitute it in either the first or the second equation of the gradient system. Doing it for the first equation yields
        $$-4(x_2+x_2)^3+8x_2-1=0Rightarrow-32x_2^3+8x_2-1=0$$
        Solving it (using numerical methods, for example) and using the fact that $x_1 = -x_2$, we get the following points:
        $$(-0.13480, 0.13480), quad (-0.41878, 0.41878), quad (0.55358, -0.55358).$$



        This is the contour plot of $F(x)$
        enter image description here



        Analyzing this plot (or doing it numerically) we conclude that:



        • $(-0.13480, 0.13480)$: saddle point;

        • $(-0.41878, 0.41878)$: local minimum;

        • $(0.55358, -0.55358)$: global minimum.





        share|cite|improve this answer













        Setting the gradient of a multi variable equation equal to zero will give you the (local)minimum, (local)maximum or saddle points.



        In your case, even though the gradient equation system is non-linear, we note that adding the two equations we get $$8x_1 + 8x_2 = 0 Rightarrow x_1=-x_2.$$



        Now we just substitute it in either the first or the second equation of the gradient system. Doing it for the first equation yields
        $$-4(x_2+x_2)^3+8x_2-1=0Rightarrow-32x_2^3+8x_2-1=0$$
        Solving it (using numerical methods, for example) and using the fact that $x_1 = -x_2$, we get the following points:
        $$(-0.13480, 0.13480), quad (-0.41878, 0.41878), quad (0.55358, -0.55358).$$



        This is the contour plot of $F(x)$
        enter image description here



        Analyzing this plot (or doing it numerically) we conclude that:



        • $(-0.13480, 0.13480)$: saddle point;

        • $(-0.41878, 0.41878)$: local minimum;

        • $(0.55358, -0.55358)$: global minimum.






        share|cite|improve this answer













        share|cite|improve this answer



        share|cite|improve this answer











        answered Jul 22 at 14:54









        pedroszattoni

        14819




        14819






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2859082%2ffind-critical-points-minima-from-gradient-2d-vector%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?

            Relationship between determinant of matrix and determinant of adjoint?

            Color the edges and diagonals of a regular polygon