Undergrad Lagrange Multiplier where constraint is a rectangle

Click For Summary
To find the extrema of the function f(x,y) = x² + 4y² - 2x²y + 4 over the rectangular region defined by -1 ≤ x ≤ 1 and -1 ≤ y ≤ 1, one approach is to first identify critical points within the rectangle by analyzing the gradient. If all identified extrema lie within the rectangle, those are the solutions. If some extrema fall outside, apply the Lagrange multiplier method to the boundaries of the rectangle. However, since the rectangle's boundaries are straightforward, substituting the boundary constraints directly into the function may be more efficient than using Lagrange multipliers. This method clarifies the process for finding extrema in constrained optimization problems.
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 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 (x,y) 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 SamitC
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.
 
  • Like
Likes SamitC
Thanks a lot. Its clear now.
 
Relativistic Momentum, Mass, and Energy Momentum and mass (...), the classic equations for conserving momentum and energy are not adequate for the analysis of high-speed collisions. (...) The momentum of a particle moving with velocity ##v## is given by $$p=\cfrac{mv}{\sqrt{1-(v^2/c^2)}}\qquad{R-10}$$ ENERGY In relativistic mechanics, as in classic mechanics, the net force on a particle is equal to the time rate of change of the momentum of the particle. Considering one-dimensional...

Similar threads

  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
Replies
9
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
Replies
7
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K