4.4.10 · D3Multivariable Calculus

Worked examples — Gradient as direction of steepest ascent

2,423 words11 min readBack to topic

This page assumes you have read the parent note. We reuse three things from it, and nothing more:


The scenario matrix

Every problem this topic throws at you falls into one of these cells. Each example below is tagged with the cell it kills.

# Case class What makes it tricky Example
A Both partials positive the "clean" textbook case Ex 1
B Mixed signs in direction points into quadrant II/IV Ex 2
C Direction given downhill dot product comes out negative Ex 3
D Zero gradient (flat point / peak) steepest direction is undefined Ex 4
E Perpendicular to a level curve dot product must be exactly Ex 5
F Real-world word problem (units!) translate temperature/height into Ex 6
G Exam twist — "which way keeps constant?" must find the direction Ex 7
H Limiting / degenerate ridge (partial = 0) gradient points along an axis Ex 8

Case A — both partials positive

Figure — Gradient as direction of steepest ascent

The figure shows the amber gradient arrow at , its cyan unit version, and the two white component slopes it is built from.


Case B — mixed signs in the gradient

Figure — Gradient as direction of steepest ascent

The figure shows with the amber gradient leaning down-right into quadrant IV, and its cyan unit version.


Case C — a direction given, and it's downhill

Figure — Gradient as direction of steepest ascent

The figure shows the amber uphill gradient at and the cyan walk-direction pointing the opposite way towards — the between them is why the rate is .


Case D — the zero gradient (degenerate!)


Case E — perpendicular to a level curve

Figure — Gradient as direction of steepest ascent

The figure shows the hyperbola , its cyan tangent at , and the amber gradient stabbing off it at exactly .


Case F — real-world word problem (mind the units!)

Figure — Gradient as direction of steepest ascent

The figure shows the bug at , the amber warmest-way arrow pointing east-south, and the cyan "east" arrow whose slower rate you can read from its shorter projection.


Case G — exam twist: "which way stays level?"

Figure — Gradient as direction of steepest ascent

The figure shows the amber gradient and the two cyan level directions crossing it at — walk either way and stays constant.


Case H — degenerate ridge (a partial is zero)

Figure — Gradient as direction of steepest ascent

The figure shows with the amber gradient pointing purely along and the cyan ridge direction along which stays flat.


Recall Which cell was which?

A positive-clean ::: Ex 1 B mixed signs ::: Ex 2 C downhill (negative ) ::: Ex 3 D zero gradient (all directions tie) ::: Ex 4 E perpendicular to level curve ::: Ex 5 F word problem with units ::: Ex 6 G "stay level" twist ::: Ex 7 H degenerate ridge (a partial ) ::: Ex 8


Connections