Uses for the Gradient: Line Integrals.
May 19, 2010
I was all set to post about lagrange multipliers when I realized that they are pretty dull. Since this is my blog, after all, I thought I’d take a slight detour and talk about why we’d ever care about taking the gradient of functions, besides for all of that max-min stuff I talked about before. We haven’t formally talked about line integrals yet, but they are not horrible creatures: if you have not seen them yet, just think about integrals in one dimension.
As it turns out, and you can probably imagine why, the gradient acts as a kind of “universal derivative” in multivariable calculus. Whereas we had, in single variable calculus,
we don’t have a nice “anti-derivative” in vector calculus such that this equality should hold! After all, we could ask “the anti-derivative…in what direction?”
In general, the integral of where is our path and is some function, is not easy to compute. In fact, it may be extremely tedious and near impossible to do by hand! At the very least, they are not easy.
But, for a special type of function, they are trivial. Specifically, if is a curve where , then
Yes! It’s that simple! It’s almost like the fundamental theorem of calculus! Yes, if we have the gradient of , then we just have to recover in order to integrate!
Let’s just give an example of this.
Let for .
We want to evaluate
So our function is, say, , but let’s note that for , we have that ! That’s cool. That means that, according to our theorem, we have
That was pretty easy! So, that’s another use for the gradient of a function. Next time, we’ll take another small detour to talk about the other ways to use our symbol if we consider it as the formal symbol and (slight abuse of notation) ; we’ll meet the brothers Div, Grad, Curl.