Consider the objective function "f(x,y)=xy"
Let the constraint function be "g(x,y)=y-e^{8x}"
Apply Lagrange Multiplier as follows:
So, find the gradients both sides and equate as,
Equate both sides to obtain,
Substitute "\\lambda=x" into equation "y=-\\lambda8e^{8x}" to obtain "y=-8xe^{8x}"
Now, substitute "-8xe^{8x}" for "y" into constraint equation "y-e^{8x}=0" and solve for "x" as,
Solve the equation as follows:
Next, plug "x=-\\frac{1}{8}" into relation "y=-8xe^{8x}" to find the value of "y" as,
Comments
Leave a comment