Partial derivatives give us an understanding of how a surface changes when we move in the and directions. We made the comparison to standing in a rolling meadow and heading due east: the amount of rise/fall in doing so is comparable to . Likewise, the rise/fall in moving due north is comparable to . The steeper the slope, the greater in magnitude .
But what if we didnβt move due north or east? What if we needed to move northeast and wanted to measure the amount of rise/fall? Partial derivatives alone cannot measure this. This section investigates directional derivatives, which do measure this rate of change.
The partial derivatives and are defined with similar limits, but only or varies with , not both. Here both and vary with a weighted , determined by a particular unit vector . This may look a bit intimidating but in reality it is not too difficult to deal with; it often just requires extra algebra. However, the following theorem reduces this algebraic load.
The surface is plotted in Figure 13.6.4, where the point is indicated in the -plane as well as the point which lies on the surface of . We find that and ; and .
Figure13.6.4.Understanding the directional derivative in Example 13.6.3
Let be the unit vector that points from the point to the point , as shown in the figure. The vector ; the unit vector in this direction is . Thus the directional derivative of at in the direction of is
.
Thus the instantaneous rate of change in moving from the point on the surface in the direction of (which points toward the point ) is about . Moving in this direction moves one steeply downward.
We seek the directional derivative in the direction of . The unit vector in this direction is . Thus the directional derivative of at in the direction of is
.
Starting on the surface of at and moving in the direction of (or ) results in no instantaneous change in -value. This is analogous to standing on the side of a hill and choosing a direction to walk that does not change the elevation. One neither walks up nor down, rather just βalong the sideβ of the hill. Finding these directions of βno elevation changeβ is important.
At , the direction towards the origin is given by the vector ; the unit vector in this direction is . The directional derivative of at in the direction of the origin is
.
Moving towards the origin means βwalking uphillβ quite steeply, with an initial slope of about .
As we study directional derivatives, it will help to make an important connection between the unit vector that describes the direction and the partial derivatives and . We start with a definition and follow this with a Key Idea.
The properties of the dot product previously studied allow us to investigate the properties of the directional derivative. Given that the directional derivative gives the instantaneous rate of change of when moving in the direction of , three questions naturally arise:
Equation (13.6.1) is maximized when , i.e., when the gradient and have the same direction. We conclude the gradient points in the direction of greatest change.
Equation (13.6.1) is minimized when , i.e., when the gradient and have opposite directions. We conclude the gradient points in the opposite direction of the least change.
Equation (13.6.1) is 0 when , i.e., when the gradient and are orthogonal to each other. We conclude the gradient is orthogonal to directions of no change.
This result is rather amazing. Once again imagine standing in a rolling meadow and face the direction that leads you steepest uphill. Then the direction that leads steepest downhill is directly behind you, and side-stepping either left or right (i.e., moving perpendicularly to the direction you face) does not change your elevation at all.
Recall that a level curve is defined as a curve in the -plane along which the -values of a function do not change. Let a surface be given, and letβs represent one such level curve as a vector-valued function, . As the output of does not change along this curve, for all , for some constant .
This last equality states : the gradient is orthogonal to the derivative of , meaning the gradient is orthogonal to the graph of . Our conclusion: at any point on a surface, the gradient at that point is orthogonal to the level curve that passes through that point.
Thus the direction of maximal increase is . In this direction, the instantaneous rate of change is .
Figure 13.6.9 shows the surface plotted from two different perspectives. In each, the gradient is drawn at with a dashed line (because of the nature of this surface, the gradient points βintoβ the surface). Let be the unit vector in the direction of at . Each graph of the figure also contains the vector . This vector has a βrunβ of 1 (because in the -plane it moves 1 unit) and a βriseβ of , hence we can think of it as a vector with slope of in the direction of , helping us visualize how βsteepβ the surface is in its steepest direction.
(a)
(b)
Figure13.6.9.Graphing the surface and important directions in Example 13.6.8
The direction of minimal increase is ; in this direction the instantaneous rate of change is .
Any direction orthogonal to is a direction of no change. We have two choices: the direction of and the direction of . The unit vector in the direction of is shown in each graph of the figure as well. The level curve at is drawn: recall that along this curve the -values do not change. Since is a direction of no -change, this vector is tangent to the level curve at .
We find . At , we have . According to Theorem 13.6.7, this is the direction of maximal increase. However, is directionless; it has no displacement. And regardless of the unit vector chosen, .
Figure 13.6.11 helps us understand what this means. We can see that lies at the top of a paraboloid. In all directions, the instantaneous rate of change is 0.
So what is the direction of maximal increase? It is fine to give an answer of , as this indicates that all directional derivatives are 0.
Figure13.6.11.At the top of a paraboloid, all directional derivatives are 0
The fact that the gradient of a surface always points in the direction of steepest increase/decrease is very useful, as illustrated in the following example.
Let be the vector-valued function describing the path of the water in the -plane; we seek and . We know that water will always flow downhill in the steepest direction; therefore, at any point on its path, it will be moving in the direction of . (We ignore the physical effects of momentum on the water.) Thus will be parallel to , and there is some constant such that .
We find and write as and as . Then
.
This implies
and i.e.,
and .
As equals both expressions, we have
.
To find an explicit relationship between and , we can integrate both sides with respect to . Recall from our study of differentials that . Thus:
Now raise both sides as a power of :
(Note that is just a constant.) (Note that is just a constant.) .
As the water started at the point , we can solve for :
.
(a)
(b)
Figure13.6.13.A graph of the surface described in Example 13.6.12 along with the path in the -plane with the level curves
Thus the water follows the curve in the -plane. The surface and the path of the water is graphed in Figure 13.6.13.(a). In Figure 13.6.13.(b), the level curves of the surface are plotted in the -plane, along with the curve . Notice how the path intersects the level curves at right angles. As the path follows the gradient downhill, this reinforces the fact that the gradient is orthogonal to level curves.
The concepts of directional derivatives and the gradient are easily extended to three (and more) variables. We combine the concepts behind Definitions 13.6.1 and Definition 13.6.5 and Theorem 13.6.2 into one set of definitions.
If a point source is radiating energy, the intensity at a given point in space is inversely proportional to the square of the distance between and . That is, when , for some constant .
Let , let be a unit vector, and let . Measure distances in inches. Find the directional derivative of at in the direction of , and find the direction of greatest intensity increase at .
We need the gradient , meaning we need , and . Each partial derivative requires a simple application of the Quotient Rule, giving
.
The directional derivative tells us that moving in the direction of from results in a decrease in intensity of about units per inch. (The intensity is decreasing as moves one farther from the origin than .)
The gradient gives the direction of greatest intensity increase. Notice that
.
That is, the gradient at is pointing in the direction of , that is, towards the origin. That should make intuitive sense: the greatest increase in intensity is found by moving towards to source of the energy.
The directional derivative allows us to find the instantaneous rate of change in any direction at a point. We can use these instantaneous rates of change to define lines and planes that are tangent to a surface at a point, which is the topic of the next section.