This activity is designed to review the theory and techniques for finding stationary points for functions of several variables and introduce some new techniques for deciding when the stationary points are actually optimal points. The concepts of Hessian matrix, Quadratic Form, and definiteness will be important during the rest of the course. Since many problems encountered in practice are nonlinear, the information learned today will be useful in your careers.
( positive definite If A is a symmetric nxn matrix then A is | positive semidefinite | negative definite ( negative semidefinite ( > 0 if XAXT | >= 0 for all nonzero X. | < 0 ( <= 0 Otherwise, A is said to be indefinite.
A manufacturing company operates its two available machines to polish
its metal products. The
two machines are equally efficient, although their maintenance costs are different. The company's daily
maintenance and operating costs are given in dollars as:
f(x1, x2) = 60 - x1 -
1.2x2 + 0.05x12 +
0.1x1x2 + 0.07x22
where x1 and x2 are the hours of operation of the two machines. Find the number of hours to operate each machine in order to minimize daily cost.
First find the gradient vector and set it to 0 to find the stationary points:
grad f(x1, x2) = (-1 + 0.1x1 + 0.1x2, -1.2 + 0.1x1 + 0.14x2)
Solving the equations: 0.1x1 + 0.1x2 = 1 and 0.1x1 + 0.14x2 = 1.2 simultaneously
we get 0.04x2 = 0.2 or x2 = 5, and x1 = 5.
Now, to check that (5, 5) is a relative min, we compute the
Hessian and verify that it is positive definite:
| 0.1 0.1 |
H(5, 5) = | 0.1 0.14|.
Reducing H to REF we first divide h11 by 0.1, so d11 becomes 0.1. After putting column one in REF we get
| 1 1 | | 0 0.04|
Now divide h22 by 0.04, so d22 = 0.04. Since the diagonal matrix associated with the Hessian has positive entries along the diagonal, it is positive definite since:
| 0.1 0 |[ h1 h2 ]
[h1 h2] | 0 0.04 |
= 0.1h12 + 0.04h22
> 0 when (h1, h2) <> (0, 0).
Thus the stationary point is a relative minimum.
These will be provided in class.
Return to the
List of Activities