MIT18 02SC Notes 20
MIT18 02SC Notes 20
Directional derivative
Like all derivatives the directional derivative can be thought of as a ratio. Fix a unit vector
u and a point P0 in the plane. The directional derivative of w at P0 in the direction u
is dened as
dw
w
= lim
.
ds
P0 ,u s0 s
Here w is the change in w caused by a step of length s in the direction of u (all in the
xy-plane).
Below we will show that
dw
= Vw(P0 ) u.
(1)
ds
P0 ,u
We illustrate this with a gure showing the graph of w = f (x, y). Notice that s is
measured in the plane and w is the change of w on the graph.
ww
. . .
w
..
P0
..
..
..
..
..
..
..
..
..
- y
JJ
JJ
Proof of equation 1
The gure below represents the change in position from P0 resulting from taking a step of
size s in the u direction.
J u
yw
J
J
JJ
JJ
J
J
sJJJ
y
JJ
J
JJ
P0
-x
x y
,
. is a unit vector, so
s s
x y
,
s s
x +
y P
0
x
P0
w
w
x
w
s
x
P0 s
y
P0 s
x
P0 y
P
0
x y
s
s
In the dot product the rst term is Vw|P0 and the second is just u, so,
w
Vw|P0 u.
s
Now taking the limit we get equation (1).
Example: (Algebraic example) Let w = x3 + 3y 2 .
dw
Compute
at P0 = (1, 2) in the direction of v = 3i + 4j.
ds
Answer: We compute all the necessary pieces:
i) Vw = (3x2 , 6y) Vw|(1,2) = (3, 12).
v
3 4
ii) u must be a unit vector, so u =
= ( , ).
|v|
5
5
iii)
dw
3 4
57
=
Vw|(1,2) u = (3, 12) ( , ) =
.
ds
P
0 ,u
5 5
5
dw
, and
x
P y
p
ds
P,u
By measuring from P to the next in level curve in the
x direction we see that x .5.
w
w
10
= 20.
x
.5
x P
Similarly, we get
w
y
yy
w = 25
w = 15
w = 5
dw
ds
P,u
20.
P
w
10
= 33.3.
s
.3
ds
u
x u
(In the last equation we dropped the |u| because it equals 1.) Now it is obvious that this is
greatest when = 0. That is, when Vw and u are in the same direction.
MIT OpenCourseWare
http://ocw.mit.edu
Fall 2010
For information about citing these materials or our Terms of Use, visit: http://ocw.mit.edu/terms.