smize
- 78
- 1
Homework Statement
Use Lagrange multipliers to find the maximum and minimum values of the function subject to the given constraint.
f(x,y) = exy; g(x,y) = x3 + y3 = 16
Homework Equations
∇f(x,y) = λ∇g(x,y)
fx = λgx
fy = λgy
The Attempt at a Solution
∇f(x,y) = < yexy, xexy >
∇g(x,y) = < 3x2, 3y2 >
fx = λgx \Rightarrow yexy = λ3x2
fy = λgy \Rightarrow xexy = λ3y2
λ = \frac{xe^{xy}}{3y^{2}} = \frac{ye^{xy}}{3x^{2}} \Rightarrow 3x^{3}e^{xy} = 3y^{3}e^{xy} \Rightarrow x = y
Since x = y, x^{3} + y^{3} = 2x^{3} \Rightarrow 2x^{3} = 16, x = 2, y = 2
f(2,2) = e^{(2)(2)} = e^{4}
Here is where I'm having troubles. How do I determine whether it is a maximum or minimum? Could you give me more than one example? If I did anything wrong, please point it out.