Stationary Points: Multi-variable functions
We now move on to multi-variable functions. Again, we start off considering a function of two variables, and a point, in the domain of .
Let be a point in the domain of . Then, the point is a
local minimum if when is near
local maximum if when is near
global minimum if in domain of
global maximum if in domain of
The above definitions are shown graphically in Fig. 1.9:
Figure 1.9: Plot of a function showing stationary points. The global maximum is shown at the point while a local maximum is shown at . The global minimum is shown at and a local minimum is shown at . Note that the global extrema are also local extrema near their respective points.
The function has four extrema (The term 'extrema' (singular: extremum) refers to minimum or maximum values): two minima and two maxima; these are labelled in Fig. 1.9. A local extreme value is a value that is a maximum or minimum near the point . A global extreme value represents the maximum or minimum value of a function on a given domain, i.e. these are the absolute extreme values of on .
Local minima and maxima
Consider a function defined on a domain, and the point is in the domain of . Then, has a local maximum or minimum if
this means we have zero partial derivatives at , i.e. and .
It is clear to see where Theorem 1.5 comes from by considering the singlevariable case. Let us define , where is a fixed point. Then, by Theorem 1.3, has a local maximum (or minimum) at if , i.e. . Similarly, by defining and re-using Theorem 1.3, we have and hence .
Definition 1.5 Consider a function . The point is a critical point (or stationary point) of if
Being critical is necessary for a local maximum or local minimum. In other words, local maxima and minima must be looked for among critical points. Example 1.12 Suppose we have a function given by . Determine any critical points.
Solution We need to compute the partial derivatives of , i.e. and set them to zero to find any critical points. So, we need to solve the following 2 equations:
Equations (1.41) give and . There is only one critical point and it occurs at .
In Example 1.12, we found one critical point but at this point we did not classify it as maximum or minimum. In fact, not all critical points are maxima or minima; a stationary point can also be classified as a saddle point. To determine the nature of the critical points, we use the second derivative test given by Theorem 1.6.
Second derivative test
Consider a function that has continuous partial derivatives. Suppose that and . Now take the Hessian matrix [see Eq. (1.13)], evaluated at the point , and define its determinant, i.e.
Then, if
- and is a local maximum;
- and is a local minimum;
- is a saddle point;
- , the test is inconclusive (we need to consider higher order). Example 1.13 Consider the function . Find the stationary points and determine whether they are local maxima, minima or saddle points.
Solution The first step is to compute the partial derivatives of and set them to zero:
From Eqs. (1.42), we have the equalities and . Eliminating , gives:
Note that the terms in red are always which means that Eq. (1.43) is equal to zero if or (i.e. or ). This gives us the following stationary points:
To classify the critical points, we compute the Hessian determinant given in Theorem 1.6. This requires calculation of the second-order partial derivatives, and (recall that at each one of the critical points found). The Hessian determinant at an arbitrary point is given by,
Evaluating Eq. (1.44) at the point gives,
Similarly, at the points and we have