13.1 Assess Your Understanding

Concepts and Vocabulary

Question

True or False The directional derivative \(D_{\mathbf{ u}}f(x_{0},y_{0})\) equals the rate of change of \(z=f(x,y)\) at \((x_{0},y_{0})\) in the direction of the unit vector \(\mathbf{u}\).

Question

True or False For a function \(z=f( x,y)\), the partial derivative \(f_{x} ( x_0,y_0)\) is the directional derivative at \(( x_0,y_0)\) in the direction of \(\mathbf{i}\).

Question

True or False Both the directional derivative \(D_{ \mathbf{u}}f(x,y)\) and the gradient \({\bf\nabla\! }f(x,y)\) of a function \(z=f( x,y)\) are vectors.

872

Question

True or False If \(z=f(x,y)\) is a differentiable function, then the directional derivative of \(f\) at \((x_{0},y_{0})\) in the direction of \(\mathbf{u}=\cos \theta \mathbf{i}+\sin \theta \mathbf{j}\) is given by \[ D_{\mathbf{u}}f(x_{0},y_{0}) = f_{x}(x_{0},y_{0})\cos \theta + f_{y}(x_{0},y_{0})\sin \theta. \]

Question

True or False The vector \(x\mathbf{i}+\sin y\mathbf{j}\) is the gradient of \(f( x,y) =x\sin y\).

Question

The directional derivative \(D_{\mathbf{u}}f(x_{0},y_{0})\) of \(f\) at \((x_{0},y_{0})\) is a maximum when \(\mathbf{u}\)=_____.

Question

The value of \(z=f(x,y)\) at \((x_{0},y_{0})\) decreases most rapidly in the direction of _____.

Question

For a differentiable function \(z=f(x,y)\), the maximum value of \(D_{\mathbf{u}}f(x_{0},y_{0})\) is _____.

Skill Building

In Problems 9–16,

  1. Find the directional derivative of each function at the indicated point and in the indicated direction.
  2. Interpret the result as a rate of change.
  3. Interpret the result as a slope.

Question

\(f(x,y)=xy^{2}+x^{2}\) at \((-1,2)\) in the direction \(\mathbf{u}= \dfrac{1}{2}\mathbf{i}+\dfrac{\sqrt{3}}{2}\mathbf{j}\)

Question

\(f(x,y)=3xy+y^{2}\) at \((2,1)\) in the direction \(\mathbf{u}= \dfrac{\sqrt{2}}{2}\mathbf{i}+\dfrac{\sqrt{2}}{2}\mathbf{j}\)

Question

\(f(x,y)=2xy-y^{2}\) at \((-1,3)\) in the direction \(\theta =\dfrac{2\pi }{3}\)

Question

\(f(x,y)=2xy+x^{2}\) at \((0,3)\) in the direction \(\theta = \dfrac{4\pi }{3}\)

Question

\(f(x,y)=xe^{y}+ye^{x}\) at \((0,0)\) in the direction \(\theta = \dfrac{\pi }{6}\)

Question

\(f(x,y)=x\ln y\) at \((5,1)\) in the direction \(\theta =\dfrac{ \pi }{4}\)

Question

\(f(x,y)=\tan ^{-1}\dfrac{y}{x}\) at \((1,1)\) in the direction of \(\mathbf{a}=3\mathbf{i}-4\mathbf{j}\)

Question

\(f(x,y)=\ln \sqrt{x^{2}+y^{2}}\) at \((3,4)\) in the direction of \(\mathbf{a}=5\mathbf{i}+12\mathbf{j}\)

In Problems 17–32:

  1. Find the gradient of \(f\) at the given point \(P\).
  2. Use the gradient to find the directional derivative of \(f\) at \(P\) in the direction from \(P\) to \(Q\).

Question

\(f(x,y)=xy^{2}+x^{2};\qquad P=(1,2)\), \(Q=(2,4)\)

Question

\(f(x,y)=2xy+x^{2};\qquad P=(-1,1)\), \(Q=(1,2)\)

Question

\(f(x,y)=2xy+x^{2};\qquad P=(0,3)\), \(Q=(4,1)\)

Question

\(f(x,y)=3xy+y^{2};\qquad P=(2,1)\), \(Q=(4,1)\)

Question

\(f(x,y)=xy+\sin x;\qquad P=(0,1)\), \(Q=(\pi ,2)\)

Question

\(f(x,y)=e^{xy}+\sin y;\qquad P=\left( 0,\dfrac{\pi }{2}\right)\), \(Q=(1,0)\)

Question

\(f(x,y)=\tan ^{-1}\dfrac{y}{x};\qquad P=(1,0)\), \(Q=(4,\pi )\)

Question

\(f(x,y)=\ln \sqrt{x^{2}+y^{2}};\qquad P=(3,4)\), \(Q=(0,5)\)

Question

\(f(x,y)=x^{2}e^{y};\qquad P=(2,0)\), \(Q=(3,0)\)

Question

\(f(x,y)=e^{x^{2}+y^{2}};\qquad P=(1,2)\), \(Q=(2,3)\)

Question

\(f(x,y,z)=x^{2}y-xyz^{2};\qquad P=(0,1,2)\), \(Q=(1,4,3)\)

Question

\(f(x,y,z)=x^{2}y+y^{2}z+z^{2}x;\qquad P=(1,2,-1)\), \(Q=(2,0,1)\)

Question

\(f(x,y,z)=z\tan ^{-1}\dfrac{y}{x};\qquad P= (1,1,3)\), \(Q= ( 2,0,-2)\)

Question

\(f(x,y,z)=\sin x\cos (y+z);\qquad P= (1,1,1)\), \(Q= (2,-1,0)\)

Question

\(f(x,y,z)=\sqrt{x^{2}+y^{2}+z^{2}};\qquad P= (3,4,0)\), \(Q= ( 1,-1,1)\)

Question

\(f(x,y,z)=\dfrac{x}{\sqrt{x^{2}+2y^{2}+3z^{2}}};\qquad P= (1,2,1)\), \(Q= ( -1,1,1)\)

In Problems 33–40:

  1. Find the direction for which the directional derivative of the function f is a maximum.
  2. Find the maximum value of the directional derivative.

Question

\(f(x.y) =xy^{2}+x^{2}\) at \(P=(-1,2)\)

Question

\(f(x.y) =3xy+y^{2}\) at \(P=(2,1)\)

Question

\(f(x.y) =xe^{y}+ye^{x}\) at \(P=(0,0) \)

Question

\(f(x.y) =x\ln y\) at \(P=(5,1)\)

Question

\(f(x,y)=\dfrac{x}{x^{2}+y^{2}}\) at \(P=(1,2)\)

Question

\(f(x,y)=\sqrt{x^{2}+y^{2}}\) at \(P=(3,4)\)

Question

\(f( x.y,z) =z\tan ^{-1}\dfrac{y}{x}\) at \(P=(1,1,3)\)

Question

\(f( x.y,z) =\sqrt{x^{2}+y^{2}+z^{2}}\) at \(P=(3,4,0)\)

In Problems 41–46, graph the level curve of \(f\) containing the point \(P\) and the gradient \({\bf\nabla\! }f\) at that point.

Question

\(f(x,y)=x^{2}+y^{2}\) containing \(P=(3,4)\)

Question

\(f(x,y)=x^{2}-y^{2}\) containing \(P=(2,-1)\)

Question

\(f(x,y)=x^{2}-4y^{2}\) containing \(P=\left( 3,\dfrac{\sqrt{5}}{2}\right)\)

Question

\(f(x,y)=x^{2}+4y^{2}\) containing \(P=(-2,0)\)

Question

\(f(x,y)=x^{2}y\) containing \(P=\left( 3,\dfrac{1}{9}\right)\)

Question

\(f(x,y)=xy\) containing \(P=(1,1)\)

Applications and Extensions

Question

Heat Transfer A metal plate is placed on the \(xy\)-plane in such a way that the temperature \(T\) at any point \((x,y)\) is given by \(T=e^{x}( \sin x+\sin y) {}^{\circ}{\rm C}\).

  1. What is the rate of change in temperature at \((0,0)\) in the direction of \(3\mathbf{i}-4\mathbf{j}\)?
  2. At \((0,0)\), in what direction is the temperature increasing most rapidly?
  3. In what direction is the temperature decreasing most rapidly?
  4. In what direction does the temperature remain the same?

873

Question

Electrical Potential The electrical potential \(V\) at any point \((x,y)\) is given by \(V=\ln \sqrt{x^{2}+y^{2}}\). Find the rate of change of potential \(V\) at any point \((x,y)\neq (0,0)\):

  1. In a direction toward \((0,0)\).
  2. In the two directions orthogonal to a direction toward \((0,0)\).
  3. In what direction is the potential \(V\) increasing most rapidly?
  4. In what direction is the potential \(V\) decreasing most rapidly?

Question

Geography The surface of a hill is modeled by the equation \(z=( 8-2x^{2}-y^{2}) \rm{m}\). See the figure below. If a freshwater spring is located at the point \((1,2,2)\), in what direction will the water flow?

The graph of \(z\) and its level curves.

Question

Temperature Change Suppose that the temperature in degrees Celsius at each point of the coordinate plane is \(T=( 3x^{2}+4y^{2}+5) {}^{\circ}{\rm C}\).

  1. If we leave the point \((3,4)\) heading for the point \((4,3)\), eak how fast (in degrees per unit of distance) is the temperature changing at the point (4, 3)?
  2. After reaching \((4,3)\), in what direction should we go if we want to cool off as fast as possible? How fast is the temperature changing at the point \((4,3)\)?
  3. Suppose that we want to move away from \((4,3)\) along a path of constant temperature. What is an equation of our path and what is the temperature?
  4. A person at the origin may go in any direction and will experience the same rate of change of temperature. Why? What is the rate?

Question

Temperature Change The temperature at any point \((x,y)\) of a rectangular plate lying in the \(xy\)-plane is given by \(T=[ x\sin ( 2y) ] {}^{\circ}{\rm C}\). Find the rate of change of temperature at the point \(\left( 1,\dfrac{\pi }{4}\right)\) in the direction making an angle of \(\dfrac{\pi }{6}\) with the positive \(x\)-axis.

Question

Rate of Change Suppose that \(z=xy^{2}\). In what direction(s) can we go from the point \((-1,1)\) if we want the rate of change of \(z\) to be \(2\)?

Question

Rate of Change

  1. Find the direction through the point \((2,1)\) in which the function \(z=4x^{2}+9y^{2}\) has a maximum rate of change.
  2. Verify that this direction is that of the normal to the curve \(4x^{2}+9y^{2}=25\) at the point \((2,1)\). See the figure in next column.
  3. Find the value of this maximum rate of change.

The graph of \(z\) and its level curves. The curve \(4x^{2} +9y^{2} =25\) appears in red.

Question

Show that the level curves of \(z = f(x,y) = x^{2}-y^{2}\) are orthogonal to the level curves of \(h(x,y)=xy\) for all \((x_{0},y_{0})\neq (0,0)\). See the figure below.

The level curves of \(z\) are in blue. The level curves of \(h\) are in red.

Question

Find a unit vector \(\mathbf{u}\) that is normal to the level curve of \(f(x,y)=4x^{2}y\) through \(P=(1,-2)\) at \(P\). See the figure below.

The level curves of \(f(x,y) = 4x^{2}y\).

Question

Find a unit vector \(\mathbf{u}\) that is normal to the level curve of \(f(x,y)=2x^{2}+y^{2}+1\) through \(P=(1,1)\) at \(P\). See the figure below.

The level curves of \(f(x,y) = 2x^{2}+y^{2}+1\).

874

Question

Isothermal Curves Using the information from Example 5:

  1. Find the level curves of \(T=T( x,y) =\dfrac{250}{\sqrt{ x^{2}+y^{2}}}\).
  2. Graph the level curves for \(T=25\), \(50\), and \(250\).
  3. Write the equation of the level curve for \(T\) that passes through the point \(( -3,4)\).
  4. Graph the level curve from (c) along with the vector \({\bf\nabla} T( -3,4)\).
  5. Since Example 5 deals with temperature, the level curves for \(T\) are called isothermal curves. Explain how they relate to the temperature \(T\).

Question

Mountaineering Suppose that you are climbing a mountain whose surface is modeled by the equation \(x^{2}+y^{2}-5x+z=0\). (The \(x\)-axis points east, the \(y\)-axis north, and the \(z\)-axis up; units are in thousands of feet.)

The graph of \(z\) and its level curves.

  1. Your route is such that as you pass through the point \((1,1,3)\), you are heading northeast. At what rate (with respect to distance) is your altitude changing at that point?
  2. Another climber at \((1,2,0)\) wants to reach the summit in as short a distance as possible. In what direction should he start? At what rate is his altitude changing when he starts?
  3. A third climber at \((2,1,5)\) wants to remain at the same altitude. In what direction(s) may she go?

Question

Electrical Potential Suppose that the electrical potential (voltage \(V)\) at each point in space is \(V=e^{xyz}\) volts and that electric charges move in the direction of greatest potential drop (most rapid decrease of potential). In what direction does a charge at the point \((1,-1,2)\) move? How fast does the potential change as the charge leaves this point?

Question

Electric Field The electric field vector \(\mathbf{E}\) is the negative of the gradient of the electrostatic potential \(V\). That is, \(\mathbf{E}=-{\bf\nabla}V\). If \(Q\) is a point charge at the origin, then the electrostatic potential \(V\) at the point \(P(x,y,z)\) is given by \(V= \dfrac{kQ}{\sqrt{x^{2}+y^{2}+z^{2}}}\), where \(k\) is a constant.

  1. Find the electric field vector \(\mathbf{E}\) at the point \(P(x,y,z)\).
  2. Use (a) to show that the magnitude of the electric field is \(\left\Vert \mathbf{E}\right\Vert = \dfrac{kQ}{r^{2}}\), where \(r\) is the distance from the origin to the point \(P(x,y,z)\).
  3. Verify that the electric field vector \(\mathbf{E}\) is normal to the equipotential surfaces (surfaces on which the electrostatic potential \(V\) is constant).

Question

Modeling Temperature Change The temperature at each point of the region \(x^{2}+y^{2}+z^{2}\leq 9\) is \(T=\sqrt{9-x^{2}-y^{2}-z^{2}} {}^{\circ}{\rm C}\). If we start at the point \((0,1,2)\) and move across the region in a straight path ending at \((2,1,2)\), find the rate of change of \(T\) at an arbitrary point on the path.

Question

Chemotaxis Chemotaxis is the phenomenon in which bodily cells, bacteria, and other organisms direct their movement according to a chemical stimulus. Suppose the concentration of a certain biochemical distribution at a wounded place is given by \(w=f(x,y,z)=\dfrac{1}{x^2 + y^2 +z^2}\). If a cell that reacts by chemotaxis is located at the point (\(1,2,3\)), find the direction it will move by chemotaxis if the direction of movements is along the gradient of \(f\).

Source: Problem submitted by the students at Minnesota State University

Question

Gravitational Potential Energy In the study of mechanics in physics, it is shown that the gravitational force \(\mathbf{F}_{g}\) on an object equals the negative of the gradient of the gravitational potential energy \(U_{g}\) of the object. That is, \(\mathbf{F}_{g}=-{\bf\nabla } U_{g}\). In a uniform gravitational field (such as near Earth’s surface), the gravitational potential energy is given by \(U_{g}=mgz\), where \(m\) is the mass of an object, \(z\) (in meters) is its altitude above Earth’s surface, and \(g=9.8\; \rm{m}/\rm{s}^{2}\). Use the gradient \({\bf\nabla }U_{g}\) to show that the gravitational force is downward and has magnitude \(mg\).

Question

Gravitational Field Two objects of masses \(M\) and \(m\) are a distance \(r\), in meters, apart. The gravitational potential energy between these objects is given by \(U_g=-G\dfrac{mM}{r}\), where \(G=6.67\times 10^{-11}\;\rm{Nm}^{2}/\rm{kg}^{2}\). If one object is at the origin and the other at the point (\(x,y,z\)), then the gravitational field \(\mathbf{F}_{g}\) equals \(-\bf\nabla U_g\). Show that the magnitude of the force \(\mathbf{F}_{g}\) equals \(G\dfrac{mM}{r^2}\).

Source: Problem contributed by the students at Minnesota State University

Question

If the function \(z=f(x,y)\) is differentiable at a point \(P_{0}=(x_{0},y_{0})\) and \({\bf\nabla\! }f(x_{0},y_{0})\neq \mathbf{0}\), show that \(D_{\mathbf{u}}f(x_{0},y_{0})=0\) in the direction orthogonal to that of \({\bf\nabla\! }f(x_{0},y_{0})\).

Question

Algebraic Properties of the Gradient If \(u=f(x,y)\) and \(v=g(x,y)\) are differentiable, show that:

  1. \({\bf\nabla }(ku)=k{\bf\nabla }u\), where \(k\) is a constant.
  2. \({\bf\nabla }(u+v)={\bf\nabla }u+{\bf\nabla }v\).
  3. \({\bf\nabla }(uv)=u{\bf\nabla }v+v{\bf\nabla }u\).
  4. \({\bf\nabla }\left( \dfrac{u}{v}\right) =\dfrac{v{\bf\nabla }u-u{\bf\nabla }v}{v^{2}}\).
  5. \({\bf\nabla }u^{a }=a u^{a -1}{\bf\nabla }u\), where \(a\) a real number.

Question

Show that for a nonzero vector \(\mathbf{a}=a_{1}\mathbf{i} +a_{2}\mathbf{j}\) and a differentiable function \(z=f(x,y)\), \[ D_{\mathbf{u}}f(x,y)=\frac{a_{1}\dfrac{\partial f}{\partial x}+a_{2}\dfrac{ \partial f}{\partial y}}{\sqrt{a_{1}^{2}+a_{2}^{2}}} \]

where \(\mathbf{u}=\dfrac{\mathbf{a}}{\Vert \mathbf{a}\Vert }\).

875

Question

Let \(F(x,y)=0\) be the equation of a curve in the \(xy\)-plane. If \(F\) is differentiable and if \((x_{0},y_{0})\) is a point on the curve, show eak that \({\bf\nabla\! }F(x_{0},y_{0})\) is normal to the curve at \((x_{0},y_{0})\).

Question

Use Problem 68 to show that the tangent line to the curve \(F(x,y)=0\) at \((x_{0},y_{0})\) is given by \(a(x-x_{0})+b(y-y_{0})=0\), where \(a=F_{x}(x_{0},y_{0})\) and \(b=F_{y}(x_{0},y_{0})\). (Assume that \(a\) and \(b\) are not both \(0\).)

Question

Use Problem 69 to find the following tangent lines to the hyperbola \(x^{2}-y^{2}=16\):

  1. The tangent line at \((5,3)\). Check the result by finding \(\dfrac{dy}{dx}\) at \((5,3)\) using implicit differentiation.
  2. The tangent line at \((4,0)\). Note that this tangent line is vertical and requires special treatment in single variable calculus.

Question

Suppose \(z=f(x,y)\) has directional derivatives in all directions. Must \(f\) be differentiable? Explain.

Question

If \(f(x,y,z)=z^{3}+3xz-y^{2}\), find the directional derivative of \(f\) at \((1,2,1)\) in the direction of the line \(x-1=y-2=z-1\).

Challenge Problems

Question

Let \(\mathbf{r}=x\mathbf{i}+y\mathbf{j}\) and \(r=\left\Vert \mathbf{r}\right\Vert =\sqrt{x^{2}+y^{2}}\).

  1. Show that \({\bf\nabla }r^{n}=nr^{n-2}\mathbf{r}\).
  2. Show that \({\bf\nabla }g(r)=g′ (r)\dfrac{\mathbf{r}}{r}\).
  3. Show that \(D_{\mathbf{u}}[g(r)]=\dfrac{g^{\prime }(r)}{r}(\mathbf{u}\,{\bf\cdot}\, \mathbf{r})\).
  4. Show that \({\bf\nabla }\left( \dfrac{x}{r}\right) =\dfrac{\mathbf{i}}{r}-\left( \dfrac{x}{r}\right) \left( \dfrac{\mathbf{r}}{r^{2}}\right)\).

Question

Find the directional derivative of \[ f(x,y)=\left\{ \begin{array}{@{}c@{\quad}c@{\quad}c} \dfrac{\sin (x^{2}+y^{2})}{x^{2}+y^{2}} & \hbox{if} & (x,y)\neq (0,0) \\ 1 & \hbox{if} & (x,y)=(0,0) \end{array} \right.\]

at \((0,0)\) in the direction of \(\mathbf{a}=\mathbf{i}+\mathbf{j}\).

Question

Show that if \({\bf\nabla\! }f(x,y)=c(x\mathbf{i}+y\mathbf{j}) \), where \(c\) is a constant, then \(f(x,y)\) is constant on any circle of radius \(k\), centered at \((0,0)\).

Question

The Gradient Is Normal to the Level Surface Show that if the function \(w=f(x,y,z)\) is differentiable at a point \(P_{0}=(x_{0},y_{0},z_{0})\), and if \({\bf\nabla\! }f(x_{0},y_{0},z_{0}) \neq \mathbf{0}\), then the gradient \({\bf\nabla\! }f(x_{0},y_{0},z_{0})\) is normal to the level surface of \(f\) through \(P_{0}\).

Question

Let \(z=f(x,y)\) have continuous second-order partial derivatives. If \(\mathbf{u}=u_{1}\mathbf{i}+u_{2}\mathbf{j}\) is a unit vector, we have a directional derivative \(D_{\mathbf{u}}f(x,y)=g(x,y)\). If \(g(x,y)\) is differentiable and \(\mathbf{v}=v_{1}\mathbf{i}+v_{2}\mathbf{j}\) is a unit vector, we have a directional derivative \(D_{\mathbf{v}}g(x,y)\). We can view this second quantity as a second-order directional derivative for \(z=f(x,y)\). Express it in terms of \(f_{xx}\), \(f_{xy}\), and \(f_{yy}\) by showing that it has the value \[ u_{1}v_{1}f_{xx}+(u_{1}v_{2}+u_{2}v_{1})f_{xy}+u_{2}v_{2}f_{yy} \]

Question

Assuming that \(b\neq 0\) in Problem 69, show that the slope of the tangent line to the curve \(F(x,y)=0\) at \((x_{0},y_{0})\) is \(m=-\dfrac{ F_{x}(x_{0},y_{0})}{F_{y}(x_{0},y_{0})}\). (This is a proof of the Implicit Differentiation Formula I from Chapter 12, Section 12.5.)