Lagrange multipliers and two constraints

Click For Summary

Homework Help Overview

The discussion revolves around finding the minimum and maximum values of the function f(x,y,z) = x^2 + 2y^2 + 3z^2 under the constraints x + y + z = 1 and x - y + 2z = 2. Participants are exploring the application of Lagrange multipliers and considering alternative geometric methods for optimization.

Discussion Character

  • Mixed

Approaches and Questions Raised

  • Participants discuss using Lagrange multipliers and express uncertainty about solving the resulting system of equations. There are suggestions to express variables x, y, and z in terms of parameters u and m. Others propose a geometric approach to simplify the problem by finding the intersection of the constraints.

Discussion Status

The conversation is active, with participants sharing insights and methods. Some have provided hints and guidance on how to proceed with the problem, while others are questioning the assumptions and exploring different methods without reaching a consensus.

Contextual Notes

There is an emphasis on the importance of understanding Lagrange multipliers in optimization, but also a recognition that the method may not be well-taught in some contexts. Participants are navigating between theoretical and practical aspects of the problem.

autre
Messages
116
Reaction score
0
So I need to find the min and max values of f(x,y,z) = x^2 + 2y^2 + 3z^2 given the constraints x + y + z = 1 and x - y + 2z =2. I've gotten as far as (2x, 4y, 6z) = (u,u,u) + (m,-m,2m). I'm stuck trying to solve this system of equations. Any hints?
 
Physics news on Phys.org
You have the constraints as two more equations: x+y+z=1 and x-y+2z=2.

ehild
 
autre said:
So I need to find the min and max values of f(x,y,z) = x^2 + 2y^2 + 3z^2 given the constraints x + y + z = 1 and x - y + 2z =2. I've gotten as far as (2x, 4y, 6z) = (u,u,u) + (m,-m,2m). I'm stuck trying to solve this system of equations. Any hints?

Write them out: 2x = u+m, 4y = u-m, 6z = u+2m. Solving for x, y and z as functions of u and m is quite easy. Now you need two more equations to determine u and m. Can you guess what they are?

RGV
 
whilst lagrange is a good idea, and the comments above from ehild & Ray are good ideas about where to head - i think a geometric method would be a tiny bit quicker here... though its upto preference i guess, and all the same at the end of the day

the intersection of two planes is a line. If you find the equation of that line it reduces to optimising a single variable function.
 
how would you go about solving for x,y,z as functions of u and m?
 
lanedance said:
whilst lagrange is a good idea, and the comments above from ehild & Ray are good ideas about where to head - i think a geometric method would be a tiny bit quicker here... though its upto preference i guess, and all the same at the end of the day

the intersection of two planes is a line. If you find the equation of that line it reduces to optimising a single variable function.

The use of Lagrange multipliers is crucial in achieving robust, efficient numerical constrained optimization algorithms. Often, the convergence speed of a recursive search algorithm can be increased by orders of magnitude by updating not only the estimates of x,y,z,... but also by intelligently updating the estimates of Lagrange multipliers. In many problems involving inequality constraints, one proceeds by assuming some of the constraints are equalities---the "active set---and ignoring the others; knowing the signs of the corresponding Lagrange multipliers is crucial in checking whether one has the correct active set. Some of the very best constrained optimization codes combine Lagrange multiplier and "penalty" methods---the so-called method of multipliers---to deal with difficult constrained optimization problems. Finally, solving the Lagrangian equations numerically is one of the standard methods to solve constrained optimization problems numerically.

So, rather than being an unnecessary distraction, Lagrange multipliers play an extremely important part in modern optimization theory and practice. They should be known by every serious student who will ever do optimization in his/her professional life. That said, it is often the case that the material is not well-taught, and the actual geometric content of the method is perhaps not spelled out the way it ought to be, but that may be more the fault of textbook choice rather than of the material itself. Of course, if the method just appears as a small section in a Calculus course, the crucial role of the method in optimization practice may be missed or not sufficiently emphasized.

RGV
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
6K
Replies
10
Views
1K
  • · Replies 18 ·
Replies
18
Views
3K