4.4.8 · D3Multivariable Calculus

Worked examples — Directional derivative — definition, formula

2,779 words13 min readBack to topic

This is a companion to the parent note. There we built the formula Here we drill it. The plan: first lay out a scenario matrix — a checklist of every kind of case this topic can throw at you — then work examples that together tick off every cell.


The scenario matrix

Each row is a "case class" — a situation with its own trap. The last column names the example that covers it.

# Case class What's tricky about it Covered by
C1 Direction given as two points must subtract, then normalise Ex 1
C2 Direction given as an angle already unit — don't re-normalise Ex 2
C3 Negative directional derivative (walking downhill) sign of the answer is meaningful Ex 3
C4 Zero directional derivative () you're on a level curve Ex 4
C5 Three variables, mixed signs in normalising with a minus sign Ex 5
C6 Maximum / minimum rate, and the special directions Ex 6
C7 Degenerate: at the point every direction gives Ex 7
C8 Word problem (temperature / hill), with units translate words → vectors Ex 8
C9 Exam twist: given in two directions, find reverse the dot product Ex 9

Prerequisites you may want open: Gradient vector, Partial derivatives, Dot product and cosine of angle, Level curves and level sets.


C1 — Direction from two points


C2 — Direction from an angle

Figure — Directional derivative — definition, formula

Reading Figure 1. The plum circle is the unit circle. The orange arrow is at — notice its tip lands exactly on the circle, confirming length with no re-normalising. The teal arrow is , pointing straight up; the directional derivative is precisely how much leans toward that teal arrow.


C3 — A negative answer (walking downhill)


C4 — A zero answer (on a level curve)

Figure — Directional derivative — definition, formula

Reading Figure 2. The plum circles are level curves of (constant height). At the orange arrow points radially outward — the uphill direction. The teal arrow is our heading : it lies along the plum circle (tangent), at a right angle to orange. Because it never leaves a single circle, the height doesn't change — that is the geometric reason the answer is .


C5 — Three variables, mixed signs


C6 — Maximum and minimum rate


C7 — Degenerate: the gradient is zero


C8 — Word problem with units


C9 — Exam twist: recover the gradient


Wrapping up — every cell is ticked


Recall

Recall Which cell is which?

C3 asks for the sign of when walking toward the origin in a bowl. What sign, and why? ::: Negative — the height decreases as you approach the minimum. In C4, why is the answer exactly ? ::: The direction is perpendicular to , i.e. tangent to the level curve, so height is momentarily constant. In C7 the gradient is . What is for a general ? ::: for every direction — the zero vector dotted with anything is . In C9, how do you recover from two axis-direction derivatives? ::: They are the partials: , , so . What does mean in ? ::: The angle between the gradient and the heading . Why can't we take a directional derivative "in direction "? ::: The zero vector has no heading and makes unit-izing divide by zero — the question is undefined.