4.4.8 · D5Multivariable Calculus

Question bank — Directional derivative — definition, formula

1,172 words5 min readBack to topic

Prerequisite ideas you'll lean on: Gradient vector, Partial derivatives, Dot product and cosine of angle, Level curves and level sets, Tangent planes and differentiability, and the Multivariable chain rule.


True or false — justify

A directional derivative is a vector pointing in the direction you walked.
False — it is a scalar, a single slope number. The vector that points "most uphill" is , not .
If , the formula still gives the directional derivative.
False — it gives the rate scaled by . Because in the limit measures true distance, only a unit vector reports "change per unit distance."
and are always equal.
False — they are negatives of each other: . Walking one way rises exactly as fast as the opposite way falls.
At a point where , every directional derivative is zero.
True — for all . Such critical points (peaks, valleys, saddles) look flat to first order in every direction.
The maximum possible value of at a point equals .
True — since and , the largest slope is , reached when aligns with .
The directional derivative along equals the partial derivative .
True — . A directional derivative along a coordinate axis is exactly that partial derivative.
If all directional derivatives of exist at , then is differentiable there.
False — existence of every directional derivative does not imply differentiability (classic counterexamples have a sharp ridge at the origin). Differentiability is a stronger condition.
Two functions with the same gradient at have the same directional derivative in every direction at .
True — depends only on the gradient at that point, so equal gradients force equal directional derivatives.

Spot the error

"Direction is , gradient is , so ."
The vector wasn't unit-ized (). The true answer is ; skipping normalisation inflated it fivefold.
", so I can drop regardless."
You may drop only because was assumed. If isn't unit, that step secretly loses the factor.
"The gradient is the direction I'm walking, so is a vector."
Confuses two objects: is a vector, but is their dot product, hence a scalar slope.
" has a corner at but all directional derivatives exist, so the formula applies."
The formula needs differentiability, not merely existence of directional derivatives. At a corner may fail to be differentiable and the shortcut can give wrong values.
"Since along , the function is constant along that whole line."
A zero directional derivative is an instantaneous fact at the point only; it says you're tangent to a level curve there, not that stays constant along the entire straight line.
"To find the steepest descent direction I maximise ."
Steepest descent means minimising the dot product, giving with value ; maximising gives ascent instead.

Why questions

Why must be a unit vector in the definition?
Because the parameter measures actual distance travelled; if , a step of size covers real distance and the reported slope is stretched by .
Why does the gradient point in the direction of steepest ascent?
Writing , the slope is largest when , i.e. when points along ; every other heading only leans partway toward it and climbs less.
Why is the directional derivative zero when ?
Perpendicular means , so ; geometrically you're walking along a level curve where height doesn't change to first order.
Why does the chain rule appear in deriving the formula?
Restricting to the line makes each coordinate a function of ; the Multivariable chain rule sums each partial times its coordinate's rate , giving .
Why do we bother with a formula instead of always using the limit definition?
The limit must be recomputed for every new direction, while reuses one gradient for all directions — compute partials once, dot with any .
Why is the maximum slope and not something involving ?
Because is fixed, so depends on the angle alone; its peak is a property of the gradient's length, independent of which unit direction you pick.
Why does a directional derivative along an axis reduce to a partial derivative?
The unit vector picks out exactly one component of in the dot product, which is precisely that partial derivative's definition.

Edge cases

What is at a point where ?
Zero in every direction, since ; to first order the surface is flat there, so slope information alone can't distinguish peak, pit, or saddle.
If is constant everywhere, what are its directional derivatives?
All zero — at every point, so no direction of walking changes the height.
Along a level curve, what does equal for tangent to that curve?
Zero, because the tangent to a level curve is perpendicular to ; this is why gradients are always normal to level curves.
For a linear function , how does vary from point to point?
It doesn't vary with position — is constant, so along a fixed the directional derivative is the same everywhere; only the direction changes the number.
Can two different directions give the same directional derivative value?
Yes — any two unit directions making the same angle with share the value (e.g. two symmetric directions straddling the gradient).
What happens to as rotates a full circle around a point (in 2D)?
It traces , oscillating smoothly from a maximum (along ), through (perpendicular), to (opposite), and back.

Recall One-line summary of the traps

Normalise the direction, remember the answer is a scalar, and never invoke without differentiability. Reason ::: These three habits defuse most directional-derivative mistakes.