
908 Appendix A Numerical Methods
Just as with one-variable functions, points in the domain of a function f(x, y)
with partial first derivatives equal to zero are called critical points, and so the theo-
rem echoes the analogous one for one-variable functions in stating that the relative
extrema of functions occur at critical points.
Recall that for a one-variable function, the first derivative being zero does not
guarantee that the point is a relative extremum; the example was an inflection point in
the graph of the function. Similarly, for two-variable functions, the partial derivatives
being both zero do not guarantee you have a relative extremum. Figure A.15 shows
the graph of the function f(x, y) = x
2
− y
2
. At the point (0, 0), the traces of the
function in both the XZ and YZ planes have horizontal tangent lines because
∂f
∂x
(x
0
, y
0
) = 0
∂f
∂y
(x
0
, y
0
) = 0
Observe that any circlecenteredat(0, 0) will have points that have a z-value greater
than 0 and points that have a z-value less than zero, and so (0, 0), in spite of being
a critical point, is not an extremum. Not surprisingly, such points are called saddle
points.
We can use the first partial derivatives to locate relative extrema and saddle points
of functions. For example, given the function
f(x, y) = 3 − x
2
− y
2
we take the partial derivatives
∂f
∂x
=−2x
∂f
∂y
=−2y
and set them to zero. This yields x = 0 and y = 0, and so (0, 0) is the only critical
point. Evaluating the function at this critical point, we get f(0, 0) = 3; for all points
(x, y) other than (0, 0),wehavef(x, y) < 3 because f(x, y) = 3 − x
2
− y
2
= 3 −
(x
2
+ y
2
). Thus, (0, 0) is a relative maximum for f .
For single-variable functions, we have a second derivative test (Theorem A.5) that
we can apply for more complex functions. For two-variable functions, we have an
analogous theorem.
Theorem A.7 Second Partials Test: Suppose we have a function f with a critical point at (x
0
, y
0
), and
which has continuous second partial derivatives in some circle around that point. If
we let