Question #98012
Use KKT conditions to find the optimal solution to this problem: maximize x1 - x2, such that x1^2 + x2^2 <= 1
1
Expert's answer
2019-11-11T10:35:32-0500

x1x2x_1-x_2 -> max

x12+x22<=1x_1^2+x_2^2<=1

Lagrange:

F(x1,x2,λ)=x1x2λ(x12+x2212)F(x_1,x_2, \lambda)=x_1-x2-\lambda*(x_1^2+x_2^2-1^2)

we obtain the stationary conditions

12λx1=01+2λx2=01-2\lambda x_1=0\\1+2\lambda x_2=0

subtracting the first from the second we have:

2λ(x1+x2)=0=>x1=x22\lambda (x1+x2)=0=>x_1=-x_2

substituting in the original equation we get

x1=0.707106781186548x2=0.707106781186548x_1=0.707106781186548\\x_2=-0.707106781186548

answer: 1.4142135623730951.414213562373095


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS