MHB Lagrange multipliers for extreme values

Click For Summary
The discussion focuses on finding local extreme values of the function \(f(x,y)=x^2y\) constrained by the line \(x+y=3\). Two extreme points were identified: \((0,3)\) as the minimum with \(f(0,3)=0\) and \((2,1)\) as the maximum with \(f(2,1)=4\). A question arose about the validity of \((0,3)\) being the minimum since other points on the line, like \((8,-5)\), yield negative values for the function. It was clarified that Lagrange multipliers are not necessary when the constraint can be easily solved, although they can simplify calculations in some cases. The conversation emphasizes understanding the nature of local versus absolute extrema in constrained optimization.
skate_nerd
Messages
174
Reaction score
0
The problem given is to find the local extreme values of \(f(x,y)=x^2y\) on the line \(x+y=3\). I went through the system of equations with the partial derivatives of \(x\), \(y\), and \(\lambda\), and found two extreme points \((0,3)\) and \((2,1)\). Plugging that into the original function I found \(f(0,3)=0\) and \(f(2,1)=4\). So from what I have learned so far, that means that \((0,3)\) is the minimum and \((2,1)\) is the maximum, correct?
Then how come if I find some other point that lies on the line \(x+y=3\) such as \((8,-5)\), that would be a negative number when plugged into \(x^2y\)? Wouldn't mean that \((0,3)\) isn't actually the minimum? Maybe I am misunderstanding the way these work, but if somebody could explain this to me that would be nice. Thanks
 
Physics news on Phys.org
Re: lagrange multipliers for extreme values

skatenerd said:
The problem given is to find the local extreme values of \(f(x,y)=x^2y\) on the line \(x+y=3\). I went through the system of equations with the partial derivatives of \(x\), \(y\), and \(\lambda\), and found two extreme points \((0,3)\) and \((2,1)\). Plugging that into the original function I found \(f(0,3)=0\) and \(f(2,1)=4\). So from what I have learned so far, that means that \((0,3)\) is the minimum and \((2,1)\) is the maximum, correct?
Then how come if I find some other point that lies on the line \(x+y=3\) such as \((8,-5)\), that would be a negative number when plugged into \(x^2y\)? Wouldn't mean that \((0,3)\) isn't actually the minimum? Maybe I am misunderstanding the way these work, but if somebody could explain this to me that would be nice. Thanks

In this case You don't need to use Lagrange multipliers because the problem is to find the maxima and minima of the function $\displaystyle f(x)= 3\ x^{2} - x^{3}$, that has a local maximum in $x=2$ and a local minimum in $x=0$. However $\displaystyle f(x)= 3\ x^{2} - x^{3}$ tends to $- \infty$ if x tends to $\infty$ and vice versa so that it has neither and absolte maximum nor an absolute minimum... Kind regards

$\chi$ $\sigma$
 
Re: lagrange multipliers for extreme values

Wait so are you saying that with these situations with one constraint to the original function you can just find the intersection of the two? If that is the case then what is the point of ever using lagrange multipliers when you have only one constraint?
 
Re: lagrange multipliers for extreme values

It is possible to express the objective function in one variable in this case because the constraint may be explicitly solved for one or both variables. It has been my experience that using Lagrange multipliers is computationally simpler, even in such cases.
 
Thread 'Problem with calculating projections of curl using rotation of contour'
Hello! I tried to calculate projections of curl using rotation of coordinate system but I encountered with following problem. Given: ##rot_xA=\frac{\partial A_z}{\partial y}-\frac{\partial A_y}{\partial z}=0## ##rot_yA=\frac{\partial A_x}{\partial z}-\frac{\partial A_z}{\partial x}=1## ##rot_zA=\frac{\partial A_y}{\partial x}-\frac{\partial A_x}{\partial y}=0## I rotated ##yz##-plane of this coordinate system by an angle ##45## degrees about ##x##-axis and used rotation matrix to...

Similar threads

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