Skip to article frontmatterSkip to article content

12. Optimization of functions of two variables

Faculty of Economics and Business
University of Zagreb

12.1Local extrema

The only thing that’s left to be answered is how to use the Hessian matrix to determine the character of the stationary points. In order to do so, let

D1=fxx,D2=det(Hf(x,y)).D_1 = f_{xx}, \quad D_2 = \text{det}\left( H_f (x,y)\right).

Now we distinguish between three possible cases:

12.2Constrained optimization

In this section we are going to learn how to solve the following problem:

{optimize: f(x,y)constraint: g(x,y)=c\begin{cases} \text{optimize: } \quad f(x,y) \\ \text{constraint: } \quad g(x,y) = c \end{cases}

There are two ways in which we can solve the problem above:

~ Substitution method ~

Substitution method is extremely useful when the constraint is given in the form of a linear function.

~ Lagrange multiplier method ~

As we have seen in the previous problems, substitution method is very useful when the constraint is such that we can express one variable via the other, but we need a method for problems when that is not the case.