Topic 11
Directional Derivatives & the Gradient
The holds every rate of change at a point. In the direction of a unit vector , the rate is the . So increases fastest along , at rate . In directions perpendicular to , the rate is .
5 kinds of question. Open the one you are stuck on.
1Find the directional derivative of a function in a given direction
e.g. “Find the directional derivative of at … in the direction of …”
Find the directional derivative of a function in a given direction
e.g. “Find the directional derivative of at … in the direction of …”- 1Compute the gradient
- 2Evaluate it at the point
- 3Make the direction a unit vector
Divide by its length. For "toward " from , use first.
- 4Dot them:
Remember: Gradient, point, unit vector, dot.
See it in a problem3 worked examples
Find the directional derivative of at in the direction of .
- 1Compute the gradient
.
- 2Evaluate it at the point
.
- 3Make the direction a unit vector
, so .
- 4Dot them:
.
Find the rate of change of at in the direction toward .
- 1Compute the gradient
.
- 2Evaluate it at the point
.
- 3Make the direction a unit vector
, length , so .
- 4Dot them:
.
( is decreasing that way)
Find the directional derivative of at in the direction .
- 1Compute the gradient
.
- 2Evaluate it at the point
.
- 3Make the direction a unit vector
, so .
- 4Dot them:
.
Common mistakes3
- Skipping the unit vector. Using instead of makes the answer times too big.
- Using the target point as the direction. The direction is .
- Forgetting to plug in the point. The answer is a number, not a function.
2Find the direction of steepest ascent and the maximum rate of change
e.g. “In what direction should the hiker proceed to ascend along the steepest path? What is the slope?”
Find the direction of steepest ascent and the maximum rate of change
e.g. “In what direction should the hiker proceed to ascend along the steepest path? What is the slope?”- 1Compute at the point
- 2Pick the direction: uphill, downhill
Unit vector asked? Divide by . With east and north, points north-west.
- 3The rate is uphill, downhill
Remember: The gradient points uphill; its length is the steepest slope.
See it in a problem3 worked examples
Find the maximum rate of change of at , and the direction in which it occurs.
- 1Compute at the point
, so .
- 2Pick the direction: uphill, downhill
Direction: , as a unit vector .
- 3The rate is uphill, downhill
Rate: .
Maximum rate , in the direction
A hill has height , with pointing east and north. Standing above , which way is the steepest climb, and how steep is it?
- 1Compute at the point
, so .
- 2Pick the direction: uphill, downhill
Uphill: , unit vector : equal parts west and north, so north-west.
- 3The rate is uphill, downhill
Slope: .
North-west, , with slope
The temperature is . At , in which direction does decrease most rapidly, and at what rate?
- 1Compute at the point
, so .
- 2Pick the direction: uphill, downhill
Downhill: , unit vector .
- 3The rate is uphill, downhill
, so the rate is .
Direction ; rate
Common mistakes3
- Giving the vector as the maximum rate. The rate is the number .
- Using for "decrease most rapidly". That direction is .
- On a hill , the direction is the 2D vector . It is a way to walk on the map.
3Find the directions in which a function has zero or a given rate of change
e.g. “Find a direction in which the initial rate of change of the temperature is 0”
Find the directions in which a function has zero or a given rate of change
e.g. “Find a direction in which the initial rate of change of the temperature is 0”- 1Compute at the point
- 2Write with
In 3D: with .
- 3Set equal to the target rate
- 4Solve together with
Zero rate in 2D: . It is tangent to the . If , no direction works. In 3D, a zero rate allows every direction perpendicular to .
Remember: Zero rate means perpendicular to the gradient.
See it in a problem3 worked examples
Find the unit vectors along which has zero rate of change at . (They are tangent to the level curve there.)
- 1Compute at the point
, so .
- 2Write with
, .
- 3Set equal to the target rate
.
- 4Solve together with
is a multiple of , so .
At , in what directions does have rate of change (a) , (b) ?
- 1Compute at the point
, so and .
- 2Write with
, .
- 3Set equal to the target rate
(a) , so . (b) .
- 4Solve together with
(a) or : and . (b) , so no direction works.
(a) and ; (b) none, since
The temperature is . A fly at wants to stay at the same temperature. Give two different unit directions it could start in.
- 1Compute at the point
, so .
- 2Write with
, .
- 3Set equal to the target rate
, that is .
- 4Solve together with
Any perpendicular vector works, for example and . As unit vectors: and .
For example and : any unit with
Common mistakes3
- Giving one direction when there are two: and both have zero rate.
- Missing "no direction works": always.
- Dropping . Without it, any multiple seems to work, and the rate comes out wrong.
4Find the gradient from known directional derivatives
e.g. “Find given the directional derivatives …”
Find the gradient from known directional derivatives
e.g. “Find given the directional derivatives …”- 1Write the unknown gradient:
Three variables: , and you need three facts.
- 2Make each given direction a unit vector
With east and north: north is , north-west is .
- 3Turn each fact into an equation
A directional derivative gives . "Largest rate , in direction " gives .
- 4Solve, then answer what is asked
Remember: Unknown gradient, one equation per fact.
See it in a problem4 worked examples
At a point, for , and for . Find there.
- 1Write the unknown gradient:
.
- 2Make each given direction a unit vector
Both directions are already unit vectors.
- 3Turn each fact into an equation
and , so and .
- 4Solve, then answer what is asked
, .
On a smooth hillside ( east, north) the slope going north is and the slope going north-west is . What is the slope going west?
- 1Write the unknown gradient:
.
- 2Make each given direction a unit vector
North: . North-west: . West: .
- 3Turn each fact into an equation
and , so .
- 4Solve, then answer what is asked
, so and the slope going west is .
(going west you descend)
At a point , the directional derivative of is in the direction , in the direction , and in the direction . Find the maximum rate of change of at and its direction.
- 1Write the unknown gradient:
.
- 2Make each given direction a unit vector
, , .
- 3Turn each fact into an equation
, , .
- 4Solve, then answer what is asked
and , so , : . Maximum rate , in the direction .
Maximum rate , in the direction
At , the directional derivative of is largest in the direction of , where it equals . Find , and the rate of change in the direction of .
- 1Write the unknown gradient:
.
- 2Make each given direction a unit vector
and .
- 3Turn each fact into an equation
Largest rate along means .
- 4Solve, then answer what is asked
.
; rate
Common mistakes2
- Using where the unit vector belongs.
- Compass mix-ups: with east and north, south is and west is .
5Find the rate of change felt by an object moving along a path
e.g. “A bird passes through … traveling towards … with speed 2. At what rate does the air temperature it experiences change?”
Find the rate of change felt by an object moving along a path
e.g. “A bird passes through … traveling towards … with speed 2. At what rate does the air temperature it experiences change?”- 1Compute at the current point
- 2Find the velocity vector
A path : . A direction and a speed: unit direction. Along , left to right: direction .
- 3Dot them:
This is the chain rule. Here the speed matters, so do not shrink to a unit vector.
Remember: Gradient dot velocity.
See it in a problem4 worked examples
The temperature, in degrees, is . A bird passes through flying toward at speed m/s. How fast is the temperature it feels changing?
- 1Compute at the current point
, so .
- 2Find the velocity vector
Direction , length : .
- 3Dot them:
.
degrees per second
A probe moves along through a temperature field . Find at .
- 1Compute at the current point
At the probe is at . .
- 2Find the velocity vector
.
- 3Dot them:
.
A bug walks left to right along at speed cm/s. The temperature, in degrees, is . How fast is changing when the bug is at ?
- 1Compute at the current point
.
- 2Find the velocity vector
Direction , length : .
- 3Dot them:
.
degrees per second
The temperature is . A moth at flies at speed in the direction in which increases most rapidly. Find its velocity and the rate of change of it feels.
- 1Compute at the current point
, and .
- 2Find the velocity vector
.
- 3Dot them:
.
;
Common mistakes3
- Using the unit direction instead of the velocity. The speed multiplies the rate.
- Flying "in the direction of fastest increase" at speed : , so the rate is .
- Forgetting units: degrees per second, not just degrees.
Need the formulas? Must memorize · Flashcards
