Introduction: A constrained extremum problem is given by
  • Optimize z(x,y)
  • Subject to g(x,y)=k
  • Where xD1, yD2
Method: We define L:
L(x,y,λ)=z(x,y)λ(g(x,y)k),

and differentiate it with respect to x, y and λ:
  • Lx(x,y,λ)=zx(x,y)λgx(x,y)
  • Ly(x,y,λ)=zy(x,y)λgy(x,y)
  • Lx(x,y,λ)=g(x,y)+k
Subsequently, we put all the partial derivatives equal to zero and solve the system of equations in order to find the extremum locations.

Remark 1: We have to check whether the extremum is a minimum or a maximum.

Remark 2: λ can be interpreted as a 'shadow price'.