SciMS - Advanced Calculus The University of Queensland

Directional derivatives and the gradient vector


Recall that the directional derivative of $f$ at $(a,b)$ in the direction of an arbitrary nonzero vector $\mathbf u =(u_1,u_2)$ is given by

\begin{eqnarray*} D_u f(a,b)&=&f_{\mathbb u}(a,b)=\big( f_x(a,b),f_y(a,b)\big)\cdot \frac{\mathbb u}{||\mathbb u||} \end{eqnarray*}

On the other hand, the gradient vector or simply gradient of $f$ is a vector with the partial derivatives as components

\begin{eqnarray*} \text{grad}\, f&=& \nabla f =\big( f_x,f_y\big)=f_x\,\mathbf i+f_y\,\mathbf j. \end{eqnarray*}


Simulation

This simulation shows the geometric interpretation of the directional derivative of $f$ in the direction of a unit vector $\mathbf u$ and the gradient vector of $f(x,y)$ at the point $\text{P}\in \mathbb R^2$.

Things to try:

Note: The blue arrow represents the gradient vector at point P.

Sorry, the simulation is not supported for small screens.


Open separate tab Download