Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

I Lagrange Multiplier where constraint is a rectangle

  1. May 4, 2016 #1
    Hello,
    How can I use Lagrange Multipliers to get the Extrema of a curve f(x,y) = x2+4y2-2x2y+4 over a rectangular region -1<=x<=1 and -1<=y<=1 ?
    Thanks
     
  2. jcsd
  3. May 5, 2016 #2

    Ssnow

    User Avatar
    Gold Member

    yes, before it is simpler to study the critical point of the gradient and look for max or min inside the rectangle, you can apply the Lagrange method for the boundary of the rectangle ...
     
  4. May 5, 2016 #3

    stevendaryl

    User Avatar
    Staff Emeritus
    Science Advisor

    Just to add to what Ssnow said, I think that Lagrange multipliers are only directly useful for continuous constraints. If the constraint is just that [itex](x,y)[/itex] must be inside a rectangle, then I would think that you would do the following:

    1. First, find the extrema forgetting about the rectangle.
    2. Then if the extrema found in step 1 are all inside the rectangle, then you're done.
    3. If not, then use the method of Lagrange multipliers to find the extrema for each of the four sides of the rectangle.
     
  5. May 5, 2016 #4

    Orodruin

    User Avatar
    Staff Emeritus
    Science Advisor
    Homework Helper
    Gold Member

    I actually think it is overkill to use Lagrange multipliers for the boundaries. Since the boundaries are so simple, just insert the boundary constraint and treat the resulting function as a function of the remaining variable.
     
  6. May 5, 2016 #5
    Thanks a lot. Its clear now.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Draft saved Draft deleted



Similar Discussions: Lagrange Multiplier where constraint is a rectangle
  1. Lagrange Multipliers. (Replies: 0)

  2. Lagrange Multipliers (Replies: 10)

  3. Lagrange multiplier (Replies: 1)

  4. Lagrange multiplier (Replies: 6)

Loading...