Section 6.2 In Three Variables
The concepts of the directional derivative and the gradient vector extend to functions of more than two variables. In this section we will look at some examples for functions of three variables.
Example 6.2.1.
Find the rate of change of the function \(f(x,y,z) = xy+yz^2+xz^3\) at the point \((2,0,3)\) in the direction \(\hat{\mathbf{u}} = \left \langle -\dfrac{2}{3}, -\dfrac{1}{3}, \dfrac{2}{3} \right \rangle\text{.}\)
\(D_{\hat{\mathbf{u}}} f(2,0,3) = \dfrac{43}{3}\text{.}\)
The gradient vector for the given function is
Thus
and so the required directional derivative is
Example 6.2.2.
The temperature at the point \((x,y,z)\) is given by the function
Find the rate of change of temperature at the point \(P = (2,-1,2)\) in the direction \(\overrightarrow{PQ}\) where \(Q = (3,-3,3)\text{.}\)
In which direction does the temperature increase the fastest at \(P\text{?}\)
Find the maximum rate of increase at \(P\text{.}\)
\(D_{\hat{\mathbf{u}}} T(2,-1,2) = \dfrac{-10400}{\sqrt{6}} e^{-43}\text{.}\)
\(\nabla T (2,-1,2) = 400e^{-43} \langle -2, 3, -18 \rangle\text{.}\)
\(\| \nabla T (2,-1,2) \| = \dfrac{400 \sqrt{337}}{e^{43}}\text{.}\)
The gradient vector for the given function is
Thus
Since \(\overrightarrow{PQ} = \langle 1, -2, 1 \rangle\text{,}\) the required rate of change is given by the directional derivative
\begin{equation*} D_{\hat{\mathbf{u}}} T(2,-1,2) = 400 e^{-43} \langle -2, 3, -18 \rangle \cdot \dfrac{1}{\sqrt{6}} \langle 1, -2, 1 \rangle = \dfrac{-10400}{\sqrt{6}} e^{-43}\text{.} \end{equation*}The direction in which the temperature increase the fastest at \(P\) is
\begin{equation*} \nabla T (2,-1,2) = 400e^{-43} \langle -2, 3, -18 \rangle\text{.} \end{equation*}The maximum rate of increase at \(P\) is the maximum value of \(D_{\mathbf{u}} T(2,-1,2)\) which is
\begin{equation*} \| \nabla T (2,-1,2) \| = \dfrac{400 \sqrt{337}}{e^{43}}\text{.} \end{equation*}
Example 6.2.3.
Find the equation of the tangent plane to the level surface of \(f(x,y,z) = x^2+y^2 - z + \cos(z)\) at the point \((-1,1,0)\text{.}\)
\(2x-2y+z = -4\text{.}\)
Since \(f(-1,1,0) = 3\text{,}\) the level surface for this function satisfies the equation
A normal to this surface at the point \((-1,1,0)\text{,}\) and hence to the tangent plane at this point, is given by \(\nabla f (-1,1,0)\text{.}\) Now,
and so
Thus the equation of the tangent plane is
which simplifies to
Exercises Example Tasks
1.
Find the directional derivative of \(g(x,y,z) = \dfrac{z-x}{z+y}\) at \((1,0,-3)\) in the direction \(\mathbf{a} = -6\mathbf{i} + 3\mathbf{j} - 2\mathbf{k}\text{.}\)
2.
By thinking of level surfaces to a function of \(3\) variables show that the normal lines to a sphere pass through its centre.