I am trying to use Lagrange multipliers to find the maximum and minimum values of the function $$f(x,y)=e^{-xy}$$ constrained as $$x^2+4y^2=5$$
I began this problem by setting up the Lagrangian:
$$f(x,y) = e^{-xy}$$ $$g(x,y) = x^2+4y^2-5$$ $$L(x,y) = f(x,y) - \lambda g(x,y) = e^{-xy} - \lambda (x^2+4y^2-5)$$
So our equations are:
$$-ye^{-xy} - 2\lambda x = 0$$ $$-xe^{xy} -8\lambda y = 0$$ $$x^2+4y^2-5 = 0$$
Now from the first equation, $e^{-xy} = 2\lambda x/y$. Substituting into the second equation yields: $2x^2 \lambda / y = 8 \lambda y$ or $x^2+4y^2 = 0$. This clearly violates the third equation, meaning this system has no solution. Doe this mean there are no local maxima or minima?
Any guidance is greatly appreciated!
You have some mistakes. Applying Lagrange Multiplier method, you get
$-ye^{-xy} - 2\lambda x = 0$
$-xe^{-xy} -8\lambda y = 0$
$x^2 + 4y^2 - 5 = 0$
From first, $e^{-xy} = - \cfrac{2 \lambda x}{y}$ for $ \ x, y \ne 0$
Substituting in second, $\cfrac{2 \lambda x^2}{y} = 8 \lambda y$,
For $\lambda \ne 0, x^2 = 4y^2 \implies x = \pm 2y$
Plugging into constraint, $x = \pm \sqrt{\dfrac{5}{2}}, \ y = \pm \sqrt{\dfrac{5}{8}}$
Can you take it from here?