Calculus Volume 3 · Chapter 4 · Section 4.6
Stand on a hill and turn around: every direction has its own slope. One vector predicts them all.
Colour key ∇f gradient u direction level curve, tangent slope, surface key idea · round handles can be dragged · 3D figures turn · page links open the textbook
Stand on the hill at (Figure 4.43). Walk east: slope 0.5. Walk north-east: 0.71. Walk south-east: 0.
0.71 cos φ
Every direction has its own slope, but one vector, ⟨0.5, 0.5⟩, predicts all of them: the gradient.
Drag the blue handle round the circle.
Draw at many points of a contour map (Figure 4.44):
A hiker who always walks along ∇f climbs as fast as the hill allows.
The gradient is the uphill arrow; every other slope is its shadow.
Two partial derivatives, packed into one vector, answer the slope question for every direction at once.
Theorem 4.13 (p378) and Theorem 4.14 (p381).
| at a point where | then | because |
|---|---|---|
| , u along | is largest: | |
| , u against | is smallest: | |
| u along the level curve | ||
| for every u | a flat spot: peak, pit or pass | |
| , continuous partials | is normal to the level curve | does not change along it |
A tangent to the level curve: swap the components of and change one sign.
Nothing new: one more component. And is normal to the level surface — which gives tangent planes (Lab 4).
| Example | given | result |
|---|---|---|
| 4.31 · p375 | , , by the limit | ; at : 8 |
| 4.32 · p377 | the same, by Theorem 4.12 | , ; again 8 |
| p378 · p378 | the same , along | ; * |
| 4.33 · p378 | (a) ; (b) | (a) ; (b) |
| 4.34 · p379 | at : steepest way | ; max at rad |
| 4.35 · p381 | at | level 18; ; tangent |
| 4.36 · p382 | (a) | |
| (b) | ||
| 4.37 · p383 | 4.36(a) at along | , ; |
* The book prints ; the -coefficient is .
Try: Ex 4.32 at 53.13° gives 8. Press point u along ∇f: the slope jumps to ‖∇f‖. Turn 90° further: 0.
Try: Ex 4.35 at : the level 18 ellipse, normal . x² − y² at the origin: , no arrow, and the level curve is two crossing lines.
Try: turn u until the amber arrow climbs most steeply — it lines up over the red arrow. The steepest path crosses every floor contour at a right angle.
. Each level is an ellipsoid; sticks straight out of it.
At , level 6: , tangent plane — the same method as Exercises 302–305.
| Mistake | Result | Fix |
|---|---|---|
| Dotting with itself | 176 at , not | divide by the length first |
| Giving as the maximum rate | "" in Example 4.34 | the rate is a number: |
| alone | 0.69 rad: the wrong quadrant | , so |
| Swapping components without a sign change | is not tangent in Example 4.35 | : its dot with is 0 |
| Calling the tangent | a vector across the level curve | is the normal; the tangent is perpendicular to it |
| Reading ∇f as a vector on the surface | an arrow in space | ∇f of lives in the -plane |
Exercises from p384; the book's key: p863–864, p869–870.
| # | task | answer |
|---|---|---|
| 4.28 | , , at | |
| 4.29 | ||
| 4.30 | at : steepest way | ; max at rad |
| 4.31 | at | ; tangent (level 9*) |
| 4.32 | ||
| 4.33 | along , at |
* The key's graph labels the curve ; .
| # | task | answer | key step |
|---|---|---|---|
| 261 | at , | ||
| 263 | at | ||
| 265 | at along | normalize | |
| 267 | at | ||
| 269 | at , | just | |
| 271 | at | ||
| 273 | at along | ||
| 275 | , | quotient rule | |
| 277 | , | — | |
| 279 | , | — | |
| 281 | at | ||
| 283 | at | ||
| 285 | , toward | ||
| 287 | at along | ||
| 289 | level curve of through | the ellipse ; | Lab 2 |
| 291 | at | as printed; needs | |
| 293 | at | — | |
| 295 | at , fastest rate | ||
| 297 | at | ||
| 299 | at | along | — |
| 301 | at | along | |
| 303 | at | plane ; line | |
| 305 | at | plane ; line | |
| 307 | at | ; ; | (a) along |
| 309 |
Walk along the line and watch the height: (p376). By definition ; by the chain rule (§4.5)
A directional derivative is an ordinary derivative along a straight walk; the chain rule splits the walk into east and north.
With fixed, only can change, and it lies in (p378). This is the Cauchy–Schwarz inequality from §2.3, with equality exactly when u is parallel to .
Direction and size are split: u chooses, ‖∇f‖ caps.
Trace the level curve as (p381). Then for all , so
is tangent to the curve, so is normal to it. In three variables the same argument, for every curve on the level surface, makes normal to the surface.
Follow the gradient: . The path is always normal to the contour it is crossing, so on a map it cuts every level curve at a right angle — the way water runs down (along ).
It stops where : a peak, or a pass it cannot leave. Those flat points are §4.7's critical points.
Steepest paths and level curves are two families of curves that meet at right angles everywhere.
Access for free at openstax.org · CC BY-NC-SA 4.0
Directional Derivativesgeometry
Hill , standing at .
Walk east (along ): slope 0.5
Walk north-east: slope 0.71
Walk south-east: slope 0, along the level curve
Directional DerivativesbridgeDefinition
Walk a distance from along ; counterclockwise from the -axis.
Rise over run : a secant slope.
Let : the tangent slope.
Directional DerivativesalgebraExample 4.31
, ,
, then :
At : 8
Directional DerivativesbridgeTheorem 4.12
east climbs .
north climbs .
Directional Derivativesalgebraproof of Theorem 4.12
By definition, .
At : .
One walk, split by the chain rule into an east part and a north part.
Directional DerivativesalgebraExample 4.32 · Checkpoint 4.28
, : at , and
8
, , at
GradientbridgeDefinition
Any unit vector …
… the slope is the shadow of on .
Gradientalgebranon-unit direction
Same , direction .
,
The book prints ; the coefficient is .
At : 13.54
Without dividing: 176.
But no slope beats
GradientalgebraExample 4.33 · Checkpoint 4.29
(a) :
(b) :
GradientbridgeTheorem 4.13
Along : 0.71
At to it: 0; against it: −0.71
GradientalgebraExample 4.34 · Checkpoint 4.30
at
, , so
2.45 rad
31.24
at
, rad
max
Gradientgeometry
Draw all over the map.
Contours close together: long arrow, steep.
At the peak: .
Gradientgeometrysteepest ascent
Start anywhere; follow .
More starts: all end at the top.
They stop where : §4.7's critical points.
Gradients and Level CurvesbridgeTheorem 4.14
Drag the point.
Its level curve: is constant along it.
meets that curve at a right angle, wherever you drag.
Gradients and Level Curvesalgebraproof of Theorem 4.14
Trace the level curve: for every .
⟨x′, y′⟩ is tangent, so ∇f is normal.
Gradients and Level CurvesalgebraExample 4.35 · Checkpoint 4.31
,
: normal
Tangent
check:
at
, tangent
Three-Dimensional Gradients and Directional DerivativesalgebraDefinition
Same recipe: one partial derivative per variable.
:
At :
Three-Dimensional Gradients and Directional DerivativesalgebraExample 4.36 · Checkpoint 4.32
(a) :
(b) :
Three-Dimensional Gradients and Directional DerivativesbridgeTheorem 4.15
,
:
:
Three-Dimensional Gradients and Directional DerivativesalgebraExample 4.37 · Checkpoint 4.33
Example 4.36(a)'s , along
along : find and
,
Section 4.6 ExercisesbridgeExercises 302–305
at
§4.6wrap-up
| Objective | You can now |
|---|---|
| 4.6.1 directional derivative | , with a unit vector |
| 4.6.2 gradient | |
| 4.6.3 meaning of | steepest ascent along at rate ; descent along |
| 4.6.4 tangent to a level curve | is normal; reverse its components, negate one |
| 4.6.5 three dimensions | , with direction cosines |