Lesson 8a DIRECTIONAL DERIVATIVES & GRADIENTS
Lesson 8a DIRECTIONAL DERIVATIVES & GRADIENTS
DIRECTIONAL DERIVATIVES
AND GRADIENTS
DIRECTIONAL DERIVATIVES OF A FUNCTION OF TWO VARIABLES
THEOREM:
(a) If is differentiable at and if is a unit
vector, then the directional derivative exists and is given by
Find
1.
Solution :
EXAMPLE 1
Find
1.
Solution :
Example 2
Example 2: Find the directional derivative of
at the point (1, -2, 0) in the direction of the vector
Required:
𝐃𝐮 𝐟 ( 𝐱 𝐨 ,𝐲𝐨 ,𝐳𝐨)=𝐟 𝐱 ( 𝐱 𝐨 ,𝐲𝐨 ,𝐳𝐨 )𝐮𝟏 +𝐟 𝐲 ( 𝐱 𝐨 ,𝐲𝐨 ,𝐳𝐨 )𝐮𝟐 +𝐟 𝐳 ( 𝐱 𝐨 ,𝐲 𝐨 ,𝐳𝐨) 𝐮𝟑
Solution:
Example 2
Example 2: Find the directional derivative of
at the point (1, -2, 0) in the direction of the vector
Required:
𝐃𝐮 𝐟 ( 𝐱 𝐨 ,𝐲𝐨 ,𝐳𝐨)=𝐟 𝐱 ( 𝐱 𝐨 ,𝐲𝐨 ,𝐳𝐨 )𝐮𝟏 +𝐟 𝐲 ( 𝐱 𝐨 ,𝐲𝐨 ,𝐳𝐨 )𝐮𝟐 +𝐟 𝐳 ( 𝐱 𝐨 ,𝐲 𝐨 ,𝐳𝐨) 𝐮𝟑
Solution:
Since is not a unit vector, we normalize it using the formula
Thus, and
con’t
Then get the partial derivatives of the function given
Thus,
And
To solve use the formula from previous slide
𝐃𝐮 𝐟 ( 𝐱 𝐨 , 𝐲 𝐨 ,𝐳 𝐨 ) =𝐟 𝐱 ( 𝐱 𝐨 , 𝐲 𝐨 ,𝐳 𝐨 ) 𝐮𝟏 +𝐟 𝐲 ( 𝐱 𝐨 , 𝐲 𝐨 ,𝐳 𝐨 ) 𝐮𝟐 +𝐟 𝐳 ( 𝐱 𝐨 , 𝐲 𝐨 , 𝐳 𝐨 ) 𝐮𝟑
Thus, substituting all the values from the unit vector u and partial derivatives of the
given function, we get
(Final Answer)
EXAMPLE 3
3.
Solution: 𝐃𝐮 𝐟 ( 𝐱 𝐨 , 𝐲 𝐨 ,𝐳 𝐨) =𝐟 𝐱 ( 𝐱 𝐨 , 𝐲 𝐨 ,𝐳 𝐨 ) 𝐮𝟏 +𝐟 𝐲 ( 𝐱 𝐨 , 𝐲 𝐨 ,𝐳 𝐨 ) 𝐮𝟐 +𝐟 𝐳 ( 𝐱 𝐨 , 𝐲 𝐨 , 𝐳 𝐨 ) 𝐮𝟑
EXAMPLE 3
3.
Solution: 𝐃𝐮 𝐟 ( 𝐱 𝐨 , 𝐲 𝐨 ,𝐳 𝐨 ) =𝐟 𝐱 ( 𝐱 𝐨 , 𝐲 𝐨 ,𝐳 𝐨 ) 𝐮𝟏 +𝐟 𝐲 ( 𝐱 𝐨 , 𝐲 𝐨 ,𝐳 𝐨 ) 𝐮𝟐 +𝐟 𝐳 ( 𝐱 𝐨 , 𝐲 𝐨 , 𝐳 𝐨 ) 𝐮𝟑
;
;
;
EXAMPLE 4
4.
Solution:
EXAMPLE 4
4.
Solution:
;
;
;
THE GRADIENT
…………..(1)
……………..(2)
1. Find if
Solution: Recall:
EXAMPLE
1. Find if
Solution: Recall:
EXAMPLE
Solution: Recall:
EXAMPLE
Solution: Recall:
Directional Derivatives of a Function Using Gradient
Recall: Formula of Directional Derivatives of a Function
and
The formula
Required:
Recall:
or
Example
1. Find the directional derivative of at the point (1, -2, 0) in the direction of the vector using
the above formulas.
Required:
Solution:
where and
Thus,
Therefore, =
PROPERTIES OF THE GRADIENT
THEOREM:
Let be a function of either two variables or three variables, and
let denote the point or respectively. Assume that is differentiable at
1. Find a unit vector in the direction in which increases most rapidly at and find the
rate of change of in that direction (also as the maximum value of a directional
derivative at P).
;
Solution: Recall where:
EXAMPLE
1. Find a unit vector in the direction in which increases most rapidly at and find the
rate of change of in that direction (also as the maximum value of a directional
derivative at P).
;
Solution:
;
2. Find a unit vector in the direction in which increases most rapidly at and find the
rate of change of in that direction (also as the maximum value of a directional
derivative at P).
Solution: Recall
where:
EXAMPLE
2. Find a unit vector in the direction in which increases most rapidly at and find the
rate of change of in that direction (also as the maximum value of a directional
derivative at P).
Solution:
3. Let Find the maximum value of a directional derivative at (-2, 0) and find the unit vector in the
direction in which the maximum value occurs.
Required: and
Solution: Recall
where:
EXAMPLE
3. Let Find the maximum value of a directional derivative at (-2, 0) and find
the unit vector in the direction in which the maximum value occurs.
Required: and
Solution:
Taking the partial derivatives, and
And evaluating it at the given point, and
Using the formula
Thus,
The maximum value of the directional derivative is
(Final Answer)
Finding the unit vector by using the formula
(Final Answer)