]>
Home | 18.013A | Chapter 11 |
||
|
Now let us consider what happens when is a function of two variables, and .
We have seen that we can define partial derivatives, directional derivatives and differentiability in this case and in higher dimensions as well.
We can also define the quadratic approximation again without a problem, but it is much more interesting now. Quadratic functions of two or more variables are much more varied than those of one variable.
A general quadratic in two dimensions has the form
Such a function will have a critical point, at which its gradient is the vector, that is, where
and
both hold.
If we call that point , we can write the quadratic function as in one dimension as
so that the linear terms have been eliminated.
In two or more dimensions we define higher partial derivatives in the obvious way.
The second partial derivative of with respect to two variables is obtained by taking the first partial with respect to one and then taking the partial of that function with respect to the next.
A nice feature here is that when you take a mixed second derivative, for appropriately differentiable , the order of taking them does not matter.
The behavior of the quadratic function here is, apart from a constant, captured by the coefficient and , which are related to partial derivatives as follows
Notice that if we make a matrix out of the four possible partial derivatives (two choices for first, with respect to or , and then the same two choices for second derivative) in the obvious way
(The determinant of this matrix is the discriminant, of the quadratic, namely .)
How does such a quadratic behave?
If and are both positive while is 0, behavior in each variable here looks like that of in one dimension and will have a minimum at .
If we reverse all signs making and negative, again with , the quadratic will have a maximum at this point just as has at .
But now there is a third possibility, that of a saddle point.
A saddle point is a critical point at which the function rises in some directions and falls in others.
There are two examples that illustrate it: at ; and at .
The first of these increases if you move away from the origin in directions for which and not otherwise.
The second increases when both variables have the same sign, and not otherwise.
It is also possible to have behavior in which the function increases (say) in some directions and is flat in another: like in two dimensions. I don't know what you should call that behavior. As in one dimension, when this happens you have to look to higher derivatives in the direction to know whether you have a true local maximum or minimum.
Exercise 11.1 Find a critical point of . What kind of behavior does it have at that point? (You can test in an applet.)
In the applet here you can enter functions with saddle points. The origin of the name then becomes clear.
|