Lagrange Multipliers to find max/min values

Click For Summary

Homework Help Overview

The discussion revolves around using Lagrange Multipliers to find the maximum and minimum values of the function f(x,y) = exp(xy) under the constraint x^3 + y^3 = 16.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants discuss setting the partial derivatives equal to zero and the challenges in solving for the variables and the multiplier λ. There are attempts to eliminate λ by manipulating the equations derived from the method.

Discussion Status

Some participants have offered guidance on how to eliminate λ and suggested methods for determining whether the critical point found is a maximum or minimum. There is ongoing exploration of different approaches to analyze the critical point.

Contextual Notes

Participants express confusion regarding the determination of maximum or minimum values and the methods available for such analysis, indicating a need for clarification on the application of these methods.

arl146
Messages
342
Reaction score
1

Homework Statement


Use Lagange Multipliers to find the max and min values of the function subject to the given constraint(s). f(x,y)=exp(xy) ; constraint: x^3 + y^3 = 16


Homework Equations


\nablaf = \nablag * \lambda
fx = gx * \lambda
fy = gy * \lambda


The Attempt at a Solution


Set the fx and fy eqns equal to 0. but i can't solve for x, y, and lambda... i guess my algebra isn't that strong

i got fx = \lambda * gx
y*exy = 3x2\lambda

and for y:

x*exy = 3y2\lambda

and g(x,y) = x3 + y3 = 16
 
Physics news on Phys.org
no one can offer a little help? =/
 
Hi arl146! :smile:

You need to solve this set of equations:
(1) y exy = 3x2λ
(2) x exy = 3y2λ
(3) x3 + y3 = 16

Can you find λ from equation (1)?
And also from equation (2)?
Then equate them to each other, effectively eliminating λ?
 
Since a specific value for \lambda is not necessary for the solution, I find it is often simplest to start by eliminating \lambda by dividing one equation by another. Here, start by dividing ye^{xy}= 3x^2\lambda by xe^{xy}= 3y^2\lambda: y/x= x^2/y^2 which is the same as x^3= y^3. Putting that into x^3+ y^3= 16 gives 2x^3= 16.
 
well i sort of did something like that and got and y=x and with the whole x^3 + y^3 = 16 that means y=x=2. so there's what, is it called a critical pt still, at (2,2) ? so i just plug that into f(x,y)= exp(xy) ??
so you'd have f(2,2)=exp(4) ... is that all i do ? it just seems wrong.idk why haha
 
Yes that's all you do. :)

The only thing remaining is finding out whether it's a maximum or a minimum...
 
yea i think that's why i came here because i got confused with that one value. how do you know?
 
arl146 said:
yea i think that's why i came here because i got confused with that one value. how do you know?

Doesn't your class material cover that?

Anyway, I know of 3 methods:

1. Using the second derivative test (Hessian matrix).
I can't quickly find a easy example for it (yet).

2. Since you only have one extrema, you can pick any point that satisfies the constraint and calculate f(x,y) there. Compare it with the f(x,y) at the extremum and you know whether it's a maximum or a minimum.

3. Vary x with a small epsilon, and calculate how you need to vary y to match the constraint in first order approximation.
In your case (x + epsilon)^3 + (y - epsilon)^3 = 16.
Check what f(x + epsilon, y - epsilon) does relative to f(x,y).
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
Replies
4
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 15 ·
Replies
15
Views
4K
Replies
5
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 6 ·
Replies
6
Views
6K