A. Errors
First of all, we mention the use of the total differential to estimate the error in a quantity computed from quantities in which the error is known. For instance, the gravitational attraction between masses at distance is given by
We might ask: If we have found and each to be and , then how large an error can result in calculating the force, using these numbers? Since we are only interested in an estimate, we neglect the error term in the expression for and find
\begin{aligned} df &= \frac{m_2}{r^2} dm_1 + \frac{m_1}{r^2} dm_2 - \frac{2m_1 m_2}{r^3} dr \\ &= \frac{10^3}{10^2} dm_1 + \frac{10^3}{10^2} dm_2 - \frac{2 \cdot 10^6}{10^3} dr \cdot \end{aligned}The absolute value of this is greatest when . Then we have
Thus our estimate of the maximum error in the force is dynes.
B. Maxima and Minima
We can make a simple test for relative maxima and minima of functions of several variables. We shall speak in terms of functions of two variables, but the extension to functions of more variables will be clear. A point is called a relative maximum of if there is a neighborhood of such that for all points of this neighborhood,
A relative minimum is similarly defined. Assume that and exist at the relative maximum . Then the function has a relative maximum at , so g'(x_0) = f_x(x_0, y_0) = 0. Likewise, has a relative maximum at , so h'(y_0) = f_y(x_0, y_0) = 0. Thus we conclude:
If has a relative maximum or minimum at , then
The converse is no more true than in the case of functions of one variable. There are higher derivative tests as before, but we shall not discuss them here.
C. Tangent Planes and Normal Lines to Surfaces
Next consider the set of points such that , where is some constant and has continuous first derivatives. Such a set of points is called a level surface for the function . It is completely analogous to the level curves for the functions of two variables which we used in drawing our contour maps. A particular case of a level surface is the "graph" of a function of two variables. The points we plot in this case are the points , and these are exactly the level surface where
An example which is not of this type is the sphere of radius about the origin, which is the level surface
We wish to find the normal line and tangent plane to such a surface at a point of the surface. If we can find a vector perpendicular, in some sense, to the surface at , then we shall be done. For this will be a vector parallel to the normal line and perpendicular to the tangent plane. What we shall show is that grad f, evaluated at , is such a vector .
But what is it to mean for a vector to be perpendicular to the surface at ? If we knew there were lines on the surface through , we might say that the vector should be perpendicular to all such lines. But there are no lines on the sphere, for instance; so we next try to find a vector perpendicular at to all curves on the surface passing through . Therefore let be a curve on the surface, and let . Since the curve lies on the surface, we know that
Therefore
But we have seen that
\frac{d}{dt} (f(x(t), y(t), z(t))) = (\text{grad } f) \cdot X'(t),so
(\text{grad } f) \cdot X'(t) = 0 \cdotIn particular,
((\text{grad } f)(x_0, y_0, z_0)) \cdot X'(t_0) = 0 \cdotBut X'(t_0) is a vector parallel to the tangent to the curve at . Since is perpendicular to X'(t_0), it is perpendicular to the tangent to the curve at , and this is true for any curve on the surface passing through . Thus is the desired vector . This gives a geometric interpretation to the direction of grad f: grad f, evaluated at , is perpendicular to the level surface at the point . We shall give an interpretation of its length in the next paragraph.
D. Directional derivative
Let be a function of three variables (although variables would do as well). Let be a given non-zero vector, and let be a given point. When we find at , we are finding the rates of change of with respect to distance traveled from the point in one of the three directions parallel to the respective axes. Now suppose instead that we locate the vector with the point as initial point and travel along , or in other words, we travel from in the same direction as , and we wish to measure the rate of change of with respect to distance traveled. If we go from to , the "average rate" will be
Now the vector is to have the same direction as , so for some . Therefore . Moreover,
where
The "instantaneous rate", which we call the directional derivative of at in the direction of , will be the limit as of the average rate, or since means the same as ,
But we have seen that the second term goes to zero, and the first is simply
This result gives us a simple formula for finding the directional derivative.
Now observe that if is the angle between and grad f, then , or the directional derivative is simply . This is of course largest when , i.e., when has the same direction as grad f, and in that case it is just . Thus we have our interpretation for : It is the maximum value for the directional derivative of in any direction. Note also that the minimum value for the directional derivative of occurs when the direction is opposite to that of grad f, and that this minimum value is .
EXERCISES
Investigate the following functions for relative maxima and minima:
a)
b)
c)
Let .
Find:
a) grad f at P;
b) the normal line at to the level surface for which passes through ;
c) the tangent plane to this surface at ;
d) the directional derivative of at in the direction of the vector .
e) the maximum and minimum values for the directional derivative of at .
Consider the formula for kinetic energy: . Suppose that is found to be , with a maximum error of , and is found to be , with a maximum error of . Estimate the maximum error resulting in the computation of the kinetic energy, as well as the percentage error in .
Show that is a constant if and only if .