Finding global maxima with Kuhn-Tucker conditions (and distinguish them from other critical points)

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











up vote
0
down vote

favorite












We want to maximize $(x-1)^2 + (y-1)^2$ restricted to $x + y le 2$ and $x, y ge 0$.



I tried the following combinations:



$x gt 0, y gt 0$ This led me to no critical point.



$x gt 0, y = 0$ This led me to these two critical points: $P_1(1, 0), lambda = 0$ and $P_2(2, 0), lambda = -2$.



$x = 0, y gt 0$ This led me to these two critical points: $P_1(0, 1), lambda = 0$ and $P_2(0, 2), lambda = -2$.



$x = 0, y = 0$ This led me to these two critical points: $P_1(0, 0), lambda = 0$ and $P_2(0, 0), lambda lt 2$.



My handbook says the global optima are: $x = 2, y = 0, lambda = -2$ and $x = 0, y = 0, lambda = 0$.



So here I have several questions:



1) How do I distinguish between global and local optima in these cases? The hessian matrix does not seem to be useful in this case. For example, how can I know that $x = 2, y = 0, lambda = -2$ is a global optima, but $x = 1, y = 0, lambda = 0$ is not? Intuition can help, but I want the method.



2) Why would $x = 2, y = 0, lambda = -2$ be a global optima, and $x = 0, y = 2, lambda = -2$ would not?



3) Why would $x = 0, y= 0, lambda = 0$ be a global maxima? It is a bit counterintuitive.



4) Would it be impossible to determine the value of $lambda$ in $P_2$ of $x = 0, y = 0$ combination? (This is the case in which we assume $lambda lt 0$, while in $P_1$ we assumed $lambda = 0$).



5) Feel free to add any information needed to understand why the answer of my handbook is the correct one (which are the global maxima) and not all of above critical points, in case this is not clear with the answers to questions 1, 2, 3 and 4.



Thank you very much for your time.







share|cite|improve this question























    up vote
    0
    down vote

    favorite












    We want to maximize $(x-1)^2 + (y-1)^2$ restricted to $x + y le 2$ and $x, y ge 0$.



    I tried the following combinations:



    $x gt 0, y gt 0$ This led me to no critical point.



    $x gt 0, y = 0$ This led me to these two critical points: $P_1(1, 0), lambda = 0$ and $P_2(2, 0), lambda = -2$.



    $x = 0, y gt 0$ This led me to these two critical points: $P_1(0, 1), lambda = 0$ and $P_2(0, 2), lambda = -2$.



    $x = 0, y = 0$ This led me to these two critical points: $P_1(0, 0), lambda = 0$ and $P_2(0, 0), lambda lt 2$.



    My handbook says the global optima are: $x = 2, y = 0, lambda = -2$ and $x = 0, y = 0, lambda = 0$.



    So here I have several questions:



    1) How do I distinguish between global and local optima in these cases? The hessian matrix does not seem to be useful in this case. For example, how can I know that $x = 2, y = 0, lambda = -2$ is a global optima, but $x = 1, y = 0, lambda = 0$ is not? Intuition can help, but I want the method.



    2) Why would $x = 2, y = 0, lambda = -2$ be a global optima, and $x = 0, y = 2, lambda = -2$ would not?



    3) Why would $x = 0, y= 0, lambda = 0$ be a global maxima? It is a bit counterintuitive.



    4) Would it be impossible to determine the value of $lambda$ in $P_2$ of $x = 0, y = 0$ combination? (This is the case in which we assume $lambda lt 0$, while in $P_1$ we assumed $lambda = 0$).



    5) Feel free to add any information needed to understand why the answer of my handbook is the correct one (which are the global maxima) and not all of above critical points, in case this is not clear with the answers to questions 1, 2, 3 and 4.



    Thank you very much for your time.







    share|cite|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      We want to maximize $(x-1)^2 + (y-1)^2$ restricted to $x + y le 2$ and $x, y ge 0$.



      I tried the following combinations:



      $x gt 0, y gt 0$ This led me to no critical point.



      $x gt 0, y = 0$ This led me to these two critical points: $P_1(1, 0), lambda = 0$ and $P_2(2, 0), lambda = -2$.



      $x = 0, y gt 0$ This led me to these two critical points: $P_1(0, 1), lambda = 0$ and $P_2(0, 2), lambda = -2$.



      $x = 0, y = 0$ This led me to these two critical points: $P_1(0, 0), lambda = 0$ and $P_2(0, 0), lambda lt 2$.



      My handbook says the global optima are: $x = 2, y = 0, lambda = -2$ and $x = 0, y = 0, lambda = 0$.



      So here I have several questions:



      1) How do I distinguish between global and local optima in these cases? The hessian matrix does not seem to be useful in this case. For example, how can I know that $x = 2, y = 0, lambda = -2$ is a global optima, but $x = 1, y = 0, lambda = 0$ is not? Intuition can help, but I want the method.



      2) Why would $x = 2, y = 0, lambda = -2$ be a global optima, and $x = 0, y = 2, lambda = -2$ would not?



      3) Why would $x = 0, y= 0, lambda = 0$ be a global maxima? It is a bit counterintuitive.



      4) Would it be impossible to determine the value of $lambda$ in $P_2$ of $x = 0, y = 0$ combination? (This is the case in which we assume $lambda lt 0$, while in $P_1$ we assumed $lambda = 0$).



      5) Feel free to add any information needed to understand why the answer of my handbook is the correct one (which are the global maxima) and not all of above critical points, in case this is not clear with the answers to questions 1, 2, 3 and 4.



      Thank you very much for your time.







      share|cite|improve this question











      We want to maximize $(x-1)^2 + (y-1)^2$ restricted to $x + y le 2$ and $x, y ge 0$.



      I tried the following combinations:



      $x gt 0, y gt 0$ This led me to no critical point.



      $x gt 0, y = 0$ This led me to these two critical points: $P_1(1, 0), lambda = 0$ and $P_2(2, 0), lambda = -2$.



      $x = 0, y gt 0$ This led me to these two critical points: $P_1(0, 1), lambda = 0$ and $P_2(0, 2), lambda = -2$.



      $x = 0, y = 0$ This led me to these two critical points: $P_1(0, 0), lambda = 0$ and $P_2(0, 0), lambda lt 2$.



      My handbook says the global optima are: $x = 2, y = 0, lambda = -2$ and $x = 0, y = 0, lambda = 0$.



      So here I have several questions:



      1) How do I distinguish between global and local optima in these cases? The hessian matrix does not seem to be useful in this case. For example, how can I know that $x = 2, y = 0, lambda = -2$ is a global optima, but $x = 1, y = 0, lambda = 0$ is not? Intuition can help, but I want the method.



      2) Why would $x = 2, y = 0, lambda = -2$ be a global optima, and $x = 0, y = 2, lambda = -2$ would not?



      3) Why would $x = 0, y= 0, lambda = 0$ be a global maxima? It is a bit counterintuitive.



      4) Would it be impossible to determine the value of $lambda$ in $P_2$ of $x = 0, y = 0$ combination? (This is the case in which we assume $lambda lt 0$, while in $P_1$ we assumed $lambda = 0$).



      5) Feel free to add any information needed to understand why the answer of my handbook is the correct one (which are the global maxima) and not all of above critical points, in case this is not clear with the answers to questions 1, 2, 3 and 4.



      Thank you very much for your time.









      share|cite|improve this question










      share|cite|improve this question




      share|cite|improve this question









      asked Jul 25 at 12:00









      Ignacio Valdés Zamudio

      103




      103




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          Graphically, refer to the graph:



          $hspace0.5cm$![enter image description here



          The green area is the feasible region.



          The red circle center $C$ and passing through the points $A$, $B$ and $O$ is the largest contour curve. Hence, the global maxima is at $A(0,2)$, $B(2,0)$ and $O(0,0)$.



          The red point $C$ is the smallest contour curve. Hence, the global minima is at $C(1,1)$.






          share|cite|improve this answer





















          • Thank you very much. This graph really helped me to understand the problem.
            – Ignacio Valdés Zamudio
            Jul 25 at 14:12










          • You are welcome. If possible, the graphical method is easier to use than algebraic (KKK) method. Good luck.
            – farruhota
            Jul 26 at 10:57










          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%2f2862359%2ffinding-global-maxima-with-kuhn-tucker-conditions-and-distinguish-them-from-oth%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



          accepted










          Graphically, refer to the graph:



          $hspace0.5cm$![enter image description here



          The green area is the feasible region.



          The red circle center $C$ and passing through the points $A$, $B$ and $O$ is the largest contour curve. Hence, the global maxima is at $A(0,2)$, $B(2,0)$ and $O(0,0)$.



          The red point $C$ is the smallest contour curve. Hence, the global minima is at $C(1,1)$.






          share|cite|improve this answer





















          • Thank you very much. This graph really helped me to understand the problem.
            – Ignacio Valdés Zamudio
            Jul 25 at 14:12










          • You are welcome. If possible, the graphical method is easier to use than algebraic (KKK) method. Good luck.
            – farruhota
            Jul 26 at 10:57














          up vote
          0
          down vote



          accepted










          Graphically, refer to the graph:



          $hspace0.5cm$![enter image description here



          The green area is the feasible region.



          The red circle center $C$ and passing through the points $A$, $B$ and $O$ is the largest contour curve. Hence, the global maxima is at $A(0,2)$, $B(2,0)$ and $O(0,0)$.



          The red point $C$ is the smallest contour curve. Hence, the global minima is at $C(1,1)$.






          share|cite|improve this answer





















          • Thank you very much. This graph really helped me to understand the problem.
            – Ignacio Valdés Zamudio
            Jul 25 at 14:12










          • You are welcome. If possible, the graphical method is easier to use than algebraic (KKK) method. Good luck.
            – farruhota
            Jul 26 at 10:57












          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          Graphically, refer to the graph:



          $hspace0.5cm$![enter image description here



          The green area is the feasible region.



          The red circle center $C$ and passing through the points $A$, $B$ and $O$ is the largest contour curve. Hence, the global maxima is at $A(0,2)$, $B(2,0)$ and $O(0,0)$.



          The red point $C$ is the smallest contour curve. Hence, the global minima is at $C(1,1)$.






          share|cite|improve this answer













          Graphically, refer to the graph:



          $hspace0.5cm$![enter image description here



          The green area is the feasible region.



          The red circle center $C$ and passing through the points $A$, $B$ and $O$ is the largest contour curve. Hence, the global maxima is at $A(0,2)$, $B(2,0)$ and $O(0,0)$.



          The red point $C$ is the smallest contour curve. Hence, the global minima is at $C(1,1)$.







          share|cite|improve this answer













          share|cite|improve this answer



          share|cite|improve this answer











          answered Jul 25 at 13:54









          farruhota

          13.6k2632




          13.6k2632











          • Thank you very much. This graph really helped me to understand the problem.
            – Ignacio Valdés Zamudio
            Jul 25 at 14:12










          • You are welcome. If possible, the graphical method is easier to use than algebraic (KKK) method. Good luck.
            – farruhota
            Jul 26 at 10:57
















          • Thank you very much. This graph really helped me to understand the problem.
            – Ignacio Valdés Zamudio
            Jul 25 at 14:12










          • You are welcome. If possible, the graphical method is easier to use than algebraic (KKK) method. Good luck.
            – farruhota
            Jul 26 at 10:57















          Thank you very much. This graph really helped me to understand the problem.
          – Ignacio Valdés Zamudio
          Jul 25 at 14:12




          Thank you very much. This graph really helped me to understand the problem.
          – Ignacio Valdés Zamudio
          Jul 25 at 14:12












          You are welcome. If possible, the graphical method is easier to use than algebraic (KKK) method. Good luck.
          – farruhota
          Jul 26 at 10:57




          You are welcome. If possible, the graphical method is easier to use than algebraic (KKK) method. Good luck.
          – farruhota
          Jul 26 at 10:57












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f2862359%2ffinding-global-maxima-with-kuhn-tucker-conditions-and-distinguish-them-from-oth%23new-answer', 'question_page');

          );

          Post as a guest













































































          Comments

          Popular posts from this blog

          Color the edges and diagonals of a regular polygon

          Relationship between determinant of matrix and determinant of adjoint?

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