Beruflich Dokumente
Kultur Dokumente
2
Now all we need is a formula to give us
this slope.
3
The vector from (x 0 , y0 , 0) to (x, y, 0) is
parallel to u , so there is a real number h such
that
x x0 , y y0 = hu hu1, hu2
Thus, x x0 hu1 and y y0 hu2 .
If we continue to choose points on the
curve of intersection that are closer and
closer to the point (x 0 , y0 , z 0 ), then we
find that h 0.
Definition 4.8
The directional derivative of a function f
at (x 0, y0 ) in the direction of a unit vector
u u1i u2 j is
f (x 0 hu1, y 0 hu2 ) f (x 0, y 0 )
Du f (x 0, y 0 ) lim
h 0 h
provided the limit exists.
4
This is the rate of change of f in the
direction of u at the point (x 0, y0 ).
What does this become if u i?
What does this become if u j?
Notice that fx and fy are special cases of the
directional derivative, where the direction
unit vector is 1, 0 and <0,1>
respectively.
Note
If the surface is thought of as a mountain,
then the directional derivative gives the
rate of climbing per unit horizontal
distance as the climber proceeds in the
(horizontal) direction vector.
Limit difficult to compute in practice
5
The following theorem helps in the
computation of directional derivatives.
Theorem 4.4
If f is differentiable, then f has a
directional derivative in the direction of
any unit vector u u1i u2 j and
Du f (x, y ) fx (x, y )u1 fy (x, y )u2
= fx (x , y ), fy (x , y ) u1 , u2
Example 4.15
Find the directional derivative of
f (x , y ) 3 2x 2 y 3 at the point
P (1, 2) in the direction of the unit vector
1 3
i j.
2 2
6
Solution
Partial derivatives:
fx (x , y ) 4 x , fy (x , y ) 3y 2
unit vector:
1 3
u1 , u2
2 2
Du f (x, y ) fx (x, y )u1 fy (x, y )u2
So,
1 3
Du f (1, 2) fx (1, 2) fy (1, 2)
2 2
1 2 3
4(1) 3(2)
2 2
2 6 3 12.4
7
Example 4.15a
Let f (x, y ) x 2 y 2 . Find Du f (1, 2) in
the direction of v 3, 4 .
8
Note
Notice that the directional derivative is a
number. The number can be interpreted as
the slope of a tangent line to
z f (x , y )
a rate of change of the function
z f ( x , y ).
In 2-space, i j
x y
f f
f i j f i j
x y x y
In component notation:
, and f fx , fy
x y
Similarly in 3-space:
i j k , ,
x y z x y z
and
f f f
f i j k fx , fy , fz
x y z
10
Remark
Note that f is not the product of and
f . The symbol does not have a value by
itself.
It is an operator that acts on a scalar
function f to produce the gradient
vector f .
Example 4.16
xy
Find f for f (x , y ) sin x e
Solution
fx (x , y ) (sin x e xy ) cos x ye xy
x
fy (x , y ) (sin x e xy ) xe xy
y
xy xy
f (x , y ) (cos x ye )i xe j
11
Directional Derivative and Gradient
The following theorem shows how the
directional derivative can be expressed in
terms of gradient.
Theorem 4.5
If f is a differentiable function of x and y ,
then the directional derivative in the
direction of the unit vector u is
Du f (x, y ) f u
where f fx , fy .
Example 4. 17
Find the directional derivative of
f (x , y ) ln(x 2 y 3 ) at P (1, 3) in the
direction of v 2i 3 j .
13
Example 4. 17a
Find the directional derivative of
f (x , y , z ) x sin yz at P (1, 3, 0) in the
direction of v 1, 2, 1 .
Solution
f (x , y , z ) fx , fy , fz
sin yz , xz cos yz , xy cos yz
f (1, 3, 0) 0, 0, 3
Unit vector,
v 1, 2, 1 1, 2, 1
u
v 1 4 1 6
Thus,
Du f (1, 3, 0) f u
1, 2, 1 3
0, 0, 3
6 6
14
Properties of the Gradient
Basic properties: arise from the
definition of the operator and
properties of the partial derivatives
2. (f g) f g
3. ( fg ) g f f g
f g f f g
4. g 2
,g 0
g
15
Optimal direction property of
the gradient
the gradient vector points in the
direction of greatest rate of change
of the directional derivative
16
Du f f u f u cos f cos
This is a maximum when 0 and a
minimum when .
If 0 then f and u point in the
same direction.
If then u and f point in
opposite directions.
Theorem 4.6
Suppose f is differentiable and let f
denote the gradient at P. Then, if f 0:
(a) the largest value of the directional
derivative Du f is f and occurs
when the unit vector u points in the
direction of the gradient vector, f .
(b) the smallest value of Du f is f
and occurs when the unit vector u
points in the direction of f.
17
What this says:
At a point P, the function f increases most
rapidly in the direction of the gradient f
and decreases most rapidly in the opposite
direction.
Example 4.18
Let f (x , y ) x 2e y . In what direction is f
increasing most rapidly at the point
P ( 2, 0)? And what is the greatest rate
of increase?
18
Solution
WANT: maximum rate of change, f
and its direction, f
Determine grad f : f fx , fy
f 2xe y , x 2e y
At P ( 2, 0),
f ( 2, 0) 4, 4
19
Example 4.18a
80
Let T (x , y , z ) 2 2 2
be
1 x 2y 3z
the temperature (in degrees Celsius) at a
point P(x, y, z) in a metal solid. Find the
greatest decrease in temperature at the
point (1,1, 2) .
20
Example 4.18b
Given f ( x, y, z ) ( x y)( y z ) . Find
the directional derivative of f at (1, 3, 1)
in the direction vector v 2i j 2k .
Determine the direction at P in which
the rate of change is maximum and find
this maximum value.
21
Normal property of the
gradient
the gradient vector is perpendicular
to the level curve
22
The level curve to be considered is the
intersection of the graph of the function
with the graph of the plane whose
equation is z = 9.
23
The equation of the level curve in the xy-
plane:
2 2
x y 9
x 2 y2
or 1 , a hyperbola
9 9
24
A parametric representation of the curve is
x 3 tan t, y 3 sec t
We can represent the level curve in the
plane z = 9 by the position function
r 3 tan t, 3 sec t, 9
r 3 tan t, 3 sec t, 9
r 6, 3 2, 0
4
25
r 6, 3 2, 0 2, 2, 0
4
r 54 6
4
Directional derivative: Du f f u
f 2x, 2y
26
Since the directional derivative is being
computed in the direction of a level
curve it must have been zero because
the value of the function does not
change along a level curve.
Thus if u is a unit vector tangent to a level
curve then at the point of tangency
Du f (x, y ) f u 0
27
The gradient, evaluated at a point on a
level curve, is normal to the level
curve (orthogonal to a tangent to the
level curve).
Example 4.19
Sketch the level curve corresponding to
C = 1 for the function f ( x, y) x 2 y 2 ,
and find a normal vector at the point
P (2, 3).
28
Example 4.19a
x2
For the paraboloid z y 2 , find the
4
equation of its level curve that passes
through the point P(2, 1) and sketch it.
Find the gradient vector of the paraboloid
at P, and draw the gradient with its initial
point at P.
29