Paul's Online Notes
Paul's Online Notes
Home / Calculus III / Partial Derivatives / Directional Derivatives
Show Mobile Notice Show All Notes Hide All Notes
Mobile Notice
You appear to be on a device with a "narrow" screen width (i.e. you are probably on a mobile phone). Due to the nature of the mathematics on this site it is best viewed in landscape mode. If your device is not in landscape mode many of the equations will run off the side of your device (you should be able to scroll/swipe to see them) and some of the menu items will be cut off due to the narrow screen width.

Section 13.7 : Directional Derivatives

3. Determine \({D_{\vec u}}f\) for \(\displaystyle f\left( {x,y} \right) = \cos \left( {\frac{x}{y}} \right)\) in the direction of \(\vec v = \left\langle {3, - 4} \right\rangle \).

Show All Steps Hide All Steps

Start Solution

Okay, we know we need the gradient so let’s get that first.

\[\nabla f = \left\langle { - \frac{1}{y}\sin \left( {\frac{x}{y}} \right),\frac{x}{{{y^2}}}sin\left( {\frac{x}{y}} \right)} \right\rangle \] Show Step 2

Also recall that we need to make sure that the direction vector is a unit vector. It is (hopefully) pretty clear that this vector is not a unit vector so let’s convert it to a unit vector.

\[\left\| {\vec v} \right\| = \sqrt {{{\left( 3 \right)}^2} + {{\left( { - 4} \right)}^2}} = \sqrt {25} = 5\hspace{0.5in}\vec u = \frac{{\vec v}}{{\left\| {\vec v} \right\|}} = \frac{1}{5}\left\langle {3, - 4} \right\rangle = \left\langle {\frac{3}{5}, - \frac{4}{5}} \right\rangle \] Show Step 3

The directional derivative is then,

\[\begin{align*}{D_{\vec u}}f & = \left\langle { - \frac{1}{y}\sin \left( {\frac{x}{y}} \right),\frac{x}{{{y^2}}}\sin\left( {\frac{x}{y}} \right)} \right\rangle \centerdot \left\langle {\frac{3}{5}, - \frac{4}{5}} \right\rangle \\ & = \require{bbox} \bbox[2pt,border:1px solid black]{{ - \frac{3}{{5y}}\sin \left( {\frac{x}{y}} \right) - \frac{{4x}}{{5{y^2}}}\sin\left( {\frac{x}{y}} \right) = - \frac{1}{5}\left( {\frac{3}{y} + \frac{{4x}}{{{y^2}}}} \right)sin\left( {\frac{x}{y}} \right)}}\end{align*}\]