18 1. ADVANCED DERIVATIVES
Now that we have the gradient, it is possible to define the derivative in a particular direction.
Knowledge Box 1.4
If z D f .x; y/ is a differentiable function of two variables, and Eu D .a; b/ is a
unit vector, then the derivative of f .x; y/ in the direction of Eu is:
r
Eu
f .x; y/ D Eu rf .x; y/ D af
x
C bf
y
If Ev D .r; s/ is any vector, then the derivative of f .x; y/ in the direction of Ev
is:
r
Ev
f .x; y/ D
Ev
jEvj
rf .x; y/
Notice that we are continuing the practice of using unit vectors to designate directions – even
when computing the derivative of a function in the direction of a general vector, we first coerce
it to be a unit vector.
It is worth mentioning that, when computing directional derivatives, we start with a scalar
quantity – the function f .x; y/. When we compute the gradient, we get the vector quantity
rf .x; y/ D .f
x
; f
y
/ but then return to a scalar function of two variables r
Eu
f .x; y/. It is im-
portant to keep track of the type of object – scalar or vector – that you are working with.
Example 1.34 Find the derivative of
f .x; y/ D x
2
C y
2
in the direction of Eu D .1=2;
p
3=2/.
Solution:
e vector Eu is a unit vector so, starting with f
x
D 2x, f
y
D 2y, we get:
r
Eu
f .x; y/ D
1
2
2x C
p
3
2
2y D x C
p
3y
˙
e directional derivative occasionally comes up in the natural course of trying to solve a prob-
lem. ere is one very natural application: finding level curves. First let’s define level curves.