Difference between magnitude of gradient vs directional derivative of gradient

$\begingroup$

I've read that the directional derivative is the rate of change of a function $f$ in a given direction $\mathbf{v}$, given as $\nabla f\cdot \mathbf{v}$. I've also read (perhaps incorrectly) that the magnitude of the gradient also tells us the rate of change. If so, what does the directional derivative of the gradient, i.e. $\nabla f\cdot \nabla f$ tell us?

$\endgroup$

2 Answers

$\begingroup$

The magnitude of the gradient is the maximum rate of change at the point. The directional derivative is the rate of change in a certain direction. Think about hiking, the gradient points directly up the steepest part of the slope while the directional derivative gives the slope in the direction that you choose to walk.

In response to the comments:

There's more than one direction starting at a point (you're in a multivariate situation). Therefore, it doesn't make sense to talk about "the rate of change." Each direction of travel gives a different rate of change. The magnitude of the gradient is the largest of these rates of change while the directional derivative is the rate of change in a particular direction.

Instead of $\nabla f\cdot \nabla f$, you might be interested in the following. Let $u$ be a unit vector which points in the direction of $\nabla f$. Then the directional derivative in the direction of $u$ is $\|\nabla f\|$, which is the maximum possible rate of change.

$\endgroup$ 4 $\begingroup$

Imagine you are standing on the side of a hill (the hill is the graph of your function $f$) with latitude and longitude $(x, y)$. The gradient vector $\nabla f(x, y)$ tells you the direction in which the hill is steepest. In other words, if you took a step in the direction of the gradient, you would be going "straight up" the hill.

A slightly different question might be "If I look in some direction, say north east, how steep is the hill if took a step in that direction?" That is the directional derivative in the "north east" direction.

Putting these things together, we can compute the $\textit{maximum possible steepness} $ of the hill by computing the directional derivative in the steepest possible direction, namely in the direction of the gradient. The way the numbers work out, this maximum possible steepness is equal to the magnitude of the gradient at that point.

So, in more mathematical terms, $\textit{maximum}$ rate of change of a function $f$ at a point $(x, y)$ is equal to $\|\nabla f(x, y)\|$.

$\endgroup$ 5

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like