Lagrange Multiplier where constraint is a rectangle

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
4 replies · 3K views
SamitC
Messages
36
Reaction score
0
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
 
Physics news on Phys.org
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 ...
 
  • Like
Likes   Reactions: SamitC
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.
 
  • Like
Likes   Reactions: SamitC
Thanks a lot. Its clear now.