MHB Solve Lagrange Multipliers Problem with x-4y=1 Constraint

Click For Summary
To solve the Lagrange multipliers problem for the function f(x,y)=xy² with the constraint x-4y=1 and the bounds -1≤x≤2, the Lagrangian function is set up, and its derivatives are calculated to find critical points. The critical points identified are (1,0) and (1/3,-1/6), which satisfy the constraint. Additionally, the boundary points (-1,-1/2) and (2,1/4) are evaluated due to the x-boundary constraints. The minimum and maximum values of the function are determined by evaluating f at all four critical points. The process concludes with identifying the smallest and largest function values among these points.
Yankel
Messages
390
Reaction score
0
Hello all

I have this problem:

Use Lagrange Multipliers to find the min and max of:

\[f(x,y)=xy^{2}\]

under the constraint:

\[x-4y=1\]

\[-1\leqslant x\leq 2\]

My problem is: I know how to solve if

\[-1\leqslant x\leq 2\]

wasn't given. I calculate the Lagrangian function, find it's derivatives by x,y and lambda, and solve the 3 equations to find all suspicious points, I calculate the function value of them all and see which is smallest and which is largest.

I don't know what I should do with the second constraint:

\[-1\leqslant x\leq 2\]

should I simply verify that each point satisfy this condition, or should I check some boundary points ?
 
Physics news on Phys.org
What I would do here is identify the objective function:

$$f(x,y)=xy^2$$

and the constraint:

$$g(x,y)=x-4y-1=0$$

And using Lagrange we ultimately find the critical points:

$$(x,y)=(1,0),\,\left(\frac{1}{3},-\frac{1}{6}\right)$$

Both points have $x$-values within the second constraint. Now, using the $x$-boundaries of the second constraint, we obtain two more critical points:

$$(x,y)=\left(-1,-\frac{1}{2}\right),\,\left(2,\frac{1}{4}\right)$$

So, you have 4 critical points at which to evaluate the objective function, and the smallest and largest values are your minimum and maximum respectively. What do you find?

Doing this, I get values that agree with W|A (if you account for approximations being done by W|A):

optimize x*y^2 subject to x-4y=1,-1<=x<=2
 
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 4 ·
Replies
4
Views
3K
Replies
9
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K