Section 10.7 Directional Derivatives
Differentials such as \(df\) are rarely themselves the answer to any physical question. So what good is the Master Formula? The short answer is that you can use it to answer any question about how \(f\) changes. Here are some examples.
Suppose you are an ant walking in a puddle on a flat table. The depth of the puddle is given by \(h(x,y)\text{.}\) You are given \(x\) and \(y\) as functions of time \(t\text{.}\) How fast is the depth of water through which you are walking changing per unit time?
This problem is asking for the derivative of \(h\) with respect to \(t\text{.}\) So divide the Master Formula by \(dt\) to get
where \(\rr\) describes the particular path you are taking. The factor \(d\rr\over dt\) is simply your velocity. This dot product is easy to evaluate, and yields the answer to the question.
(There are of course many ways to solve this problem; which method you choose may depend on how your path is described. It is often easiest to simply insert the given expressions for \(x\) and \(y\) in terms of \(t\) directly into \(h\text{,}\) then differentiate the resulting function of a single variable, thus calculating the left-hand side directly.)
You are another ant on the same surface, moving on a path with \(y=3x\text{.}\) How fast is the depth changing compared with \(x\text{?}\)
This problem is asking for the derivative of \(h\) with respect to \(x\) as you move along the path; note that this is the total derivative \(dh\over dx\text{,}\) not the partial derivative \(\Partial{h}{x}\text{,}\) which would only be appropriate if \(y\) were constant along the path. So divide the Master Formula by \(dx\) to get
then use what you know (\(y=3x\)) to relate the changes in \(x\) and \(y\) (\(dy=3\,dx\)), so that
to obtain
Evaluating the dot product yields the answer to the question.
You are still moving on the same surface, but now the question is, how fast is the depth changing per unit distance along the path?
This problem is asking for the derivative of \(h\) with respect to arclength \(ds\text{.}\) We can divide the Master Formula by \(ds\text{,}\) which leads to
Unfortunately, it is often difficult to determine \(s\text{;}\) it is not always possible to express \(h\) as a function of \(s\text{.}\) On the other hand, all we need to know is that
so that dividing \(d\rr\) by \(ds\) is just dividing by its length; the result must be a unit vector! Which unit vector? The one tangent to your path, namely the unit tangent vector \(\TT\text{,}\) so
Evaluating the dot product answers the question, without ever worrying about arclength.
We have just seen that the derivative of \(f\) along a curve splits into two parts: a derivative of \(f\) (namely \(\grad{f}\)), and a derivative of the curve (\(d\rr/du\)). But the latter depends only on the tangent direction of the curve at the given point, not on the detailed shape of the curve. This leads us to the concept of the directional derivative of \(f\) at a particular point \(\rr=\rr_0=\rr(u_0)\) along the vector \(\vv\text{,}\) which is traditionally defined as follows: 1
According to the above discussion, this derivative is just \(df/du\) along the tangent line, which according to the Master Formula is
In Example 3 above, the left-hand side of (10.7.1) is just the directional derivative of \(h\) in the direction \(\TT\text{,}\) and could have been denoted by \(\DD{\TT}h\text{.}\)