Find the directional derivative of in the direction at the point .
Answer
Full solution
The partial derivatives, at a general point and also at the point of interest , are
So and the specified directional derivative is
Partial Derivatives
34 problems · hints, answers and solutions shown beside each one
Do you understand the idea? Usually little or no calculation.
Find the directional derivative of in the direction at the point .
The partial derivatives, at a general point and also at the point of interest , are
So and the specified directional derivative is
Find .
In two dimensions, write . Then
In three dimensions, write . Then
Practising the skill itself, until applying it is automatic.
Find the rate of change of the given function at the given point in the given direction.
at the point in the direction .
at in the direction .
(a) (b)
(a) The gradient of is . So the specified rate of change is
(b) The gradient of is . In particular, the gradient of at the point is . So the specified rate of change is
In what directions at the point does the function have the specified rates of change?
The rate of change in the direction that makes angle with respect to the -axis, that is, in the direction is .
(a) (b) (c) No direction works!
The gradient of is . In particular, the gradient of at the point is . So the rate of change in the direction that makes angle with respect to the -axis, that is, in the direction is
(a) To get a rate , we need
So the desired directions are
(b) To get a rate , we need
So the desired direction is
(c) To get a rate , we need
No obeys this, since for all . So no direction works!
Find given the directional derivatives
Denote .
Denote . We are told that
Adding 4 times the first equation to the second equation gives . Substituting into the first equation gives . So .
You are standing at a location where the surface of the earth is smooth. The slope in the southern direction is and the slope in the south–eastern direction is . Find the slope in the eastern direction.
Use a coordinate system with the positive –axis pointing north, with the positive –axis pointing east and with our current location being . Denote by the elevation of the earth's surface at . Express the various slopes in terms of .
Use a coordinate system with the positive –axis pointing north, with the positive –axis pointing east and with our current location being . Denote by the elevation of the earth's surface at . We are told that
The first equation implies that and the second equation implies that
So the slope in the eastern direction is
Assume that the directional derivative of at a point is a maximum in the direction of the vector , and the value of the directional derivative in that direction is .
Find the gradient vector of at .
Find the directional derivative of at in the direction of the vector
(a) (b)
(a) Use to denote the gradient vector of at . We are told that
directional derivative of at is a maximum in the direction , which implies that is parallel to , and
the magnitude of the directional derivative in that direction is , which implies that .
So
(b) The directional derivative of at in the direction is
A hiker is walking on a mountain with height above the plane given by
The positive –axis points east and the positive –axis points north, and the hiker starts from the point .
In what direction should the hiker proceed from to ascend along the steepest path? What is the slope of the path?
Walking north from , will the hiker start to ascend or descend? What is the slope?
In what direction should the hiker walk from to remain at the same height?
(a) The path of steepest ascent is in the direction , which is a little west of south. The slope is .
(b) So the hiker descends with slope .
(c)
(a) The gradient of at is
So the path of steepest ascent is in the direction , which is a little west of south. The slope is
(b) The directional derivative in the north direction is
So the hiker descends with slope .
(c) To contour, i.e. remain at the same height, the hiker should walk in a direction perpendicular to . Two unit vectors perpendicular to are .
Two hikers are climbing a (small) mountain whose height is They start at and follow the path of steepest ascent. Their coordinates obey for some constants . Determine and .
In order for to give the coordinates of the path of steepest ascent, the tangent vector to must be parallel to the height gradient at all points on . Also, don't forget that must be on .
,
The gradient of is . This gradient (which points in the direction of steepest ascent) must be parallel to the tangent to at all points on . A tangent to is .
This is true at all points on if and only if . As must also be on , we need , which forces , . Here is a contour map showing the hiking trail.
A mosquito is at the location in . She knows that the temperature near there is given by .
She wishes to stay at the same temperature, but must fly in some initial direction. Find a direction in which the initial rate of change of the temperature is .
If you and another student both get correct answers in part (a), must the directions you give be the same? Why or why not?
What initial direction or directions would suit the mosquito if she wanted to cool down as fast as possible?
(a) Any nonzero that obeys is an allowed direction. Four allowed unit vectors are and .
(b) No they need not be the same. Four different explicit directions were given in part (a).
(c)
(a) The temperature gradient at is
She wishes to fly in a direction that is perpendicular to . That is, she wishes to fly in a direction that obeys
Any nonzero that obeys is an allowed direction. Four allowed unit vectors are and .
(b) No they need not be the same. Four different explicit directions were given in part (a).
(c) To cool down as quickly as possible, she should move in the direction opposite to the temperature gradient. A unit vector in that direction is .
The air temperature at a location is given by:
A bird passes through travelling towards with speed . At what rate does the air temperature it experiences change at this instant?
If instead the bird maintains constant altitude () as it passes through while also keeping at a fixed air temperature, , what are its two possible directions of travel?
(a) (b)
The temperature gradient at is
(a) The bird is flying in the direction at speed and so has velocity . The rate of change of air temperature experienced by the bird at that instant is
(b) To maintain constant altitude (while not being stationary), the bird's direction of travel has to be of the form , for some constants and , not both zero. To keep the air temperature fixed, its direction of travel has to be perpendicular to . So and have to obey
and the direction of travel has to be a nonzero constant times . The two such unit vectors are .
Let be a function of and .
Find the maximum rate of change of at the point .
Find the directions in which the directional derivative of at the point has the value .
(a) (b)
We are going to need, in both parts of this question, the gradient of at . So we find it first.
so .
(a) The maximum rate of change of at is
(b) If is a unit vector, the directional derivative of at in the direction is
So we need and hence . For to be a unit vector, we also need
So the allowed directions are .
The temperature at a point of the –plane is given by
A bug travels from left to right along the curve at a speed of m/sec. The bug monitors continuously. What is the rate of change of as the bug passes through the point ?
The slope of at is . So a unit vector in the bug's direction of motion is and the bug's velocity vector is .
The temperature gradient at is
and the rate of change of (per unit time) that the bug feels as it passes through the point is
Suppose the function describes the temperature at a point in space, with .
Find the directional derivative of at , in the direction of the point .
At the point , in what direction does the temperature decrease most rapidly?
Moving along the curve given by , , , find , the rate of change of temperature with respect to , at .
Suppose is a vector that is tangent to the temperature level surface at . What is ?
(a) (b) (c) (d)
(a) We are to find the directional derivative in the direction
As the gradient of is
the directional derivative is
(b) The temperature decreases most rapidly in the direction opposite the gradient. A unit vector in that direction is
(c) The velocity vector at time is
So the rate of change of temperature with respect to at is
(d) For to be tangent to the level surface at , must be perpendicular to . So
So .
Let
Find the gradients of and at .
A bird at flies at speed in the direction in which increases most rapidly. As it passes through , how quickly does appear (to the bird) to be changing?
A bat at flies in the direction in which and do not change, but increases. Find a vector in this direction.
(a) , (b)
(c) Any vector which is a (strictly) positive constant times is fine.
(a) The first order partial derivatives of and are
so that gradients are
(b) The bird's velocity is the vector of length in the direction of , which is
The rate of change of (per unit time) seen by the bird is
(c) The direction of flight for the bat has to be perpendicular to both and . Any vector which is a non zero constant times
is perpendicular to both and . In addition, the direction of flight for the bat must have a positive –component. So any vector which is a (strictly) positive constant times is fine.
A bee is flying along the curve of intersection of the surfaces and in the direction for which is increasing. At time , the bee passes through the point at speed .
Find the velocity (vector) of the bee at time .
The temperature at position at time is given by . Find the rate of change of temperature experienced by the bee at time .
(a) (b)
(a) Let's use to denote the bee's velocity vector at time .
The bee's direction of motion is tangent to the curve. That tangent is perpendicular to both the normal vector to at , which is
and the normal vector to at , which is
So has to be some constant times
or, equivalently, some constant times .
Since the –component of has to be positive, has to be a positive constant times .
Since the speed has to be , has to have length .
As
(b) Solution 1:
Suppose that the bee is at at time .
Then the temperature that the bee feels at time is
Then the rate of change of temperature (per unit time) felt by the bee at time is
Recalling that, at time , the bee is at and has velocity
(b) Solution 2:
Suppose that the bee is at at time .
Then the temperature that the bee feels at time is
By the chain rule, the rate of change of temperature (per unit time) felt by the bee at time is
Recalling that , we have
Also recalling that, at time , the bee is at and has velocity
The temperature at a point is given by , where is measured in centigrade and , , in meters.
Find the rate of change of temperature at the point in the direction toward the point .
In which direction does the temperature decrease most rapidly?
Find the maximum rate of decrease at .
(a) (b) (c)
(a) We are to find the rate of change of at in the direction . That rate of change (per unit distance) is the directional derivative
As
the directional derivative
(b) The direction of maximum rate of decrease is . A unit vector in that direction is .
(c) The maximum rate of decrease at is .
The directional derivative of a function at a point in the direction of the vector is 2, in the direction of the vector is , and in the direction of the vector is . Find the direction in which the function has the maximum rate of change at the point . What is this maximum rate of change?
The unit vector in the direction of maximum rate of change is . The maximum rate of change is .
Denote by the gradient of the function at . We are told
Simplifying
From these equations we read off, in order, , and . The function has maximum rate of change at in the direction if the gradient of . The unit vector in that direction is
The maximum rate of change is the magnitude of the gradient, which is .
Suppose it is known that the direction of the fastest increase of the function at the origin is given by the vector . Find a unit vector that is tangent to the level curve of that passes through the origin.
We are told that the direction of fastest increase for the function at the origin is given by the vector . This implies that is parallel to . This in turn implies that is normal to the level curve of that passes through the origin. So , being perpendicular to , is tangent to the level curve of that passes through the origin. The unit vectors that are parallel to are .
The shape of a hill is given by . Assume that the –axis is pointing East, and the –axis is pointing North, and all distances are in metres.
What is the direction of the steepest ascent at the point ? (The answer should be in terms of directions of the compass).
What is the slope of the hill at the point in the direction from (a)?
If you ride a bicycle on this hill in the direction of the steepest descent at m/s, what is the rate of change of your altitude (with respect to time) as you pass through the point (0, 100, 900)?
(a) South (b) (c)
Write so that the hill is .
(a) The direction of steepest ascent at is the direction of maximum rate of increase of at which is . In compass directions that is South.
(b) The slope of the hill there is
(c) Denote by your position at time and suppose that you are at at time . Then we know
, so that , since you are on the hill and
and since you are going in the direction of steepest descent and
since you are moving at speed .
Since and , we have . So
and your rate of change of altitude is
Let the pressure and temperature at a point be
If the position of an airplane at time is
find at time as observed from the airplane.
In which direction should a bird at the point fly if it wants to keep both and constant. (Give one possible direction vector. It does not need to be a unit vector.)
An ant crawls on the surface . When the ant is at the point , in which direction should it go for maximum increase of the temperature ? Your answer should be a vector , not necessarily of unit length. (Note that the ant cannot crawl in the direction of the gradient because that leads off the surface. The direction vector has to be on the tangent plane to the surface.)
(a) (b) for any nonzero constant
(c) Any positive non zero multiple of will do.
Reading through the question as a whole we see that we will need
for part (a), the gradient of at
for part (b), the gradients of both and at and
for part (c), the gradient of at and the gradient of at (to get the normal vector to the surface at that point).
So, by way of preparation, let's compute all of these gradients.
To get the gradient of we use the product rule
so that
(a) Since , and the velocity vector of the plane at time is
we have
(b) The direction should be perpendicular to (to keep constant) and should also be perpendicular to (to keep constant). So any nonzero constant times
are allowed directions.
(c) We want the direction to be as close as possible to while still being tangent to the surface, i.e. being perpendicular to the normal vector . We can get that optimal direction by subtracting from the projection of onto the normal vector.
The projection of onto the normal vector is
So the optimal direction is
So any positive non zero multiple of will do. Note, as a check, that has dot product zero, i.e. is perpendicular to, .
Suppose that is a function of three variables and let and and . Suppose that at a point ,
Find at .
Write . We are told that
so that
Adding (E2) and (E3) gives or . Substituting into (E1) and (E2) gives
Adding (E1) and (E2) gives and substituting back into (E2) gives . All together
The elevation of a hill is given by the equation . An ant sits at the point .
Find the unit vector that maximizes
Find a vector pointing in the direction of the path that the ant could take in order to stay on the same elevation level .
Find a vector pointing in the direction of the path that the ant should take in order to maximize its instantaneous rate of level increase.
(a) (b) for any nonzero constant
(c) . Any positive multiple of this vector is also a correct answer.
(a) The expression is the directional derivative of at in the direction , which is . This is mazimized when is parallel to . Since
we have
so that the desired unit vector is .
(b) In order to remain at elevation , the ant must move so that . This is the case if . For example, we can take . When the ant moves in this direction, while remaining on the surface of the hill, its vertical component of velocity is zero. So for any nonzero constant .
(c) In order to maximize its instantaneous rate of level increase, the ant must choose the and coordinates of its velocity vector in the same direction as . Namely for any . To make a unit vector, we choose . The corresponding value of the coordinate of its velocity vector is the rate of change of per unit horizontal distance travelled, which is the directional derivative
So . Any positive multiple of this vector is also a correct answer.
Let the temperature in a region of space be given by degrees.
A sparrow is flying along the curve at a constant speed of . What is the velocity of the sparrow when ?
At what rate does the sparrow feel the temperature is changing at the point for which .
At the point in what direction will the temperature be decreasing at maximum rate?
An eagle crosses the path of the sparrow at , is moving at right angles to the path of the sparrow, and is also moving in a direction in which the temperature remains constant. In what directions could the eagle be flying as it passes through the point ?
(a) (b) (c) any positive constant times
(d) any positive constant times
(a) The direction of motion at is given by the tangent vector
Since the length of the velocity vector must be ,
(b) The rate of change of temperature per unit distance felt by the sparrow at is . The rate of change of temperature per unit time felt by the sparrow at is
(c) The temperature decreases at maximum rate in the direction opposite the temperature gradient, which is (any positive constant times) .
(d) The eagle is moving at right angles to the direction of motion of the sparrow, which is . As the eagle is also moving in a direction for which the temperature remains constant, it must be moving perpendicularly to the temperature gradient, . So the direction of the eagle must be (a posiitve constant times) one of
or equivalently, any positive constant times .
Assume that the temperature at a point near a flame at the origin is given by
where the coordinates are given in meters and the temperature is in degrees Celsius. Suppose that at some moment in time, a moth is at the point and is flying at a constant speed of in the direction of maximum increase of temperature.
Find the velocity vector of the moth at this moment.
What rate of change of temperature does the moth feel at that moment?
(a) (b)
(a) The moth is moving the direction of the temperature gradient at , which is
Since the speed of the moth is its velocity vector is a vector of length one in direction and hence is .
(b) The rate of change of temperature (per unit time) the moth feels at that time is
We say that is inversely proportional to if there is a constant so that . Suppose that the temperature in a metal ball is inversely proportional to the distance from the centre of the ball, which we take to be the origin. The temperature at the point is .
Find the constant of proportionality.
Find the rate of change of at in the direction towards the point .
Show that at most points in the ball, the direction of greatest increase is towards the origin.
(a) (b) (c)
(a) We are told that for some constant and that
(b) The (unit) direction from to is . The desired rate of change of temperature is
degrees per unit distance.
(c) At , the direction of greatest increase is in the direction of the temperature gradient at , which is and which points opposite to the radius vector. That is, it points towards the origin. This argument only fails at , where the gradient, and indeed , is not defined.
The depth of a lake in the -plane is equal to meters.
Sketch the shoreline of the lake in the -plane.
Your calculus instructor is in the water at the point . Find a unit vector which indicates in which direction he should swim in order to:
stay at a constant depth?
increase his depth as rapidly as possible (i.e. be most likely to drown)?
(a)
(b) (c)
(a) The shoreline is or or , which is an ellipse centred on with semiaxes in the -direction and in the -direction.
(b,c) The gradient of at is
To remain at constant depth, he should swim perpendicular to the depth gradient. So he should swim in direction . To increase his depth as rapidly as possible, he should swim in the direction of the depth gradient, which is .
Further than practice: several ideas at once, or an unfamiliar situation.
The temperature at points of the -plane is given by .
Draw a contour diagram for showing some isotherms (curves of constant temperature).
In what direction should an ant at position move if it wishes to cool off as quickly as possible?
If the ant moves in that direction at speed at what rate does its temperature decrease?
What would the rate of decrease of temperature of the ant be if it moved from at speed in direction ?
Along what curve through should the ant move to continue experiencing maximum rate of cooling?
Review §2.7 in the CLP-3 text.
(e) Suppose that the ant moves along the curve . For the ant to always experience maximum rate of cooling (or maximum rate of heating), the tangent to this curve must be parallel to at every point of the curve. This gives a separable differential equation for the function . Also, don't forget that must be on the curve.
(a) Here is a sketch which show the isotherms as well as the branch of the isotherm that contains the ant's location .
(b) (c) (d) (e)
(a) The curve on which the temperature is is . If , this is the pair of straight lines . If , it is a hyperbola on which . If , it is a hyperbola on which . Here is a sketch which show the isotherms as well as the branch of the isotherm that contains the ant's location .
Note that the temperature gradient is . In particular, the temperature gradient at is .
(b) To achieve maximum rate of cooling, the ant should move in the direction opposite the temperature gradient at . So the direction of maximum rate of cooling is
(c) If the ant moves in the direction of part (b), its rate of cooling per unit distance is . It the ant is moving at speed , its rate of cooling per unit time is .
(d) If the ant moves from in direction its temperature increases at the rate
per unit distance. So, if the ant is moving at speed , its rate of decrease of temperature per unit time is
(e) Suppose that the ant moves along the curve . For the ant to always experience maximum rate of cooling (or maximum rate of heating), the tangent to this curve must be parallel to at every point of the curve. A tangent to the curve at is . This is parallel to when
To pass through , we need , so .
Consider the function .
Give the direction in which is increasing the fastest at the point .
Give an equation for the plane tangent to the surface
at the point .
Find the distance between and the point .
Find the angle between the plane and the plane
(a) (b) (c) (d)
The first order partial derivatives of , both at a general point and at the point , are
(a) The rate of increase of is largest in the direction of . A unit vector in that direction is .
(b) The gradient vector is a normal vector to the surface at . So the specified tangent plane is
(c) The vector from the point to the point , on , is , which is perpendicular to . So is the point on nearest and the distance from to is .
(d) The vector is perpendicular to the plane . So the angle between the planes and is the same as the angle between the vectors and , which obeys
A function at is known to have , , , and .
A bee starts flying at and flies along the unit vector pointing towards the point . What is the rate of change of in this direction?
Use the linear approximation of at the point to approximate .
Let . A bee starts flying at ; along which unit vector direction should the bee fly so that the rate of change of and of are both zero in this direction?
(a) (b) (c)
(a) We are being asked for the directional derivative of in the direction of the unit vector from to , which is . That directional derivative is
(b) The linear approximation to at is
Applying this with , , gives
(c) For the rate of change of to be zero, the direction of motion must be perpendicular to . For the rate of change of to also be zero, the direction of motion must also be perpendicular to . The vector
is perpendicular to both and . So the desired unit vectors are .
Consider the functions and . You are standing at the point .
You jump from to . Use the linear approximation to determine approximately the amount by which changes.
You jump from in the direction along which increases most rapidly. Will increase or decrease?
You jump from in a direction along which the rates of change of and are both zero. Give an example of such a direction (need not be a unit vector).
(a) (b) increases. (c) Any nonzero constant times .
We are going to need the gradients of both and at . So we compute
and then
(a) The linear approximation to at is
In particular
(b) The direction along which increases most rapidly at is . The directional derivative of in that direction is
So increases.
(c) For the rate of change of to be zero, must be perpendicular to .
For the rate of change of to be zero, must be perpendicular to .
So any nonzero constant times
is an allowed direction.
A meteor strikes the ground in the heartland of Canada. Using satellite photographs, a model
of the resulting crater is made and a plan is drawn up to convert the site into a tourist attraction. A car park is to be built at and a hiking trail is to be made. The trail is to start at the car park and take the steepest route to the bottom of the crater.
Sketch a map of the proposed site clearly marking the car park, a few level curves for the function and the trail.
In which direction does the trail leave the car park?
(a)
(b)
(a) Since
the bottom of the crater is at , (where the denominator is a minimum) and the contours (level curves) are ellipses having equations . In the sketch below, the filled dot represents the bottom of the crater and the open dot represents the car park. The contours sketched are (from inside out) . Note that the trail crosses the contour lines at right angles.
(b) The trail is to be parallel to
At the car park .
To move towards the bottom of the crater, we should leave in the direction
.
You are standing at a lone palm tree in the middle of the Exponential Desert. The height of the sand dunes around you is given in meters by
where represents the number of meters east of the palm tree (west if is negative) and represents the number of meters north of the palm tree (south if is negative).
Suppose that you walk meters east and 2 meters north. At your new location, , in what direction is the sand dune sloping most steeply downward?
If you walk north from the location described in part (a), what is the instantaneous rate of change of height of the sand dune?
If you are standing at in what direction should you walk to ensure that you remain at the same height?
Find the equation of the curve through that you should move along in order that you are always pointing in a steepest descent direction at each point of this curve.
(a) any positive multiple of (b) (c) (d)
We have
(a) At the dune slopes downward the most steeply in the direction opposite , which is (any positive multiple of) .
(b) The rate is .
(c) To remain at the same height, you should walk perpendicular to . So you should walk in one of the directions .
(d) Suppose that you are walking along a steepest descent curve. Then the direction from to , with infinitesmal, must be opposite to . Thus must be parallel to so that the slope
We must choose to obey in order to pass through the point . Thus and the curve is or .
Let be a differentiable function with . Let
be unit vectors. Suppose it is known that the directional derivatives and are equal to and respectively.
Show that the gradient vector at is .
Determine the rate of change of at in the direction of the vector .
Using the tangent plane approximation, estimate the value of .
(a) See the solution. (b) (c)
(a) Denote . We are told that
Adding these two equations gives , which forces , and subtracting the two equations gives , which forces , as desired.
(b) The rate of change of at in the direction of the vector is
(c) Applying (2.6.1 in the CLP3 text, which is
with , , , and , gives
From the UBC Math 200 open textbook project, © Joel Feldman, Andrew Rechnitzer, Elyse Yeager and others. Licensed CC BY-NC-SA 4.0; this HTML adaptation is released under the same licence. Full attribution.