Absolute extrema of the function $f(x,y)=2xy-x-y$











up vote
3
down vote

favorite












Find the absolute extrema of the function $$f(x,y)=2xy-x-y$$ over the region of the $xy$-plane bounded by the parabola $y=x^2$ and the line $y=4.$



I was wondering if I needed to use Lagrange multipliers to solve this problem and if I do, how would I go about solving this problem? If someone could help me, that would be great! Thanks










share|cite|improve this question




















  • 3




    You should separately find the critical points inside the region and the extrema on the boundary (which will amount to studying $f(x,x^2)$ and $f(x,4)$). Then it should be easy to determine where the extrema on the closed region are to be found.
    – Etienne
    Jul 18 '13 at 18:29












  • Lagrange multipliers is sort of "overkill" for a function that simple; the standard method of locating critical points in the interior of the region should suffice. You will need to explore the boundary and "vertices" at $ ( pm 2 , 4 ) $ as well, as Etienne describes.
    – colormegone
    Jul 18 '13 at 18:41












  • (found an error in my first pass on this and missed the five-minute deadline for comment-editiing) I believe you'll find the absolute extrema are at the vertices...
    – colormegone
    Jul 18 '13 at 18:49















up vote
3
down vote

favorite












Find the absolute extrema of the function $$f(x,y)=2xy-x-y$$ over the region of the $xy$-plane bounded by the parabola $y=x^2$ and the line $y=4.$



I was wondering if I needed to use Lagrange multipliers to solve this problem and if I do, how would I go about solving this problem? If someone could help me, that would be great! Thanks










share|cite|improve this question




















  • 3




    You should separately find the critical points inside the region and the extrema on the boundary (which will amount to studying $f(x,x^2)$ and $f(x,4)$). Then it should be easy to determine where the extrema on the closed region are to be found.
    – Etienne
    Jul 18 '13 at 18:29












  • Lagrange multipliers is sort of "overkill" for a function that simple; the standard method of locating critical points in the interior of the region should suffice. You will need to explore the boundary and "vertices" at $ ( pm 2 , 4 ) $ as well, as Etienne describes.
    – colormegone
    Jul 18 '13 at 18:41












  • (found an error in my first pass on this and missed the five-minute deadline for comment-editiing) I believe you'll find the absolute extrema are at the vertices...
    – colormegone
    Jul 18 '13 at 18:49













up vote
3
down vote

favorite









up vote
3
down vote

favorite











Find the absolute extrema of the function $$f(x,y)=2xy-x-y$$ over the region of the $xy$-plane bounded by the parabola $y=x^2$ and the line $y=4.$



I was wondering if I needed to use Lagrange multipliers to solve this problem and if I do, how would I go about solving this problem? If someone could help me, that would be great! Thanks










share|cite|improve this question















Find the absolute extrema of the function $$f(x,y)=2xy-x-y$$ over the region of the $xy$-plane bounded by the parabola $y=x^2$ and the line $y=4.$



I was wondering if I needed to use Lagrange multipliers to solve this problem and if I do, how would I go about solving this problem? If someone could help me, that would be great! Thanks







multivariable-calculus optimization maxima-minima






share|cite|improve this question















share|cite|improve this question













share|cite|improve this question




share|cite|improve this question








edited Jan 3 '17 at 20:12









Alex

4,2251628




4,2251628










asked Jul 18 '13 at 18:22









Jc E

2431722




2431722








  • 3




    You should separately find the critical points inside the region and the extrema on the boundary (which will amount to studying $f(x,x^2)$ and $f(x,4)$). Then it should be easy to determine where the extrema on the closed region are to be found.
    – Etienne
    Jul 18 '13 at 18:29












  • Lagrange multipliers is sort of "overkill" for a function that simple; the standard method of locating critical points in the interior of the region should suffice. You will need to explore the boundary and "vertices" at $ ( pm 2 , 4 ) $ as well, as Etienne describes.
    – colormegone
    Jul 18 '13 at 18:41












  • (found an error in my first pass on this and missed the five-minute deadline for comment-editiing) I believe you'll find the absolute extrema are at the vertices...
    – colormegone
    Jul 18 '13 at 18:49














  • 3




    You should separately find the critical points inside the region and the extrema on the boundary (which will amount to studying $f(x,x^2)$ and $f(x,4)$). Then it should be easy to determine where the extrema on the closed region are to be found.
    – Etienne
    Jul 18 '13 at 18:29












  • Lagrange multipliers is sort of "overkill" for a function that simple; the standard method of locating critical points in the interior of the region should suffice. You will need to explore the boundary and "vertices" at $ ( pm 2 , 4 ) $ as well, as Etienne describes.
    – colormegone
    Jul 18 '13 at 18:41












  • (found an error in my first pass on this and missed the five-minute deadline for comment-editiing) I believe you'll find the absolute extrema are at the vertices...
    – colormegone
    Jul 18 '13 at 18:49








3




3




You should separately find the critical points inside the region and the extrema on the boundary (which will amount to studying $f(x,x^2)$ and $f(x,4)$). Then it should be easy to determine where the extrema on the closed region are to be found.
– Etienne
Jul 18 '13 at 18:29






You should separately find the critical points inside the region and the extrema on the boundary (which will amount to studying $f(x,x^2)$ and $f(x,4)$). Then it should be easy to determine where the extrema on the closed region are to be found.
– Etienne
Jul 18 '13 at 18:29














Lagrange multipliers is sort of "overkill" for a function that simple; the standard method of locating critical points in the interior of the region should suffice. You will need to explore the boundary and "vertices" at $ ( pm 2 , 4 ) $ as well, as Etienne describes.
– colormegone
Jul 18 '13 at 18:41






Lagrange multipliers is sort of "overkill" for a function that simple; the standard method of locating critical points in the interior of the region should suffice. You will need to explore the boundary and "vertices" at $ ( pm 2 , 4 ) $ as well, as Etienne describes.
– colormegone
Jul 18 '13 at 18:41














(found an error in my first pass on this and missed the five-minute deadline for comment-editiing) I believe you'll find the absolute extrema are at the vertices...
– colormegone
Jul 18 '13 at 18:49




(found an error in my first pass on this and missed the five-minute deadline for comment-editiing) I believe you'll find the absolute extrema are at the vertices...
– colormegone
Jul 18 '13 at 18:49










2 Answers
2






active

oldest

votes

















up vote
0
down vote













To return to this problem, the reason the Lagrange-multiplier method won't be enough (or possibly even necessary) to solve the problem is that it "looks" for points on a level curve or surface of the function to be extremized where the normal vector is parallel (or anti-parallel) to a normal vector to the constraint curve or surface. So it can help with the boundary of a region, but may not tell us much about the interior.



When a closed region is specified on which to locate extrema, to be thorough, we follow a procedure analogous to what we use in single-variable calculus for locating extrema on a closed interval: find critical points in the interior of the region using derivatives; find critical points on bounding curves of the region (often also using derivatives or Lagrange multipliers); evaluate the function at vertices; compare the values of the function among these results.



The first partial derivatives of the function $ f(x, y) = 2xy - x - y $ are $ f_x = 2y - 1 $ and $ f_x = 2x - 1 $ ; these are both equal to zero at $ ( frac{1}{2} , frac{1}{2} ) $ , so this is the only critical point within the parabolic region. The value of the function there is $ f( frac{1}{2} , frac{1}{2} ) = frac{1}{2} - frac{1}{2} - frac{1}{2} = -frac{1}{2} $ .



The two "bounding curves" of the region are the parabola $ y = x^2 $ and the "horizontal" line $ y = 4 $ . We can use these equations to reduce the extremization problem to one with single-variable functions:



$ mathbf{on y = 4 :} quad f(x, 4) = 8x - x - 4 = 7x - 4 Rightarrow frac{df}{dx} = 7 ; $



$ mathbf{on y = x^2 :} quad f(x, x^2) = 2x^3 - x - x^2 Rightarrow frac{df}{dx} = 6x^2 - 2x - 1 . $



There is no critical point on the line, since the derivative is never zero there; the fact that the function $ f(x, 4) $ increases linearly with $ x $ suggests that the endpoints of this boundary segment may be extrema. On the parabola, $ frac{df}{dx} = 6x^2 - 2x - 1 = 0 $ for $ x = frac{2 pm sqrt{28}}{12} = frac{1 pm sqrt{7}}{6} $ . The parabola intersects the line at $ ( pm 2, 4) $ , so both of these values of $ x $ do correspond to locations on the restricted parabolic boundary: $ left( frac{1 - sqrt{7}}{6} , frac{4 - sqrt{7}}{18} right) $ and $ left( frac{1 + sqrt{7}}{6} , frac{4 + sqrt{7}}{18} right) $ . At these points, the value of our function is



$$ f left( frac{1 - sqrt{7}}{6} , frac{4 - sqrt{7}}{18} right) = frac{7 sqrt{7} - 10}{54} approx 0.158 $$
and
$$ f left( frac{1 + sqrt{7}}{6} , frac{4 + sqrt{7}}{18} right) = -frac{7 sqrt{7} + 10}{54} approx -0.528 . $$



Finally, we need to evaluate the function at the vertices of the parabolic region:



$$ f ( -2 , 4 ) = -16 - (-2) - 4 = -18 text{and} f ( 2 , 4 ) = 16 - 2 - 4 = 10 , $$



which are just the values that $ 7x - 4 $ gives us. These are by far the greatest and least values of the function, so they are the absolute extrema for the region.



Had we applied Lagrange multipliers, we would need to treat the two portions of the boundary separately. The gradient of our function is $ nabla f = langle 2y - 1 , 2x - 1 rangle $ . The constraint function for the parabolic curve is $ g(x,y) = y - x^2 $ , so its gradient is $ nabla g = langle -2x , 1 rangle $ . From the Lagrange equation $ nabla f = lambda nabla g $ , we obtain



$$ 2y - 1 = lambda cdot ( -2x ) , 2x - 1 = lambda cdot 1 $$



$$ Rightarrow lambda = -frac{2y - 1}{2x} = 2x - 1 Rightarrow 2y = 1 + 2x - 4x^2 ; $$



applying the constraint $ y = x^2 $ gives us the quadratic equation we found earlier, $ 6x^2 - 2x - 1 = 0 $ , leading to the extrema on the curve that we determined above.



As for the horizontal line, $ y = 4 $ , Lagrange multipliers will not give us anything meaningful in this case. It would seem that we would use a constraint function $ h(x, y) = y - 4 $ , for which the gradient is $ nabla h = langle 0, 1 rangle $ . The consequent equations from $ nabla f = lambda nabla g $ are $ 2y - 1 = lambda cdot 0 , 2x - 1 = lambda cdot 1 $ . But since we require $ y = 4 $ , this set of equations has no solution, implying that there is no level curve of $ f(x, y) $ which has a normal in the "vertical direction" where it touches this line. While this confirms that there is no critical point for the function along that line segment, it doesn't do much else for us.






share|cite|improve this answer




























    up vote
    0
    down vote













    I made a plot to get familiar with problem.



    function and region



    $f$ is the hyperbolic plane in red.
    The parabola is extended in $z$-direction into the green surface.
    The line $y=4$ is extended to the blue plane.



    My guess is that the maximum is front left, the minimum front right.



    The intersection of $f$ and parabolic cylinder is determined by
    $$
    f(x,y) = 2 x y - x - y = z \
    x^2 - y = 0
    $$
    Along the parabola we get this height:
    $$
    g(x) = f(x, x^2) = 2 x^3 - x - x^2
    $$
    Along the line $y=4$ we get this height:
    $$
    h(x) = f(x, 4) = 8 x - x - 4 = 7x - 4
    $$
    The extrema for $x in [-2, 2]$ are
    $$
    g(2) = 16 - 2 - 4 = 10 quad h(2) = 10 \
    g(-2) = -16 + 2- 4 = -18 quad h(-2) = -18
    $$






    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: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      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%2f446776%2fabsolute-extrema-of-the-function-fx-y-2xy-x-y%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      0
      down vote













      To return to this problem, the reason the Lagrange-multiplier method won't be enough (or possibly even necessary) to solve the problem is that it "looks" for points on a level curve or surface of the function to be extremized where the normal vector is parallel (or anti-parallel) to a normal vector to the constraint curve or surface. So it can help with the boundary of a region, but may not tell us much about the interior.



      When a closed region is specified on which to locate extrema, to be thorough, we follow a procedure analogous to what we use in single-variable calculus for locating extrema on a closed interval: find critical points in the interior of the region using derivatives; find critical points on bounding curves of the region (often also using derivatives or Lagrange multipliers); evaluate the function at vertices; compare the values of the function among these results.



      The first partial derivatives of the function $ f(x, y) = 2xy - x - y $ are $ f_x = 2y - 1 $ and $ f_x = 2x - 1 $ ; these are both equal to zero at $ ( frac{1}{2} , frac{1}{2} ) $ , so this is the only critical point within the parabolic region. The value of the function there is $ f( frac{1}{2} , frac{1}{2} ) = frac{1}{2} - frac{1}{2} - frac{1}{2} = -frac{1}{2} $ .



      The two "bounding curves" of the region are the parabola $ y = x^2 $ and the "horizontal" line $ y = 4 $ . We can use these equations to reduce the extremization problem to one with single-variable functions:



      $ mathbf{on y = 4 :} quad f(x, 4) = 8x - x - 4 = 7x - 4 Rightarrow frac{df}{dx} = 7 ; $



      $ mathbf{on y = x^2 :} quad f(x, x^2) = 2x^3 - x - x^2 Rightarrow frac{df}{dx} = 6x^2 - 2x - 1 . $



      There is no critical point on the line, since the derivative is never zero there; the fact that the function $ f(x, 4) $ increases linearly with $ x $ suggests that the endpoints of this boundary segment may be extrema. On the parabola, $ frac{df}{dx} = 6x^2 - 2x - 1 = 0 $ for $ x = frac{2 pm sqrt{28}}{12} = frac{1 pm sqrt{7}}{6} $ . The parabola intersects the line at $ ( pm 2, 4) $ , so both of these values of $ x $ do correspond to locations on the restricted parabolic boundary: $ left( frac{1 - sqrt{7}}{6} , frac{4 - sqrt{7}}{18} right) $ and $ left( frac{1 + sqrt{7}}{6} , frac{4 + sqrt{7}}{18} right) $ . At these points, the value of our function is



      $$ f left( frac{1 - sqrt{7}}{6} , frac{4 - sqrt{7}}{18} right) = frac{7 sqrt{7} - 10}{54} approx 0.158 $$
      and
      $$ f left( frac{1 + sqrt{7}}{6} , frac{4 + sqrt{7}}{18} right) = -frac{7 sqrt{7} + 10}{54} approx -0.528 . $$



      Finally, we need to evaluate the function at the vertices of the parabolic region:



      $$ f ( -2 , 4 ) = -16 - (-2) - 4 = -18 text{and} f ( 2 , 4 ) = 16 - 2 - 4 = 10 , $$



      which are just the values that $ 7x - 4 $ gives us. These are by far the greatest and least values of the function, so they are the absolute extrema for the region.



      Had we applied Lagrange multipliers, we would need to treat the two portions of the boundary separately. The gradient of our function is $ nabla f = langle 2y - 1 , 2x - 1 rangle $ . The constraint function for the parabolic curve is $ g(x,y) = y - x^2 $ , so its gradient is $ nabla g = langle -2x , 1 rangle $ . From the Lagrange equation $ nabla f = lambda nabla g $ , we obtain



      $$ 2y - 1 = lambda cdot ( -2x ) , 2x - 1 = lambda cdot 1 $$



      $$ Rightarrow lambda = -frac{2y - 1}{2x} = 2x - 1 Rightarrow 2y = 1 + 2x - 4x^2 ; $$



      applying the constraint $ y = x^2 $ gives us the quadratic equation we found earlier, $ 6x^2 - 2x - 1 = 0 $ , leading to the extrema on the curve that we determined above.



      As for the horizontal line, $ y = 4 $ , Lagrange multipliers will not give us anything meaningful in this case. It would seem that we would use a constraint function $ h(x, y) = y - 4 $ , for which the gradient is $ nabla h = langle 0, 1 rangle $ . The consequent equations from $ nabla f = lambda nabla g $ are $ 2y - 1 = lambda cdot 0 , 2x - 1 = lambda cdot 1 $ . But since we require $ y = 4 $ , this set of equations has no solution, implying that there is no level curve of $ f(x, y) $ which has a normal in the "vertical direction" where it touches this line. While this confirms that there is no critical point for the function along that line segment, it doesn't do much else for us.






      share|cite|improve this answer

























        up vote
        0
        down vote













        To return to this problem, the reason the Lagrange-multiplier method won't be enough (or possibly even necessary) to solve the problem is that it "looks" for points on a level curve or surface of the function to be extremized where the normal vector is parallel (or anti-parallel) to a normal vector to the constraint curve or surface. So it can help with the boundary of a region, but may not tell us much about the interior.



        When a closed region is specified on which to locate extrema, to be thorough, we follow a procedure analogous to what we use in single-variable calculus for locating extrema on a closed interval: find critical points in the interior of the region using derivatives; find critical points on bounding curves of the region (often also using derivatives or Lagrange multipliers); evaluate the function at vertices; compare the values of the function among these results.



        The first partial derivatives of the function $ f(x, y) = 2xy - x - y $ are $ f_x = 2y - 1 $ and $ f_x = 2x - 1 $ ; these are both equal to zero at $ ( frac{1}{2} , frac{1}{2} ) $ , so this is the only critical point within the parabolic region. The value of the function there is $ f( frac{1}{2} , frac{1}{2} ) = frac{1}{2} - frac{1}{2} - frac{1}{2} = -frac{1}{2} $ .



        The two "bounding curves" of the region are the parabola $ y = x^2 $ and the "horizontal" line $ y = 4 $ . We can use these equations to reduce the extremization problem to one with single-variable functions:



        $ mathbf{on y = 4 :} quad f(x, 4) = 8x - x - 4 = 7x - 4 Rightarrow frac{df}{dx} = 7 ; $



        $ mathbf{on y = x^2 :} quad f(x, x^2) = 2x^3 - x - x^2 Rightarrow frac{df}{dx} = 6x^2 - 2x - 1 . $



        There is no critical point on the line, since the derivative is never zero there; the fact that the function $ f(x, 4) $ increases linearly with $ x $ suggests that the endpoints of this boundary segment may be extrema. On the parabola, $ frac{df}{dx} = 6x^2 - 2x - 1 = 0 $ for $ x = frac{2 pm sqrt{28}}{12} = frac{1 pm sqrt{7}}{6} $ . The parabola intersects the line at $ ( pm 2, 4) $ , so both of these values of $ x $ do correspond to locations on the restricted parabolic boundary: $ left( frac{1 - sqrt{7}}{6} , frac{4 - sqrt{7}}{18} right) $ and $ left( frac{1 + sqrt{7}}{6} , frac{4 + sqrt{7}}{18} right) $ . At these points, the value of our function is



        $$ f left( frac{1 - sqrt{7}}{6} , frac{4 - sqrt{7}}{18} right) = frac{7 sqrt{7} - 10}{54} approx 0.158 $$
        and
        $$ f left( frac{1 + sqrt{7}}{6} , frac{4 + sqrt{7}}{18} right) = -frac{7 sqrt{7} + 10}{54} approx -0.528 . $$



        Finally, we need to evaluate the function at the vertices of the parabolic region:



        $$ f ( -2 , 4 ) = -16 - (-2) - 4 = -18 text{and} f ( 2 , 4 ) = 16 - 2 - 4 = 10 , $$



        which are just the values that $ 7x - 4 $ gives us. These are by far the greatest and least values of the function, so they are the absolute extrema for the region.



        Had we applied Lagrange multipliers, we would need to treat the two portions of the boundary separately. The gradient of our function is $ nabla f = langle 2y - 1 , 2x - 1 rangle $ . The constraint function for the parabolic curve is $ g(x,y) = y - x^2 $ , so its gradient is $ nabla g = langle -2x , 1 rangle $ . From the Lagrange equation $ nabla f = lambda nabla g $ , we obtain



        $$ 2y - 1 = lambda cdot ( -2x ) , 2x - 1 = lambda cdot 1 $$



        $$ Rightarrow lambda = -frac{2y - 1}{2x} = 2x - 1 Rightarrow 2y = 1 + 2x - 4x^2 ; $$



        applying the constraint $ y = x^2 $ gives us the quadratic equation we found earlier, $ 6x^2 - 2x - 1 = 0 $ , leading to the extrema on the curve that we determined above.



        As for the horizontal line, $ y = 4 $ , Lagrange multipliers will not give us anything meaningful in this case. It would seem that we would use a constraint function $ h(x, y) = y - 4 $ , for which the gradient is $ nabla h = langle 0, 1 rangle $ . The consequent equations from $ nabla f = lambda nabla g $ are $ 2y - 1 = lambda cdot 0 , 2x - 1 = lambda cdot 1 $ . But since we require $ y = 4 $ , this set of equations has no solution, implying that there is no level curve of $ f(x, y) $ which has a normal in the "vertical direction" where it touches this line. While this confirms that there is no critical point for the function along that line segment, it doesn't do much else for us.






        share|cite|improve this answer























          up vote
          0
          down vote










          up vote
          0
          down vote









          To return to this problem, the reason the Lagrange-multiplier method won't be enough (or possibly even necessary) to solve the problem is that it "looks" for points on a level curve or surface of the function to be extremized where the normal vector is parallel (or anti-parallel) to a normal vector to the constraint curve or surface. So it can help with the boundary of a region, but may not tell us much about the interior.



          When a closed region is specified on which to locate extrema, to be thorough, we follow a procedure analogous to what we use in single-variable calculus for locating extrema on a closed interval: find critical points in the interior of the region using derivatives; find critical points on bounding curves of the region (often also using derivatives or Lagrange multipliers); evaluate the function at vertices; compare the values of the function among these results.



          The first partial derivatives of the function $ f(x, y) = 2xy - x - y $ are $ f_x = 2y - 1 $ and $ f_x = 2x - 1 $ ; these are both equal to zero at $ ( frac{1}{2} , frac{1}{2} ) $ , so this is the only critical point within the parabolic region. The value of the function there is $ f( frac{1}{2} , frac{1}{2} ) = frac{1}{2} - frac{1}{2} - frac{1}{2} = -frac{1}{2} $ .



          The two "bounding curves" of the region are the parabola $ y = x^2 $ and the "horizontal" line $ y = 4 $ . We can use these equations to reduce the extremization problem to one with single-variable functions:



          $ mathbf{on y = 4 :} quad f(x, 4) = 8x - x - 4 = 7x - 4 Rightarrow frac{df}{dx} = 7 ; $



          $ mathbf{on y = x^2 :} quad f(x, x^2) = 2x^3 - x - x^2 Rightarrow frac{df}{dx} = 6x^2 - 2x - 1 . $



          There is no critical point on the line, since the derivative is never zero there; the fact that the function $ f(x, 4) $ increases linearly with $ x $ suggests that the endpoints of this boundary segment may be extrema. On the parabola, $ frac{df}{dx} = 6x^2 - 2x - 1 = 0 $ for $ x = frac{2 pm sqrt{28}}{12} = frac{1 pm sqrt{7}}{6} $ . The parabola intersects the line at $ ( pm 2, 4) $ , so both of these values of $ x $ do correspond to locations on the restricted parabolic boundary: $ left( frac{1 - sqrt{7}}{6} , frac{4 - sqrt{7}}{18} right) $ and $ left( frac{1 + sqrt{7}}{6} , frac{4 + sqrt{7}}{18} right) $ . At these points, the value of our function is



          $$ f left( frac{1 - sqrt{7}}{6} , frac{4 - sqrt{7}}{18} right) = frac{7 sqrt{7} - 10}{54} approx 0.158 $$
          and
          $$ f left( frac{1 + sqrt{7}}{6} , frac{4 + sqrt{7}}{18} right) = -frac{7 sqrt{7} + 10}{54} approx -0.528 . $$



          Finally, we need to evaluate the function at the vertices of the parabolic region:



          $$ f ( -2 , 4 ) = -16 - (-2) - 4 = -18 text{and} f ( 2 , 4 ) = 16 - 2 - 4 = 10 , $$



          which are just the values that $ 7x - 4 $ gives us. These are by far the greatest and least values of the function, so they are the absolute extrema for the region.



          Had we applied Lagrange multipliers, we would need to treat the two portions of the boundary separately. The gradient of our function is $ nabla f = langle 2y - 1 , 2x - 1 rangle $ . The constraint function for the parabolic curve is $ g(x,y) = y - x^2 $ , so its gradient is $ nabla g = langle -2x , 1 rangle $ . From the Lagrange equation $ nabla f = lambda nabla g $ , we obtain



          $$ 2y - 1 = lambda cdot ( -2x ) , 2x - 1 = lambda cdot 1 $$



          $$ Rightarrow lambda = -frac{2y - 1}{2x} = 2x - 1 Rightarrow 2y = 1 + 2x - 4x^2 ; $$



          applying the constraint $ y = x^2 $ gives us the quadratic equation we found earlier, $ 6x^2 - 2x - 1 = 0 $ , leading to the extrema on the curve that we determined above.



          As for the horizontal line, $ y = 4 $ , Lagrange multipliers will not give us anything meaningful in this case. It would seem that we would use a constraint function $ h(x, y) = y - 4 $ , for which the gradient is $ nabla h = langle 0, 1 rangle $ . The consequent equations from $ nabla f = lambda nabla g $ are $ 2y - 1 = lambda cdot 0 , 2x - 1 = lambda cdot 1 $ . But since we require $ y = 4 $ , this set of equations has no solution, implying that there is no level curve of $ f(x, y) $ which has a normal in the "vertical direction" where it touches this line. While this confirms that there is no critical point for the function along that line segment, it doesn't do much else for us.






          share|cite|improve this answer












          To return to this problem, the reason the Lagrange-multiplier method won't be enough (or possibly even necessary) to solve the problem is that it "looks" for points on a level curve or surface of the function to be extremized where the normal vector is parallel (or anti-parallel) to a normal vector to the constraint curve or surface. So it can help with the boundary of a region, but may not tell us much about the interior.



          When a closed region is specified on which to locate extrema, to be thorough, we follow a procedure analogous to what we use in single-variable calculus for locating extrema on a closed interval: find critical points in the interior of the region using derivatives; find critical points on bounding curves of the region (often also using derivatives or Lagrange multipliers); evaluate the function at vertices; compare the values of the function among these results.



          The first partial derivatives of the function $ f(x, y) = 2xy - x - y $ are $ f_x = 2y - 1 $ and $ f_x = 2x - 1 $ ; these are both equal to zero at $ ( frac{1}{2} , frac{1}{2} ) $ , so this is the only critical point within the parabolic region. The value of the function there is $ f( frac{1}{2} , frac{1}{2} ) = frac{1}{2} - frac{1}{2} - frac{1}{2} = -frac{1}{2} $ .



          The two "bounding curves" of the region are the parabola $ y = x^2 $ and the "horizontal" line $ y = 4 $ . We can use these equations to reduce the extremization problem to one with single-variable functions:



          $ mathbf{on y = 4 :} quad f(x, 4) = 8x - x - 4 = 7x - 4 Rightarrow frac{df}{dx} = 7 ; $



          $ mathbf{on y = x^2 :} quad f(x, x^2) = 2x^3 - x - x^2 Rightarrow frac{df}{dx} = 6x^2 - 2x - 1 . $



          There is no critical point on the line, since the derivative is never zero there; the fact that the function $ f(x, 4) $ increases linearly with $ x $ suggests that the endpoints of this boundary segment may be extrema. On the parabola, $ frac{df}{dx} = 6x^2 - 2x - 1 = 0 $ for $ x = frac{2 pm sqrt{28}}{12} = frac{1 pm sqrt{7}}{6} $ . The parabola intersects the line at $ ( pm 2, 4) $ , so both of these values of $ x $ do correspond to locations on the restricted parabolic boundary: $ left( frac{1 - sqrt{7}}{6} , frac{4 - sqrt{7}}{18} right) $ and $ left( frac{1 + sqrt{7}}{6} , frac{4 + sqrt{7}}{18} right) $ . At these points, the value of our function is



          $$ f left( frac{1 - sqrt{7}}{6} , frac{4 - sqrt{7}}{18} right) = frac{7 sqrt{7} - 10}{54} approx 0.158 $$
          and
          $$ f left( frac{1 + sqrt{7}}{6} , frac{4 + sqrt{7}}{18} right) = -frac{7 sqrt{7} + 10}{54} approx -0.528 . $$



          Finally, we need to evaluate the function at the vertices of the parabolic region:



          $$ f ( -2 , 4 ) = -16 - (-2) - 4 = -18 text{and} f ( 2 , 4 ) = 16 - 2 - 4 = 10 , $$



          which are just the values that $ 7x - 4 $ gives us. These are by far the greatest and least values of the function, so they are the absolute extrema for the region.



          Had we applied Lagrange multipliers, we would need to treat the two portions of the boundary separately. The gradient of our function is $ nabla f = langle 2y - 1 , 2x - 1 rangle $ . The constraint function for the parabolic curve is $ g(x,y) = y - x^2 $ , so its gradient is $ nabla g = langle -2x , 1 rangle $ . From the Lagrange equation $ nabla f = lambda nabla g $ , we obtain



          $$ 2y - 1 = lambda cdot ( -2x ) , 2x - 1 = lambda cdot 1 $$



          $$ Rightarrow lambda = -frac{2y - 1}{2x} = 2x - 1 Rightarrow 2y = 1 + 2x - 4x^2 ; $$



          applying the constraint $ y = x^2 $ gives us the quadratic equation we found earlier, $ 6x^2 - 2x - 1 = 0 $ , leading to the extrema on the curve that we determined above.



          As for the horizontal line, $ y = 4 $ , Lagrange multipliers will not give us anything meaningful in this case. It would seem that we would use a constraint function $ h(x, y) = y - 4 $ , for which the gradient is $ nabla h = langle 0, 1 rangle $ . The consequent equations from $ nabla f = lambda nabla g $ are $ 2y - 1 = lambda cdot 0 , 2x - 1 = lambda cdot 1 $ . But since we require $ y = 4 $ , this set of equations has no solution, implying that there is no level curve of $ f(x, y) $ which has a normal in the "vertical direction" where it touches this line. While this confirms that there is no critical point for the function along that line segment, it doesn't do much else for us.







          share|cite|improve this answer












          share|cite|improve this answer



          share|cite|improve this answer










          answered Aug 28 '14 at 2:01









          colormegone

          9,58321342




          9,58321342






















              up vote
              0
              down vote













              I made a plot to get familiar with problem.



              function and region



              $f$ is the hyperbolic plane in red.
              The parabola is extended in $z$-direction into the green surface.
              The line $y=4$ is extended to the blue plane.



              My guess is that the maximum is front left, the minimum front right.



              The intersection of $f$ and parabolic cylinder is determined by
              $$
              f(x,y) = 2 x y - x - y = z \
              x^2 - y = 0
              $$
              Along the parabola we get this height:
              $$
              g(x) = f(x, x^2) = 2 x^3 - x - x^2
              $$
              Along the line $y=4$ we get this height:
              $$
              h(x) = f(x, 4) = 8 x - x - 4 = 7x - 4
              $$
              The extrema for $x in [-2, 2]$ are
              $$
              g(2) = 16 - 2 - 4 = 10 quad h(2) = 10 \
              g(-2) = -16 + 2- 4 = -18 quad h(-2) = -18
              $$






              share|cite|improve this answer



























                up vote
                0
                down vote













                I made a plot to get familiar with problem.



                function and region



                $f$ is the hyperbolic plane in red.
                The parabola is extended in $z$-direction into the green surface.
                The line $y=4$ is extended to the blue plane.



                My guess is that the maximum is front left, the minimum front right.



                The intersection of $f$ and parabolic cylinder is determined by
                $$
                f(x,y) = 2 x y - x - y = z \
                x^2 - y = 0
                $$
                Along the parabola we get this height:
                $$
                g(x) = f(x, x^2) = 2 x^3 - x - x^2
                $$
                Along the line $y=4$ we get this height:
                $$
                h(x) = f(x, 4) = 8 x - x - 4 = 7x - 4
                $$
                The extrema for $x in [-2, 2]$ are
                $$
                g(2) = 16 - 2 - 4 = 10 quad h(2) = 10 \
                g(-2) = -16 + 2- 4 = -18 quad h(-2) = -18
                $$






                share|cite|improve this answer

























                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  I made a plot to get familiar with problem.



                  function and region



                  $f$ is the hyperbolic plane in red.
                  The parabola is extended in $z$-direction into the green surface.
                  The line $y=4$ is extended to the blue plane.



                  My guess is that the maximum is front left, the minimum front right.



                  The intersection of $f$ and parabolic cylinder is determined by
                  $$
                  f(x,y) = 2 x y - x - y = z \
                  x^2 - y = 0
                  $$
                  Along the parabola we get this height:
                  $$
                  g(x) = f(x, x^2) = 2 x^3 - x - x^2
                  $$
                  Along the line $y=4$ we get this height:
                  $$
                  h(x) = f(x, 4) = 8 x - x - 4 = 7x - 4
                  $$
                  The extrema for $x in [-2, 2]$ are
                  $$
                  g(2) = 16 - 2 - 4 = 10 quad h(2) = 10 \
                  g(-2) = -16 + 2- 4 = -18 quad h(-2) = -18
                  $$






                  share|cite|improve this answer














                  I made a plot to get familiar with problem.



                  function and region



                  $f$ is the hyperbolic plane in red.
                  The parabola is extended in $z$-direction into the green surface.
                  The line $y=4$ is extended to the blue plane.



                  My guess is that the maximum is front left, the minimum front right.



                  The intersection of $f$ and parabolic cylinder is determined by
                  $$
                  f(x,y) = 2 x y - x - y = z \
                  x^2 - y = 0
                  $$
                  Along the parabola we get this height:
                  $$
                  g(x) = f(x, x^2) = 2 x^3 - x - x^2
                  $$
                  Along the line $y=4$ we get this height:
                  $$
                  h(x) = f(x, 4) = 8 x - x - 4 = 7x - 4
                  $$
                  The extrema for $x in [-2, 2]$ are
                  $$
                  g(2) = 16 - 2 - 4 = 10 quad h(2) = 10 \
                  g(-2) = -16 + 2- 4 = -18 quad h(-2) = -18
                  $$







                  share|cite|improve this answer














                  share|cite|improve this answer



                  share|cite|improve this answer








                  edited Apr 10 '16 at 21:43

























                  answered Apr 10 '16 at 18:32









                  mvw

                  31.2k22252




                  31.2k22252






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Mathematics Stack Exchange!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      Use MathJax to format equations. MathJax reference.


                      To learn more, see our tips on writing great answers.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmath.stackexchange.com%2fquestions%2f446776%2fabsolute-extrema-of-the-function-fx-y-2xy-x-y%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      Plaza Victoria

                      In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

                      How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...