Section 4.4 Directional Derivatives
As explained in Section 4.1 the partial derivatives of a function of several variables represent the change of the function along a cross-section through its graph parallel to one of the coordinate axes. These directions are quite arbitrary as, at one stage, we made a choice of coordinates. It is therefore natural to look at cross-sections through the graph of a function in other directions, not just the coordinate directions. We want to derive a formula to compute such derivatives. To do so let be a unit vector, that is, a vector of length one. Given a real valued function defined on a set and the graph of the function
represents the cross-section through the graph of at in the direction of The situation is depicted in Figure 4.24.
Remark 4.26.
Remark 4.27.
For denote by
the -th vector of the standard basis of Clearly so is a unit vector. By comparing the definitions we see that
so that the notion of a directional derivative is a direct generalisation of the partial derivatives as motivated at the start of this section.
We next want to derive a formula to compute the directional derivatives of a function.
Proposition 4.28.
Proof.
We use the chain rule to prove the formula. To do so set Then we have for all Hence by the definition of directional derivatives and the chain rule (see Theorem 4.17) we have
as required.
Remark 4.29.
We saw in Remark 4.11 that the existence of the partial derivatives at a point does not imply that the function is continuous at that point. The same function as considered there shows that the existence of all directional derivatives is not in general enough to guarantee the continuity of a function! As an exercise show that the function (3.4) has directional derivatives in every direction at From Example 3.30 we know that is not continuous at