How do you minimize and maximize f(x,y)=yexxey constrained to xy=4?

1 Answer
Dec 30, 2017

?

Explanation:

We could use the Lagrange multiplier L :

f(x,y,L)=yexp(x)xexp(y)+L(xy4)

dfdx=yexp(x)exp(y)+Ly=0
dfdy=exp(x)xexp(y)+Lx=0
dfdL=xy4=0y=4x

(4x)exp(x)exp(4x)+4Lx=0
exp(x)xexp(4x)+Lx=0

Multiply the last equation by (4/x) :

(4x)exp(x)4exp(4x)+4L=0

Subtract this equation from the first :

3exp(4x)+4Lx4L=0
4L(11x)=3exp(4x)
L=(34)exp(4x)11x

Fill in this value for L in the second equation :

exp(x)xexp(4x)+(34)exp(4x)x2x1=0
exp(x)+exp(4x)[(34)x2x1x]=0
exp(x)=exp(4x)x(x1)(34)x2x1
exp(x)=exp(4x)x(14)x1x1
exp(x4x)=x(14)x1x1

This looks like a transcendental equation.
I am stopping here, but if one solves this numerically, one gets
x and then L and also y.