Consider the objective function f(x,y)=xy
Let the constraint function be g(x,y)=y−e8x
Apply Lagrange Multiplier as follows:
∇f(x,y)=λ∇g(x,y)So, find the gradients both sides and equate as,
<y,x>=λ<−8e8x,1>Equate both sides to obtain,
y=−λ8e8xx=λSubstitute λ=x into equation y=−λ8e8x to obtain y=−8xe8x
Now, substitute −8xe8x for y into constraint equation y−e8x=0 and solve for x as,
−8xe8x−e8x=0Solve the equation as follows:
e8x(−8x−1)=0
−8x−1=0,e8x=0
x=−81Next, plug x=−81 into relation y=−8xe8x to find the value of y as,
y=−8(−81)e8(−81)=e−1
Comments