## Directional Derivatives

Okay, now let’s generalize away from partial derivatives. The conceptual problem there was picking a bunch of specific directions as our basis, and restricting ourselves to that basis. So instead, let’s pick *any* direction at all, or even more generally than that.

Given a vector , we define the directional derivative of the function in the direction of by

It’s common to omit the brackets I’ve written in here, but that doesn’t make it as clear that we have a new function , and we’re asking for its value at . Instead, can suggest that we’re applying to the value . It’s also common to restrict to be a *unit* complex number, which is then used as a representative vector for all of those pointing in the same direction. I find that to be a needless hindrance, but others may disagree.

Anyhow, this looks a lot like our familiar derivative. Indeed, if we’re working in and we set we recover our regular derivative. And we have the same sort of interpretation: if we move a little bit in the direction of then we can approximate the change in

Now, does the existence of *these* limits guarantee the continuity of at ? No, not even the existence of *all* directional derivatives at a point assures us that the function will be continuous at that point. Indeed, we can consider another of our pathological cases

and patch it by defining . We take the directional derivative at using the direction vector

If then we find , while if we find . But we know that this function can’t be continuous, since if we approach the origin along the parabola we get a limit of instead of .

Again, the problem is that directional derivatives imply continuity along straight lines in various directions, but even continuity along *every* straight line through the point isn’t enough to assure continuity as a function of two variables, let alone more. We need something even stronger than directional derivatives.

On the other hand, directional derivatives are definitely stronger than partial derivatives. First of all, we haven’t had to make any choice of an orthonormal basis. But if we *do* have an orthonormal basis at hand, we find that partial derivatives are just particular directional derivatives

Incidentally, I’ve done two things here worth noting. First of all, I’ve gone back to using superscript indices for vector components. This allows the second thing, which is the transition from writing a function as taking one vector variable to rewriting the vector in terms of the basis at hand to writing the function as taking real variables . I know that some people don’t like superscript indices and the summation convention, but they’ll be standard when we get to more general spaces later, so we may as well get used to them now. Luckily, when we really understand something we shouldn’t have to pick coordinates, and indices only come into play when we do pick coordinates. Thus all the really meaningful statements shouldn’t have many indices to confuse us.

This series of posts is great! I’m TA-ing Calc III for the first time this quarter, so it is nice to see lots of motivation that I haven’t thought about for awhile (of course the general Calc III student is far more worried about remembering how to do the calculations than any of the “why” behind it).

Comment by hilbertthm90 | September 23, 2009 |

Is this your first time TAing that course? You do learn more when you take an undergraduate advanced calculus course, but I think it really solidifies when you turn around to teach the material, once you’ve already had a really deep view inside what’s going on.

Comment by John Armstrong | September 23, 2009 |

I’m sorry this is probably very elementary but how did you get this part

But we know that this function can’t be continuous, since if we approach the origin along the parabola y=x^2 we get a limit of \frac{1}{2} instead of f(0,0)=0.

I’m sure once I see it I will have an ah hah of course moment.

Comment by David | September 23, 2009 |

David, I ran through that example in the post on multivariable limits that I linked to above with the text “pathological cases”. Basically, try parametrizing that curve as and take the limit as goes to zero.

Comment by John Armstrong | September 23, 2009 |

*snicker*

I think I deserved that one.😀

Comment by Mikael Vejdemo Johansson | September 23, 2009 |

You’re not the only one, Mikael. You’re just the one who spoke up, and it’s worth noting that not everyone agrees on some of these notational issues.

Comment by John Armstrong | September 23, 2009 |

[…] work as an extension of derivation to higher-dimensional spaces. Even generalizing them to directional derivatives doesn’t give us what we want. What we need is not just the separate existence of a bunch of […]

Pingback by Differentials « The Unapologetic Mathematician | September 24, 2009 |

[…] we showed that given an orthonormal basis we have all partial derivatives. We even have all directional derivatives, with pretty much the same proof. We replace with an arbitrary vector , and pick the scalar so […]

Pingback by Differentiability Implies Continuity « The Unapologetic Mathematician | September 30, 2009 |

[…] to differential calculus in more than one variable starts by defining partial derivatives and directional derivatives, as we did. But instead of defining the differential, it simply collects the partial derivatives […]

Pingback by The Gradient Vector « The Unapologetic Mathematician | October 5, 2009 |

[…] value for the instantaneous rate of change, we have a differential . But we can use it to find directional derivatives. Specifically, we’ll consider the derivative of in the direction pointing from to . […]

Pingback by The Mean Value Theorem « The Unapologetic Mathematician | October 13, 2009 |

[…] things can happen. We might ask that have a local minimum at along any line, like we tried with directional derivatives. But even this can go wrong. If we […]

Pingback by Local Extrema in Multiple Variables « The Unapologetic Mathematician | November 23, 2009 |

[…] point a bilinear function of two displacement vectors and , and it measures the rate at which the directional derivative in the direction of is changing as we move in the direction of . That […]

Pingback by Classifying Critical Points « The Unapologetic Mathematician | November 24, 2009 |

[…] at and gives back a number. It’s the differential, which when given a vector returns the directional derivative in that direction. And we can generalize that right […]

Pingback by Cotangent Vectors, Differentials, and the Cotangent Bundle « The Unapologetic Mathematician | April 13, 2011 |