Section 14.6: Directional Derivatives & Gradient Vector

Importance of Gradients: Maximizing the Directional Derivative

Suppose we have a function f of two or three variables and we consider all possible directional derivatives of f at a given point. These give the rates of change of f in all possible directions. We can then ask the questions: in which of these directions does f change fastest and what is the maximum rate of change? The answers are provided by the following theorem.


Theorem Suppose f is a differentiable function of two or three variables. The maximum value of the directional derivative \(D_{\mathbf{u}}f(\mathbf{x})\) is \(|\nabla f(\mathbf{x})|\) and it occurs when u has the same direction as the gradient vector \(\nabla f(\mathbf{x})\).

PROOF From the equations we have

\(D_{\mathbf{u}}f = \nabla f \cdot \mathbf{u} = |\nabla f||\mathbf{u}|\cos\theta = |\nabla f|\cos\theta\)

where \(\theta\) is the angle between \(\nabla f\) and u. The maximum value of \(\cos\theta\) is 1 and this occurs when \(\theta = 0\). Therefore the maximum value of \(D_{\mathbf{u}}f\) is \(|\nabla f|\) and it occurs when \(\theta = 0\), that is, when u has the same direction as \(\nabla f\).


EXAMPLE (a) If \(f(x, y) = xe^y\), find the rate of change of f at the point P(2, 0) in the direction from P to Q(1/2, 2). (b) In what direction does f have the maximum rate of change? What is this maximum rate of change?


EXAMPLE 7 Suppose that the temperature at a point (x, y, z) in space is given by \(T(x, y, z) = 80/(1 + x^2 + 2y^2 + 3z^2)\), where T is measured in degrees Celsius and x, y, z in meters. In which direction does the temperature increase fastest at the point (1, 1, -2)? What is the maximum rate of increase?