Consider the objective function "f(x,y)=xy"
Let the constraint function be "g(x,y)=y\u2212e^{8x}"
Use Lagrange Multiplier as follows:
Next, find the gradients both sides as,
Equate both sides to obtain,
Substitute "x" for "\\lambda" into relation "y=\u22128\u03bbe^{8x}" to obtain "y=\u22128xe^{8x}"
Now, substitute "\u22128xe^{8x}" for "y" into constraint equation "y\u2212e^{8x}=0" and solve for "x" as,
Plug "x=-\\frac{1}{8}" into relation "y=\u22128xe^{8x}" and solve for "y" as,
Comments
Leave a comment