Professional Documents
Culture Documents
01 Directional Derivatives and Gradient PDF
01 Directional Derivatives and Gradient PDF
01 Directional Derivatives and Gradient PDF
Lucky Galvez
Institute of Mathematics
University of the Philippines
Diliman
z f (x + h, y) f (x, y)
= fx (x, y) = lim
x h0 h
z f (x, y + h) f (x, y)
= fy (x, y) = lim
y h0 h
z f (x + h, y) f (x, y)
= fx (x, y) = lim
x h0 h
z f (x, y + h) f (x, y)
= fy (x, y) = lim
y h0 h
R fixed
fy represents the rate of change
of f with respect to y when x is
fixed
If Q(x, y, z) is another
point on C and P 0 , Q0
are the projections of P
and Q on the xy-plane,
resp., then the vector
P ~0 Q0 is parallel to u
If Q(x, y, z) is another
point on C and P 0 , Q0
are the projections of P
and Q on the xy-plane,
resp., then the vector
P ~0 Q0 is parallel to u so
for some scalar h,
P ~0 Q0 = hu = hha, hbi .
Therefore,
x x0 = ha x = x0 + ha
y y0 = hb y = y0 + hb
Therefore,
x x0 = ha x = x0 + ha
y y0 = hb y = y0 + hb
Therefore,
x x0 = ha x = x0 + ha
y y0 = hb y = y0 + hb
Therefore,
x x0 = ha x = x0 + ha
y y0 = hb y = y0 + hb
Definition
The directional derivative of f (x, y) at (x0 , y0 ) in the
direction of a unit vector u = ha, bi is
Definition
The directional derivative of f (x, y) at (x0 , y0 ) in the
direction of a unit vector u = ha, bi is
Remarks:
1 If u = = h1, 0i, then
f (x0 + h, y0 ) f (x0 , y0 )
D f = lim
h0 h
Definition
The directional derivative of f (x, y) at (x0 , y0 ) in the
direction of a unit vector u = ha, bi is
Remarks:
1 If u = = h1, 0i, then
f (x0 + h, y0 ) f (x0 , y0 )
D f = lim = fx (x0 , y0 ).
h0 h
Definition
The directional derivative of f (x, y) at (x0 , y0 ) in the
direction of a unit vector u = ha, bi is
Remarks:
1 If u = = h1, 0i, then
f (x0 + h, y0 ) f (x0 , y0 )
D f = lim = fx (x0 , y0 ).
h0 h
2 If u = = h0, 1i, then
f (x0 , y0 + h) f (x0 , y0 )
D f = lim
h0 h
Math 55 Directional Derivatives & Gradient
Directional Derivative
Definition
The directional derivative of f (x, y) at (x0 , y0 ) in the
direction of a unit vector u = ha, bi is
Remarks:
1 If u = = h1, 0i, then
f (x0 + h, y0 ) f (x0 , y0 )
D f = lim = fx (x0 , y0 ).
h0 h
2 If u = = h0, 1i, then
f (x0 , y0 + h) f (x0 , y0 )
D f = lim = fy (x0 , y0 ).
h0 h
Math 55 Directional Derivatives & Gradient
Directional Derivative
Theorem
If f is a differentiable function of x and y, then f has a
directional derivative at any point (x0 , y0 ) in the domain of f ,
in the direction of any unit vector u = ha, bi and
Du f (x0 , y0 ) = fx (x0 , y0 )a + fy (x0 , y0 )b.
Hence,
3 4
Du f (x, y) = fx (x, y) + fy (x, y)
5 5
Hence,
3 4
Du f (x, y) = fx (x, y) + fy (x, y)
5 5
= y 2 + y sin(xy)
Hence,
3 4
Du f (x, y) = fx (x, y) + fy (x, y)
5 5
3
= y 2 + y sin(xy)
5
Hence,
3 4
Du f (x, y) = fx (x, y) + fy (x, y)
5 5
3
= y 2 + y sin(xy)
+ (2xy + x sin(xy))
5
Hence,
3 4
Du f (x, y) = fx (x, y) + fy (x, y)
5 5
2
3 4
= y + y sin(xy) + (2xy + x sin(xy))
5 5
u b
(x0 , y0 )
a
If the unit vector u = ha, bi, makes an angle with the x-axis,
then
u b
(x0 , y0 )
a
If the unit vector u = ha, bi, makes an angle with the x-axis,
then
cos
u b
(x0 , y0 )
a
If the unit vector u = ha, bi, makes an angle with the x-axis,
then
a
cos =
kuk
u b
(x0 , y0 )
a
If the unit vector u = ha, bi, makes an angle with the x-axis,
then
a
cos = =a
kuk
u b
(x0 , y0 )
a
If the unit vector u = ha, bi, makes an angle with the x-axis,
then
a
cos = = a and sin
kuk
u b
(x0 , y0 )
a
If the unit vector u = ha, bi, makes an angle with the x-axis,
then
a b
cos = = a and sin =
kuk kuk
u b
(x0 , y0 )
a
If the unit vector u = ha, bi, makes an angle with the x-axis,
then
a b
cos = = a and sin = =b
kuk kuk
u b
(x0 , y0 )
a
If the unit vector u = ha, bi, makes an angle with the x-axis,
then
a b
cos = = a and sin = =b
kuk kuk
and the formula in the previous theorem becomes
Du f (1, 0)
Du f (1, 0) = 2
The vector hfx (x, y), fy (x, y)i appears not only in the formula
for directional derivative but in many applications as well.
The vector hfx (x, y), fy (x, y)i appears not only in the formula
for directional derivative but in many applications as well.
This vector is called the gradient of f , denoted grad f or f .
Definition
If f is a function of x and y, then the gradient of f is the vector
function f defined as
Definition
If f is a function of x and y, then the gradient of f is the vector
function f defined as
Du f (x, y) = f (x, y) u
f (x, y)
Du f (2, 1) = f (2, 1) u
Definition
The gradient vector of f (x, y, z) is
f (x, y, z) = hfx (x, y, z), fy (x, y, z), fz (x, y, z)i
Definition
The gradient vector of f (x, y, z) is
f (x, y, z) = hfx (x, y, z), fy (x, y, z), fz (x, y, z)i
Definition
The gradient vector of f (x, y, z) is
f (x, y, z) = hfx (x, y, z), fy (x, y, z), fz (x, y, z)i
Theorem
Suppose f is a differentiable function of x and y. The
maximum value of Du f is kf k and it occurs when u is in the
same direction as f .
Theorem
Suppose f is a differentiable function of x and y. The
maximum value of Du f is kf k and it occurs when u is in the
same direction as f .
Theorem
Suppose f is a differentiable function of x and y. The
maximum value of Du f is kf k and it occurs when u is in the
same direction as f .
Du f (x, y) = f u
Theorem
Suppose f is a differentiable function of x and y. The
maximum value of Du f is kf k and it occurs when u is in the
same direction as f .
Du f (x, y) = f u
= kf kkuk cos
Theorem
Suppose f is a differentiable function of x and y. The
maximum value of Du f is kf k and it occurs when u is in the
same direction as f .
Du f (x, y) = f u
= kf kkuk cos
= kf k cos
Theorem
Suppose f is a differentiable function of x and y. The
maximum value of Du f is kf k and it occurs when u is in the
same direction as f .
Du f (x, y) = f u
= kf kkuk cos
= kf k cos
and the result follows since the maximum value of cos is 1 and
is attained when = 0, i.e., f and u are in the same direction.
h(x, y)
h(x, y) = h0.04x,
kh(50, 80)k