Extrema of real valued functions of one variable
Theorem 1.
For some integer , let have continuous th derivative in the open interval . Suppose also that for some , we have
Then for even , has a local minimum at if , and a local maximum at if . If is odd, there is neither a local maximum nor a local minimum at .
Proof.
Since and is continuous at , there exists an interval such that for every in , will have the same sign as . Now by Taylor’s formula for functions from to , for every ,
where . If is even, this equation implies when and when . If is odd, it is clear that there can be no extremum at .□
Extrema of real valued functions of several variables
Given the existence of each partial derivative at some interior point in the domain of , every partial derivative being zero is a necessary condition for to have a local maximum or a local minimum at . We can also state this in terms of directional derivatives by saying that must be zero for every direction . This is not a sufficient condition, however.
Definition 2.
If is differentiable at and if , the point is called a stationary point of . A stationary point is called a saddle point if every -ball contains points such that and other points such that .
To determine whether a function of variables has a local maximum, a local minimum, or a saddle point at a stationary point , we must determine the algebraic sign of for all in a neighborhood of . As in the one-dimensional case, this is done with the help of Taylor’s formula. If the partial derivatives of are differentiable on an -ball then
where lies on the line segment . At a stationary point we have , so
Therefore, as ranges over , the algebraic sign of is determined by that of . We would like to relate the sign of to that of . Define
and note that
This shows us that as if the second order partial derivatives of are continuous at . Now, we can write
We will show that this equation allows us to say that the sign of is the same as that of in a neighborhood of .
Theorem 3.
Assume that the second order partial derivatives exist in an -ball and are continuous at , where is a stationary point of . Let
- If for all , has a relative minimum at .
- If for all , has a relative maximum at .
- If takes both positive and negative values, then has a saddle point at .
Proof
The function is continuous at each point in . Let . If for all , then is positive on . Since is compact, has a minimum on (call it ), and . Now, for all real . Taking when , we see that , and , so . So,
Since as , there is such that whenever . For such we have
Therefore has a relative minimum at .
[!Corollary]
Let be a real-valued function with continuous second-order partial derivatives exist in a ball and are continuous at a stationary point . Let
Let
Then, we have
- If and , has a relative minimum at .
- If and , has a relative maximum at .
- If , has a saddle point at .